/* Novo Menu Dropdown Styles - Melhorado */
.novo-menu {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 100;
    border-bottom: 1px solid #e2e8f0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.novo-menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Menu principal */
.novo-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.novo-menu-item {
    position: relative;
}

.novo-menu-link {
    display: flex;
    align-items: center;
    color: #334155;
    text-decoration: none;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 450;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px;
    white-space: nowrap;
}

.novo-menu-link:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.novo-menu-link i {
    margin-right: 6px;
    color: #64748b;
    font-size: 13px;
    transition: color 0.3s ease;
}

.novo-menu-link:hover i {
    color: #3b82f6;
}

/* Estilo para o indicador de toggle (seta) */
.toggle-indicator {
    transition: transform 0.3s ease;
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.7;
}

.novo-menu-item:hover .toggle-indicator {
    opacity: 1;
}

.novo-menu-item.active .toggle-indicator {
    transform: rotate(180deg);
}

/* Dropdown - Melhorado */
.novo-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 200;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-top: 8px;
}

.novo-menu-item:hover .novo-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.novo-dropdown-item {
    padding: 0;
    border-bottom: 1px solid #f1f5f9;
}

.novo-dropdown-item:last-child {
    border-bottom: none;
}

.novo-dropdown-link {
    display: flex;
    align-items: center;
    padding: 11px 18px;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.2px;
    position: relative;
}

.novo-dropdown-link:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 60%;
    background-color: #3b82f6;
    transition: width 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.novo-dropdown-link:hover {
    background: linear-gradient(to right, rgba(59, 130, 246, 0.08), transparent);
    color: #3b82f6;
    padding-left: 26px;
}

.novo-dropdown-link:hover:before {
    width: 4px;
}

/* Mobile Menu Toggle */
.novo-menu-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #000;
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
}

/* Responsividade */
@media (max-width: 992px) {
    .novo-menu-mobile-toggle {
        display: block;
    }
    
    .novo-menu-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .novo-menu-list {
        flex-direction: column;
        width: 100%;
        display: none;
    }
    
    .novo-menu-list.active {
        display: flex;
    }
    
    .novo-menu-item {
        width: 100%;
        margin: 0; /* Remove margens */
        border-bottom: 1px solid #eaeaea; /* Adiciona borda para separar visualmente */
    }
    
    .novo-menu-link {
        justify-content: space-between;
        padding: 12px 15px; /* Reduz padding vertical para aproximar itens */
    }
    
    .novo-dropdown {
        position: static;
        width: 100%;
        background-color: #f0f5ff; /* Alterado para diferenciar das categorias */
        box-shadow: none;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: max-height 0.3s ease;
        border: none; /* Remove borda */
        border-top: none; /* Remove borda superior */
        border-radius: 0; /* Remove border-radius */
        margin: 0; /* Remove margens */
    }
    
    .novo-menu-item.active .novo-dropdown {
        visibility: visible;
        max-height: none; /* Permite qualquer altura */
        overflow-y: visible; /* Garante que não haja corte */
        margin-bottom: 0; /* Remove espaço após o dropdown */
    }
    
    .novo-dropdown-item {
        border-bottom: 1px solid #e0e8ff; /* Borda mais leve para subcategorias */
    }
    
    .novo-dropdown-link {
        padding: 10px 15px 10px 30px; /* Padding à esquerda para indicar hierarquia */
        font-size: 13px; /* Fonte um pouco menor */
    }
}

/* Remover indicador "Novo Menu" */
.novo-menu::before {
    display: none;
}

/* Melhorar aparência com muitas categorias */
@media (min-width: 993px) and (max-width: 1400px) {
    .novo-menu-link {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .novo-menu-list {
        gap: 2px;
    }
}

/* Hover suave para toda a categoria */
.novo-menu-item {
    transition: transform 0.2s ease;
}

.novo-menu-item:hover {
    transform: translateY(-2px);
}

/* Estilo especial para "Início" */
.novo-menu-item:first-child .novo-menu-link {
    font-weight: 500;
    color: #1e293b;
}

.novo-menu-item:first-child .novo-menu-link:hover {
    color: #3b82f6;
} 