IR/visible crossfade of the Lagoon Nebula (Messier 8)