/* globals */
:root {
	--blanc: #fff;
	--noir: #000;
	--rouge: #cc2229;
	--jaune: #ffc332;
	--bleu: #009fe3;
	--vert: #9ebe49;
	--font-family: -apple-system,Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
	--font-size: 17px;
}

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

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

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

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

.bg-blanc {
	background-color: #fff;
}

.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: 1024px) {
	.mobile-noir {
		color: var(--noir);
	}

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

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

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

/* layout */
body.pre-home .container {
	max-width: 1540px !important;
}

.container {
	max-width: 943px;
}


.col-left {}

.col-middle {
	width: max(944px, 50%);
}
body:not(.home) .col-middle {
	max-width: 944px;
	width: 100%;
}

.col-right {}


@media (max-width: 1024px) {
	.cols {
		flex-direction: column !important;
	}

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

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

/* bg */
body {
	min-height: 100vh;
}

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

.bouton-je-joue {
	display: block;
	color: transparent;
	text-indent: -9999px;
	background: url('../images/btn-je-joue-home.png') no-repeat center center;
	background-size: contain;
	width: 52%;
	aspect-ratio: 503/158;
	margin-right: 2%;
}

.slick-initialized .slick-slide {}

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

@font-face {
    font-family: 'Alone On Earth';
    src: url('fonts/alone-on-earth.eot') format('opentype');
    src: url('fonts/alone-on-earth.eot?#iefix') format('embedded-opentype'),
         url('fonts/alone-on-earth.woff2') format('woff2'),
         url('fonts/alone-on-earth.woff') format('woff'),
         url('fonts/alone-on-earth.ttf')  format('truetype'),
         url('fonts/alone-on-earth.svg#Alone On Earth') format('svg');
}

.alone-on-earth {
    font-family: 'Alone On Earth';
}
.not-alone-on-earth {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 1rem;
}

.boite {
	position: relative;
	z-index: 1;
	width: 100%;
}

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

body.home .boite {
	background: url('../images/intro.jpg') no-repeat center center;
	background-size: contain;
	aspect-ratio: 938/796;
}

@media (max-width: 1024px) {
	body.home .boite {
		background: url('../images/intro-mobile.jpg') no-repeat center center;
		background-size: contain;
		aspect-ratio: 973/1399;
	}
}

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%;
	height: 215px;
	padding-bottom: 50px;
	background: url('../images/bg-header.jpg') repeat-x bottom center;
	background-size: auto 100%;
}

.jmenu {
	margin: 0;
}

@media (min-width: 1025px) {
	#section-header {
		width: 100%;
	}

	body.pre-home #section-header {
		width: 100%;
		max-width: 100%;
		margin-top: 2%;
		margin-left: 0%;
	}
}

/* --- */

/* formulaire */
#form-inscription {
	font-size: 1.3rem;;
}

#form-inscription fieldset {
	border: 5px solid var(--rouge);
	padding: 0.4rem 1rem;
	border-radius: 20px;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

#form-inscription fieldset legend {
	width: max-content;
	padding: 0 1.5rem;
	margin: 0;
	background: var(--rouge);
	border-radius: 50px;
	letter-spacing: 3px;
	font-size: 1.8rem;
}

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

#form-inscription fieldset label {
	font-size: 1.8rem;
}

.visuel-coupon {
	background: url('../images/visuel-coupon.png') no-repeat center center;
	background-size: contain;
	width: 126px;
	aspect-ratio: 126/143;
	position: absolute;
	right: -63px;
	top: -55px;
}

@media (max-width: 769px) {
	.visuel-coupon {
		display: none;
	}
}

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

.main-section-bg {
	background: url('../images/bg.jpg') no-repeat center top #7a1619;
}

@media (min-width: 1920px) {
	.main-section-bg {
		background-size: 100% auto;
	}
}

#section-inscription {
	padding: 80px 0;
	padding: 1rem;
}

#section-inscription .submit {
	display: block;
	color: transparent;
	text-indent: -9999px;
	background: url('../images/btn-je-valide.jpg') no-repeat center center;
	background-size: contain;
	width: 245px;
	aspect-ratio: 245/70;
	margin: 0 auto 2% auto;
	border: none;
}

/* --- */

/* 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);
}

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

/* footer */
#section-footer {
	padding: 1rem;
	background-color: var(--rouge);
}

@media (max-width: 1024px) {}

#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(--rouge);
	background: var(--blanc);
	color: var(--rouge);
}

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

#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: 1024px) {
	#footer-cookieconsent-toogle {
		left: 5rem;
		right: 5rem;
	}
}

#cookieconsent .text {
	padding: 0.5rem;
}

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

/* --- */

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

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

p {
	line-height: 1.2em;
}

/* --- */

/* responsive */
@media (max-width: 1024px) {

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

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