Clustering : handling categorical data, should we pivot and scale?
You need to create a dissimilarity matrix first and then apply the clustering technique. Below link has many answer referring your point. Hope below will suffice for this:

https://stats.stackexchange.com/questions/24540/clustering-of-mixed-type-data-with-r