/* ========================================================= */
/* GLOBALS                                                    */
/* ========================================================= */
:root {
	--blanc: #fff;
	--noir: #000;
	--rouge: #e30613;
	--jaune: #ffc332;
	--bleu: #009fe3;
	--vert: #9ebe49;
	--font-family: 'Barlow Semi Condensed', sans-serif;
	--font-size: 17px;
}

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

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

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

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

/* ========================================================= */
/* CAROUSEL (inchangé)                                       */
/* ========================================================= */
.carousel {
	max-width: 945px;
	width: 100%;
	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;
	margin: 0 auto;
}

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

.carousel-item {
	height: 400px;
}

@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 (inchangé)                                         */
/* ========================================================= */
.container {
	max-width: 943px;
}

/* --- PAGE ACCUEIL : LARGEUR MAX --- */
body.home .container {
	max-width: 1400px;
	width: 100%;
}

.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: 1024px) {
	body.home .screen-box {
		position: absolute;
		inset: 0;
	}
}

.col-left {
	flex-basis: 55%;
}

.col-middle {
	flex-basis: 100%;
}

.col-right {
	flex-basis: 50%;
}

body:not(.home) .col-left {
	flex-basis: 70%;
}

body:not(.home) .col-middle {
	flex-basis: 100%;
}

body:not(.home) .col-right {
	flex-basis: 68%;
}

@media (min-width: 1025px) {
	body:not(.home) .col-middle {
		min-width: 945px;
	}
}

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

	.col-middle {
		min-width: auto;
	}

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

/* ========================================================= */
/* BACKGROUNDS                                               */
/* ========================================================= */
body {
	background: var(--noir);
}

body.home .screen-box-content {
	background: url('../images/bg-socopa-home.jpg') no-repeat center var(--noir);
	background-size: cover;
	min-height: 100vh;
}

@media (max-width: 1024px) {
	body.home .screen-box-content {
		background: url('../images/bg-socopa-home-mobile.webp') no-repeat center top var(--noir);
		background-size: contain;
		aspect-ratio: 10/19;
		position: relative;
		margin-bottom: 4rem;
	}
}

body:not(.home) .screen-box-content {
	background: url('../images/bg-inscription.jpg') no-repeat center top var(--noir);
	background-size: cover;
}

@media (min-width: 1025px) {
	body:not(.home) .screen-box-content {
		min-height: 1080px;
	}
}

@media (max-width: 1024px) {
	body:not(.home) .screen-box-content {
		background: url('../images/bg-inscription-mobile.webp') no-repeat center bottom var(--noir);
		background-size: contain;
		padding-bottom: 55%;
		position: relative;
	}
}

/* ========================================================= */
/* TEXTES (inchangé)                                         */
/* ========================================================= */
.intro-resultat {
	margin: 7rem 0 4rem 0;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 4rem;
	line-height: 4.3rem;
}

.intro-resultat small {
	display: block;
	font-weight: inherit;
	font-size: 1.8rem;
	line-height: 2.5rem;
}

.texte-resultat {
	margin: 6rem 0 4rem 0;
	font-weight: 700;
	font-size: 3rem;
	line-height: 3.2rem;
}

.texte-resultat small {
	display: block;
	font-weight: 600;
	font-size: 1.8rem;
	line-height: 2.5rem;
	margin-top: 1rem;
}

@media (max-width: 1024px) {
	.intro-resultat {
		margin: 2rem 0;
	}

	.texte-resultat {
		margin: 2rem 0;
	}

	.intro-resultat,
	.texte-resultat {
		font-size: 2.5rem;
		line-height: 3rem;
	}

	.intro-resultat small {
		font-size: 1.4rem;
		line-height: 2.2rem;
	}
}

/* ========================================================= */
/* INTRO BOX (inchangé)                                      */
/* ========================================================= */
.boite {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 0;
	padding-top: 92.8%;
}

.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.png') no-repeat center center;
	background-size: contain;
}

body.home #section-intro {
	margin-top: 5%;
	width: 100%;
	position: relative;
}

