Envoyer par SMS: Macroscopic entanglement and phase transitions