:root {
    --bg-main: #f5f4f1;
    --bg-main-soft: #edf2f5;
    --primary-color: #000000;
    --primary-color-soft: #000;
    --secondary-color: #e4032a;
    --secondary-color-soft: #000;
    --tertiary-color: #004481;
    --tertiary-color-dark: #062744;
    --primary-font: "Poppins", Arial, sans-serif;
    --secondary-font: "Playfair Display", Arial, sans-serif;
    --border-radius: 0px;
    --inclinaison-biais: 85px;
    /* Largeurs max des zones .global */
    --largeur-global: 1560px;   /* .global par defaut */
    --largeur-contenu: 1280px;  /* contenu des pages (#centre) */
    --largeur-large: 1720px;    /* elements de l'accueil, bandeau et pied */
}

/* Inclinaison des paves : reduite par palier pour garder de la largeur utile */
@media all and (max-width:1600px) { :root { --inclinaison-biais: 70px; } }
@media all and (max-width:1440px) { :root { --inclinaison-biais: 55px; } }
@media all and (max-width:1280px) { :root { --inclinaison-biais: 45px; } }
@media all and (max-width:780px)  { :root { --inclinaison-biais: 40px; } }
@media all and (max-width:520px)  { :root { --inclinaison-biais: 24px; } }

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.eot');
    src: url('../fonts/Poppins-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Poppins-Light.woff2') format('woff2'),
        url('../fonts/Poppins-Light.woff') format('woff'),
        url('../fonts/Poppins-Light.ttf') format('truetype'),
        url('../fonts/Poppins-Light.svg#Poppins-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.eot');
    src: url('../fonts/Poppins-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Poppins-Regular.woff2') format('woff2'),
        url('../fonts/Poppins-Regular.woff') format('woff'),
        url('../fonts/Poppins-Regular.ttf') format('truetype'),
        url('../fonts/Poppins-Regular.svg#Poppins-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Medium.eot');
    src: url('../fonts/Poppins-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Poppins-Medium.woff2') format('woff2'),
        url('../fonts/Poppins-Medium.woff') format('woff'),
        url('../fonts/Poppins-Medium.ttf') format('truetype'),
        url('../fonts/Poppins-Medium.svg#Poppins-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-SemiBold.eot');
    src: url('../fonts/Poppins-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Poppins-SemiBold.woff2') format('woff2'),
        url('../fonts/Poppins-SemiBold.woff') format('woff'),
        url('../fonts/Poppins-SemiBold.ttf') format('truetype'),
        url('../fonts/Poppins-SemiBold.svg#Poppins-SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.eot');
    src: url('../fonts/Poppins-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Poppins-Bold.woff2') format('woff2'),
        url('../fonts/Poppins-Bold.woff') format('woff'),
        url('../fonts/Poppins-Bold.ttf') format('truetype'),
        url('../fonts/Poppins-Bold.svg#Poppins-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Regular.eot');
    src: url('../fonts/PlayfairDisplay-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/PlayfairDisplay-Regular.woff2') format('woff2'),
        url('../fonts/PlayfairDisplay-Regular.woff') format('woff'),
        url('../fonts/PlayfairDisplay-Regular.svg#PlayfairDisplay-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {margin:0; padding:0; font-family:var(--primary-font); font-size:18px; background:#FFFFFF; color:var(--primary-color); }
#global h1,
#global *.h1,
.white-popup h1 { font-weight:700; font-size:50px;  line-height: 55px; color:var(--tertiary-color); text-align:left; }
#global .miseenavant,
#global h1 em,
#global *.h1 em,
.white-popup h1 em {font-style:normal; display:block; font-weight: 500; color:var(--primary-color); font-size: 15px;  line-height: 20px; letter-spacing: 1.5px; text-transform:uppercase; }
#global h1 em,
#global *.h1 em,
.white-popup h1 em {margin-bottom: 25px;}
#global .miseenavant::before,
#global h1 em::before,
#global *.h1 em::before,
.white-popup h1 em::before { content: ""; display: inline-block; vertical-align:middle; background: var(--secondary-color); margin-right:6px; width: 40px; height: 2px; }
#global h1 strong,
#global *.h1 strong,
.white-popup h1 strong {color: var(--secondary-color); font-family: var(--secondary-font); font-weight: 400; display: block; }
/* Revelation des titres de zone (classes posees par js/functions.js) */
#global .titre-anime .titre-surtitre {display:inline-block; }
#global .titre-anime .titre-corps {display:block; }
#global .titre-anime em::before {-webkit-transform:scaleX(0); transform:scaleX(0); -webkit-transform-origin:left center; transform-origin:left center; -webkit-transition:-webkit-transform 700ms cubic-bezier(0.22, 1, 0.36, 1); transition:transform 700ms cubic-bezier(0.22, 1, 0.36, 1); }
#global .titre-anime.titre-visible em::before {-webkit-transform:scaleX(1); transform:scaleX(1); -webkit-transition-delay:300ms; transition-delay:300ms; }
#global h1 br,
#global *.h1 br,
.white-popup h1 br {display:block; content: "";}
#global h2:not(.h1),
.white-popup h2:not(.h1) {  font-size: 22px; color: var(--tertiary-color); font-weight:600; }
#global h2:not(.h1)::before,
.white-popup h2:not(.h1)::before { content: ""; display: inline-block; vertical-align:middle; background: var(--secondary-color); margin-right:6px; width: 17px; height: 1px; }
#global h3,
.white-popup h3 {margin-left: 30px; font-weight: 600; font-size:18px; text-align:left;}
#global .chapo,
.white-popup .chapo {font-size: 24px; color: var(--primary-color); line-height: 35px; font-weight: 400; margin-left: 0 !important;}
#global p,
.white-popup p { text-align:justify; margin-left: 30px; line-height: 28px; }
.white-popup p {word-break: break-word; }
#centre p.bouton,
#centre p span.bouton {cursor:default; text-align:center; margin:10px auto; }
#centre p.bouton:hover,
#centre p span.bouton:hover {background:var(--secondary-color) !important; color:#fff !important; }
#global .bouton p {margin:0 !important; cursor:default; }
#global table.bouton {cursor:default; }
#centre ul,
.white-popup ul {padding-left: 0px; list-style: none; margin-left: 60px; }
#centre ul ul,
.white-popup ul ul {margin-left: 20px; }

#centre ul li:not(.slider-li,.no-wrap),
.white-popup ul li {line-height: 22px; margin:10px 0; padding-left:0; position:relative; list-style: none;  display: flex;  justify-content: flex-start;  align-items: flex-start;  flex-wrap:wrap; }
#centre ul li:not(.slider-li,.no-wrap) > div,
.white-popup ul li > div {line-height: 28px; flex:1; text-align:left;}
#centre ul li:not(.slider-li,.no-wrap) > div p,
.white-popup ul li > div p {margin: 0;  line-height: initial;}
#centre ul li:not(.slider-li,.no-wrap)::before,
.white-popup ul li::before { content: ""; display: block; width: 15px; height: 15px;  margin-top: 3px; margin-right:10px; background-color: var(--secondary-color);  -webkit-mask-image: url('../images/puce-li.svg');  mask-image: url('../images/puce-li.svg');  -webkit-mask-repeat: no-repeat;  mask-repeat: no-repeat;  -webkit-mask-position: center;  mask-position: center;  -webkit-mask-size: contain; mask-size: contain; }
#centre ol,
.white-popup ol {margin-left: 50px; padding-left: 25px;}
#centre ol ol,
.white-popup ol ol {margin-left: 10px; }
#centre ol li:not(.slider-li,.no-wrap),
.white-popup ol li {line-height: 22px; margin:10px 0; position:relative; }
#centre ol li::marker,
.white-popup ol li::marker {color:var(--secondary-color); font-size: 16px; font-weight: 600;}
#centre ol li:not(.slider-li,.no-wrap) > div,
.white-popup ol li > div {line-height: 28px; text-align:left;}
#centre ol li:not(.slider-li,.no-wrap) > div p,
.white-popup ol li > div p {margin: 0;  line-height: initial;}

a,
a:visited {color:var(--secondary-color); text-decoration:underline; }
a:hover {text-decoration:none; }


.submit input,
input.submit,.bouton,.bouton-fleche,
a.bouton,
a.bouton:visited,
a.bouton-fleche,
a.bouton-fleche:visited, 
#global a.bouton,
#global a.bouton:visited,
#global a.bouton-fleche,
#global a.bouton-fleche:visited {
    --bouton-x: 0px;
    --bouton-y: 0px;
    border: 0;
    font-family: var(--primary-font);
    font-size: 16px;
    line-height: 20px;
    background: var(--secondary-color);
    color: #fff;
    min-height: 50px;
    min-width: 225px;
    text-align: center;
    padding: 15px 40px;
    margin: 10px 10px 10px 0;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 0;
    clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
    text-decoration: none;
    vertical-align: top;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(var(--bouton-x), var(--bouton-y));
    transition: background-color 360ms ease-in-out, transform 240ms cubic-bezier(0.2, 0.7, 0.3, 1);
    box-sizing: border-box;
    hyphens: none;
    position: relative;
}
#global a.bouton span,
#global a.bouton:visited span,
#global a.bouton-fleche span,
#global a.bouton-fleche:visited span,
#global a.bouton-fleche i,
#global a.bouton-fleche:visited i,
#global .bouton a,
#global .bouton a:visited,
#global .bouton-fleche a,
#global .bouton-fleche a:visited { text-decoration:none; }
.bouton > span,
.bouton-fleche > span,
#global .bouton > span,
#global .bouton:visited > span,
#global a.bouton > span,
#global a.bouton:visited > span,
#global .bouton-fleche > span,
#global .bouton-fleche:visited > span,
#global a.bouton-fleche > span,
#global a.bouton-fleche:visited > span { display: inline-flex;  align-items: center;  justify-content: center; }
#global .bouton-fleche > span > span,
#global .bouton-fleche:visited > span > span,
#global a.bouton-fleche > span > span,
#global a.bouton-fleche:visited > span > span {flex:1;}

