Cuba is NOT a party to the Apostille (Hague) Convention (it is not in the HCCH table) source ↗
So the full chain is needed: legalization in the issuing country, then consular legalization at the Brazilian consulate, plus a sworn translation in Brazil source ↗
School documents
Cuba is not a party to the Apostille (Hague) Convention, so school documents go through consular legalization (Cuban Ministry of Foreign Affairs + Brazilian consulate) source ↗