South Africa wants to reach a broad-ranging agreement with the US on diplomacy and trade amid strained ties between the two nations, President Cyril Ramaphosa said.