The fate of quarkonia in heavy-ion collisions at LHC energies: a unified description of the sequential suppression patterns