@media (max-width: 1024px) {
	body.home #section-intro {
		width: 80%;
		margin: 0 auto;
	}

	body.home .boite {
		background: none;
		padding-top: 95.5%;
	}
}

.boite.js-boite-back {
	display: none;
	background: url('../images/renvoi-site-carambar.jpg') no-repeat center center var(--bleu);
	background-size: contain;
}

/* ========================================================= */
/* BOUTONS (inchangé)                                        */
/* ========================================================= */
.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: 40%;
	height: 0;
	padding-top: 20%;
	margin-top: -15%;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	z-index: 10;
}

@media (max-width: 1024px) {
	body.home .bouton-je-joue {
		bottom: -7% !important;
		margin: 0 auto !important;
		width: 60% !important;
		left: 0 !important;
		right: 0 !important;
	}
}

body:not(.home) .bouton-je-joue {
	position: static;
	background: url('../images/btn-je-joue-resultat.webp') no-repeat center center;
	background-size: contain;
	width: 45%;
	padding-top: 11%;
	margin: 6% auto;
}

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

/* ========================================================= */
/* ANIMATIONS (inchangé)                                     */
/* ========================================================= */
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 (inchangé)                                         */
/* ========================================================= */
#section-header {
	width: 100%;
}

@media (min-width: 1025px) {
	#section-header {
		width: 68%;
		max-width: 350px;
		margin-top: 12%;
		margin-left: 20%;
	}

	body.home #section-header {
		display: block;
	}
}

body #section-header .logo {
	display: block;
}

@media (max-width: 1024px) {
	#section-header {
		position: relative;
		margin-top: 7%;
	}

	body.home #section-header .logo img {
		display: none;
	}

	body #section-header .logo {
		width: 56%;
		margin: 0 auto;
	}

	body.home #section-header .logo {
		background-size: 100%;
		aspect-ratio: 8/5;
	}
}

@media (min-width: 1025px) and (max-width: 1500px) {
	body:not(.home) #section-header {
		position: absolute;
		top: 0;
		left: 0;
		margin: 2%;
		width: 100%;
		max-width: 215px;
	}
}

/* ========================================================= */
/* FOOTER (texte blanc + centré)                             */
/* ========================================================= */
#section-footer {
	padding: 2rem 1rem;
	text-align: center;
	color: #fff;
}

#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: 1024px) {
	body.home #section-footer {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		width: 100%;
		min-height: 5rem;
	}

	body:not(.home) #section-footer {
		margin-bottom: 4rem;
	}
}

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

#cookieconsent .text {
	padding: 0.5rem;
}

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

/* ========================================================= */
/* GLOBAL FONTS (inchangé)                                   */
/* ========================================================= */
html,
body {
	font-family: var(--font-family);
	font-weight: 600;
	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: 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;
}

@media (max-width: 1024px) {

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

	.jmenu {
		margin: 0;
	}

	.jmenu a {
		font-family: "grenadine-mvb", sans-serif;
		padding: 0px 1rem;
		font-size: 0.6rem;
	}
}

/* ========================================================= */
/* INSCRIPTION (MODELE = IMAGE DU BAS)                        */
/* Ne touche QUE la page body.inscription                      */
/* ========================================================= */

body.inscription {
	--ins-gap: 8px;
	--ins-colgap: 28px;
}

/* Cercle */
body.inscription #section-inscription {
	width: 1100px;
	height: 1100px;
	border-radius: 50%;
	background: #000;
	border: 12px solid #fff;
	margin: 2rem auto 6rem auto;
	padding: 30px 0;
	position: relative;
	box-sizing: border-box;
	overflow: visible !important;
	display: flex;
	flex-direction: column;
}

/* Container du form */
body.inscription #form-inscription {
	max-width: 950px;
	margin: 0 auto !important;
	padding: 0 !important;
	flex-grow: 1;
}

.wideform {
	max-width: 850px;
	margin: 0 auto;
}

.narrowform {
	max-width: 740px;
	margin: 0 auto;
}

