Piemonte, la lunga notte del Tar