\documentclass[a4paper,draft]{article}
\usepackage{fontspec}
\usepackage{setspace} %interlignage
\usepackage{multicol}
\usepackage[insidebox,noshuffle,postcorrect]{automultiplechoice}
\PassOptionsToPackage {table,svgnames,dvipsnames} {xcolor}
\usepackage{tikz}
\usepackage{ifthen}
%\usetikzlibrary{svg.path}
%%%mise en page du document :
\setmainfont[Scale=1]{Arial}
\setlength{\parindent}{0pt} % supprime l'indentation en début de paragraphe
\singlespacing % interligne
\geometry{left=22mm, top=40mm, total={165mm,216mm}} % dimension d'une feuille réponse Kangourou, centrée sur une feuille A4
\usepackage{scrextend} % agrandissement des polices
\usepackage[absolute,overlay]{textpos} %positionnement h et v
%mise en forme des questions
\AMCidsPosition{pos=none,width=4cm,height=3ex} % position de l'identifiant de sujet/feuille réponse


\begin{document}
	
	% Indicatif des questions. On utilise une hbox pour garder
	% l'alignement des cases à cocher
	\def\AMCbeginQuestion#1#2{}%\par\noindent{\hbox to 1.4em{#1\hfill}}}
	\def\AMCchoiceLabel#1{}
	\fboxsep0.5pt
	\def\AMCchoiceLabelFormat#1{\color{orangeK!60} \colorbox{white}{\scriptsize {#1}}}  %style des cases à cocher
	% Espace vertical entre les questions un peu réduit, pour faire
	% rentrer beaucoup de questions dans la page
	%\AMCinterIquest=1ex
	%\AMCformHSpace=3em
	
	% Code utilisé pour les questions
	\def\unequestion#1#2{
		% On définit une question multiple, mais si l'enseignant a coché une
		% seule réponse et qu'on utilise l'option « estimer le statut
		% simple/multiple des questions » lors de la notation, alors la
		% question correspondante sera transformée en question simple.
		%
		\def\BaC{\hspace*{0.61mm}}
		\begin{question}{#1}\bareme{b=#2,m=-#2/4,e=0v=0}
			\hspace*{1mm}
			\begin{reponsesperso}
				\mauvaise{} \BaC \mauvaise{} \BaC \mauvaise{} \BaC \mauvaise{} \BaC \mauvaise{}
			\end{reponsesperso}
		\end{question}
	}
	
		\def\questionC#1#2#3{
		% On définit une question multiple, mais si l'enseignant a coché une
		% seule réponse et qu'on utilise l'option « estimer le statut
		% simple/multiple des questions » lors de la notation, alors la
		% question correspondante sera transformée en question simple.
		%
		\def\EspC{\hspace*{#3}}
		\begin{question}{#1}\QuestionIndicative
			\bareme{auto=0,v=-1,e=-2}
			\hspace*{1mm}
			\begin{reponsesperso}
				\ifcase#2
				%
				\or
				\bonne{} \EspC \bonne{} \EspC \bonne{}
				\or
				\bonne{} \EspC \bonne{} \EspC \bonne{} \EspC \bonne{}
				
				\or %voie professionnelle
				\setlength{\baselineskip}{1.13em} %interligne des cases à cocher pour les questions 1 à 24
				\setlength\columnsep{-10mm} %espace intercolonne des cases à cocher pour les questions 1 à 24
				\begin{multicols}{2}
				\bonne{\footnotesize CAP} \\
				\bonne{\footnotesize 1e prof.}
				\vfill\columnbreak
				\bonne{\footnotesize 2e prof.} \\
				\bonne{\footnotesize Term.prof.}	
				\end{multicols}			
				\else
				%
				\fi
			\end{reponsesperso}
		\end{question}
	}
	
	
	
	
	% On utilise ici un seul exemplaire, qui sera photocopié.
	\exemplaire{1}{
%%%%%%% code Tikz pour reproduire l'aspect graphique de la feuille réponse
\definecolor{orangeKbg}{RGB}{252,210,195}
\definecolor{orangeK}{RGB}{255,71,57}
\definecolor{noir}{RGB}{35,31,32}
\definecolor{gris}{RGB}{79,76,76}
\begin{tikzpicture}[y=1mm, x=1mm,shift={(-26mm,-260mm)}, inner sep=0pt, outer sep=0pt,overlay,remember picture]
	
	%%%%%% ZONE 1 : NOM puis Prénom %%%%%%
	\coordinate (Z1) at (28.6, 244);
	
	%%ARRIERE PLAN
	%manuscrit
	\foreach \col in {28.7,38.8,49,59.1,69.3,79.5,89.6,99.8,109.9,120.1}{
		\path[fill=orangeKbg,nonzero rule,line width=0.4mm] (\col, 118.9) --++ (5, 0) --++ (0, 105.4) --++ (-5,0) -- cycle;
	}
	% grille alphabetique
	\foreach \x in {0,1,2,...,9}{
		\path[fill=orangeKbg,nonzero rule,line width=0.4mm] (28.7+\x*10.16, 229.4) --++ (5.08, 0) --++ (0, 7) --++ (-5.08,0) -- cycle;
	}
	
	%%LIGNES
	% Cadre principal
	\path[draw=orangeK,line width=0.2mm] (28.6, 244) rectangle (125.3, 118.8);
	\path[draw=orangeK,line width=0.1mm] (28.7, 236.3) -- (125.2, 236.3);
	
	\foreach \x in {0,1,2,...,17}{
		\path[draw=orangeK,line width=0.1mm] (33.7+\x*5.08, 229.4) --++ (0, 0.6);
	}
	\path[draw=orangeK,line width=0.1mm] (28.7, 229.4) -- (125.3, 229.4);
	
	\path[draw=orangeK,line width=0.1mm] (28.7, 224.4) -- (125.3, 224.4);
	
	%%NUMEROTATION ZONE
	
	\fill[color=gris] ([shift={(-0.5,0.5)}]Z1) rectangle++ (5, -5) ;
	\draw[fill=white,draw=noir,line width=0.2mm] ([shift={(-1,1)}]Z1) rectangle++ (5, -5) node[anchor=center,shift={(-2.5,2.5)}]{1};
	
	
	%%TEXTE
	% Titre (33, 243.1)
	
	\draw ([shift={(5,-.5)}]Z1) node[text=black,anchor=north west,align=left]{NOM puis PRÉNOM};
	\draw ([shift={(5,-4.5)}]Z1) node[text=orangeK,anchor=north west,xscale=0.9,yscale=0.9,align=left]{\small \textbf{Sépare le nom et le prénom en laissant une case vide.}};
	
	%case à cocher
	\draw[color=orangeK,line width=0.3mm](85.3,227.2) {[rounded corners=0.5mm] --++(3.5,0)  --++(0,1.2) --++(-3.5,0) --cycle};
	%case noircie
	\draw[color=noir,line width=0.8mm,rotate around={2:(87.1,227.8)}] (85.2,227.8) --++ (3.8, 0);
	
	\linespread{0.7}%106.4
	\node[text=orangeK,anchor=center,line width=0.1mm,xscale=0.74,yscale=0.8,text width=140mm, align=justify] (text3442) at (81, 226.5){\footnotesize{Dans chaque colonne, en dessous de chaque lettre, noircis \hspace*{8mm} uniquement cette lettre d'un gros trait\\ horizontal. Regarde l'exemple !  Sépare le nom et le prénom en laissant une colonne vide.}};
	
	\draw (27.9, 198.2) node[text=orangeK,anchor=south,line width=0.4mm,rotate=90]{\textbf{\textit{FAIS DES TIRETS NETS !}}};
	
	%%%%%% ZONE 3 : REPONSES %%%%%%
	\coordinate (Z3) at (24.9,116.5);
	
	%%ARRIERE PLAN
	
	%exemple
	\path[fill=orangeKbg,nonzero rule] (55.8, 107.6) rectangle (71.8, 109.6);
	\path[fill=orangeKbg,nonzero rule] (55.8, 111.6) rectangle (71.8, 113.6);
	
	%réponses 1 à 24
	\foreach \y in {0,1,2,...,5}{
		\fill[color=orangeKbg] (26.1, 99.4-\y*8) rectangle (61.7, 103.4-\y*8);
		\fill[color=orangeKbg] (66.8, 99.4-\y*8) rectangle (99.8, 103.4-\y*8);
	}
	
	% pour départager, 25 et 26
	\path[fill=orangeKbg,nonzero rule,line width=0.4mm] (43.4, 50.9) -- (95.1, 50.9) -- (95.1, 54.6) -- (43.4, 54.6) -- cycle(43.4, 50.9);
	
	%%LIGNES
	
	% cadre principal
	\path[draw=orangeK,line width=0.2mm] (24.9, 116.5) rectangle (100.2, 46.7); 
	
	% separateur vertical entete
	\path[draw=orangeK,line width=0.1mm] (55.4, 107.4) -- (55.4, 116.5); 
	
	% horizontal vertical entete
	\path[draw=orangeK,line width=0.2mm] (24.9, 107.4) -- (100.2, 107.4); 
	
	
	% Exemple : 3×5 cases à cocher 
	\foreach \x in {0,1,2,3,4}{
		\foreach \y in {0,1,2}{
			\draw[color=orangeK,fill=white,line width=0.1mm](59.4+\x*2.5, 108.3+\y*2) {[rounded corners=0.3mm] --++(1.6,0)  --++(0,0.6) --++(-1.6,0) --cycle};
	}}
	
	% Exemple : cases cochées dans l'exemple
	\path[draw=noir,line width=0.5mm] (62, 112.6) --++ (1.5,0);
	\path[draw=noir,line width=0.5mm] (69.4, 108.6) --++  (1.5,0);
	
	% separateur horizontal cadre à départager
	\path[draw=orangeK,line cap=butt,line join=miter,line width=0.4mm,miter limit=10.0] (24.9, 55.3) -- (100.2, 55.3); 
	
	% cadre à départager
	\path[draw=orangeK,line width=0.2mm] (43.4, 54.6) rectangle (95.1, 47.3); 
	
	
	%%NUMEROTATION ZONE
	\fill[color=gris] ([shift={(-0.5,0.5)}]Z3) rectangle++ (5, -5) ;
	\draw[fill=white,draw=noir,line width=0.2mm] ([shift={(-1,1)}]Z3) rectangle++ (5, -5) node[anchor=center,shift={(-2.5,2.5)}]{3};
	
	%%TEXTE
	% Titre
	\draw ([shift={(5,-.5)}]Z3) node[text=black,anchor=north west,align=left]{RÉPONSES};
	
	% Exemple : lettres pour les colonnes
	\foreach \x/\lab in {0/A,1/B,2/C,3/D,4/E}{
		\draw (60+\x*2.5, 115.1) node[anchor=center,color=orangeK]{\footnotesize \lab};}
	% Exemple : numéro pour les lignes
	\foreach \y in {1,2,3}{\draw(58, 114.9-\y*2.1) node[anchor=center,color=orangeK]{\footnotesize \y};}
	
	% Exemple : texte de l'exemple
	\node[text=orangeK,anchor=north east,text width=35mm,xscale=0.9,yscale=1, align=left] (text3442-3) at (104, 116){\footnotesize exemple : B à la\\ question 1, rien à la\\ question 2, E à la 3 …};
	
	
	% Annotation à 90°
	\node[text=orangeK,anchor=south,line width=0.4mm,rotate=90.0] (text3441-4-6) at (65.6, 79.3){\textbf{\textit{FAIS DES TIRETS NETS !}}};
	
	% Numérotation de 1 à 24
	\foreach \y in {1,2,...,12}{\draw (26.1+5, 105.4-\y*4) node[anchor=east,align=right]{\small \y};}
	\foreach \y in {13,14,...,24}{\draw (66.8+5, 105.4+12*4-\y*4) node[anchor=east,align=right]{\small \y};}
	
	% Texte pour départager
	\linespread{1}
	\draw (26.5, 51) node[text=orangeK,anchor=west,xscale=0.8,yscale=0.8,align=left]{\footnotesize \textbf{\textit{Pour}}\\ \footnotesize \textbf{\textit{départager}}};
	
	% Numérotation de 25 à 26
	\draw (43.4-0.5, 52.6) node[anchor=east,align=right]{\small 25};
	\draw (43.4-0.5, 49.3) node[anchor=east,align=right]{\small 26};
	
	%%%%%% ZONE : MODE D'EMPLOI %%%%%%
	\coordinate (ZME) at (126.5, 244.0);
	
	%%LIGNES
	\draw[color=orangeK,line width=0.2mm] (ZME) rectangle++ (41.4,-31.5);
	
	%%TITRE ZONE
	\fill[color=gris] ([shift={(3.15,0.5)}]ZME) rectangle++ (36.1, -4);
	\draw[fill=white,draw=noir,line width=0.2mm] ([shift={(2.65,1)}]ZME) rectangle++ (36.1, -4) node[anchor=center,shift={(-18.05,2)},xscale=0.9,yscale=1.1]{MODE D'EMPLOI};
	
	%%TEXTE
	
	\draw([shift={(1.5,-5)}]ZME) node[text=black,text width=55mm,anchor=north west, xscale=0.7,yscale=0.7,align=justify]{
		Cette feuille sera lue par une\\
		machine. La remplir correctement\\
		fait partie du jeu. Écris uniquement\\
		dans les cases prévues.};
	
	\draw([shift={(1.5,-18.5)}]ZME) node[text=black,text width=75mm,anchor=north west, xscale=0.6,yscale=0.7, align=left]{
		$\bullet$ \textit{Utilise un \underline{\smash{crayon}} \underline{noir}, un feutre\\
			ou un stylo à bille \underline{bleu} ou \underline{noir}.}};
	
	\draw([shift={(1.5,-27.5)}]ZME) node[text=black,text width=75mm,anchor=north west, xscale=0.6,yscale=0.7, align=left]{
		$\bullet$ \textit{Remplis les cadres\hspace*{6.5mm},\hspace*{6.2mm},\hspace*{7mm}et \hspace*{6mm}.}};
	
	\draw[draw=noir,fill=white,line width=0.1mm] (148, 217.2) rectangle++(3,-3) node[anchor=center,shift={(-1.5,1.5)}]{\footnotesize 1};
	\draw[draw=noir,fill=white,line width=0.1mm] (152.5, 217.2) rectangle++(3,-3) node[anchor=center,shift={(-1.5,1.5)}]{\footnotesize 2};
	\draw[draw=noir,fill=white,line width=0.1mm] (156.8, 217.2) rectangle++(3,-3) node[anchor=center,shift={(-1.5,1.5)}]{\footnotesize 3};
	\draw[draw=noir,fill=white,line width=0.1mm] (163.5, 217.2) rectangle++(3,-3) node[anchor=center,shift={(-1.5,1.5)}]{\footnotesize 4};
	
	%%%%%% ZONE : EXEMPLE POUR 1 %%%%%%
	\coordinate (ZEX) at  (126, 210.2);
	
	%% ARRIERE PLAN
	% Exemple grille alphabétique
	\foreach \x in {0,1,2}{\fill[color=orangeKbg] (155.1+\x*6, 177.2) rectangle (157.5+\x*6, 189.8);}
	
	%% LIGNES
	% cadre principal
	\draw[color=orangeK,line width=0.2mm](ZEX) {[rounded corners=1.5mm] rectangle++ (50.3,-52)};
	
	% Exemple grille alphabétique
	\path[draw=orangeK,line width=0.1mm] (155.1, 191.4) -- (173.2, 191.4);
	\path[draw=orangeK,line width=0.1mm] (155.1, 196.5) -- (155.1, 176.5);
	\path[draw=orangeK,line width=0.1mm] (157.6, 198.9) -- (175.2, 198.9);
	\path[draw=orangeK,line width=0.1mm] (155.1, 194.4) -- (173.3, 194.4);
	\path[draw=orangeK,line width=0.1mm] (155.2, 189.9) -- (173.2, 189.9);
	
	% Exemple de grille alphabétique : 5×5 cases à cocher
	\foreach \y/\lab in {0/E,1/D,2/C,3/B,4/A}{
		\foreach \x in {0,1,2,3,4,5}{
			\draw[color=orangeK,fill=white,line width=0.1mm](155.4+\x*3, 178.1+\y*2.5)
			{[rounded corners=0.3mm] --++(1.6,0)  --++(0,0.6) --++(-1.6,0) --cycle};
			\draw (155.4+\x*3, 178.6+\y*2.53) node[color=orangeK,anchor=center,shift={(.8,-.3)}]{\tiny \lab};
	}}
	
	%% NUMEROTATION TITRE
	%arrière plan blanc pour le titre
	\fill[color=white] ([shift={(1.7,1.8)}]ZEX) rectangle++ (21.5, -3.5);
	
	\fill[color=gris] ([shift={(-0.7+20.5,0.5+0.7)}]ZEX) rectangle++ (3, -3) ;
	\draw[fill=white,draw=noir,line width=0.1mm] ([shift={(-1+20.5,1+0.5)}]ZEX) rectangle++ (3, -3) 	node[anchor=center,shift={(-1.5,1.5)}]{\footnotesize 1};
	
	%% NUMEROTATION EXEMPLE BAC CATHERINE
	\fill[color=gris,anchor=center,shift={(.3,-.3)}] (154.3, 199.1) rectangle++(3,-3);
	\draw[draw=noir,fill=white,line width=0.1mm] (154.3, 199.1) rectangle++(3,-3) node[anchor=center,shift={(-1.5,1.5)}]{\footnotesize 1};
	
	%% TEXTE
	%texte de l'exemple  de grille alphabétique
	\draw ([shift={(2,-0.5)}]ZEX) node[text=orangeK,anchor=west,xscale=0.83,yscale=0.9]{\small \underline{\smash{Exemple}} pour};
	\draw (128, 207) node[text=orangeK,anchor=north west, xscale=0.83,yscale=0.8]{\small Si tu t'appelles BAC Catherine :};
	\linespread{0.85}
	\draw (128, 203) node[text=orangeK,anchor=north west, xscale=0.83,yscale=0.8,align=left]{
		\small 1 - Commence par écrire ton\\
		\small nom puis ton  prénom ;};
	\draw (128, 196) node[text=orangeK,anchor=north west, xscale=0.83,yscale=0.8,align=left]{
		\small 2 - Noircis le B dans la\\
		\small 1e colonne,\\
		\small noicis le A dans la 2e\\
		\small colonne,\\
		\small noircis le C dans la 3e\\
		\small colonne ; };
	
	\draw (128, 178) node[text=orangeK,anchor=north west, xscale=0.83,yscale=0.8,align=left]{
		\small 3 -  Pour ton prénom,\\
		\small saute une colonne,\\
		\small noircis la lettre C dans\\
		\small la 5e colonne, puis le A\\
		\small noircis le C dans la 3e\\
		\small dans le 6e et ainsi de\\
		\small  suite.};
	
	% Exemple de grille alphabétique : titre
	\node[text=black,anchor=north west, xscale=1,yscale=1, align=left] (text3440-3-1) at (158, 198){
		\tiny NOM puis PRÉNOM};
	\node[text=orangeK,anchor=north west, xscale=0.6,yscale=0.8, align=left] (text3441-8) at (158, 196){
		\tiny Sépare le nom et le prénom};
	\node[text=orangeK,anchor=north west,xscale=0.6,yscale=.8] (text3544) at (156, 191.1){
		\tiny Dans chaque colonne en dessous de};
	
	% Exemple de grille alphabétique : écriture manuscrite
	\foreach \x/\car in {0/B,1/A,2/C,3/ ,4/C,5/A}{
		\draw (156.4+\x*3, 192.8) node[color=noir,anchor=center]{\small $\mathcal{\car}$};
	}
	
	%  Exemple de grille alphabétique : cases noircies
	\draw[line width=0.7mm,rotate around={3:(155.5, 185.8)}] (155.4, 185.8) --++ (1.7,0);
	\draw[line width=0.7mm,rotate around={3:(158.4, 188.4)}] (158.4, 188.4) --++ (1.7,0);
	\draw[line width=0.7mm,rotate around={3:(161.5, 183.5)}] (161.5, 183.5) --++ (1.7,0);
	\draw[line width=0.7mm,rotate around={3:(167.4, 183.4)}] (167.4, 183.4) --++ (1.7,0);
	\draw[line width=0.7mm,rotate around={3:(170.4, 188.3)}] (170.4, 188.3) --++ (1.7,0);
	
	% Exemple un seul tiret
	\draw (159, 174) node[text=orangeK,anchor=north west, xscale=0.7,yscale=0.8,align=left]{
		\footnotesize \textbf{(Un seul tiret}\\
		\footnotesize \textbf{par colonne)}};
	
	
	%%%%%% ZONE 2 : CLASSE %%%%%%
	\coordinate (Z2) at (127.8, 152.4);
	
	%%ARRIERE PLAN
	
	%%LIGNES
	%cadre 
	\path[draw=orangeK,line width=0.2mm] (127.8, 152.4) rectangle (175.9, 86.4);
	%zone blanche pour le titre de zone
	\fill[color=white]  (127.8, 154) rectangle++ (19, -3.5);
	
	%lignes horizontales
	\path[draw=orangeK,line width=0.4mm] (140.3, 97.5) -- (175.9, 97.5);
	\path[draw=orangeK,line width=0.4mm] (140.3, 113.4) -- (175.9, 113.4);
	\path[draw=orangeK,line width=0.4mm] (140.3, 136.7) -- (175.9, 136.7);
	\path[draw=orangeK,line width=0.4mm] (140.3, 128.9) -- (175.9, 128.9);
	
	%%NUMEROTATION ZONE
	
	\fill[color=gris] ([shift={(-0.5,0.5)}]Z2) rectangle++ (5, -5) ;
	\draw[fill=white,draw=noir,line width=0.2mm] ([shift={(-1,1)}]Z2) rectangle++ (5, -5) node[anchor=center,shift={(-2.5,2.5)}]{2};
	
	%%TEXTE
	%case à cocher
	\draw[color=orangeK,line width=0.3mm](150.7, 148.6) {[rounded corners=0.5mm] --++(3.5,0)  --++(0,1.2) --++(-3.5,0) --cycle};
	%case noircie
	\draw[color=noir,line width=0.8mm,rotate around={2:(150.7, 149.2)}] (150.7, 149.2) --++ (3.8, 0);
	
	% TITRE
	\draw ([shift={(5,1.2)}]Z2) node[text=black,anchor=north west,align=left]{CLASSE};
	%\draw (132.0, 153.7) node[text=black,anchor=north west]{CLASSE};
	\draw (153.9, 150.5) node[text=orangeK,anchor=north,xscale=0.8,yscale=0.9, align=center]{\footnotesize Fais un tiret  \hspace*{6mm} dans la cellule\\ \footnotesize de ta classe.};
	
	\draw (129.5, 128.7-0.6) node[text=orangeK,anchor=north west,xscale=0.8,yscale=0.9, align=left]{\footnotesize Voie professionnelle (sujet P)};
	
	\draw (129.5, 113.3-0.6) node[text=orangeK,anchor=north west,xscale=0.8,yscale=0.9, align=left]{\footnotesize Enseignement général et technologique\\ \footnotesize sauf Spécialité Maths (sujet J)};
	
	\draw (129.5, 97.3-0.6) node[text=orangeK,anchor=north west,xscale=0.8,yscale=0.9, align=left]{\footnotesize Spécialité mathématiques et Bac+ (sujet S)};		
	
	
	%%%%%% ZONE 4 : AGE ET SEXE %%%%%%
	\coordinate (Z4) at (103.5, 84.8);
	
	%% ARRIERE PLAN
	
	%% LIGNES
	
	%cadre principal
	\draw[color=orangeK,line width=0.2mm] (Z4) rectangle++ (72.4,-12.9);
	
	% cases à renseigner pour année de naissance
	\foreach \x in {0,1,2,3}{\draw[color=orangeK,line width=0.2mm] (143.8+\x*6, 78.5) rectangle++(4.4,-6);}
	
	%% NUMEROTATION ZONE
	\fill[color=gris] ([shift={(-0.5,0.5)}]Z4) rectangle++ (5, -5) ;
	\draw[fill=white,draw=noir,line width=0.2mm] ([shift={(-1,1)}]Z4) rectangle++ (5, -5) node[anchor=center,shift={(-2.5,2.5)}]{4};	
	
	%% TEXTE
	\draw(143.8-1, 75.5) node[text=noir,anchor=east,xscale=0.9,yscale=0.9, align=right]{\small Mon année de naissance est};
	
	%%%%%% ZONE : ETABLISSEMENT %%%%%%
	\coordinate (Z7) at (103.5, 70.1);
	
	%%ARRIERE PLAN
	
	%%LIGNES
	
	%cadre principal
	\draw[color=orangeK,line width=0.2mm] (Z7) rectangle++ (72.4,-14.3);
	
	% cases à renseigner pour le code établissement
	\foreach \x in {0,1,2,...,7}{\draw[color=orangeK,line width=0.2mm] (112+\x*7.6, 64.6) rectangle++(5.4,-6.9);}
	
	%%TEXTE
	\draw([shift={(2,-1.5)}]Z7) node[text=noir,anchor=north west,xscale=0.8,yscale=0.9, align=right]{\small \textbf{Rappelle ici le code Kangourou de ton établissement.}};
	
	%%%%%% ZONE : NE RIEN ÉCRIRE DANS CE CADRE %%%%%%
	\coordinate (Z8) at  (103.5, 54.5);
	
	%%LIGNES
	\draw[draw=orangeK,fill=orangeKbg,line width=0.2mm] (Z8) rectangle++ (72.4,-6.6);
	
	% cases à renseigner pour le code établissement
	\foreach \x in {0,1,2,...,7}{\draw[color=orangeK,line width=0.2mm] (112+\x*7.6, 64.6) rectangle++(5.4,-6.9);}
	
	%%TEXTE
	\linespread{0.6}
	\draw([shift={(2,-1)}]Z8) node[text=orangeK,anchor=north west,xscale=0.8,yscale=0.9, align=left]{\small \textit{Ne rien écrire}\\ \small \textit{dans ce cadre}};
	
	%%%%%% MARQUES ET REPERES KANGOUROU %%%%%%
	
	%% SÉPARATION EN-TETE DE PAGE
	\draw[color=noir,line width=0.7mm] (30.3, 246.4) -- (170.5, 246.4);
	
	%% CODE BARRE KANGOUROU ET MARQUES DE REPERES KANGOUROU	
	% Zone Pour départager : Marque SE
	\path[draw=orangeK,fill=noir,line width=0.1mm] (96.0, 50.2) rectangle (98.5, 48.8);
	% Zone Pour départager : Marque SW
	\draw[draw=orangeK,fill=noir,line width=0.1mm] (35.1, 53.9) rectangle (37.6, 52.5);
	% Page : Marque NE
	\path[draw=orangeK,fill=noir,line width=0.1mm] (172.2, 247.1) rectangle (174.6, 245.6);
	% Page : Marque NW
	\path[draw=orangeK,fill=noir,line width=0.1mm] (24.9, 247.1) rectangle (27.3, 245.6);
	
	% Code barre lattéral
	\foreach \y in {0,1.3,2.6,5.3,7.1,9.05}{\fill[color=noir] (172.2, 212.6+\y*3.1) rectangle++ (2.4, 1.5);}
	\fill[color=noir] (179.8, 245.4) rectangle++ (5.1, 2);
	\foreach \y in {0,1,2,...,5}{\fill[color=noir] (179.8, 225.9+\y*2.92) rectangle++ (5.1, 1.5);}
	\foreach \y in {0,1,2,...,43}{\fill[color=noir] (179.8, 48.5+\y*4) rectangle++ (5.1, 2);}
	
	%% LIGNES 
	
	\draw[color=orangeK,line width=0.4mm] (170.8, 239.2) -- (170.8, 242.3);
	\draw[color=orangeK,line width=0.4mm] (170.8, 216.7) -- (170.8, 211.3) -- (178.2, 211.3) -- (178.2, 170.2);
	\draw[color=orangeK,line width=0.4mm] (178.1, 88.8) -- (178.1, 47.5);
	
	%marque de découpe NW
	\draw[color=orangeK,line width=0.1mm]  (22.7, 254.9) -- (22.7, 256.4) -- (24.2, 256.4);
	%marque de découpe SW
	\draw[color=orangeK,line width=0.1mm] (24.2, 40.6) -- (22.6, 40.6) -- (22.6, 42.1);
	%marque de découpe SE
	\draw[color=orangeK,line width=0.1mm]  (185.9, 40.6) -- (187.4, 40.6) -- (187.4, 42.1);
	%marque de découpe NE
	\draw[color=orangeK,line width=0.1mm]  (187.4, 254.9) -- (187.4, 256.4) -- (185.9, 256.4);
	
	
	%% TEXTE
	
	%Een-tête
	\draw (80.3, 249.2) node[text=black,anchor=south]{KANGOUROU DES MATHÉMATIQUES};
	
	\draw (133, 248.7) node[text=orangeK,anchor=south west]{Feuille-réponses};
	
	\draw (171.3, 228.7) node[text=orangeK,anchor=south,xscale=0.6,yscale=0.7,rotate=90] {\textbf{\textit{NE RIEN ÉCRIRE}}};
	\draw (177.7, 228.2) node[text=orangeK,anchor=south,xscale=0.6,yscale=0.7,rotate=90] {\textbf{\textit{À DROITE DE CETTE ZONE}}};
	\draw (179.1, 128.8) node[text=orangeK,anchor=south,xscale=0.6,yscale=0.7,rotate=90]{\textbf{\textit{NE RIEN ÉCRIRE, NE RIEN MARQUER À DROITE DE CETTE ZONE}}};
	
	%numéro de version
	\draw (177.6, 78.5) node[text=noir,anchor=south,rotate=90] {\tiny version 2021-1};
\end{tikzpicture}		
%la page est partagée en deux colonnes
%postionnement de la 1e colonne (zones 1 et 3) 

		\begin{textblock*}{97.6mm}(24.5mm,67.1mm)
				\champnom{\parbox[t][6.4mm]{96.1mm}{~\hspace*{69mm}}
					%identification par NOM et PRENOM
				}
			\end{textblock*}
		% style des cases à cocher de la gille alphabétique
		\AMCboxStyle{shape=oval,width=3.4mm,height=1.6mm,down=.1ex,rule=.4pt,outsidesep=.1em,color=orangeK}
		\AMCcodeHspace=.445em
		\AMCcodeVspace=-0.04em
		%positionnement de la grille alphabétique	
		\begin{textblock*}{97.6mm}(25.3mm,80.5mm)
			\AMCcodeGrid[v]{NOMELEVE}{
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ,
				ABCDEFGHIJKLMNOPQRSTUVWXYZ}
		\end{textblock*}
		% positionnement des cases à cocher pour les questions 1 à 24
		\setlength{\baselineskip}{1.13em} %interligne des cases à cocher pour les questions 1 à 24
		\setlength\columnsep{-20mm} %espace intercolonne des cases à cocher pour les questions 1 à 24
		\begin{textblock*}{97.6mm}(29.3mm,195.2mm)
			\begin{multicols}{2} % ensemble des questions 1 à 24
				\unequestion{Q01}{3}
				\unequestion{Q02}{3}
				\unequestion{Q03}{3}
				\unequestion{Q04}{3}
				\unequestion{Q05}{3}
				\unequestion{Q06}{3}
				\unequestion{Q07}{3}
				\unequestion{Q08}{3}
				\unequestion{Q09}{4}
				\unequestion{Q10}{4}
				\unequestion{Q11}{4}
				\unequestion{Q12}{4}
				\vfill\columnbreak
				\unequestion{Q13}{4}
				\unequestion{Q14}{4}
				\unequestion{Q15}{4}
				\unequestion{Q16}{4}
				\unequestion{Q17}{5}
				\unequestion{Q18}{5}
				\unequestion{Q19}{5}
				\unequestion{Q20}{5}
				\unequestion{Q21}{5}
				\unequestion{Q22}{5}
				\unequestion{Q23}{5}
				\unequestion{Q24}{5}
			\end{multicols}
		\end{textblock*}
		% positionnement des cases à cocher pour les questions "pour départager"

	\def\CaCD{\hspace*{0.4mm}} %espace horiz entre les cases à cocher à "à départager"
	\begin{textblock*}{75mm}(28mm,250mm)
		\begin{question}{25} \bareme{b=0,m=0,e=0,v=0}
			\hspace*{11mm}
			\begin{reponsesperso}
				\mauvaise[0]{} \CaCD	\mauvaise[1]{} \CaCD \mauvaise[2]{} \CaCD	\mauvaise[3]{} \CaCD	\mauvaise[4]{} \CaCD \mauvaise[5]{} \CaCD \mauvaise[6]{} \CaCD \mauvaise[7]{} \CaCD \mauvaise[8]{} \CaCD \mauvaise[9]{}%
			\end{reponsesperso}
		\end{question}
		\vspace*{-0.5mm}
		
		\begin{question}{26}\bareme{b=0,m=0,e=0,v=0}
			\hspace*{12mm}
			\begin{reponsesperso}
				\mauvaise[0]{} \CaCD	\mauvaise[1]{} \CaCD \mauvaise[2]{} \CaCD	\mauvaise[3]{} \CaCD	\mauvaise[4]{} \CaCD \mauvaise[5]{} \CaCD \mauvaise[6]{} \CaCD \mauvaise[7]{} \CaCD \mauvaise[8]{} \CaCD \mauvaise[9]{}%
			\end{reponsesperso}
		\end{question}
	\end{textblock*}
	
\begin{textblock*}{48.1mm}(132mm,162mm) % largeur (x,y)
	\def\EspC{\hspace*{16.4mm}}
	\begin{question}{CM}\QuestionIndicative
		\bareme{auto=0,v=-1,e=-2}
		\begin{reponsesperso}
			\bonne{\footnotesize \hspace*{-10mm}\scalebox{0.8}[1]{CE2}}
			\EspC
			\bonne{\footnotesize \hspace*{-10mm}\scalebox{0.8}[1]{CM1}}
			\EspC
			\bonne{\footnotesize \hspace*{-10mm}\scalebox{0.8}[1]{CM2}}
		\end{reponsesperso}
	\end{question}
\end{textblock*}

\begin{textblock*}{48.1mm}(132mm,170mm) % largeur (x,y)
		\def\EspC{\hspace*{11mm}}
	\begin{question}{Col}\QuestionIndicative
		\bareme{auto=0,v=-1,e=-2}
		\begin{reponsesperso}
			\bonne{\footnotesize \hspace*{-7.5mm}\scalebox{0.8}[1]{6e}}
			\EspC
			\bonne{\footnotesize \hspace*{-7.5mm}\scalebox{0.8}[1]{5e}}
			\EspC
			\bonne{\footnotesize \hspace*{-7.5mm}\scalebox{0.8}[1]{4e}}
			\EspC
			\bonne{\footnotesize \hspace*{-7.5mm}\scalebox{0.8}[1]{3e}}
		\end{reponsesperso}
	\end{question}	
\end{textblock*}

\begin{textblock*}{48.1mm}(138mm,175mm) % largeur (x,y)
	\begin{question}{P}\QuestionIndicative
		\bareme{auto=0,v=-1,e=-2}
		\begin{reponsesperso}
			\setlength{\baselineskip}{1em} %interligne des cases à cocher pour les questions 1 à 24
			\setlength\columnsep{00mm} %espace intercolonne des cases à cocher pour les questions 1 à 24
			\begin{multicols}{2}
				\bonne{\footnotesize \hspace*{-10mm}\scalebox{0.8}[1]{CAP}} \\
				\bonne{\footnotesize \hspace*{-13.1mm}\scalebox{0.8}[1]{1e prof.}}
				\vfill\columnbreak
				\bonne{\footnotesize \hspace*{-14mm} \scalebox{0.8}[1]{2e prof.}} \\
				\bonne{\footnotesize \hspace*{-16.7mm} \scalebox{0.8}[1]{Term.prof.}}	
			\end{multicols}			
		\end{reponsesperso}
	\end{question}
\end{textblock*}

\begin{textblock*}{48.1mm}(132mm,200mm) % largeur (x,y)
	\def\EspC{\hspace*{16.4mm}}
	\begin{question}{J}\QuestionIndicative
		\bareme{auto=0,v=-1,e=-2}
		\begin{reponsesperso}
			\bonne{\footnotesize \hspace*{-7.5mm}\scalebox{0.8}[1]{2e}}
			\EspC
			\bonne{\footnotesize \hspace*{-7.5mm}\scalebox{0.8}[1]{1e}}
			\EspC
			\bonne{\footnotesize \hspace*{-11mm}\scalebox{0.8}[1]{Term.}}
		\end{reponsesperso}
	\end{question}
	
\end{textblock*}

\begin{textblock*}{48.1mm}(136mm,210mm) % largeur (x,y)
	\def\EspC{\hspace*{16mm}}
\begin{question}{S}\QuestionIndicative
	\bareme{auto=0,v=-1,e=-2}
	\begin{reponsesperso}
		\bonne{\footnotesize \hspace*{-16mm}\scalebox{0.8}[1]{1e Spé. M.}}
		\EspC
		\bonne{\footnotesize \hspace*{-12.5mm}\scalebox{0.8}[1]{\parbox{10mm}{\centering Term.\\Spé. M.}}}
		\EspC
		\bonne{\footnotesize \hspace*{-10mm}\scalebox{0.8}[1]{Bac+}}
	\end{reponsesperso}
\end{question}
\end{textblock*}

\begin{textblock*}{48.1mm}(126mm,221mm) % largeur (x,y)
	\def\Esp{\hspace*{39mm}}
	\begin{question}{Sexe}\QuestionIndicative
		\bareme{auto=0,v=-1,e=-2}
		\begin{reponsesperso}
			\bonne{\small \hspace*{-25mm}\scalebox{0.9}[1]{je suis une fille}}
			\Esp
			\bonne{\small \hspace*{-28mm}\scalebox{0.9}[1]{je suis un garçon}}
		\end{reponsesperso}
	\end{question}
\end{textblock*}

\begin{textblock*}{48.1mm}(123mm,250mm) % largeur (x,y)
	\def\EspC{\hspace*{4mm}}
	\begin{question}{Correcteur}\QuestionIndicative
		\bareme{auto=0,v=-1,e=-2}
		\begin{reponsesperso}
			\bonne{\footnotesize \raisebox{2.6mm}{\hspace*{-3.5mm}\scalebox{0.8}[1]{\color{orangeK}1}}}
			\EspC
			\bonne{\footnotesize \raisebox{2.6mm}{\hspace*{-3.5mm}\scalebox{0.8}[1]{\color{orangeK}2}}}
			\EspC
			\bonne{\footnotesize \raisebox{2.6mm}{\hspace*{-3.5mm}\scalebox{0.8}[1]{\color{orangeK}3}}}
			\EspC
			\bonne{\footnotesize \raisebox{2.6mm}{\hspace*{-3.5mm}\scalebox{0.8}[1]{\color{orangeK}4}}}
			\EspC
			\bonne{\footnotesize \raisebox{2.6mm}{\hspace*{-3.5mm}\scalebox{0.8}[1]{\color{orangeK}5}}}
			\EspC
			\bonne{\footnotesize \raisebox{2.6mm}{\hspace*{-3.5mm}\scalebox{0.8}[1]{\color{orangeK}6}}}
			\EspC
			\bonne{\footnotesize \raisebox{2.6mm}{\hspace*{-3.5mm}\scalebox{0.8}[1]{\color{orangeK}7}}}
			\EspC
			\bonne{\footnotesize \raisebox{2.6mm}{\hspace*{-3.5mm}\scalebox{0.8}[1]{\color{orangeK}8}}}
		\end{reponsesperso}
	\end{question}
\end{textblock*}

	
	} % finde la commande exemplaire{}
	
\end{document}