You might be interested in a few answers I've written:
I picked out these three in particular because they get at different parts of the question. In short, "was the fall of the USSR a shock?" Yes and no. Starting in 1989 it became clear that Gorbachev's reforms were leading to ever bigger and more drastic changes in Soviet institutions and society. There was no going back to 1985.
But where the USSR was going wasn't really clear until pretty much the dissolution happened (even as late as December 16, 1991, Gorbachev was working as Soviet President theoretically in charge of a Soviet government, even as pretty much all Republics were declaring their independence and the Communist Party of the Soviet Union was already banned).
As for institutional reactions, here are a few: