Oddley enough I was in the same position a month ago, very wet carpets.
Stage 1) As suggested above I removed the door tread panel and used black silicone to seal the last 200mm of trim strip at each side and after cleaning, I ran an 8-10mm bead under the rear edge of the tread panel before...