Opinion dynamics : from local interactions to global trends