took a while, took (a certain amount of time)
Demorei algum tempo a encontrar a resposta.
It took me a while to find the answer.
Demorei muito tempo a descobrir que os preços mudam.
It took me a long time to realize that prices change.
Demorei algum tempo a perceber quanto mais culto era.
It took me some time to realise how much more cultured he was.
Demorei séculos, e agora, tenho que começar tudo de novo!
It took me ages, and now I have to start all over again!
— Ne Zha (2019)
Brilhava tanto que me demorei a perceber de que estava em uma nuvem.
It was shining so brightly that it took me a while to realize I was on a cloud.
— Porco Rosso - O Porquinho Voador (1992)
Eu demorei muitas horas para fazer isso.
It took me many hours to do this.