Landau free energy, Landau entropy, phase transitions and limits of metastability in an analytical model with a variable number of degrees of freedom