A military citadel gave way to a park with a lake, a monumental cascade and the Catalan Parliament building.