Composition comprising: i) one or more anionic associative polymers, ii) one or more anionic fixing polymers, iii) one or more cationic fixing polymers, the said anionic associative polymer(s) comprising at least one unit of formula (I) and at least one unit of formula (II) below: with R 1 and R 2 , independently of each other, representing a hydrogen atom or a methyl group, R 3 representing a C 8 -C 30 alkyl radical, M 1 representing a hydrogen atom or a physiologically acceptable cation, A 1 representing a group -(CH 2 CH 2 O) x -, x being an integer ranging from 5 to 35, a group -(CH 2 CHMeO) y -, y being an integer ranging from 5 to 35, or a group -(CH 2 CH 2 O) x -(CH 2 CHMeO) y -, the sum x + y being an integer ranging from 5 to 35 with x and y being greater than 0, the said anionic fixing polymer(s) comprising at least one unit of formula (III) and at least one unit of formula (IV) below: with R 6 and R 7 , independently of each other, representing a hydrogen atom or a methyl group, and M 2 representing a hydrogen atom or a physiologically acceptable cation, and the said cationic fixing polymers are chosen from copolymers derived from acrylic or methacrylic esters comprising: at least one unit of formulae (VI) and (VII) in which: R 8 and R 9 , which may be identical or different, represent a hydrogen atom or an alkyl group containing from 1 to 6 carbon atoms; R 10 , which may be identical or different in each formula, denotes a hydrogen atom or a CH 3 radical; A 2 , which may be identical or different in each formula, denotes a linear or branched alkyl group comprising 1 to 6 carbon atoms or a hydroxyalkyl group comprising 1 to 4 carbon atoms; R 11 , R 12 and R 13 , which may be identical or different in each formula, represent an alkyl group containing from 1 to 18 carbon atoms or a benzyl radical; X - denotes a methosulfate anion or a halide such as chloride or bromide, - and at least one unit derived from one or more comonomers chosen from vinyllactams. i) one or more anionic associative polymers, ii) one or more anionic fixing polymers, iii) one or more cationic fixing polymers, with R 1 and R 2 , independently of each other, representing a hydrogen atom or a methyl group, R 3 representing a C 8 -C 30 alkyl radical, M 1 representing a hydrogen atom or a physiologically acceptable cation, A 1 representing a group -(CH 2 CH 2 O) x -, x being an integer ranging from 5 to 35, a group -(CH 2 CHMeO) y -, y being an integer ranging from 5 to 35, or a group -(CH 2 CH 2 O) x -(CH 2 CHMeO) y -, the sum x + y being an integer ranging from 5 to 35 with x and y being greater than 0, with R 6 and R 7 , independently of each other, representing a hydrogen atom or a methyl group, and M 2 representing a hydrogen atom or a physiologically acceptable cation, and R 8 and R 9 , which may be identical or different, represent a hydrogen atom or an alkyl group containing from 1 to 6 carbon atoms; R 10 , which may be identical or different in each formula, denotes a hydrogen atom or a CH 3 radical; A 2 , which may be identical or different in each formula, denotes a linear or branched alkyl group comprising 1 to 6 carbon atoms or a hydroxyalkyl group comprising 1 to 4 carbon atoms; R 11 , R 12 and R 13 , which may be identical or different in each formula, represent an alkyl group containing from 1 to 18 carbon atoms or a benzyl radical; X - denotes a methosulfate anion or a halide such as chloride or bromide, - and at least one unit derived from one or more comonomers chosen from vinyllactams. - and at least one unit derived from one or more comonomers chosen from vinyllactams. <EOS>