\documentclass[a4paper,11pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[french]{babel}
\usepackage[a4paper,top=3.2cm,bottom=2cm,left=2cm,right=2cm]{geometry}
\usepackage{graphicx}
\usepackage[export]{adjustbox}
\usepackage{fancyhdr}
\usepackage{qrcode}
\usepackage[table]{xcolor}
\usepackage{amsmath,amssymb}
\usepackage{enumitem}
% Puces nettes (babel-french remplace sinon la puce par un tiret « – » peu pro).
% Vaut pour TOUTES les fiches qui importent ce module. AtBeginDocument pour
% passer après la personnalisation des listes faite par babel-french.
\AtBeginDocument{%
  \setlist[itemize]{leftmargin=1.8em,itemsep=0.5ex,topsep=0.4ex,parsep=0pt}%
  \setlist[itemize,1]{label=\textcolor{red!75!black}{\small\textbullet}}%
  \setlist[itemize,2]{label=\textcolor{red!75!black}{\scriptsize\textbullet}}%
}
% Titres compacts (gain de place vertical, fiches plus denses) — vaut pour tous.
\usepackage{titlesec}
\titlespacing*{\section}{0pt}{1.4ex}{0.6ex}
\titlespacing*{\subsection}{0pt}{1.0ex}{0.3ex}
% multicol : listes denses (calcul mental) sur 2 colonnes — neutre tant qu'il
% n'est pas utilisé, dispo pour tous les générateurs.
\usepackage{multicol}
\setlength{\columnsep}{1.5em}
% needspace : empêche un titre d'exercice de rester orphelin en bas de page
% (réserve quelques lignes ; sinon le titre passe à la page suivante avec sa
% liste). Neutre tant qu'il n'est pas appelé — dispo pour tous les générateurs.
\usepackage{needspace}
\usepackage{tikz}
\usetikzlibrary{decorations.text}

\usepackage{tgheros}
\pagestyle{fancy}
\fancyhf{}
\setlength{\headheight}{75pt}
\setlength{\headsep}{10pt}

\newcommand{\logowouf}{%
\begin{tikzpicture}[baseline={(current bounding box.center)},scale=0.55,
                    line cap=round,line join=round]
    \path[use as bounding box] (-2.20,-1.45) rectangle (2.20,2.20);
    \path[
        postaction={decorate},
        decoration={
            text along path,
            text={|\fontfamily{qhv}\bfseries\fontsize{9}{9}\selectfont|site2wouf.fr},
            text align={center},
            raise=0.03ex
        }
    ] (-1.29,0.48) arc[start angle=160,end angle=20,radius=1.29];
    \begin{scope}[xshift=-0.06cm]
        \fill[black] (-0.66,0.14) ellipse (0.21 and 0.31);
        \fill[black] ( 0.66,0.14) ellipse (0.21 and 0.31);
        \fill[black] (-0.23,0.49) ellipse (0.22 and 0.35);
        \fill[black] ( 0.23,0.49) ellipse (0.22 and 0.35);
        \fill[black]
            (0,-0.10)
            .. controls (-0.36,-0.02) and (-0.63,-0.24) .. (-0.58,-0.58)
            .. controls (-0.52,-0.93) and (-0.16,-1.12) .. (0,-0.90)
            .. controls (0.16,-1.12) and (0.52,-0.93) .. (0.58,-0.58)
            .. controls (0.63,-0.24) and (0.36,-0.02) .. (0,-0.10)
            -- cycle;
    \end{scope}
\end{tikzpicture}%
}

\newcommand{\titre}{Multiplications en mots}
\newcommand{\soustitre}{Cryptarithme : chaque lettre cache un chiffre (multiplication posée)}

\fancyhead[C]{%
\raisebox{4pt}{%
\begin{minipage}[c]{0.15\textwidth}
    \centering
    \logowouf
\end{minipage}
\begin{minipage}[c]{0.62\textwidth}
    \centering
    {\Large\bfseries \titre\par}
    {\small\color{gray} \soustitre}
\end{minipage}
\begin{minipage}[c]{0.21\textwidth}
    \centering
    \qrcode[height=1.5cm]{https://site2wouf.fr/multiplications_mots.php?id=SE-CI-DIS-AID-APPS__none}\\[2pt]
    {\small\ttfamily\bfseries\color{red} PMM · SE×CI}
\end{minipage}%
}
}

\begin{document}

\begin{center}
    \small Chaque lettre représente un chiffre (une même lettre = toujours le même chiffre, des lettres différentes = des chiffres différents). Retrouve la multiplication en chiffres.
\end{center}
\vspace{0.5em}
\begin{center}\begin{tikzpicture}[x=1cm,y=1cm]
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (1.320,4.000) {S};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (1.980,4.000) {E};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (0.660,3.000) {$\times$};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (1.320,3.000) {C};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (1.980,3.000) {I};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (0.660,1.900) {D};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (1.320,1.900) {I};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (1.980,1.900) {S};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (0.000,0.900) {A};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (0.660,0.900) {I};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (1.320,0.900) {D};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (0.000,-0.250) {A};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (0.660,-0.250) {P};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (1.320,-0.250) {P};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=black] at (1.980,-0.250) {S};
\draw[black,line width=1.5pt] (-0.363,2.480) -- (2.343,2.480);
\draw[black,line width=1.5pt] (-0.363,0.320) -- (2.343,0.320);
\end{tikzpicture}\end{center}

\newpage
{\Large\bfseries\color{red} Correction}\par\medskip
\textbf{Solution} (lettre $\rightarrow$ chiffre) :\par\smallskip
\begin{center}\large $A = 6$\quad $C = 8$\quad $D = 2$\quad $E = 9$\quad $I = 3$\quad $P = 5$\quad $S = 7$\end{center}
\medskip\textbf{Multiplication en chiffres :}
\begin{center}\begin{tikzpicture}[x=1cm,y=1cm]
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (1.320,4.000) {7};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (1.980,4.000) {9};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (0.660,3.000) {$\times$};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (1.320,3.000) {8};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (1.980,3.000) {3};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (0.660,1.900) {2};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (1.320,1.900) {3};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (1.980,1.900) {7};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (0.000,0.900) {6};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (0.660,0.900) {3};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (1.320,0.900) {2};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (0.000,-0.250) {6};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (0.660,-0.250) {5};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (1.320,-0.250) {5};
\node[font=\fontsize{20}{22}\selectfont\ttfamily\bfseries,text=blue!50!black] at (1.980,-0.250) {7};
\draw[blue!50!black,line width=1.5pt] (-0.363,2.480) -- (2.343,2.480);
\draw[blue!50!black,line width=1.5pt] (-0.363,0.320) -- (2.343,0.320);
\end{tikzpicture}\end{center}

\end{document}
