Oil climbs to 3-month high on supply curbs and trade talks