Venice is world-famous, but its location defies logic. Building a city in a lagoon came with risks that still haunt it ...