Free-surface flows with large slopes: Beyond lubrication theory