Connecting planet formation and astrochemistry A main sequence for C/O in hot-exoplanetary atmospheres