
/*********************************\
|*         MOBILE FIRST          *|
\*********************************/

@media (min-width: 768px) {
	.mobile {
		display: none !important;
	}

	.division {
		flex-wrap: wrap;
		align-items: flex-start;
	}
}

@media (max-width: 767px) {
	.bureau {
		display: none;
	}

	/* DIVISIONS (flexbox ligne) */
	.division {
		flex-wrap: nowrap;
		align-items: flex-start;
		flex-direction: row;
		overflow-x: auto;
	}

	.grostitre {
		min-height: 110px !important;
	}

	.entete {
		& img {
			max-width: 200px !important;
		}

		& h3 {
			display: none;
		}
	}
}



/*********************************\
|*         STYLE GENERAL         *|
\*********************************/

html {
  scroll-behavior: smooth;
}

/* PAGE ET FLEXBOX EN COLONNES DES DIVISIONS */
body {
	background-attachment: fixed;
	max-inline-size:1400px;
	margin:auto;
	display:flex;
	flex-direction: column;
	background-color: var(--fond);
	font-size: var(--grand-texte);
	background-image: url(../svg/logo.svg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-blend-mode: soft-light;
}

body, input, textarea {
	font-family: var(--txt);
}

/* Headers masqu�s pour organisation page et lecture SEO ? */
h1, h2, .invisible {
	display: none;
}

.indisponible {
	opacity: 25%;
}

h3 {
	visibility: hidden;
	margin: 15px 0 15px 15px;
}

h4 {
	font-family: var(--titre);
	font-size: var(--taille-titre);
	font-weight: normal !important;
	line-height: 0.9em;
	text-align: center;
	margin: 0 0 15px 0;
    transform: rotate(358deg);
}

a {
  cursor: pointer;
}

.gras {
	font-weight: bold;
}

.ancre {
	position: relative;
	top: -85px;
}



/*********************************\
|*   AJUSTEMENTS PAR SECTIONS    *|
\*********************************/

.sasunin {
	& .carte, & a, & a:visited, & a:active {
		color: var(--sasunin-fonce);
	}

	& .carte, & .avant:hover, & .apres:hover, & .point {
		background-color: var(--sasunin-clair);
	}
	& .actif, & .point:hover {
		background-color: var(--sasunin-fonce);
	}
}

.pebr {
	& .carte {
		color: var(--pebr-fonce);
	}

	& .carte, & .avant:hover, & .apres:hover, & .point {
		background-color: var(--pebr-clair);
	}
	& .actif, & .point:hover {
		background-color: var(--pebr-fonce);
	}
}

.kraon {
	& .carte {
		color: var(--kraon-fonce);
	}

	& .carte, & .avant:hover, & .apres:hover, & .point {
		background-color: var(--kraon-clair);
	}
	& .actif, & .point:hover {
		background-color: var(--kraon-fonce);
	}
}

.frouez {
	& .carte {
		color: var(--frouez-fonce);
	}

	& .carte, & .avant:hover, & .apres:hover, & .point {
		background-color: var(--frouez-clair);
	}
	& .actif, & .point:hover {
		background-color: var(--frouez-fonce);
	}
}



/*********************************\
|*          NAVIGATION           *|
\*********************************/

nav {
	width: 100%;
	max-width: 1400px;
	display: flex;
    justify-content: space-around;
	align-items: center;
	border-end-start-radius: 10px;
	border-end-end-radius: 50px;
	box-shadow: 4px 4px 8px #aaa;
	backdrop-filter: blur(10px);
	background-color: var(--sasunin-clair-demidense);
	position: fixed;
	overflow: hidden;
	transition: 0.4s;
	top: 0; /* At the top */
	z-index: 99;

	& .logo {
		padding: 10px;

		& img {
			height: 50px;
		}
	}

	& .liens {
		padding: 10px;
	
		& a {
			margin: 0 5px;

			& img {
				height: 30px;
				vertical-align: sub;
			}
		}
	}

	& a {
		text-decoration: none;
		font-family: var(--titre);
	}
}

.grostitre {
	min-height: 90px;
	width: 100%;
	height: 100%;
}


/*********************************\
|*            CARTES             *|
\*********************************/

/* DIVISIONS (flexbox ligne) */

.division {
	display: flex;
	justify-content: space-evenly;
}

.carte {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	min-width: 400px;
	max-width: 400px;
	margin: 15px;
	border-radius: 10px;
	border-start-start-radius: 50px;
	border-end-end-radius: 75px;
	box-shadow: 4px 4px 8px #aaa;
	backdrop-filter: blur(10px);
}

.entete {
	min-width: 370px !important;
	width: 1290px;
	max-width: 1290px !important;
	align-items: center !important;
	padding: 15px;
	margin: 15px;

	& p {
		margin: 10px;
	}
	& img {
		max-width: 250px;
		width: 100%;
	}
	
	& .logo {
		max-width:100px !important;
	}

	& .texte-logo {
		max-height: 85px !important;
	}
}

.presentation {
	width: 100%;
	text-align: center;
	padding: 10px 10px 20px 10px;
}

.paragraphe {
	width: 100%;
	text-align: center;
	padding: 25px 15px;
}

.img-produit {
	max-width: 160px !important;
	margin: 10px;
	border-radius: 5px;
	border-start-start-radius: 40px;
	border-end-end-radius: 25px;
}

.description {
	max-width: 210px !important;
	padding: 20px 0;
}

.description p {
	margin: 0;
	font-weight: bold;
}

.retourner {
    position: absolute;
    left: 5px;
    bottom: 10px;
    width: 25px;
    height: 25px;
	text-align: center;
}

.large {
	height: 420px;
	min-height: 420px;
}

.bandeau {
	font-size: var(--petit-texte) !important;
	font-weight: normal;
	color: var(--texte-clair);
    position: absolute;
    top: 25px;
    left: -5px;
    transform: rotate(350deg);
    padding: 5px 10px;
    border-radius: 10px 5px 15px 5px;
}

.bandeau-secondaire {
    top: 85px !important;
}

.alerte {
    background-color: var(--alerte);
}

.special {
    background-color: var(--special);
}

.info {
    background-color: var(--info);
}



/*********************************\
|*         PLEINE PAGE           *|
\*********************************/

.plein-ecran {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 90;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    backdrop-filter: blur(5px);
}

.grande-carte {
	display: none;
    border-radius: 10px;
    border-start-start-radius: 50px;
    border-end-end-radius: 75px;
    box-shadow: 4px 4px 8px #aaa;
    margin: 125px 5% 25px 5%;
    max-height: 80%;
	min-width: 60%;
    max-width: 1400px;
    overflow-y: auto;
    overflow-x: clip;
	background-color: hsla(34, 78%, 91%,0.8);
	color: var(--sasunin-fonce);

	& > h4, > p {
		padding: 0 25px;
	}

	& .ferme > a {
        display: block;
        position: relative;
        top: 25px;
        left: 25px;
        font-size: 50px;
        font-weight: bold;

	}

}



/*********************************\
|*           CAROUSSEL           *|
\*********************************/

/* DIAPOSITIVES */

.diapo {
	display: none;
	animation-name: apparition;
	animation-duration: 2s;
}

/* NAVIGATION < et > */

.avant, .apres {
  color:var(--texte-clair) !important;
  cursor: pointer;
  display: block;
  position: absolute;
  top: 120px;
  left:10px;
  padding: 5px;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.apres {
  left: 151px !important;
  border-radius: 3px 0 0 3px !important;
}


/* NAVIGATION points */

.points {
	text-align: center;
	position:absolute;
	top: 215px;
	width:160px;
	margin: 0 10px;
}

.point {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 2px;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.tarif {
	cursor: pointer;
	font-weight: normal !important;
	font-size: var(--petit-texte) !important;
}

.gris {
	 opacity: 0.3;
	 transition: opacity 0.6s ease;

	 &:hover {
		 opacity: 0.8;
	 }
}



/*********************************\
|*           CONTACT             *|
\*********************************/

form {
	width: 374px;
	margin: auto;
}

input, textarea {
	width: 100%;
	background-color: var(--sasunin-clair);
	font-size: var(--petit-texte);
}

input {
	border: 1px dashed var(--sasunin-moyen);
	border-radius : 5px 5px 20px 5px;
}

textarea {
	height: 150px;
	border-radius : 5px 5px 25px 5px;
	resize: vertical;
}

.envoyer {
	width: 340px;
	margin-right: 40px;
	background-color: var(--sasunin-fonce);
	border: 0;
	color: var(--texte-clair) !important;

	&:hover {
		background-color: var(--sasunin-moyen);
		cursor: pointer;
	}
}

.mobile {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.mailsms {
	border-radius : 5px 5px 20px 5px;
	display: block;
	width: 150px;
	margin: auto;
}