JJ 3359 then LA 3842 at Guarulhos
Salvador → São Paulo → Teresina
Timetable, São Paulo time
08:22JJ 3359 from Salvador at the gate
07:40LA 3842 to Teresina leaves the gate
23 h 18 apart on the timetable, overnight
LA 3842 leaves 23 h 18 after JJ 3359 arrives on the timetable: more than half a day, so not a connection we count.