New perspectives in the equilibrium statistical mechanics approach to social and economic sciences