Look into
Brevets and
Randonneuring.
Also for a bike you don't want a crit bike or a time trial bike, you want to start with a good fitting road bike. Once you are comfortable with cycling and being on the roads you can decide where you want to compete and specialize, be it mountain biking, road, distance, cycle cross, etc.