Symmetries and exact solutions of a (2+1)-dimensional sine-Gordon system