/* Titres */
body.inscription #section-inscription h1 {
	font-size: 1.0rem !important;
	font-weight: 600 !important;
	color: #fff !important;
	margin: 0 !important;
	text-transform: uppercase;
	text-align: center !important;
}

body.inscription #section-inscription h2 {
	font-size: 1.5rem !important;
	font-weight: 800 !important;
	color: #fff !important;
	margin: 0 !important;
	text-transform: uppercase;
	line-height: 1.05;
	text-align: center !important;
}

/* neutralise bg-light/alert */
body.inscription .bg-light,
body.inscription .alert,
body.inscription .alert-danger,
body.inscription .alert-warning {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* RADIOS */
body.inscription #form-inscription .form-row.my-2:first-of-type>.col-12 {
	display: flex !important;
	justify-content: flex-start !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	padding-left: 60px !important;
	gap: 22px !important;
	margin: 10px 0 16px 0 !important;
}

body.inscription #form-inscription .form-row.my-2:first-of-type .form-check:nth-child(1) {
	order: 2;
}

body.inscription #form-inscription .form-row.my-2:first-of-type .form-check:nth-child(2) {
	order: 1;
}

body.inscription #form-inscription .form-row.my-2:first-of-type .form-check:nth-child(3) {
	order: 3;
}

body.inscription #form-inscription .form-row.my-2:first-of-type .form-check {
	display: inline-flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.inscription #form-inscription .form-row.my-2:first-of-type .form-check-input {
	width: 14px;
	height: 14px;
	margin: 0 8px 0 0 !important;
	position: static !important;
}

/* Base champs */
body.inscription #form-inscription .form-group.form-inline {
	display: flex !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	gap: var(--ins-gap) !important;
	margin: 0 !important;
}

body.inscription #form-inscription .form-group.form-inline>label {
	color: #e30613 !important;
	font-weight: 700 !important;
	font-size: 1.1rem !important;
	text-transform: none !important;
	white-space: nowrap !important;
	width: auto !important;
	flex: 0 0 auto !important;
	margin: 0 !important;
}

body.inscription #form-inscription .form-group>label.blanc {
	color: #fff !important;
}

body.inscription #form-inscription .form-group>label.blanc a {
	color: #fff !important;
}

body.inscription #form-inscription .form-control {
	background: #fff !important;
	border: none !important;
	border-radius: 2px !important;
	height: 22px !important;
	padding: 0 6px !important;
	color: #000 !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

/* Nom/Prénom */
body.inscription #form-inscription .form-row.my-2:first-of-type+.form-row.my-2 {
	display: flex !important;
	flex-wrap: nowrap !important;
	column-gap: var(--ins-colgap) !important;
	margin-bottom: 0 !important;
}

body.inscription #form-inscription .form-row.my-2:first-of-type+.form-row.my-2>.col-md-6 {
	flex: 0 0 calc(50% - (var(--ins-colgap) / 2)) !important;
	max-width: calc(50% - (var(--ins-colgap) / 2)) !important;
}

/* Adresse / Email */
body.inscription #input-adresse,
body.inscription #input-email {
	width: 100% !important;
}

/* CP/Ville */
body.inscription #form-inscription .form-row>.col-12>.form-row {
	display: flex !important;
	flex-wrap: nowrap !important;
	column-gap: var(--ins-colgap) !important;
}

body.inscription #form-inscription .form-row>.col-12>.form-row>.col-md-6 {
	flex: 0 0 calc(50% - (var(--ins-colgap) / 2)) !important;
	max-width: calc(50% - (var(--ins-colgap) / 2)) !important;
}

/* Téléphone */
body.inscription #input-tel {
	width: 100% !important;
}

/* Fieldset produits */
body.inscription #form-inscription fieldset {
	border: 2px solid #e30613 !important;
	border-radius: 12px !important;
	padding: 18px 18px 14px 18px !important;
	position: relative;
}

