The present invention relates to a solid cosmetic composition comprising, in a cosmetically acceptable medium, (i) a supramolecular compound that may be obtained by reaction between:-at least one oil bearing at least one nucleophilic reactive function chosen from OH and NH2, and-at least one junction group capable of establishing hydrogen bonds with one or more partner junction groups, each pairing of a junction group involving at least three hydrogen bonds, the said junction group bearing at least one isocyanate or imidazole reactive function capable of reacting with the reactive function borne by the oil, the said junction group also comprising at least one unit of formula (I) or (II), (ii) at least one silicone oil, (iii) at least one wax. The invention also relates to a makeup or care process comprising the application of the said composition, especially to the skin or the lips.