<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\def\modele@mars{mars}
\def\cv@h@mars{4}

% =============== FOND ===============

\newcommand*\fond@mars{%
	\fill[left color=gray,right color=white] (2.5,0) rectangle+(-.5,-\paperheight);
	\fill[bottom color=\cmdPAS@bg@bordercolor,top color=white] (0,0) rectangle+(2,-\paperheight);
	\filldraw[fill=white,draw=\cmdPAS@bg@bgcolor,very thick] (-1,-\cv@h@mars) rectangle+(23,-.25);
	\filldraw[fill=white,draw=\cmdPAS@bg@bgcolor,very thick] (-1,-\cv@h@mars-.25) rectangle+(23,-.35);
	\fill[\cmdPAS@bg@bgcolor] (0,-\cv@h@mars-.6) rectangle+(\paperwidth,-1.5);
	\filldraw[fill=white,draw=\cmdPAS@bg@bgcolor,very thick] (-1,-\cv@h@mars-2.1) rectangle+(23,-.25);
	\ifx\cmdPAS@bg@pic\@empty%
	\else
		\ifx\cmdPAS@bg@borderpic\@empty
			\node[below] at (2,-1) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}};
		\else
			\node[below,draw=\cmdPAS@bg@borderpic,very thick,inner sep=1pt] (photo) at (2,-1) {\includegraphics[scale=\cmdPAS@bg@scalepic]{\cmdPAS@bg@pic}};
		\fi
	\fi
	\node[color=\cmdPAS@bg@postecolor,left] (poste) at (.95\paperwidth,-\cv@h@mars-1.35) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste};
	\fill[white] (poste.east) circle (.75cm);
	\fill[white] (poste.west) circle (.75cm);
	\fill[white] ($(poste.west)+(0,.8)$) rectangle ($(poste.east)+(0,-.8)$);
	\node[color=\cmdPAS@bg@postecolor,left] at (.95\paperwidth,-\cv@h@mars-1.35) {\scshape\cmdPAS@bg@postesize\bfseries\cmdPAS@bg@poste};
}

%=============== INFO GAUCHE ===============
\newcommand*\infoLeft@mars[1]{%
	\AddToShipoutPicture{%
		\put(\LenToUnit{4cm},\LenToUnit{.97\paperheight})
			{%
				\rlap{
					\begin{minipage}[t]{0.5\paperwidth}
						#1
					\end{minipage}
				}
			}
	}
}

%=============== INFO DROITE ===============
\newcommand*\infoRight@mars[1]{%
	\AddToShipoutPicture{%
		\put(\LenToUnit{.97\paperwidth},\LenToUnit{.97\paperheight}){%
			\llap{%
			\begin{minipage}[t]{.5\paperwidth}
				\begin{flushright}#1\end{flushright}
			\end{minipage}
			}
		}
	}
}

%=============== TITRE ===============
\newcommand*\title@mars[1]{%
	\noindent
	\begin{tikzpicture}
		\draw[\cmdPAS@title@bordercolor,very thick] (0,0) -- (\paperwidth,0);
		\node[above right,text=\cmdPAS@title@color] at (3,0) {\scshape\bfseries #1};
		\filldraw[draw=\cmdPAS@title@bordercolor,fill=white] (2,0) circle (.5cm);
	\end{tikzpicture}
}

%=============== MARGES ===============
\newcommand*\margins@mars{%
\FPeval\result{clip(\cv@h@mars+3)}
\newgeometry{tmargin=\result cm,bmargin=2cm,lmargin=0cm,rmargin=0cm}
}

%=============== CLEARPAGE ===============
\newcommand*\clearpage@mars{%
	\fill[left color=gray,right color=white] (2.5,0) rectangle+(-.5,-\paperheight);
	\fill[bottom color=\cmdPAS@bg@bordercolor,top color=white] (0,0) rectangle+(2,-\paperheight);
}
\newcommand*\clearmargins@mars{%
	\newgeometry{tmargin=2cm,bmargin=2cm,lmargin=0cm,rmargin=0cm}
}
</pre></body></html>