@font-face {
	font-family: 'Raleway';
	src:
	url("./fonts/raleway.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: 'QuickSand';
	src:
	url("./fonts/poppins-light.woff2") format("woff2");
	font-display: swap;
}

@font-face {
	font-family: 'Josefin';
	src:
	url("./fonts/josefin-sans.woff2") format("woff2"),
	url("./fonts/josefin-sans.ttf") format("truetype");
	font-display: swap;
}

:root {
  --base-font-size: 1rem; /* Taille de base */
	--tres-grande-font-size: 1.5em;
	--grande-font-size: 1.3em;
	--petite-font-size: 0.825em;
	--tres-petite-font-size: 0.65em;

  --transition-0: all 0s;
  --transition-2: all .25s;

	--color-grey-32: #323232;
	--color-grey-60: #606060;
	--color-grey-90: #909090;
  --max-width: 1600px;

	--jaune: hsl(40 91% 70% / 1);
	--jaune-clair: hsl(40 91% 92% / 1);
	--bleu-acier: hsl(215 30% 60%);
	--bleu-fonce: hsl(214 96% 20% / 1);
	--bleu-moyen2: #5060A0;
	--bleu-moyen: hsl(228 33% 57% / 1);
	--bleu-clair: hsl(210 91% 84% / 1);
	--bleu-tres-clair: hsl(210 80% 94% / 1);
	--bleu-moyen3: hsl(200 75% 50% / 1);
}

@media (min-resolution: 192dpi) {
    :root {
        --base-font-size: 1rem; /* Ajustement pour DPR = 2 */
    }
}

@media (min-resolution: 288dpi) {
    :root {
        --base-font-size: 1rem; /* Ajustement pour DPR = 3 */
    }
}

* {
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */

  -webkit-transition: var(--transition-2);
  -moz-transition: var(--transition-2);
  transition: var(--transition-2);
}

*::-webkit-scrollbar {
  display: none;
}

html {
	margin: 0 auto;
}

body {
  display:block;
  text-align: center;
  font-family: sans-serif;
	font-size: var(--base-font-size); /* Utilisation de la variable pour la taille de la police */
  font-weight: 400;
  color: var(--color-grey-60);
	/* height: 100%;
  height: 100vh;
  height: 100dvh; */
  margin: auto;
  padding: 0;
  /* max-width: var(--max-width); */
  position: relative;

  -webkit-hyphens: auto; /* c�sure propre */
  -moz-hyphens: auto; /* c�sure propre */
  hyphens: auto;
  word-wrap: break-word; /* passage � la ligne forc� */
  -webkit-overflow-scrolling: touch;
	background-color: unset;

	--bleu-bandeaux: hsl(195 95% 90% / 1);
}

body.ckm {
	--jaune: hsl(40 91% 70% / 1);
	--bleu-acier: hsl(245 30% 60%);
	--bleu-fonce: hsl(254 60% 23% / 1);
	--bleu-moyen: hsl(245 30% 48% / 1);
	--bleu-clair: hsl(240 91% 75% / 1);
	--bleu-tres-clair: hsl(240 80% 85% / 1);
	--bleu-moyen3: hsl(250 75% 50% / 1);
}

a, a:active {
	text-decoration: none;
	color: var(--bleu-moyen);
}

a:hover, a:focus {
	color: var(--bleu-clair);
}

/*************************************************/
/*************************************************/
footer {
	--bleu-bandeaux: hsl(215 90% 88% / 1);
	min-height: 50px;
	border-top: 1px solid var(--bleu-acier);
	background-color: var(--bleu-bandeaux);
	color: var(--bleu-fonce);
	padding: 1.6em 1em 1.6em;
	font-size: var(--petite-font-size);
	display: flex;
  flex-direction: row;
	justify-content: space-around;
	font-family: 'QuickSand';

	position: sticky;
  bottom: -37px;
  left: 0;
  width: 100%;
  z-index: 1;
}

.ckm footer {
		--bleu-moyen: hsl(245 30% 60% / 1);
		--bleu-clair: hsl(240 91% 85% / 1);
		--bleu-tres-clair: hsl(240 80% 93% / 1);
}

footer .rcs {
	margin-bottom: 8px;
	font-size: 0.9em;
	line-height: 1.4em;
}

footer .rcs.tel {
	font-weight: 700;
	font-size: var(--grande-font-size);
	color: var(--bleu-fonce);
}

footer .rcs.adresse tiret {
	display: inline;
}

footer .rcs.adresse tiret:before{
  content : "\002014";
  margin: 0px 5px;
}

footer .rcs:last-of-type {
	margin-bottom: 0;
}

footer .rcs.ml {
	position: relative;
	bottom: -6px;
}

footer a {
	text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-position: under;
  text-underline-offset: 1px;
  text-decoration-color: var(--bleu-acier);
}

/********************************************/
/********************************************/
/********************************************/
/********************************************/
/********************************************/
/**  ICI TEMPORAIRE AVANT OUVERTURE  **/
/********************************************/
/********************************************/
/********************************************/
/********************************************/
/********************************************/
.info main { /* pas la page index */
	display: grid;
  grid-template-rows: 70px 1fr;
	gap: 0;
}

main { /* pas la page index */
	display: grid;
  grid-template-rows: 70px 1fr;
	gap: 1em;
}

.intro {
	/* font-size: var(--petite-font-size); */
	max-width: 90%;
	margin: 3em auto;
	color: var(--color-grey-32);
	display: block;
}

.titre {
	display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 8px 10px;
  gap: 12px;
  border-bottom: 1px dotted var(--color-grey-32);
	background-color: var(--bleu-bandeaux);
  margin: 0 auto;
  width: 100dvw;
	position: sticky;
	top: 0px;
	font-size: var(--tres-grande-font-size);
	z-index: 1;
}

.titre.logo img {
  display: block;
  width: auto;
	height: 100%;
}

.titre.logo span {
	color: var(--bleu-moyen);
	font-weight: 700;
	font-family: 'Raleway';
	/* font-size: min(var(--grande-font-size), 5vw); */
	flex-grow: 1;
	text-align: left;
}

.titre.logo .other {
	flex-grow: 0;
	height: 90%;
	position: relative;
}

.titre.logo .other img {
	transform: translate(10%, 10%) scale(0.8);
}

.titre.logo .other.retour img {
	transform: translate(0%, 5%) scale(0.85);
}

.titre.logo .other:hover img {
	transform: translate(0%, 0%) scale(1);
}

.titre.logo .other.retour:hover img {
	transform: translate(0%, 5%) scale(1);
}

.animate::before {
    content: '';
    position: absolute;
    display: block;
    opacity: 0;

    width:28px;
    height:28px;
    border-radius: 50%;
    background-color: var(--jaune);
    border: 1px solid var(--jaune);
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%) scale(1);
    z-index: -1;
}

