/* globals */

/* *,
*::before,
*::after { background-color: rgb(250, 0, 0, 0.5); } */

:root {
	--blanc: #fff;
	--noir: #000;
	--rouge: #fd0000;
	--jaune: #ffc332;
	--bleu: #009fe3;
	--vert: #9ebe49;
	--font-family: 'Neo Sans Pro', sans-serif;
	--font-size: 20px;
}

@media (max-width: 767px) {
	:root {
		--font-size: 18px;
	}
}

.neo-sans-pro {
	font-family: 'Neo Sans Pro', sans-serif;
}

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

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

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

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

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


.carousel {
	width: 945px;
	margin: 0 auto;
}

.slick-prev:before,
.slick-next:before {
	color: #d22c2e;
}

.slick-dots li button:before {
	color: #206c1b;
}

.slick-dots li.slick-active button:before {
	color: #f4bd28;
}

.carousel-item img {
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

.slick-slide {
	margin: 0 0px;
}

.slick-list {
	margin: 0 -10px;
}

.carousel-container {
	max-width: 800px;
	/* Ajustez selon vos besoins */
	margin: 0 auto;
}

.slick-track {
	display: flex;
	align-items: center;
}

.carousel-item {
	height: 400px;
	/* Hauteur fixe, à ajuster */
}


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

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

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

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

/* layout */
.container {
	max-width: 1366px;
}

@media (max-width: 767px) {
	body:not(.home) .container {
		padding: 0;
	}
}

.screen-box {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.screen-box-content {
	flex-grow: 1;
	width: 100%;
	width: min(1920px, 100%);
}

@media (min-width: 768px) {
	body.home .screen-box {
		position: absolute;
		inset: 0;
	}
}

.col-left {
	width: 365px;
}

.col-middle {
	width: 944px;
}

.col-right {
	width: 365px;
}


@media (max-width: 767px) {
	.cols {
		/* flex-direction: column !important; */
		flex-direction: column-reverse !important;
		/* Francine */
	}

	.col-middle {
		min-width: auto;
		padding: 1rem;
	}

	.col-left,
	.col-middle,
	.col-right {
		flex-basis: 100%;
		width: 100%;
	}

	.mobile-hidden {
		display: none;
	}
}

@media (max-width: 1024px) {
	body { padding-bottom: 3rem; }
}

/* bg */
body {
	background: url('../images/bg.jpg') no-repeat top center;
	min-height: 100vh;
	background-size: cover !important;
}

body.home {
	background: url('../images/bg.jpg') no-repeat top center;
}


/* custom : à supprimer d'un site à l'autre */

.home .boite {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 65%;
}

@media (max-width: 1024px) {
	.home .boite {
		padding-top: 185%;
	}
}

.boite .boite-content {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.boite .boite-content .result-title {
	width: 80%;
}

.boite .boite-content .result-gif {
	width: 42%;
	padding-top: 10%;
	padding-bottom: 10%;
}

.boite .boite-content .result-gif.js-decouvrir-gain {
	width: 36%;
	padding-bottom: 11%;
	cursor: pointer;
}

.bg-intro {
	background: url('../images/intro.png') no-repeat center center;
	background-size: contain;
}

@media (max-width: 1024px) {
	.bg-intro {
		background: url('../images/intro-mobile.png') no-repeat center center;
		background-size: contain;
	}
}

.screen-reader {
	text-indent: -9999px;
	height: 0;
}

.bg-titre-inscription {
	width: 100%;
	height: 83px;
	background: url('../images/titre-inscription.png') no-repeat center center;
	background-size: cover;
}

.bg-titre-a-gagner {
	width: 100%;
	height: 94px;
	background: url('../images/titre-a-gagner.png') no-repeat center center;
	background-size: cover;
}

.bg-titre-gamme {
	width: 100%;
	height: 108px;
	background: url('../images/titre-produits.png') no-repeat center center;
	background-size: cover;
}

@media (max-width: 1140px) {
	.bg-titre-gamme {
		height: 153px;
		background: url('../images/titre-produits-mobile.png') no-repeat center center;
		background-size: cover;
	}
}

@media (max-width: 640px) {
	.bg-titre-inscription {
		height: 0;
		padding-top: 15%;
	}
	
	.bg-titre-a-gagner {
		height: 0;
		padding-top: 20%;
	}

	.bg-titre-gamme {
		height: 0;
		padding-top: 23%;
	}
}

.bouton-je-joue {
	display: block;
	color: transparent;
	text-indent: -9999px;
	background: url('../images/btn-jouez.png') no-repeat center center;
	background-size: contain;
	width: 14%;
	aspect-ratio: 2.7;
	margin-bottom: 4%;
}

body:not(.home) .bouton-je-joue {
	background: url('../images/btn-je-joue-home.png') no-repeat center center;
	background-size: contain;
}

@media (max-width: 767px) {
	.bouton-je-joue {
		width: 30%;
		margin-bottom: 2%;
	}
}

.bouton-cliquez-ici {
	display: block;
	color: transparent;
	text-indent: -9999px;
	background: url('../images/btn-cliquez-ici.webp') no-repeat center center;
	background-size: contain;
	width: 56%;
	height: 0;
	padding-top: 14%;
	margin: 0% auto;
}

#cta {
	margin: 2rem auto 0 auto;
	font-size: 2rem;
	max-width: 630px;
	font-weight: bold;
}

body .animation-pop {
	animation: pop 2s ease-in forwards;
	transform: scale(100%);
	opacity: 1;
}

@keyframes pop {
	0% {
		transform: scale(0);
		opacity: 0;
	}

	60% {
		transform: scale(105%);
		opacity: 1;
	}

	70% {
		transform: scale(95%);
	}

	80% {
		transform: scale(102%);
		opacity: 1;
	}

	90% {
		transform: scale(98%);
	}

	100% {
		transform: scale(100%);
	}
}

body .animation-vibe {
	animation: vibe 0.8s cubic-bezier(.36, .07, .19, .77) both;
	transform: translate3d(0, 0, 0);
	animation-iteration-count: infinite;
}

@keyframes vibe {

	10%,
	90% {
		transform: translate3d(1px, -1px, 0);
	}

	20%,
	80% {
		transform: translate3d(0, 1px, 0);
	}

	30%,
	50%,
	70% {
		transform: translate3d(-1px, -1px, 0);
	}

	40%,
	60% {
		transform: translate3d(0, 2px, 0);
	}
}

body .animation-wobble {
	animation: wobble 2s cubic-bezier(.36, .07, .19, .77) both;
	transform: rotate(0);
	animation-iteration-count: infinite;
}

@keyframes wobble {

	5%,
	15% {
		transform: rotate(-5deg);
	}

	10%,
	20% {
		transform: rotate(5deg);
	}

	25%,
	100% {
		transform: rotate(0);
	}
}

body .animation-heartbeat {
	animation: heartbeat 2s cubic-bezier(.36, .07, .19, .77) both;
	transform: rotate(0);
	animation-iteration-count: infinite;
}

@keyframes heartbeat {
	5% {
		transform: scale(95%)
	}

	10% {
		transform: scale(105%)
	}

	15% {
		transform: scale(100%)
	}

	20% {
		transform: scale(110%)
	}

	25% {
		transform: scale(100%)
	}

	100% {
		transform: scale(100%)
	}
}

/* --- */

/* header */
#section-header {
	width: 100%;
}

#section-header .logo {
	margin: 0 20px;
}

