Vinícius Júnior has accepted Real Madrid’s latest contract offer, ending months of speculation by agreeing a new deal at the club until 2032.