What Happens When You Get All A-Ranks in Sonic Heroes?

You unlock Super Hard mode.

That requires an A rank on every stage with every team, which is a considerable amount of work given there are four teams with distinct routes through the game. The reward is a tougher version of the campaign for players who found the original difficulty too forgiving.

If you are grinding for it, the fastest approach is to replay stages you already know well and focus on time rather than ring collection, since speed is usually the easiest rank condition to optimise.