CM 800 then JJ 8066 at Guarulhos
Tocumen → São Paulo → Madrid
Timetable, São Paulo time
00:15CM 800 from Tocumen at the gate
00:03JJ 8066 to Madrid leaves the gate
23 h 48 apart on the timetable, overnight
JJ 8066 leaves 23 h 48 after CM 800 arrives on the timetable: more than half a day, so not a connection we count.