A goal with the last kick of the match settled this intriguing affair between the Brazilians and Kiwis.