Text this: Non-minimal coupling of scalar fields in the dark sector and generalization of the top-hat collapse