.other.animation::before {-webkit-animation:circle .6s linear;animation:circle .6s linear; }
.other img.animation{-webkit-animation:taille 0.9s linear;animation:taille 0.9s linear}
.other.retour img.animation{-webkit-animation:taille2 0.9s linear;animation:taille2 0.9s linear}

.tel.animate::before {
    display: none;
}

footer .tel.animate {
	color: transparent;
/*  background: linear-gradient(to right, var(--bleu-clair) 60%, var(--bleu-tres-clair) 72%, #FFF 77%, #FFF 79%, var(--bleu-tres-clair) 83%, var(--bleu-clair) 88%);*/
  background: linear-gradient(to right, var(--bleu-fonce) 63%, var(--bleu-acier) 74%, #6AF 77%, #6AF 79%, var(--bleu-acier) 82%, var(--bleu-fonce) 88%);
  background-clip: text;
  background-size: 300%;
  background-position: 600%;
  display: inline-block;
}

.tel.animate.animation {
	-webkit-animation:tel 3s ease-out;
	animation:tel 3s ease-out;
	webkit-animation-delay: 4000ms;
	animation-delay: 4000ms;
}

@-webkit-keyframes circle {
	25%{opacity:0; transform:translate(-50%,-50%) scale(1);}
	60%{opacity:1}
	100%{opacity:0; transform:translate(-50%,-50%) scale(3);}
}
@keyframes circle {
	25%{opacity:0; transform:translate(-50%,-50%) scale(1);}
	60%{opacity:1}
	100%{opacity:0; transform:translate(-50%,-50%) scale(3);}
}
@-webkit-keyframes taille {
	15%{transform: translate(10%, 10%) scale(0.8);}
  35%{transform: translate(0%, 0%) scale(0.9);}
  100%{transform: translate(10%, 10%) scale(0.8);}
}
@keyframes taille {
  15%{transform: translate(10%, 10%) scale(0.8);}
  35%{transform: translate(0%, 0%) scale(0.9);}
  100%{transform: translate(10%, 10%) scale(0.8);}
}

@-webkit-keyframes taille2 {
	15%{transform: translate(0%, 10%) scale(0.9);}
  35%{transform: translate(0%, 10%) scale(1);}
  100%{transform: translate(0%, 10%) scale(0.9);}
}
@keyframes taille2 {
  15%{transform: translate(0%, 10%) scale(0.9);}
  35%{transform: translate(0%, 10%) scale(1);}
  100%{transform: translate(0%, 10%) scale(0.9);}
}

@-webkit-keyframes tel {
	0%{	background-position: 600%;transform: scale(1);}
	6%{ transform: scale(1.05);}
  8%{ background-position: 525%;}
	14%{ transform: scale(1.06);}
	25%{ background-position: 470%;}
	33%{ transform: scale(1);}
  37%{ background-position: 555%;}
	50%{	background-position: 600%;}
}
@keyframes tel {
  0%{	background-position: 600%;transform: scale(1);}
	6%{ transform: scale(1.05);}
  8%{ background-position: 525%;}
	14%{ transform: scale(1.06);}
	25%{ background-position: 470%;}
	33%{ transform: scale(1);}
  37%{ background-position: 555%;}
	50%{	background-position: 600%;}
}

/***************************************************/
/***************************************************/
.ordering {
	display: grid;
	grid-template-columns: 1fr;
}

.main-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10vh 0vw 8vh;
  gap: 8vh 5vw;
  max-width: 95vw;
  margin: auto;
/*  border-top: 1px solid var(--bleu-acier);*/
}