body.inscription #form-inscription fieldset legend {
	background: #e30613 !important;
	color: #fff !important;
	font-weight: 800 !important;
	text-transform: uppercase !important;
	font-size: 1.2rem !important;
	padding: 4px 16px !important;
	border-radius: 25px !important;
	width: auto !important;
	margin: 0 !important;
	position: absolute;
	top: -16px;
	left: 18px;
}

body.inscription #form-inscription fieldset .form-group.form-inline>label {
	min-width: 120px !important;
}

body.inscription #form-inscription fieldset .form-row>.col-md-7 {
	padding-right: 24px !important;
}

body.inscription #form-inscription fieldset .form-row>.col-md-5 {
	padding-left: 24px !important;
}

/* Coupon */
body.inscription #form-inscription .visuel-coupon {
	background: url('../images/visuel-coupon.webp') no-repeat center center;
	background-size: contain;
	width: 220px;
	padding-top: 23%;
	position: absolute;
	top: -90px;
	right: -30px;
	z-index: 10;
}

.subform {
	display: flex;
	gap: 1rem;
}

/* Checkbox/recaptcha/legal/bouton */
body.inscription #form-inscription input[type="checkbox"] {
	min-width: 14px;
	height: 14px;
	margin-right: 10px;
}

body.inscription #form-inscription .form-check-label {
	color: #fff !important;
	font-size: 0.88rem !important;
	font-weight: 600 !important;
	line-height: 1.2;
}

body.inscription #form-inscription .form-check-label a {
	color: #e30613 !important;
	text-decoration: underline;
}

body.inscription #section-inscription p small {
	display: block;
	color: #fff;
	opacity: 0.9;
	font-size: 0.80rem !important;
	line-height: 1.15;
	width: 760px;
	margin: 10px auto 0 auto;
}

body.inscription #section-inscription .submit {
	background: url('../images/btn-je-valide.webp') no-repeat center center;
	background-size: contain;
	width: 360px;
	height: 86px;
	border: none;
	cursor: pointer;
	text-indent: -9999px;
	margin: 0 !important;
}

/* MOBILE */
@media (max-width: 1024px) {
	body.inscription #section-inscription {
		width: 95%;
		height: auto;
		border-radius: 26px;
		padding: 1.5rem 1rem 5rem 1rem;
		border-width: 5px;
	}

	body.inscription #form-inscription {
		width: 100%;
	}

	body.inscription #form-inscription .form-row.my-2:first-of-type>.col-12 {
		padding-left: 0 !important;
		justify-content: center !important;
		flex-wrap: wrap !important;
		gap: 14px !important;
	}

	body.inscription #form-inscription .form-row.my-2:first-of-type+.form-row.my-2 {
		flex-wrap: wrap !important;
		column-gap: 0 !important;
	}

	body.inscription #form-inscription .form-row.my-2:first-of-type+.form-row.my-2>.col-md-6 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	body.inscription #form-inscription .form-row>.col-12>.form-row {
		flex-wrap: wrap !important;
		column-gap: 0 !important;
	}

	body.inscription #form-inscription .form-row>.col-12>.form-row>.col-md-6 {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	body.inscription #section-inscription p small {
		width: 100%;
	}

	/* ✅ Bouton descendu de 40px sur mobile */
	body.inscription #section-inscription .submit {
		width: 260px;
		bottom: -72px !important;
		/* était -32px */
	}
}

/* ========================================================= */
/* PATCH FINAL - MODELE (image du bas)                       */
/* ========================================================= */
body.inscription #form-inscription .form-row.my-2:first-of-type+.form-row.my-2 {
	column-gap: var(--ins-colgap) !important;
	align-items: center !important;
}

body.inscription #form-inscription .form-row>.col-12>.form-row {
	column-gap: var(--ins-colgap) !important;
	align-items: center !important;
}

body.inscription #form-inscription .form-control {
	height: 22px !important;
	line-height: 22px !important;
}

body.inscription #form-inscription fieldset .form-row {
	align-items: center !important;
}

body.inscription #form-inscription fieldset .form-group.form-inline>label {
	min-width: 0 !important;
	width: auto !important;
	flex: 0 0 auto !important;
}

