
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FRAME TITLE
% \frameTitre{nom_parcours (optionnel)}
\newcommand\frameTitreBUT[1]{

\xdef\temp{#1}\ifx\temp\empty
  \def\soustitre{}
\else
  \xdef\soustitre{ Parcours #1 \\}
\fi

\begin{frame}
  \begin{tikzpicture}[overlay, remember picture]
    \coordinate(topleftcorner) at ($ (current page.north west) + (10mm,-12mm) $);
    \coordinate(toprightcorner) at ($ (current page.north east) + (-10mm,-10mm) $);
    \coordinate(bottomleftcorner) at ($ (current page.south west) + (10mm,10mm) $);
    \coordinate(bottomrightcorner) at ($ (current page.south east) + (-10mm,10mm) $);
    \fill[fill=bleuBUT,blur shadow={shadow blur steps=5}]($ (topleftcorner)+(-100mm,100mm) $) rectangle ($ 5/6*(bottomrightcorner)+1/6*(toprightcorner)+(100mm,0mm) $);
    \node [
    align=flush left,
    text width=240mm,
    text=orangeBUT, % titlefg,
    anchor=center,
    ] (title) at ($ .5*(bottomleftcorner)+.5*(toprightcorner)  $) {\bfseries\fontsize{36}{40}\selectfont % \fontfamily{qag}
		Référentiel de compétences \\
		BUT \specialitename
		\\
		\vspace{5mm} \soustitre
		\vspace{15mm}\hfill\large{\emph{Document de travail ACD R\&T - \today}}\\};
    \node (shadowsquare) at (50mm,-40mm) {\includegraphics[width=100mm]{img/blur.png}};

    %
    

  \end{tikzpicture}
\end{frame}
}