/* ============================================
   CORREÇÕES PARA FUNCIONALIDADES QUEBRADAS
   ============================================ */

/* 1. NAVBAR - Forçar visibilidade e alinhamento */
.navbar {
    background: linear-gradient(135deg, #16c9f6 0%, #3ccdbb 50%, #50d1c0 100%) !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.1) !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 1.5rem !important;
    height: 72px !important;
    min-height: 72px !important;
    max-height: 72px !important;
}

.navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 72px !important;
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Logo centralizada */
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 50px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.navbar-brand img {
    height: 50px !important;
    width: auto !important;
    display: block !important;
}

/* 2. MENU - Sempre visível (PROTEÇÃO MÁXIMA) */
.navbar-menu,
ul.navbar-menu,
#navbarMenu,
nav .navbar-menu,
.navbar ul.navbar-menu {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    flex-direction: row !important;
    background: transparent !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 2rem !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    pointer-events: auto !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

/* Reset de qualquer animação AOS no menu */
.navbar-menu[data-aos],
#navbarMenu[data-aos] {
    opacity: 1 !important;
    transform: none !important;
}

.navbar-menu li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-menu a {
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    height: 40px !important;
    padding: 0 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

/* Esconder botão hamburger em desktop */
.navbar-toggle {
    display: none !important;
}

/* 3. DEPOIMENTOS - Funcionar corretamente */
.testimonial-item {
    display: none;
}

.testimonial-item.active {
    display: block !important;
}

/* 4. NAV DOTS - Visíveis */
.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    margin: 0 4px;
    display: inline-block;
}

.nav-dot.active {
    background: #50d1c0;
    width: 30px;
    border-radius: 6px;
}

/* 5. SLIDER BUTTONS - Garantir visibilidade */
.slider-nav {
    display: flex !important;
}

/* 6. BOTÃO VOLTAR AO TOPO */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #16c9f6 0%, #50d1c0 100%);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
    
    .navbar-toggle {
        display: flex !important;
    }
    
    .navbar-menu {
        display: none !important;
    }
}
