Hello.
I would look at the fuses first, as others say.
Then I would check the button with a canter.
The next step is to see if it comes positive and dough.
If all this is fine, put direct tension to the engine, and if it works, it is clear since it is a cable between the button and the engine.
I hope I get on time and serve you.
SALU2
SOB
EDITO: If the sunroof is not of origin, it is most likely that some "spabilao" has taken feeding from the inner ceiling. In this case, it is possible that the inner light fuse is possible, or the roof itself, which is usually in the button of the button.