@charset "utf-8";

/* Style Tablette horizontale */
@media screen and (min-width: 992px) and (max-width: 1200px) {

	.tablette {
		display: block;
	}
}

/* Style Mobile & Tablette verticale */
@media screen and (max-width: 991px) {

	html {
		font-size: 100%;
		/* Permet de gêrer les fonts en em */
		-webkit-text-size-adjust: none;
		/* Containte taille de police automatique sur iphone et ipad au changement d'orientation */
	}

	body {}

	.content {
		min-width: 320px;
	}

	.mobile {
		display: block;
	}

	.web {
		display: none;
	}

	.bouton a {
		width: 100%;
		max-width: 242px;
		margin: 0;
	}

	.bouton-left a,
	.bouton-right a {
		margin: 10px 12px;
	}

	.bouton a br.mobile {
		display: inline-block;
	}

	label {}

	input[type=text],
	input[type=password],
	input[type=email],
	input[type=tel] {}

	select {}

	textarea {}

	input[type=checkbox] {}

	input[type=radio] {}

	#captcha {}

	::-webkit-input-placeholder {}

	:-moz-placeholder {
		/* Firefox 18- */
	}

	::-moz-placeholder {
		/* Firefox 19+ */
	}

	:-ms-input-placeholder {}

	.check_btn {}

	.check_label {
		font-size: 0.9em;
		text-align: left;
	}


	/* HEADER */

	/* CONTENU */

	#bl_contenu {
		width: 100%;
		padding: 26px 3% 50px 3%;
	}

	h2 {
		font-size: 1em;
	}

	.sstitre {
		margin-top: 17px;
		line-height: 1.2em;
	}

	.text1 {
		font-size: 0.9em;
	}

	#mentions {
		font-size: 0.7em;
	}

	/* .file_ligne {
		left: 20px;
	} */

	.file_visuel {
		width: auto;
		max-width: 84%;
	}

	.file_visuel img {
		height: auto;
		max-height: 275px;
		max-width: 100%;
	}

	.file_name {
		display: none;
		max-width: 150px;
	}

	.file_delete {
		vertical-align: top;
		margin-top: 8px;
		margin-left: 10px;
	}

	.bouton .bouton-left a {
		width: 241px;
	}

	#menu {
		display: none;
		z-index: +2;
		position: absolute;
		top: 73px;
		left: 0;
		width: 100%;
		margin: 0;
		border-top: 1px solid #fff;
		border-bottom: 1px solid #fff;
		background-color: #e30613;
		z-index: 10S;
	}

	#menu li {
		float: left;
		width: 100%;
		margin: 0;
		text-align: left;
	}

	#menu li:first-child {
		margin-top: 40px;
	}

	#menu li:last-child {
		margin-bottom: 40px;
	}

	#menu li.debugMobile {
		display: block;
	}

	#menu li a {
		float: left;
		color: white;
		width: 100%;
		padding-left: 6%;
		font-size: 16px;
		line-height: 41px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#menu_bg {
		z-index: 200;
		display: none;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		position: fixed;
		background: rgba(0, 0, 0, 0.7);
	}

	#icon_menu {
		position: absolute;
		top: 30px;
		right: 6%;
		cursor: pointer;
	}

	#icon_menu .bar {
		display: block;
		width: 24px;
		height: 3px;
		margin: 0 auto;
		background: #f00505;
		-webkit-transition: all .7s ease;
		-moz-transition: all .7s ease;
		-ms-transition: all .7s ease;
		-o-transition: all .7s ease;
		transition: all .7s ease;
	}

	#icon_menu .middle {
		margin: 5px auto;
	}

	#icon_menu.open .top {
		-webkit-transform: translateY(8px) rotateZ(45deg);
		-moz-transform: translateY(8px) rotateZ(45deg);
		-ms-transform: translateY(8px) rotateZ(45deg);
		-o-transform: translateY(8px) rotateZ(45deg);
		transform: translateY(8px) rotateZ(45deg);
	}

	#icon_menu.open .bottom {
		-webkit-transform: translateY(-8px) rotateZ(-45deg);
		-moz-transform: translateY(-8px) rotateZ(-45deg);
		-ms-transform: translateY(-8px) rotateZ(-45deg);
		-o-transform: translateY(-8px) rotateZ(-45deg);
		transform: translateY(-8px) rotateZ(-45deg);
	}

	#icon_menu.open .middle {
		width: 0;
	}

	#page_home_header {
		position: relative;
		width: 100%;
		height: 278px;
		background: url("../img/m_bandeau.png") no-repeat;
		background-color: #d13030;
		background-position: top center;
		background-size: cover;
	}

	/* PAGE: Accueil */

	#page_home #page_home_header {
		display: block;
		height: 762px;
		background: url("../img/m_bandeau_home.png") no-repeat;
		background-color: #c72a2a;
		background-position: top center;
		background-size: cover;
	}

	header {
		z-index: +3;
	}

	#main-header {
		position: fixed;
		/* Reste en haut au scroll comme sur la maquette */
		top: 0;
		left: 0;
		z-index: 1000;
		width: 100%;
		height: 74px;
		/* Taille standard header mobile */
		background-color: #ffffff !important;
		/* Blanc pur */
		box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
		/* Ombre légère sous le header */
		display: flex;
		align-items: center;
	}

	#page_home #bt_jouer {
		margin-top: 619px;
	}

	#page_home h1 {
		margin-top: 70px;
	}

	#page_home #bl_tuto {
		flex-wrap: wrap;
		align-content: center;
		padding-bottom: 50px;
	}

	#page_home .tuto_cadre {
		width: 100%;
		max-width: 360px;
		margin: 0 auto;
		margin-bottom: 25px;
		text-align: center;
	}

	#bl_banniere {
		position: relative;
		width: 100%;
		overflow: hidden;
		display: flex;
		/* keep the button overlay logic simple */
		justify-content: center;
		align-items: flex-end;
		margin: 0;
		padding-top: clamp(10px, 3vw, 20px);
		/* ⬅️ space above panda */
		/* ⬅️ room for button + gap */
	}

	/* mobile image */
	#m_banniere_home {
		display: block;
		width: 100%;
		height: auto;
		object-fit: contain;
		object-position: top center;
		margin-top: clamp(73px, 3vw, 18px);
		/* ⬅️ small gap under the ribbon */
	}

	#page_home #bt_jouer {
		position: absolute;
		left: 22%;
		/* bottom: clamp(10px, 3.5vw, 24px); */
		transform: translateX(-50%);
		z-index: 2;
		margin: 0 !important;
		bottom: 8%;
	}


	/* hide desktop image */
	#banniere_home {
		display: none !important;
	}

	/* hide reveal image */
	#reveal_img {
		display: none !important;
	}

	/* PAGE: Coordonnées */

	#page_coord #bl_contenu form {
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 1.6em;
	}

	#page_coord #bl_middle {
		width: 100%;
	}

	#page_coord #bt_valider {
		margin-top: 45px;
	}


	/* PAGE: Code-barres */

	#page_cb #bl_contenu {
		padding-bottom: 50px;
	}

	#page_cb #bl_contenu form {
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
	}

	#page_cb #bl_codebarre {
		width: 100%;
	}


	/* PAGE: Déclaration */

	#page_decla #bl_contenu {
		padding-bottom: 40px;
	}

	#page_decla #icon_aide {
		top: 42px;
		right: -35px;
	}

	#page_decla #upload_text1 {
		margin-top: 1.4em;
		font-size: 1em;
	}

	#page_cb #zone_upload {
		width: 100%;
		height: 241px;
		margin-top: 28px;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		border: 2px dashed #ff0000;
		border-radius: 50px;
	}

	#page_cb #zoneParcourirMobile {
		display: block;
	}

	#page_cb #bt_parcourir {
		margin-top: 40px;
		margin-bottom: 40px;
	}

	#page_decla #form_lapin #bt_valider {
		margin-top: 40px;
	}


	/* PAGE: Reveal */

	#page_reveal #bl_contenu {
		padding: 0px;
	}

	#page_reveal #m_visuel_reveal {
		z-index: -1;
		position: absolute;
		top: 0;
		left: 50%;
		width: 320px;
		height: auto;
		margin-left: -167px;
	}

	#page_reveal .text1 {
		margin: 42px 0px 0px 0px;
		font-size: 34px;
	}

	#page_reveal .sstitre {
		text-transform: none;
		margin: 17px 10px 0 10px;
	}

	#page_reveal #decompte p {
		position: absolute;
		top: 2%;
		left: 40%;
		font-size: 120px;
		line-height: 1.65em;
		color: red;
	}

	/* PAGE: Perdu */

	#page_perdu #m_visuel_montagne {
		width: 100%;
		height: auto;
		max-width: 308px;
		margin: 0 auto;
		margin-top: 30px;
		margin-bottom: 25px;
	}

	#page_perdu #m_visuel_mvec {
		width: 100%;
		height: auto;
		max-width: 332px;
		margin: 0 auto;
		margin-top: 1.7em;
	}

	#page_perdu #bt_back a {
		max-width: 100%;
	}


	/* PAGE: Gain */

	#page_gain #bl_contenu {
		padding-bottom: 45px;
	}

	#page_gain #bl_contenu form {
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
	}

	#page_gain #visuel_panier {
		margin: 0 auto;
		margin-top: 1.5em;
	}

	#page_gain #bl_champ {
		width: 100%;
		margin: 0 auto;
		margin-top: 0;
	}

	#page_gain #page_gain_text2 {
		margin-top: 1.5em;
		font-size: 1em;
	}

	#page_gain #bt_valider {
		margin-top: 30px;
	}

	.text2 {
		font-size: 21px;
		line-height: 1.2em;
		font-weight: 600;
		margin-bottom: 27px;
		margin-top: 11px;
	}

	.text3 {
		font-size: 20px;
		line-height: 1.2em;
		margin-bottom: 27px;
		margin-left: 15px;
        margin-right: 15px;
	}

	#page_gain #visuel_panier {
		display: inline-block;
		vertical-align: top;
		width: 267px;
		height: auto;
		margin-bottom: 30px;
	}


	/* PAGE: Confirmation */

	#page_conf #m_visuel_montagne {
		width: 100%;
		height: auto;
		max-width: 308px;
		margin: 0 auto;
		margin-top: 30px;
		margin-bottom: 25px;
	}

	#page_conf #m_visuel_mvec {
		width: 100%;
		height: auto;
		max-width: 332px;
		margin: 0 auto;
		margin-top: 1.7em;
	}

	#page_conf #bt_back a {
		max-width: 100%;
	}


	/* PAGE: Mentions légales */

	#page_text #bl_text {
		margin-top: 42px;
		text-align: justify;
	}

	#page_text .bull {
		padding: 0;
		padding-right: 10px;
	}

	#page_text #bt_back {
		margin-top: 45px;
	}

	#page_text #bt_back a {
		max-width: 100%;
	}


	/* PAGE: Attente et Fin */

	#page_out h1 {
		font-size: 1.2em;
	}


	/* LIGHTBOX */

	.lightbox_content {
		width: 92%;
		max-width: 450px;
		padding: 3.5em 4% 1.5em 4%;
	}

	.lightbox_close {
		top: 10px;
		right: 10px;
	}

	.lightbox_titre {
		margin-bottom: 20px;
		font-size: 24px;
		line-height: 1.2em;
	}

	.lightbox_text {
		font-size: 1em;
		max-width: 100%;
	}

	#lb_contact .bouton a {
		max-width: 290px;
	}

	#lb_aide {
		width: 92%;
		padding-top: 45px;
		padding-left: 0;
		padding-right: 0;
	}

	#m_lb_aide {
		display: block;
		width: 100%;
		max-width: 320px;
		margin: 0 auto;
	}


	/* FOOTER */

	footer {
		padding: 14px 0 16px 0;
		overflow: hidden;
	}

	footer ul {
		float: left;
		width: 92%;
		margin: 0 4%;
	}

	footer li a {
		float: left;
		width: 100%;
		margin: 0;
		line-height: 20px;
	}
}