

It didn't fill up with water, just a misting on the inside of the headlight because it caught it very quickly.
From this:
to this, overnight:
It was very simple and didn't require much work

Open the cover and placed two of these packs in there and carefully refit the cover to make sure it gives a good seal.
If your C3 headlight filled with water, it will take more to get them dry and the levelling motor may never work again, but if you catch it in time, this will fix the fog after the water has been removed

If your headlights are old, the seal may be drying out and this fix won't help long term, but there is a tip here you can try to extend the life of the headlight access hatch seals. Then you can apply the fix above if they are only fogged and not waterlogged.