Molecular vibrations and chemical reactivity in complex environments