For the 5% tax rate on Madeira, the requirement is a 75,000 investment in Madeira, and employing one Madeira resident (which could be yourself, if you become a Madeira resident).
It's only until December 31, 2028, and it only concerns CIT. The most important things are withholding tax on dividends, income tax rate and social contribution rates.