In the 18th century, a young Portuguese cartographer discovered new forms of love, war and a wild new world during an expedition to South America.