Authorities placed the Gard and Hérault departments on red alert on Wednesday, closing schools, suspending regional rail lines, and ordering residents indoors after torrential rains caused flash flooding across southern France.