  We show that the behaviour in phase space of the Wigner function associated
to the electromagnetic modes carries the information of both, the entanglement
properties between matter and field, and the regions in parameter space where
quantum phase transitions take place. A finer classification for the continuous
phase transitions is obtained through the computation of the surface of minimum
fidelity.
