The Brazil international will join Spurs after the Confederations Cup on a four-year deal, with the club holding the option for a one-year extension