There is an enormous number of lawyers available to provide pro-bono legal support.

Unfortunately the website is in Portuguese, but if you open the PDF in the following page, according to the district or closest major city, you can just reach out to any of the contacts you find there:

https://portal.oa.pt/comunicacao/noticias/2022/02/apoio-aos-cidadaos-ucranianos-lista-de-advogados-voluntarios/