

/* RESET */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; list-style: none; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

* {box-sizing: border-box;}



/* //////////////////////////////////////// ››››››››   BASIC */

html {
	font-family: "Roboto Condensed", sans-serif;
	font-weight: 400;
	font-size: 16px;
	text-align: center;
	line-height: 140%;
	scroll-behavior: smooth;
	scroll-padding: 20px;

	--marge: 10%;
}

.rupture {
	margin: 3em auto;
	border-top : 1px solid #999;
}

p a {color: #e9521e;}

section {
	padding: 4rem var(--marge);
}

section *, nav {
	max-width: 1100px;
	margin: 0 auto;
}

h2 {
	font-weight: 900;
	font-size: clamp(22px, 3vw, 40px);
	line-height: 110%;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 3rem;
	color: #e9521e;
}



/* //////////////////////////////////////// ››››››››   HEADER */


header {
	background-image: url(media/bg.jpg);
}

header img {
	width: 200px;
}

nav {
	background-image: url(media/cafe.jpg);
	background-repeat: no-repeat;
	background-position: 25px 25px;
	background-size: contain;
	padding: 3em 0;
}

nav ul {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 3em;
	z-index: 10;
}

nav ul li a {
	text-decoration: none;
	text-transform: uppercase;
	color: #000;
	font-weight: 900;
	font-size: 0.85em;
	display: block;
	cursor: pointer;
	line-height: 100%;
}


/* //////////////////////////////////////// ››››››››   SERVICES */

.services {
	background-image: url(media/menthe.jpg);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 10%;
	background-color: white;
}

.services ul {

	display: grid;
	max-width: 900px;
	grid-template-columns: repeat(5, minmax(120px, 1fr));
	background-color: #CFCFCF;
	gap: 1px;
	margin: 2em auto;
}

.services li {
	margin: 0;
	display: flex;
	flex-direction: column;
	background-color: white;
	padding: 1em 0;
}

.services li img {
	width: 100px;
}


.services span {
	display: block;
	background-color: #BBA17D;
	color: white;
	text-transform: uppercase;
	font-size: 0.7em;
	font-weight: bold;
	height: auto;
	line-height: 100%;
	padding: 3px 5px;
	visibility: hidden;
}

.services .new {
	visibility: inherit;
}


/* //////////////////////////////////////// ››››››››   HORAIRES */

.horaires {
	background-color: #e9521e;
	color: white;
}

.horaires h2 {
	color: white;
}


.horaires div {
	margin-bottom: 1em;
	padding: 1em 0;
	background-color: rgba(255, 255, 255, 0.15);
	width: 100%;

	display: flex;
	justify-content: center;
	gap: 5%;

}

.horaires ul {
	margin: 0;
}

.horaires dl {
	display: flex;
	font-size: 1.2em;
	line-height: 150%;
}

.horaire dt,
.horaire dd {
	margin: 0;
}

.horaires dd {
	font-weight: bold;
}


/* //////////////////////////////////////// ››››››››   PARTENAIRE */

.partenaires {
	background-color: #1C313A;
	color: white;
}

.partenaires ul {
	display: flex;
	margin: 5rem auto 0;
	flex-wrap: wrap;

}

.partenaires ul>* {
	flex: 1 1 25%;
	position: relative;
	height: 200px;
	overflow: hidden;
	min-width: 200px;
}

.partenaires a {
	text-decoration: none;
	line-height: 110%;
	color: #000;
}

.partenaires a p {
	z-index: 2;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width: 90%;
	display: block;
	padding: 5px 15px;
	color: white;
	font-size: 1.2rem;
	line-height: 150%;
}

.partenaires a p em {
	display: block;
	width: 100%;
	font-weight: 800;
	text-transform: uppercase;
	color: white;
}

.partenaires li img {
	object-fit: cover;
	width: 100%;
	opacity: 0.5;
	transition: all linear 0.2s;
}

.partenaires li a:hover img {
	opacity: 0.25;
}


/* //////////////////////////////////////// ››››››››   CONTACT */

.contact {
	background-color: #F1ECE8;
}

.contact div {

	display: flex;
	flex-direction: row-reverse;
	gap: 2em;
}

.contact iframe {
	width: 50%;
	aspect-ratio: 16/9;
}

.contact div div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 50%;
}

.contact ul.bloc_contact li {
	margin-bottom: 0.5em;
}

.contact ul.bloc_contact a {
	text-decoration: none;
	color: #e9521e;
}

.contact ul.bloc_contact a:hover {
	text-decoration: underline;
}

.contact ul.bloc_rs {
	display: flex;
	flex-direction: row;
	justify-content: center;
	text-align: left;
	margin: 0;
	gap: 0.75em;
}

.contact ul.bloc_rs li {
	margin: 0;

}

.contact ul.bloc_rs li img {
	width: 30px;
}


/* //////////////////////////////////////// ››››››››   HISTOIRE */

.histoire {
	background-color: #BBA17D;
}

.histoire h2 {
	color: white;
}

.histoire ul {
	display: flex;
	justify-content: center;
	gap: 5%;
	margin-bottom: 3em;
	
}

.histoire li {
	margin: 0;
}

.histoire ul img {
	border-radius: 100px;
	width: 150px;
	margin: 0;
}

.histoire p {
	columns: 2 auto;
	column-gap: 2em;
	text-align: left;

}




/* //////////////////////////////////////// ››››››››   FAQ */

.faq {
	background-color: white;
}

.faq li {
	margin: 0;
	margin-bottom: 2em;
	width: 100%;
	padding: 20px ;
	list-style: none;
	background-color: white;
	border-top: 1px solid #ececec;
	background-color: #fafafa;
}

.faq li label {
	margin: 0;
	display: flex;
	align-items: start;
	justify-content: space-between;
	cursor: pointer;
	color: #1C313A;
	text-align: left;
	line-height: 130%;
	font-weight: 900;
	font-size: 1.05em;
	text-wrap: pretty;

}

.faq li label span {
	margin: 0;
	transform: rotate(90deg);
	font-size: 1.5rem;
	font-weight: 800;
	width: 50px;
	text-align: center;
}

.faq li label+input[type="checkbox"] {
	display: none;
}

.faq li .content {
	margin: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease-in-out;
	position: relative;
	text-align: left;
	font-size: 0.95rem;
	color: #1C313A;
	width: 90%;
}

.faq li label+input[type="checkbox"]:checked+.content {
	max-height: 400px;
	padding-top: 10px;
}


/* //////////////////////////////////////// ››››››››   FOOTER */

footer {
	padding: 2rem 0;
	background-color: #1C313A;
}

footer ul {
	display: flex;
	justify-content: center;
	gap: 30px;
}

footer li {
	flex: 0 1 200px;
	text-align: center;
}

footer a {
	text-decoration: none;
	color: white;
	font-size: 0.85em;
}

footer a em {
	display: inline-block;
	padding: 1px 5px;
	border-radius: 5px;
	margin-left: 5px;
	background-color: green;
}


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

	.contact div {
		flex-direction: column;
	}

	.contact iframe {
		width: 100%;
		margin-bottom: 1em;
	}

	.contact div div {
		width: 100%;
	}

	nav,
	.services {
		background-image: none;
	}

}

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

	html {
		--marge: 5%;
	}

	.services ul {
		grid-template-columns: repeat(2, 1fr);
	}

	.histoire p {
		columns: 1 auto;
	}

	.horaires div {
		flex-direction: column;
	}

	.horaires dl {
		width: 70%;
	}

	footer ul {
			flex-direction: column;
			gap: 10px;
		}
	
	footer li {
		flex: 0 1 20px;		
	}
	
	