.main-content > div {
  margin: 0 auto 3em;
	max-width: 450px;
	flex-basis: min(290px, 30%);
	flex-grow: 1;
}

.main-content img, .intro img {
	display: block;
	float: none;
	max-width: min(300px, 85%);
	height: auto;
	margin: 0 auto 12px;
	border: 1px solid grey;
	border: none;
	pointer-events: none;
	user-select: none;
}

.intro img {
	max-width: min(450px, 80%);
	margin: 0px auto;
}

.intro.trait {
  border-top: 5px solid var(--bleu-moyen);
  border-bottom: 2px solid var(--bleu-moyen3);
}

.main-content img.left, .intro img.left {
	max-height: 300px;
	width: auto;
	float: left;
	margin-right: 25px;
}

.main-content img.right, .intro img.right {
	max-height: 300px;
	width: auto;
	float: right;
	margin-left: 25px;
}

.main-content .center {
	margin: auto;
}

h2 {
  color: var(--color-grey-60);
  width: 100%;
  margin: 1vh auto;
  -webkit-hyphens: none; /* c�sure propre */
  -moz-hyphens: none; /* c�sure propre */
  hyphens: none;
	padding: 3vh 2vw 2vh;
}

h4 {
  color: var(--bleu-acier);
  font-style: italic;
}

/********************************************/
/**        ICI LA PAGE INFO CHOIX          **/
/********************************************/
.info main { /* pas la page index */
	display: grid;
  grid-template-rows: 70px 1fr;
	gap: 0;
}

/********************************************/
/********************************************/


/********************************************/
/**  ICI LA PAGE MENTIONS LEGALES  **/
/********************************************/
.page.ml, .page.ml main {
	height: unset;
  max-height: unset;
  position: relative;
  top: 0;
  left: 0;
  transform: none;
}

