The invention relates to a hairstyling process comprising the following steps:the application to the hair of a first cleansing cosmetic composition comprising one or more surfactantsthe application of a second aqueous cosmetic composition comprising a neutralized non-crosslinked vinylpyridine polymerfollowed by a step of rinsing with water and then a step of shaping the hair, and then a step of drying the hair.The invention also relates to a kit comprising a first cleansing cosmetic composition comprising one or more surfactants and a second aqueous cosmetic composition comprising a neutralized non-crosslinked vinylpyridine polymer, the first and second compositions each being packaged in a separate packaging assembly.