Nous étudions l'homotopie d'une variété quasi‐projective dans un espace projectif complexe selon la méthode de Lefschetz, c'est‐à‐dire en considérant ses sections par les hyperplans d'un pinceau (tomographie). En particulier, nous aboutissons à un théorème du type de Lefschetz qui généralise dans une certaine direction les meilleurs résultats connus dus à Hamm, Lê, Goresky et MacPherson. Ce théorème est démontré par récurrence sur la dimension de l'espace projectif ambiant à partir d'un théorème sur les pinceaux d'axe générique qui constitue le résultat principal de l'article. Ce dernier compare la topologie de la variété à celle de sa section par un hyperplan générique du pinceau sur la base des comparaisons (section hyperplane générique – section par l'axe du pinceau) et (sections hyperplanes exceptionnelles – section par l'axe); l'incidence des singularités est mesurée par un invariant appelé ‘profondeur homotopique rectifiée globale’ (analogue global de la notion de profondeur homotopique rectifiée de Grothendieck). We study the homotopy of a quasi‐projective variety in a complex projective space following Lefschetz's method, that is, by considering its sections by the hyperplanes of a pencil (tomography). Specifically, we obtain a theorem of Lefschetz type which generalizes in a certain direction the best‐known results due to Hamm, Lê, Goresky and MacPherson. This theorem is proved by induction on the dimension of the ambient projective space with the help of a theorem on pencils with generic axis which is the main result of the paper. The latter compares the topology of the variety with that of its section by a generic hyperplane of the pencil, on the basis of the following comparisons: section by a generic hyperplane with section by the axis of the pencil; and sections by the exceptional hyperplanes with section by the axis. The effect of the singularities is measured by an invariant called ‘global rectified homotopical depth’ (a global analogue of the notion of rectified homotopical depth of Grothendieck). eyral@cmi.univ‐mrs.fr 2000 Mathematics Subject Classification: 32S50, 14F35, 14F17.