I always book international and domestic separate in Brazil. LATAM and GOL are notorious for creating problems. It is a a headache.
I always book with at least 12hrs of time built in between domestic and international. Unfortunately, I have learned the hard way.