Thermodynamics, transport, and fluctuations in the sine-Gordon model