The station called Nice St Augustin is a 15 minute walk from the airport. No need at all to go into the city. Trains to Juan-les-pins run two or three times every hour, they are the same trains as leave Nice Ville 5 or 6 minutes eaarlier. Nice St Augustin train station is a 15 minutes from Terminal 1.