AD 4831 then IB 272 at Guarulhos
Curitiba → São Paulo → Madrid
Timetable, São Paulo time
22:30AD 4831 from Curitiba at the gate
20:30IB 272 to Madrid leaves the gate
22 h apart on the timetable, overnight
IB 272 leaves 22 h after AD 4831 arrives on the timetable: more than half a day, so not a connection we count.