/* ========================================================= */
/* GLOBALS                                                    */
/* ========================================================= */
:root {
	--blanc: #fff;
	--noir: #000;
	--rouge: #e30613;
	--jaune: #f3c300;
	--orange: #f5a800;
	--beige: #fbf3e1;
	--bleu: #009fe3;
	--vert: #008a4c;
	--font-family: sans-serif;
	--font-size: 16px;
}

.noir {
	color: var(--noir);
}

.jaune {
	color: var(--jaune);
}

.blanc {
	color: var(--blanc);
}

.rouge {
	color: var(--rouge);
}

@media (max-width: 1200px) {
	.mobile-noir {
		color: var(--noir);
	}

	.mobile-jaune {
		color: var(--jaune);
	}

	.mobile-blanc {
		color: var(--blanc);
	}

	.mobile-rouge {
		color: var(--rouge);
	}
}

/* ========================================================= */
/* LAYOUT                                                    */
/* ========================================================= */
.container {
	max-width: 943px;
}

/* --- PAGE ACCUEIL : LARGEUR MAX --- */
.screen-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-grow: 1;
}

.screen-box-content {
	flex-grow: 1;
	width: 100vw;
	width: 100dvw;
}

.cadre {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
}

.cadre-haut {
	background: url('../images/bg-haut.webp') center top no-repeat;
	padding-top: 46%;
}

.cadre-milieu {
	flex-grow: 1;
	background: url('../images/bg-milieu.webp') center top repeat-y;
}

.cadre-bas {
	background: url('../images/bg-bas.webp') center bottom no-repeat;
	padding-top: 54%;
}

@media (max-width: 1000px) {
	.cadre-haut {
		background-size: 120%;
	}

	.cadre-milieu {
		background-size: 120%;
	}

	.cadre-bas {
		background-size: 120%;
	}

	.hidden-mobile {
		display: none;
	}
}

@media (min-width: 1001px) {
	.only-mobile {
		display: none;
	}
}


/* ========================================================= */
/* BACKGROUNDS                                               */
/* ========================================================= */
html,
body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	background: var(--jaune);
}

@media (max-width: 1530px) {
	body {
		background-position: center 300px;
	}
}

@media (max-width: 875px) {
	body {
		background-position: center 35vw;
	}
}

@media (max-width: 1000px) {
	body.home,
	body.resultat {
		background-size: 125%;
	}

	body:not(.home):not(.resultat) {
		background: var(--jaune);
	}
}


/* ========================================================= */
/* TEXTES                                                    */
/* ========================================================= */
#section-texte {
	max-width: 800px;
	padding: 20px 50px;
	margin: 50px auto;
	border-radius: 1rem;
	width: 100%;
	width: 100dvw;
	min-height: min(1200px, 100vw);
	display: flex;
	flex-direction: column;
	background-color: var(--beige);
}

.legal-text {
	font-size: 0.8em;
}

/* ========================================================= */
/* FONT                                                      */
/* ========================================================= */

@font-face {
	font-family: 'blair-itc';
	src: url('../fonts/blair-itc-bold.otf') format('opentype');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'josefinsans';
	src: url('../fonts/josefinsans-regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

.josefin {
	font-family: 'josefinsans', sans-serif;
	font-size: 1.5em;
	font-weight: 600;
}

/* ========================================================= */
/* BOUTONS                                                   */
/* ========================================================= */
.bouton {
	border: none;
	outline: none;
	background: none;
	padding: 0.5rem 0.4rem 0.6rem 0.4rem;
	margin: 10px auto;
	border-radius: 10px;
	background-color: var(--jaune);
	font-family: 'blair-itc', sans-serif;
	font-weight: 600;
	font-size: 2rem;
	color: var(--blanc);
}

@media (max-width: 600px) {
	.bouton {
		padding: 0.4rem;
		font-size: 1.5rem;
	}
}

@media (max-width: 400px) {
	.bouton {
		padding: 0.3rem;
		font-size: 1.3rem;
	}
}


/* ========================================================= */
/* ANIMATIONS                                                */
/* ========================================================= */

/* ========================================================= */
/* HEADER                                                    */
/* ========================================================= */

@media (max-width: 1530px) {
	#section-header {
		position: relative;
		z-index: 1;
		max-width: 50vw;
		text-align: center;
		margin: 2rem auto 3rem auto;
	}
}

@media (min-width: 1531px) {
	#section-header {
		z-index: 10;
		position: absolute;
		left: 50%;
		top: 40px;
		max-width: 350px;
		margin-left: -760px;
	}
}

@media (min-width: 1750px) {
	#section-header {
		max-width: none;
		margin-left: -900px;
	}
}

/* ========================================================= */
/* HOME                                                      */
/* ========================================================= */
#section-intro {
	background: url('../images/bg.webp') no-repeat center top var(--jaune);
	padding: 100px 0;
	min-height: min(1250px, 100vw);
	background-size: cover;
	max-width: 1200px;
	margin: -25px auto 0 auto;
}

@media (max-width: 1000px) {
	#section-intro {
		padding: 10% 0;
	}
}

/* ========================================================= */
/* FORMULAIRE                                                */
/* ========================================================= */

#section-inscription {
	max-width: 1200px;
	padding: 20px;
	margin: -25px auto 0 auto;
	width: 100%;
	width: 100dvw;
	min-height: min(1200px, 100vw);
	display: flex;
	flex-direction: column;
}

#form-inscription {
	max-width: 800px;
	padding: 20px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
}