.bouton-fleche i,
a.bouton-fleche i,
#global a.bouton-fleche i {
    display: inline-block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-left: 20px;
    background-color: currentColor;
    -webkit-mask: url('../images/icone-fleche-bas.svg') center / contain no-repeat;
    mask: url('../images/icone-fleche-bas.svg') center / contain no-repeat;
    transform: rotate(-135deg);
}
.bouton-fleche i::before {content: none;}
.submit input:hover,
input.submit:hover,
.bouton input:hover,
input.bouton:hover,
.bouton:hover,
a.bouton:hover,
#global .bouton:hover,
#global a.bouton:hover,
.bouton-fleche:hover,
a.bouton-fleche:hover,
#global .bouton-fleche:hover,
#global a.bouton-fleche:hover,
.submit input:focus-visible,
input.submit:focus-visible,
.bouton:focus-visible,
a.bouton:focus-visible,
#global a.bouton:focus-visible,
.bouton-fleche:focus-visible,
a.bouton-fleche:focus-visible,
#global a.bouton-fleche:focus-visible {background:var(--tertiary-color-dark); color:#fff; text-decoration:none; }

.submit input:focus-visible,
input.submit:focus-visible,
.bouton:focus-visible,
.bouton-fleche:focus-visible {box-shadow: inset 0 0 0 3px #fff;}

@media (prefers-reduced-motion: reduce) {
    .submit input,
    input.submit,
    .bouton,
    .bouton-fleche,
    #global a.bouton,
    #global a.bouton-fleche {transform: none !important; transition: none !important;}
}

@media all and (max-width:780px) {
	.submit input, input.submit, .bouton, .bouton-fleche, #global a.bouton, #global a.bouton:visited, #global a.bouton-fleche, #global a.bouton-fleche:visited {width:auto; min-width:0; padding: 15px 25px; min-height: 50px; }
	#contenu button.bouton {width:100%; margin:10px 0; box-sizing: border-box;  }
	
}

/* RESPONSIVE DES NIVEAUX DE LECTURE : meme hierarchie partout, tailles reduites par palier */
@media all and (max-width:1600px) {
	#global h1,
	#global *.h1,
	.white-popup h1 {font-size:46px; line-height:52px; }
}

@media all and (max-width:1440px) {
	#global h1,
	#global *.h1,
	.white-popup h1 {font-size:42px; line-height:48px; }
	#global .chapo,
	.white-popup .chapo {font-size:22px; line-height:32px; }
}

@media all and (max-width:1280px) {
	body {font-size:17px; }
	#global h1,
	#global *.h1,
	.white-popup h1 {font-size:38px; line-height:44px; }
	#global .miseenavant,
	#global h1 em,
	#global *.h1 em,
	.white-popup h1 em {font-size:14px; }
	#global h1 em,
	#global *.h1 em,
	.white-popup h1 em {margin-bottom:20px; }
	#global h2:not(.h1),
	.white-popup h2:not(.h1) {font-size:20px; }
	#global .chapo,
	.white-popup .chapo {font-size:20px; line-height:30px; }
}

@media all and (max-width:990px) {
	#global h1,
	#global *.h1,
	.white-popup h1 {font-size:34px; line-height:40px; }
}

@media all and (max-width:780px) {
	body {font-size:16px; }
	#global h1,
	#global *.h1,
	.white-popup h1 {font-size:30px; line-height:36px; }
	#global .miseenavant,
	#global h1 em,
	#global *.h1 em,
	.white-popup h1 em {font-size:13px; line-height:18px; letter-spacing:1.2px; }
	#global h1 em,
	#global *.h1 em,
	.white-popup h1 em {margin-bottom:15px; }
	#global .miseenavant::before,
	#global h1 em::before,
	#global *.h1 em::before,
	.white-popup h1 em::before {width:30px; }
	#global h2:not(.h1),
	.white-popup h2:not(.h1) {font-size:19px; }
	#global h3,
	.white-popup h3 {font-size:17px; }
	#global .chapo,
	.white-popup .chapo {font-size:19px; line-height:28px; }
	#global p,
	.white-popup p {line-height:24px; }
	#centre ul,
	.white-popup ul {margin-left:30px; }
	#centre ol,
	.white-popup ol {margin-left:25px; }
}

@media all and (max-width:520px) {
	#global h1,
	#global *.h1,
	.white-popup h1 {font-size:26px; line-height:32px; }
	#global h2:not(.h1),
	.white-popup h2:not(.h1) {font-size:18px; }
	#global .chapo,
	.white-popup .chapo {font-size:18px; line-height:27px; }
	/* Le justifie cree des trous dans les lignes courtes */
	#global p,
	.white-popup p {text-align:left; }
	.submit input, input.submit, .bouton, .bouton-fleche, #global a.bouton, #global a.bouton:visited, #global a.bouton-fleche, #global a.bouton-fleche:visited {font-size:13px; }
}

/* Apres le bloc 780px : les retraits passent a 0 sur petit ecran */
@media all and (max-width: 605px) {

	#contenu p,
	#contenu ul,
	#contenu h2,
	#contenu h3 {margin-left:0px; }
	#contenu ul ul {margin-left: 20px; }
}
