The Fontan procedure involves diverting the inferior vena cava flow directly to the pulmonary artery using either a baffle created within the right atrium (lateral tunnel) or an extracardiac conduit that completely bypasses the right atrium.