Interplays between magmatism, crustal deformation, surface erosion and long-term climate on the rise and fall of continental arcs