Future ambitious CMB observations aim at pushing back the frontiers of our understanding of the universe we live in and of fundamental particles and interactions. The CMB-S4 ground-based observatory, which will be deployed at the South Pole in Antarctica and in the Atacama desert in Chile, will constrain models of cosmic inflation with unprecedented precision by looking for the signature of primordial gravitational waves in CMB polarization.