Categorical structures of Lie type attached to a closed embedding of a smooth scheme