@media (max-width: 767px) {
	#section-header .logo {
		margin: auto;
		width: 40%;
	}
}


/* popup */

#section-popup {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(10, 10, 10, 0.3);
	cursor: pointer;
}

#section-popup.closed {
	display: none;
}

/* --- */

/* formulaire */
#form-inscription fieldset {
	border: 5px solid red;
	padding: 1rem;
	border-radius: 20px;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

#form-inscription fieldset legend {
	width: max-content;
	padding: 0.2rem 1rem;
	margin: 0;
	background: red;
	border-radius: 50px;
}

.form-inline .form-control {
	width: inherit;
}

#section-inscription label {
	font-size: 16px;
}

@media (max-width: 767px) {
	#form-inscription fieldset legend {
		margin: 0 auto;
	}
}


.form-control {
	border-radius: 0;
	height: calc(1.1em + .4rem + 2px);
	padding: .2rem .75rem;
}

select.form-control [multiple],
select.form-control [size] {
	height: calc(1.1em + .4rem + 2px);
}

.form-check-input {
	margin-left: -1.75rem;
}

.form-check {
	padding-left: 1.75rem;
}

input[type=radio],
input[type=checkbox] {
	width: 1.3rem;
	height: 1.3rem;
}

@media (max-width: 767px) {
	input[type=file] {
		width: auto;
		font-size: 80%;
	}
}

#section-resultat {
	background: #fff;
	padding: 0 1rem;
	aspect-ratio: 1052/857
}

#section-inscription {
	padding: 70px 0;
	min-height: 140px;
}

.cadre-blanc-arrondi {
	content: ' ';
	width: 100%;
	aspect-ratio: 943/63;
	background: url('../images/arrondi-blanc.png') no-repeat top center;
	background-size: contain;
	margin-bottom: 60px;
}


#section-inscription .image-inscription {
	position: absolute;
	right: 0px;
	top: 316px;
}

#section-inscription .submit {
	display: block;
	color: transparent;
	text-indent: -9999px;
	background: url('../images/btn-valider.png') no-repeat center center;
	background-size: contain;
	width: 281px;
	height: 50px;
	margin: 0 auto;
	border: none;
}

