Scorching summer temperatures and a recent heat wave forced hundreds of Brazilians to seek relief on the beach at night.