Brazil took seven points from a possible nine to win Group G, while Portugal went through as their runners-up, one point clear of Côte d’Ivoire.