Celà Cela convient-il ?
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage{xcolor}
\usepackage{tcolorbox}
\usepackage{fancyhdr}
\usepackage{array}
\usepackage{calc}
% \usepackage{tasks}
\pagestyle{fancy}
\begin{document}
\thispagestyle{empty}
\setlength\parindent{0mm}
\begin{center}
\newlength{\tempalong}
\newlength{\tempblong}
\setlength{\tempalong}{2em}
\setlength{\tempblong}{0.5\linewidth - 0.5\tempalong}
\noindent
\begin{tabular}{@{} w{l}{\tempblong}<{\dotfill} @{\hspace{\tempalong}} w{l}{\tempblong}<{\dotfill} @{}}
Classe: & A. Scolaire: \\
Collège: & Prof.: \\
\end{tabular}
\end{center}
\begin{center}
\begin{tcolorbox}[colback=white]
\centering
% Série $N^o$:
% \dots\dots\dots\dots\dots\dots\dots\dots\dots
% \dots\dots\dots\dots\dots\dots\dots\dots\dots
% \dots\dots\dots\dots\dots\dots \dots\dots\dots
Série \No: \\
\dotfill{}
\end{tcolorbox}
\end{center}
\section*{Exercice 1 :}
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
\end{document}