Nottingham Forest signed Brazilian midfielder Danilo from Palmeiras on a contract until 2029, the Premier League side said on Monday.