.articles {
	padding: 0.5em;
	max-width: 700px;
	margin: 1em auto;
}

.ml .articles span {
	display: block;
	font-weight: 700;
  margin: 20px auto 3px;
}

.ml .texte {
		display: block;
		font-size: var(--petite-font-size);
		margin-bottom: 1em;
}

/****************************************/
/****************************************/
/*        MEDIA QUERIES HAUTEUR         */
/****************************************/
/****************************************/

@media screen and (max-height: 1024px) {
	@media (max-height: 600px) {
		@media (orientation: landscape) {
			footer {
				flex-direction: row;
				justify-content: space-between;
			}
		}
	}
}

/****************************************/
/****************************************/
/****************************************/
/*           MEDIA QUERIES              */
/****************************************/
/****************************************/
@media screen and (max-width: 1099px) {
	.gauche { order: 0;}
	.droite { order: 1;}
	.main-content > div.vide {display: none;}

	.main-content {
		padding: 15vh 3.5vw 3.5vh;
		border-top: none;
	}
}


@media screen and (max-width: 1024px) {
	footer {
		flex-direction: column;
		justify-content: center;
		padding-bottom: 0.65em;
		bottom: -132px;
		padding-top: 1em;
	}

	footer div .rcs:last-of-type {
		margin-bottom: 12px;
	}

	footer .rcs.tel {
		margin: 0 auto;
	}

	footer .rcs.adresse tiret {
		display: block;
	}

	footer .rcs.adresse tiret:before {
		content: "";
		margin: 0px;
	}

	footer .rcs.ml {
		bottom: 0px;
	}

	footer > div:last-of-type .rcs:last-child {
		margin-bottom: 0px;
	}

	footer > div:last-of-type .rcs:last-child > span:last-of-type {
		display: block;
	}


  @media (orientation: landscape) {
		footer {
			flex-direction: row;
			justify-content: space-between;
			padding: 0.5em 1em 1.0em;
			bottom: -46px;
		}
  } /* landscape */


	@media screen and (max-width: 800px) {

		.main-content {
			flex-direction: row;
			gap: 15vh 0vw;
		}

		.main-content > div {
			flex-basis: 60%;
		}

		.main-content img.left,
		.main-content img.right,
		.intro img.left,
		.intro img.right {
			display: block;
			float: none;
			margin: 20px auto;
			max-width: 90%;
		}

		@media (orientation: landscape) {
			.main-content ul {
				margin: 0.9em auto;
			}

			.important {
				margin-bottom: 0.9em;
			}
		}

	  @media (max-width: 599px) {

			.titre.logo span {
				font-size: var(--petite-font-size);
			}

			.intro.droite {
				order: 0;
			}

			.main-content {
				padding: 0vh 3.5vw 15vh;
			}

			@media (max-width: 488px) {
				.titre.logo .other {
					height: 80%;
				}

				.titre.logo .other:hover img {
					transform: scale(0.9);
				}

				@-webkit-keyframes circle {
					25%{opacity:0; transform:translate(-50%,-50%) scale(1);}
					60%{opacity:0.5}
					100%{opacity:0; transform:translate(-50%,-50%) scale(2.2);}
				}
				@keyframes circle {
					25%{opacity:0; transform:translate(-50%,-50%) scale(1);}
					60%{opacity:0.5}
					100%{opacity:0; transform:translate(-50%,-50%) scale(2.2);}
				}

			}

		  @media (max-width: 360px)
		  {
				footer {
					bottom: -116px;
				}

				footer div .rcs .sasu-precision {
					display: none;
				}

				footer div .rcs .saut-ligne {
					display: none;
				}

				.titre.logo .other {
					height: 75%;
				}

				.titre.logo .other:hover img {
					transform: scale(0.85);
				}


				@media (max-width: 340px)
			  {
					main { /* pas la page index */
					  grid-template-rows: 60px 1fr;
					}
					@media (max-width: 324px)
				  {
						.titre.logo span {
							font-size: var(--tres-petite-font-size);
						}
					} /* 320px */
				} /* 340px */
		  } /* 360px */
		} /* 599px */
	} /* 800px */
} /* 1024px */