body.inscription #form-inscription fieldset .form-group.form-inline {
	gap: var(--ins-gap) !important;
	margin-bottom: 10px !important;
}

/* ========================================================= */
/* TEXTE LEGAL EN IMAGE (courbe) - FINAL                      */
/* ========================================================= */
body.inscription #section-inscription {
	position: relative;
}

body.inscription .legal-curve {
	width: 850px;
	padding-top: 24%;
	margin: 1rem auto;
	background: url('../images/texte_legal_masque.png') no-repeat center;
	background-size: contain;
}

/* ========================================================= */
/* LEGAL: image sur desktop, texte sur mobile                */
/* ========================================================= */
body.inscription .legal-texte-cache {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 1024px) {
	body.inscription .legal-curve {
		display: none !important;
	}

	body.inscription .legal-texte-cache {
		position: static !important;
		left: auto !important;
		top: auto !important;
		width: auto !important;
		height: auto !important;
		overflow: visible !important;

		margin: 1rem auto 0 auto;
		padding: 0 1rem;
		max-width: 760px;

		color: #fff;
		font-size: 0.85rem;
		line-height: 1.3;
		opacity: 0.95;
	}
}

/* ========================================================= */
/* MOBILE: cacher coupon + enlever background image inscription */
/* ========================================================= */
@media (max-width: 1024px) {

	/* Cache le visuel coupon sur mobile */
	body.inscription #form-inscription .visuel-coupon {
		display: none !important;
	}

	/* Enlève l'image de fond sur mobile pour les pages non-home (inscription) */
	body:not(.home) .screen-box-content {
		background-image: none !important;
		background-color: var(--noir) !important;
	}
}

/* ========================================================= */
/* FIX Z-INDEX : le texte légal doit passer SOUS le bandeau   */
/* A COLLER TOUT EN BAS DU CSS                                */
/* ========================================================= */

/* 1) le cercle ne doit pas “passer au-dessus” des éléments fixed */
body.inscription #section-inscription {
	z-index: 0 !important;
}

/* 2) ton image texte légal : encore plus bas */
body.inscription .legal-curve {
	z-index: 1 !important;
	/* bas */
}

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

/* ========================================================= */
/* LANDINGPAGE (landingpage.php)                             */
/* Fix: forcer landing.png sur landingpage sans toucher home  */
/* ========================================================= */

/* Si tu ajoutes un wrapper <div id="landingpage"> dans landingpage.php */
#landingpage .boite {
	background: url('../images/landing.png') no-repeat center center !important;
	background-size: contain !important;
}

/* Par sécurité, si un bouton traine encore */
#landingpage .bouton-je-joue {
	display: none !important;
}

/* ========================================================= */
/* LANDINGPAGE FORCE OVERRIDE                                */
/* ========================================================= */

/* Force le fond du rond uniquement sur landingpage.php */
#landingpage #section-intro .boite {
	background: url('../images/landing.png') no-repeat center center !important;
	background-size: contain !important;
}

/* Empêche toute image qui viendrait d’ailleurs */
#landingpage #section-intro .boite * {
	background-image: none !important;
}

#landingpage #section-intro .boite {
	background: url('/jeux/custom/images/landing.png') no-repeat center center !important;
	background-size: contain !important;
}

/* ==========================================================================
   PAGE TEASER (Images spécifiques)
   ========================================================================== */

/* 1. VERSION ORDINATEUR (Desktop) */
body.teaser .screen-box-content {
	background-image: url('/jeux/custom/images/teaser.jpg') !important;
	background-position: center top !important;
	background-repeat: no-repeat !important;
	background-size: 100% auto !important;
	background-color: #ffffff !important;
	min-height: 100vh;
}

/* 2. VERSION MOBILE */
@media (max-width: 1024px) {
	body.teaser .screen-box-content {
		background-image: url('/jeux/custom/images/mobil-teaser.jpg') !important;
		background-position: top center !important;
		background-size: 100% auto !important;
		min-height: 100vh;
		padding-bottom: 0 !important;
	}
}