If your Visa does not arrive in time, you can travel on a second passport. This second passport book is valid for 4 years, and can be used to travel internationally before your Visa is ready.
If you want to stay in Portugal for longer than 3 months, you can apply for a long-stay Visa. This post details what this process looks like for the D7 retirement visa as of September 2024.