#form-inscription .ticket {
	max-width: min(16vw, 190px);
	margin: 0 auto;
}

@media (min-width: 400px) {
	#form-inscription .ticket {
		position: absolute;
		bottom: 0;
		right: 0;
	}
}

@media (max-width: 700px) {
	#form-inscription {
		max-width: 580px;
	}
}

@media (max-width: 700px) {
	#form-inscription {
		margin-top: 0;
	}
}
.form-control {
	border: none;
	outline: none;
}

.form-control:focus {
	box-shadow: none;
	background-color: #efefef;
}

.form-inline label {
	padding: .375rem .75rem;
	margin: 0;
}

.form-group {
	margin: 0;
}

.form-check-label {
	cursor: pointer;
}

.champs-formulaire-gauche,
.champs-formulaire-droite,
.champs-formulaire {
	border-radius: 1rem;
	background-color: var(--blanc);
	margin-bottom: 1rem;
	flex-wrap: nowrap;
}

.champs-formulaire-gauche .form-control,
.champs-formulaire-droite .form-control,
.champs-formulaire .form-control {
	background-color: transparent;
}

.champs-formulaire-gauche {
	border-radius: 1rem 0 0 1rem;
}

.champs-formulaire-droite {
	border-radius: 0 1rem 1rem 0;
}

@media (max-width: 768px) {
	.champs-formulaire-gauche,
	.champs-formulaire-droite,
	.champs-formulaire {
		border-radius: 1rem;
	}
}

/* ========================================================= */
/* RESULTAT                                                  */
/* ========================================================= */
#section-resultat {
	background: url('../images/bg.webp') no-repeat center top var(--jaune);
	padding: 100px 0;
	min-height: min(1250px, 100vw);
	background-size: cover;
	max-width: 1200px;
	margin: -25px auto 0 auto;
}

#section-resultat .cta1 {
	position: absolute;
	width: 50%;
	height: 5%;
	top: 48%;
}

#section-resultat .cta2 {
	position: absolute;
	width: 50%;
	height: 5%;
	top: 54%;
}

@media (max-width: 1000px) {
	#section-resultat .cta1,
	#section-resultat .cta2 {
		width: 65%;
	}
}

/* ========================================================= */
/* FOOTER                                                    */
/* ========================================================= */
#section-footer {
	padding: 2rem 1rem 5rem 1rem;
	text-align: center;
	color: #fff;
	position: relative;
}

#section-footer p,
#section-footer a,
#section-footer span,
#section-footer li {
	color: inherit;
}

#section-footer a:hover {
	color: inherit;
	text-decoration: underline;
}

@media (max-width: 1200px) {
	#section-footer {
		margin-bottom: 3rem;
	}
}

#section-footer .jmenu {
	background-color: var(--orange);
	padding: 0.3rem 0;
	max-width: 640px;
	margin: 0 auto;
}

#section-footer .jmenu a {
	padding: 0.3rem 0.8rem;
}

#cookieconsent .container {
	max-width: 1530px;
}

#cookieconsent,
#cookieconsent-nojs {
	padding: 0.5rem;
	position: fixed;
	z-index: 80;
	bottom: 0;
	left: 0;
	right: 0;
	border-top: 1px solid var(--blanc);
	background: var(--vert);
	color: var(--blanc);
}

.cookieconsent-toogle {
	border: none;
	padding: 1rem 2rem;
	border-radius: 10px;
	background: var(--vert);
	color: var(--blanc);
}

#footer-cookieconsent-toogle {
	position: fixed;
	z-index: 90;
	bottom: 0;
	right: 1rem;
	padding: 0.5rem 1rem;
	border: 1px solid #fff;
	border-bottom: 0;
	border-radius: 10px 10px 0 0;
	transition: 0.2s linear;
	height: 2rem;
}

@media (max-width: 1200px) {
	#footer-cookieconsent-toogle {
		left: 5rem;
		right: 5rem;
	}
}

#cookieconsent .text {
	padding: 0.5rem;
}

#cookieconsent .buttons {
	width: fit-content;
}

/* ========================================================= */
/* GLOBAL FONTS                                              */
/* ========================================================= */
html,
body {
	font-family: var(--font-family);
	font-weight: 500;
	font-style: normal;
	font-size: var(--font-size);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
}

.sansserif {
	font-family: sans-serif;
	font-weight: 600;
	font-style: normal;
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
	width: 100%;
	margin: auto;
	font-size: 1.1rem;
	min-height: 100% !important;
}

a {
	color: inherit;
	text-decoration: underline;
}

a:hover {
	color: inherit;
}

img {
	object-fit: cover;
}

h1 {
	line-height: 2rem;
	font-size: 2.4rem;
	max-width: 70vw;
	margin: 1rem auto;
}

h2 {
	line-height: 1.8rem;
	font-size: 1.8rem;
	margin: 1.8rem auto;
}

h3 {
	line-height: 1.6rem;
	font-size: 1.6rem;
}

h4 {
	line-height: 1.4rem;
	font-size: 1.4rem;
}

p {
	line-height: 1.2em;
}

@media (max-width: 1200px) {

	html,
	body {
		font-size: 16px;
	}

	.jmenu {
		margin: 0;
	}

	.jmenu a {
		font-family: inherit;
		padding: 0px 1rem;
		font-size: 0.6rem;
	}
}


/* 3) le bandeau cookie DOIT être au-dessus */
#cookieconsent,
#cookieconsent-nojs,
#footer-cookieconsent-toogle {
	z-index: 9999 !important;
}

.error_block {
	color: #f00;
	font-weight: 800;
}