\documentclass[11pt]{article}
\usepackage{graphicx,grffile}
\usepackage[a4paper, total={6.5in, 9.5in}, includeheadfoot, left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage{fontspec}
\setmainfont{DejaVuSerif}
\usepackage{setspace}
\setstretch{}
\usepackage{amssymb,amsmath}
\usepackage{ifxetex,ifluatex}
\usepackage{fixltx2e} % provides \textsubscript
% color section headers
\usepackage{xcolor}
\usepackage{sectsty}
\sectionfont{\LARGE \color{red}}
\subsectionfont{\Large \color{gray}}
\usepackage[hyphens]{url}

\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
  \usepackage[T1]{fontenc}
  \usepackage[utf8]{inputenc}
\fi
% use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
% use microtype if available
\IfFileExists{microtype.sty}{%
\usepackage{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\ifxetex
  \usepackage[setpagesize=false, % page size defined by xetex
              unicode=false, % unicode breaks when used with xetex
              xetex]{hyperref}
\else
  \usepackage[unicode=true]{hyperref}
\fi
\hypersetup{breaklinks=true,
            bookmarks=true,
            pdfauthor={},
            pdftitle={},
            colorlinks=true,
            citecolor=blue,
            urlcolor=blue,
            linkcolor=magenta,
            pdfborder={0 0 0}}
\urlstyle{same}  % don't use monospace font for urls
\usepackage{fancyhdr}
\pagenumbering{arabic}
\lhead{\itshape \\}
\chead{}
\rhead{\itshape }
\lfoot{3 - Confidential (staff + partners)}
\cfoot{}
\rfoot{\thepage}
\usepackage{listings}
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}
\setlength{\emergencystretch}{3em}  % prevent overfull lines
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{0}

\title {test pour le titre}

% Redefines (sub)paragraphs to behave more like sections
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
% page break before new section
\let\oldsection\section
\renewcommand\section{\clearpage\oldsection}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{1pt}

\usepackage{fancyhdr}
\fancypagestyle{coverpage}{
  \lhead{}
  \chead{}
  \rhead{}
  \rfoot{}
  \cfoot{This document may not be duplicated without permission of KEREVAL}
  \lfoot{}
}

\lstset{
    basicstyle=\ttfamily,
    numbers=left,
    keywordstyle=\color[rgb]{0.13,0.29,0.53}\bfseries,
    stringstyle=\color[rgb]{0.31,0.60,0.02},
    commentstyle=\color[rgb]{0.56,0.35,0.01}\itshape,
    numberstyle=\footnotesize,
    stepnumber=1,
    numbersep=5pt,
    backgroundcolor=\color[RGB]{248,248,248},
    showspaces=false,
    showstringspaces=false,
    showtabs=false,
    tabsize=2,
    captionpos=b,
    breaklines=true,
    breakatwhitespace=true,
    breakautoindent=true,
    escapeinside={\%*}{*)},
    linewidth=\textwidth,
    basewidth=0.5em,
}


\begin{document}
%first page starts here
%\thispagestyle{coverpage}
\begin {figure}[tp]
\hbox{ %pour aligner plusieurs logos sur une même ligne
  \includegraphics[keepaspectratio, height=2cm]{../_templates/pandoc-templates/kereval-logo.png} %A REMPLACER PAR LE PATH DE TON LOGO, relative path from pandoc execution path
  \hspace*{4.8cm}  % pour mettre un espace (horizontal) de 2cm entre les deux images
  \hspace*{4.5cm}
}

\vspace{0.5cm}

KEREVAL\\
4, Rue H\'el\`ene Boucher \hfill Tel : +33 (0)2.23.20.36.64 \\
Z.A Bellevue \hfill RCS : B 442 789 210\\
35235, Thorign\'e-Fouillard \hfill APE : 722 C \\
FRANCE

\end {figure}


\title{ \begin{center}  \\
\vspace{0.5em}
\end{center}
  \vspace{1cm}
  \hrule width 17.8cm
  \vspace{1em}
  \textit{ - }
  \vspace{1em}
  \hrule width 17.8cm
  \vspace{1em}
   / KEREVAL IHE Dev team \\
  \vspace{1cm}
}

\author{ Version :  on   \\ Written by :  \\ \newline
    Function :  \\
   Reference :  \\ Status : 
   \vspace{5cm}
   \\ \newline This document is the property of KEREVAL.
 \\ It can neither be communicated, neither copied nor distributed without authorization}


\date{\vspace{1cm}}

\maketitle

%first page ends
\pagestyle{fancy}

{
\hypersetup{linkcolor=black}
\setcounter{tocdepth}{3}
\tableofcontents
}
\subsection{Changes}\label{changes}

\begin{itemize}
\item
  \textbf{hra}: 2018-11-30 update CA VM 2019 installation manual
\item
  \textbf{aberge}: 2018-02-23 review and approved documents
\item
  \textbf{aberge}: 2017-02-23 Update CA VM release note and installation
  manual with new versions of the tools
\item
  \textbf{aberge}: 2017-02-15 fix installation and release note for CA
  VM
\item
  \textbf{aberge}: 2017-02-15 Add documentation for CA Test environment
\end{itemize}

\end{document}