#upload_preview1,
#upload_preview2 {
	max-height: 80px;
	max-width: 100%;
	background: var(--blanc);
	padding: 0.4em;
	border-radius: 0.2em;
}

/* --- */

/* page texte */
.page-wrapper {
	margin-top: 10rem;
	padding: 1rem 2rem;
	background: var(--noir);
	color: var(--blanc);
	border-radius: 15px;
}

.page-wrapper a {
	color: var(--jaune);
}

.page-content {
	word-wrap: break-word;
}

@media (max-width: 767px) {
	.page-wrapper {
		margin-top: 2rem;
	}

	#section-inscription .image-inscription {
		display: none;
	}
}

/* footer */
#section-footer {
	max-width: 100%;
	display: block;
	border-top: 2px solid #fff;
}

.footer-reglement {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	color: var(--rouge);
	padding: 0.5rem 1rem;
	line-height: 1.6rem;
}


ul.nav-reglement {
	list-style-type: none;
	margin: 0;
	padding: 0px !important
}

li.nav-item-reglement {
	font-size: 20px;
	color: var(--rouge);
}

li.nav-item-reglement a {
	font-size: 26px;
	color: var(--rouge);
	text-decoration: underline;
}

nav.nav-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding: 0.5rem 1rem;
}

li.nav-item {}


#cookieconsent .container {
	border-radius: 50px 50px 0 0;
	background: var(--blanc);
	max-width: 1530px;
	padding: 0.5rem 1rem;
	box-shadow: 0 0 5px #666;
}

#cookieconsent,
#cookieconsent-nojs {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 90%;
	padding: 0;
	display: flex;
	flex-direction: row;
	position: fixed;
	justify-content: center;
	align-items: end;
	z-index: 80;
	bottom: 0;
	left: 0;
	right: 0;
	border: none;
	background: none;
	color: var(--noir);
}

@media (max-width: 1024px) {
	#cookieconsent,
	#cookieconsent-nojs {
		font-size: 80%;
	}
}

@media (max-width: 767px) {
	#cookieconsent,
	#cookieconsent-nojs {
		font-size: 70%;
	}
}

@media (max-width: 640px) {
	#cookieconsent,
	#cookieconsent-nojs {
		font-size: 60%;
	}
}

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

#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;
}

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

#cookieconsent .text {
	padding: 0.5rem;
}

#cookieconsent .buttons {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	padding: 0 1rem;
}

@media (max-width: 1024px) {
	#cookieconsent .buttons {
		gap: 0.4rem;
	}
}

#cookieconsent .buttons button {
	color: var(--blanc);
	border: none;
	border-radius: 20px;
	white-space: nowrap;
	padding: 0.6rem 1.5rem 0.5rem 1.5rem;
	text-transform: uppercase;
}

@media (max-width: 1024px) {
	#cookieconsent .buttons button {
		border-radius: 15px;
		padding: 0.3rem 1rem 0.3rem 1rem;
	}
}

#cookieconsent-accept {
	background: #95c23d;
}

#cookieconsent-deny {
	background: #ec6726;
}

/* --- */

/* --- */
html,
body {
	font-family: var(--font-family);
	font-weight: 400;
	font-style: normal;
	font-size: var(--font-size);
}

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

.fw-normal {
	font-weight: normal;
}

.fw-bold {
	font-weight: bold;
}

.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;
}

/* balises */
a {
	color: inherit;
	text-decoration: underline;
}

a:hover {
	color: inherit;
}

img {
	object-fit: cover;
}

img {
	object-fit: cover;
}

h1 {
	line-height: 2rem;
	font-size: 2rem;
	margin: 2rem 0;
}

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;
}

@media (max-width: 767px) {
	h1 {
		line-height: 1.8rem;
		font-size: 1.8rem;
		margin: 1.8rem 0;
	}
	
	h2 {
		line-height: 1.6rem;
		font-size: 1.6rem;
		margin: 1.6rem auto;
	}
	
	h3 {
		line-height: 1.4rem;
		font-size: 1.4rem;
	}
	
	h4 {
		line-height: 1.3rem;
		font-size: 1.3rem;
	}
}

p {
	line-height: 1.2em;
}



/* --- */

/* menu */
.jmenu a {
	color: inherit;
	padding: 0 0.4rem;
	font-size: 1.1rem;
}

@media (max-width: 767px) {
	.nav-header.jmenu {
		margin: 1em auto;
		text-align: center;
	}

	.jmenu a {
		padding: 0.8rem 2rem;
		font-size: 1.2rem;
		display: block;
	}

	.nav-header.jmenu a:hover {
		background: #004299;
	}

	input[type="checkbox"]:checked.jm-menu-btn ~ .jm-collapse {
		position: fixed;
		left: 0;
		right: 0;
		top: 4rem;
		background: #231b63;
		border: 5px solid #fff;
		z-index: 99;
	}

	label.jm-menu-btn {
		color: white;
		font-size: 2rem;
	}

}