Coexistence of localized and collective magnetism in the coupled-spin-tetrahedra system Cu4Te5O12C14