Device for attaching a trim to a bodywork structure of a motor vehicle, said attachment device comprising a clip shaped to accommodate at least one portion of an inflatable curtain device , wherein the clip comprises: - a first clip portion provided with attachment elements for attaching to the bodywork structure ; - a second clip portion provided with attachment elements for attaching to the trim ; - the two clip portions being connected together by locking components and hinging components arranged so that the deployment of an inflatable curtain disengages the locking components and causes the second clip portion to pivot relative to the first clip portion about said hinging components ; and wherein: - the locking components (15 i ) comprise locking lugs (15A i ) and retention elements (15B i ) for keeping the locking lugs mutually engaged in a closed position of the clip, the locking lugs (15A i ) and the retention elements (15B i ) being secured to separate clip portions; - the hinging components comprise at least one hook and at least one opposing hook that are mutually engaged in an open position of the clip and are kept mutually engaged by at least one resilient strip (17 i ) and are rotationally blocked by at least one stop , the hook being secured to a clip portion, the opposing hook , the resilient strip (17 i ) and the stop being secured to the other clip portion; and - the hook forms an end of a locking lug (15A i ) and, in the closed position of the clip, the opposing hook forms a retention element (15B i ) for this locking lug and is kept engaged with an engagement zone (15C 1 ) of said locking lug by the resilient strip (17 i ), with this engagement zone (15C 1 ) being located at a predetermined distance from the hook . - a first clip portion provided with attachment elements for attaching to the bodywork structure ; - a second clip portion provided with attachment elements for attaching to the trim ; - the two clip portions being connected together by locking components and hinging components arranged so that the deployment of an inflatable curtain disengages the locking components and causes the second clip portion to pivot relative to the first clip portion about said hinging components ; - the locking components (15 i ) comprise locking lugs (15A i ) and retention elements (15B i ) for keeping the locking lugs mutually engaged in a closed position of the clip, the locking lugs (15A i ) and the retention elements (15B i ) being secured to separate clip portions; - the hinging components comprise at least one hook and at least one opposing hook that are mutually engaged in an open position of the clip and are kept mutually engaged by at least one resilient strip (17 i ) and are rotationally blocked by at least one stop , the hook being secured to a clip portion, the opposing hook , the resilient strip (17 i ) and the stop being secured to the other clip portion; and - the hook forms an end of a locking lug (15A i ) and, in the closed position of the clip, the opposing hook forms a retention element (15B i ) for this locking lug and is kept engaged with an engagement zone (15C 1 ) of said locking lug by the resilient strip (17 i ), with this engagement zone (15C 1 ) being located at a predetermined distance from the hook . <EOS>