The Brazilian league has something called the ‘Pepe Law’, which does not allow players under 18 to leave. Hence the young players tend to sign a professional contract, and Marquinhos did the …
http://www.thehardtackle.com/transfer-news/2022/05/14/arsenal-agree-deal-to-sign-marquinhos/