France clinched a dramatic 21-19 victory over world champions South Africa in the Nations Championship, withstanding late forward pressure to earn only their second win against the Springboks in 11 Tests.