Brazil needed two extra-time goals to overcome 10-man Cameroon 2-0 and reach the men's semi-finals on Saturday.
Despite Albert Baning's sending off only six minutes after the break, the Lions did not seem to be struggling against the South American giants.
However, Rafael Sobis hit on the counter in the 100th minute, before Marcelo finished off a superb team move to conclude the victory four minutes later.
Italy were surprisingly eliminated by Belgium, who came back from a goal down to beat the Azzurri 3-2 in a thrilling game.
Later on Saturday, African duo Nigeria and Ivory Coast clash, while Lionel Messi's Argentina face Holland.
نرشح لكم
اسكواش - وأخيرا خضع اللقب.. نوران جوهر تتوج ببطولة العالم للسيدات
من أجل إنجاز لم يحدث منذ ربع قرن.. فيوري يواجه أوزيك في نزال القرن في السعودية
اسكواش - نور ونوران وعسل.. ثلاثي مصري في نهائي بطولة العالم
كرة يد - في الرمق الأخير.. الأهلي يحسم أولى جولات النهائي بالفوز على الزمالك
كرة طائرة - تاتيانا: لذلك فضلت البقاء في الأهلي على العروض الأخرى
انتهت في نهائي دوري اليد - الأهلي (26)-(25) الزمالك.. الموقعة الأولى
باريس 2024 - اللجنة الأولمبية المصرية تعلن زيادة القيمة المالية للفائزين بذهبية
اسكواش - خماسي مصري في نصف نهائي بطولة العالم