Hi Lucy,
You didn’t say where you’re from, but I’m guess it’s the UK?
As the UK has now left the EU, you do need a visa to move to Portugal (unless you can prove you were living here before the end of last year).
As to the type of visa, it really depends. The D7 is suitable for those that have some kind of income coming in already e.g. a pension, rental properties abroad, etc.
The D2 is aimed at those that don’t have that regular (and ideally passive) income and are planning to start a business in Portugal.
The Golden Visa is another option if your property will cost 500k+ or (as little as 280k in some cases).
Your lawyer should really have informed you on all of this.
– https://www.portugalist.com/d7-visa-residency/
– https://www.portugalist.com/d2-visa-residency/