The invention relates to a cosmetic process for the care or makeup of keratinous materials, comprising the sequential application on the keratin materials of a cosmetic composition comprising a block polymer of maleic anhydride and of a polyamine compound, said block polymer comprising: first block having a glass transition temperature (Tg) greater than or equal to 40 ° C from a monomer CH2 = C (R1) -COOR2 with R1 = H or methyl, R2 = C4 to C12 cycloalkyl group; and a second block having a glass transition temperature (Tg) less than or equal to 20 ° C derived from a maleic anhydride monomer and a monomer CH2 = C (R1) -COOR3 with R1 = H or methyl, R3 = group unsubstituted C1 to C6 alkyl, linear or branched, with the exception of tert-butyl, or methoxyethyl. The invention also relates to the crosslinked polymer obtained by the reaction of said polymer sequenced with said polyamine compound. The process makes it possible to obtain a film-forming deposit of good resistance, resistant to water, oil, sebum, non-tacky and non-transferable. L'invention concerne un procédé cosmétique de soin ou de maquillage des matières kératiniques comprenant l'application séquentielle sur les matières kératiniques d'une composition cosmétique comprenant un polymère séquencé d'anhydride maléique et d'un composé polyaminé, ledit polymère séquencé comprenant : une première séquence ayant une température de transition vitreuse (Tg) supérieure ou égale à 40°C issue d'un monomère CH2 = C(R1)-COOR2 avec R1 = H ou méthyle, R2 = groupe cycloalkyle C4 à C1 2 ; et une deuxième séquence ayant une température de transition vitreuse (Tg) inférieure ou égale à 20°C issue d'un monomère anhydride maléique et d'un monomère CH2 = C(R1)-COOR3 avec R1 = H ou méthyle, R3 = groupe alkyle non substitué en C1 à C6, linéaire ou ramifié, à l'exception du groupe tertiobutyle, ou un groupe méthoxyéthyle. L'invention concerne aussi le polymère réticulé obtenu par la réac