Many old threads about water leaks you may want to read them for ideas.
Some owners have had problems with drain lines being kinked on their sunroof. Other had the rubber cover on the door wiring harness come loose and water comes inside. Other have had bad gaskets on door or windshield. Also make sure you thoroughly dry out the carpet and padding or you will get mold and mildew problems. You may have to get inside vehicle in heavy rain to see what area water is coming from or have a friend hit your AV with lots of water from a hose. Some members found out if they parked on an incline the leak was actually in the rear and water ran forward, you may want to check for that too......
Good luck.