@font-face {
	font-family: "youngregular";
	src: url("../fonts/young-webfont.woff2") format("woff2"),
		url("../fonts/young-webfont.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

:root {
	--orange: #ff3300;
	--beige: #dfcb8c;
	--ink: #131313;
	--paper: #f8f8f8;
	--muted: #949494;
	--header: 127px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { height: 100%; }

body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: "youngregular", Arial, Verdana, sans-serif;
	font-size: 16px;
	line-height: 1.45;
	min-height: 100%;
}

img { border: 0; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font-family: inherit; }

.screen-reader-text,
.hp {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -40px;
	background: var(--orange);
	color: #fff;
	padding: 8px 12px;
	z-index: 10000;
}
.skip-link:focus { top: 12px; }

#wrapper { min-height: 100vh; }

/* Vidéo d'accueil */
video#bgvid {
	position: fixed;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	z-index: -1;
	object-fit: cover;
	background: url("../images/interface/img/ml/video.jpg") center/cover no-repeat;
}

/* En-tête */
header { min-height: var(--header); width: 100%; }
.header_content {
	position: relative;
	width: 90%;
	margin: 0 auto;
	z-index: 20;
}
.home .header_content { width: 960px; }
.logo { display: block; float: left; width: 149px; padding-top: 30px; }
.logo img { display: block; width: 149px; height: auto; }
.custom-logo-link { display: block; }
.custom-logo { width: 149px; height: auto; }

.nav-toggle {
	display: none;
	margin: 18px auto 0;
	background: transparent;
	border: 0;
	cursor: pointer;
	padding: 12px;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 28px;
	height: 3px;
	background: var(--orange);
	position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}
.nav-toggle__bars::before { top: -8px; }
.nav-toggle__bars::after { top: 8px; }

#main_menu { float: right; margin: 40px 0 0; font-size: 14px; }
.menuzord-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}
.menuzord-menu > li {
	position: relative;
	background: url("../images/interface/img/ml/main_menu_bg.png") left 8px no-repeat;
	text-transform: uppercase;
}
.menuzord-menu > li:first-child { background: none; }
.menuzord-menu > li > a {
	display: inline-block;
	padding: 0 16px 10px 19px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
}
.menuzord-menu > .current-menu-item > a,
.menuzord-menu > .current-menu-ancestor > a { position: relative; }
.menuzord-menu > .current-menu-item > a::after,
.menuzord-menu > .current-menu-ancestor > a::after {
	content: "";
	position: absolute;
	left: 25%;
	bottom: 0;
	width: 50%;
	border-bottom: 1px solid var(--orange);
}
.menuzord-menu .dropdown,
.menuzord-menu .sub-menu {
	display: none;
	position: absolute;
	z-index: 40;
	min-width: 230px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--orange);
	white-space: nowrap;
}
.menuzord-menu li:hover > .dropdown,
.menuzord-menu li:hover > .sub-menu,
.menuzord-menu li:focus-within > .dropdown,
.menuzord-menu li:focus-within > .sub-menu { display: block; }
.menuzord-menu .dropdown .dropdown,
.menuzord-menu .sub-menu .sub-menu { left: 100%; top: 0; }
.menuzord-menu .dropdown li,
.menuzord-menu .sub-menu li { position: relative; }
.menuzord-menu .dropdown a,
.menuzord-menu .sub-menu a {
	display: block;
	padding: 10px 28px 10px 22px;
	color: #fff;
	text-decoration: none;
	background: var(--orange);
	font-size: 12px;
	text-transform: uppercase;
}
.menuzord-menu .dropdown > li:first-child > a,
.menuzord-menu .sub-menu > li:first-child > a { padding-top: 22px; }
.menuzord-menu .dropdown > li:last-child > a,
.menuzord-menu .sub-menu > li:last-child > a { padding-bottom: 22px; }
.menuzord-menu .dropdown a:hover,
.menuzord-menu .dropdown a:focus,
.menuzord-menu .sub-menu a:hover,
.menuzord-menu .sub-menu a:focus { padding-left: 28px; }

#utils { clear: right; float: right; margin: 8px 0 16px; display: flex; gap: 12px; align-items: center; }
.utils-link {
	display: inline-block;
	background: var(--orange);
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: bold;
	line-height: 35px;
	padding: 0 15px;
	border-radius: 5px;
}
.header-search input,
.home-search input,
#leftcolum_content .header-search input {
	background: transparent;
	color: var(--orange);
	border: 2px solid var(--orange);
	border-radius: 5px;
	height: 35px;
	padding: 0 12px;
	text-align: center;
	font-weight: bold;
	font-size: 13px;
	width: 160px;
}
.home-search {
	width: 234px;
	margin: 0 auto;
}
.home-search input {
	border-color: #fff;
	color: #fff;
	width: 100%;
	height: 65px;
}
.home-search input::placeholder,
.header-search input::placeholder { color: inherit; opacity: 1; }

/* Accueil */
#content_home { width: 960px; margin: 0 auto; }
#intro { width: 521px; margin: 0 auto; padding: 87px 0; text-align: center; }
#intro h1 { margin: 0; text-transform: uppercase; font-size: 26px; line-height: 1.15; }
#intro h1 span { display: block; }
#intro h1 span:first-of-type {
	background: url("../images/interface/img/ml/home_h1_bg.png") center no-repeat;
	font-size: 13px;
	letter-spacing: 0.08em;
	margin-bottom: 30px;
	padding: 8px 0;
}
#intro h1 span:last-of-type { font-size: 35px; line-height: 40px; margin: 0 auto 30px; width: 443px; }
#intro h1 em { color: var(--orange); font-style: normal; }
#intro p {
	background: url("../images/interface/img/ml/intro_bottom_bg.jpg") bottom center no-repeat;
	font-family: "Times New Roman", Times, serif;
	font-size: 18px;
	line-height: 1.35;
	padding-bottom: 25px;
	margin: 0;
}
#intro .btn { margin: 43px auto 25px; }

.btn {
	display: block;
	width: 234px;
	height: 65px;
	background: var(--orange);
	color: #fff;
	border-radius: 5px;
	text-align: center;
	text-decoration: none;
	font-size: 15px;
}
.btn span {
	display: block;
	padding-top: 12px;
	font-size: 17px;
	line-height: 25px;
	text-transform: uppercase;
}
.btn a, .btn button {
	color: inherit;
	text-decoration: none;
	background: none;
	border: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	font: inherit;
	padding: 0;
}
.btn.disabled, p.disabled {
	background: #ccc;
	color: #b6b6b6;
	cursor: default;
}

#slider { overflow: hidden; width: 100%; }
.home #slider {
	height: 429px;
	background: #fff url("../images/interface/img/ml/slideshow_home/bg_slideshow_home.gif") top left repeat-x;
}
.home-slider {
	box-sizing: border-box;
	width: 960px;
	height: 429px;
	margin: 0 auto;
	padding: 75px 0 0;
	color: #fff;
}
.home-slider__stage { position: relative; height: 211px; }
.home-slide { display: none; }
.home-slide.is-active { display: block; }
.home-slide h2 {
	width: min(570px, 62%);
	margin: 0 0 30px;
	font-size: 26px;
	line-height: 30px;
	text-transform: uppercase;
	font-weight: normal;
}
.home-slide p { width: min(570px, 62%); margin: 0; font-size: 22px; line-height: 28px; }
.home-slide img {
	position: absolute;
	right: 0;
	top: -30px;
	width: 240px;
	height: 200px;
	object-fit: contain;
}
.home-slider__nav { display: flex; height: 143px; margin: 0; }
.home-slider__nav button {
	flex: 1;
	height: 143px;
	padding: 0;
	border: 0;
	background: var(--nav) center no-repeat;
	cursor: pointer;
}
.home-slider__nav button.is-active {
	background-image: var(--current), var(--nav);
	background-position: top center, center;
	background-repeat: no-repeat, no-repeat;
}

#c2a {
	display: flex;
	background: var(--beige);
	margin: 0;
	padding: 45px 0;
	width: 100%;
}
#c2a > div { flex: 1; display: flex; justify-content: center; }
#c2a > div:first-child { border-right: 1px solid #fff; }
#c2a .btn { margin: 0; }

/* Contenu */
.content {
	display: table;
	width: 90%;
	margin: 48px auto 0;
	background: var(--paper);
}
.content .leftcolumn,
.content .rightcolumn { display: table-cell; vertical-align: top; }
.content .leftcolumn { width: calc(100% - 300px); }
.content .rightcolumn {
	width: 300px;
	background: #e7e7e7 center/cover no-repeat;
	min-height: 280px;
}
.content.no-side .leftcolumn { width: 100%; }
#leftcolum_content { padding: 35px; }
#leftcolum_content h1 {
	margin: 0 0 5px;
	font-size: 26px;
	line-height: 30px;
	text-transform: uppercase;
}
#leftcolum_content h2 { font-size: 18px; text-transform: uppercase; margin: 28px 0 12px; }
#leftcolum_content .rubrique,
#leftcolum_content h1 + p.rubrique { color: var(--orange); font-size: 18px; margin-top: 0; }
#leftcolum_content p { margin: 0 0 16px; }
#leftcolum_content a { color: var(--ink); }
#leftcolum_content ul,
#leftcolum_content ol { margin: 0 0 16px; padding-left: 22px; }
#leftcolum_content li { margin: 0 0 8px; }
#leftcolum_content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
#leftcolum_content th,
#leftcolum_content td { border: 1px solid var(--ink); padding: 12px; vertical-align: top; }
.breadcrumb { font-size: 13px; text-transform: uppercase; margin-bottom: 12px !important; }
.breadcrumb a { text-decoration: none; color: var(--orange); }

.related { margin-top: 28px; padding-top: 8px; }
.related ul { list-style: disc; }
.related a { text-decoration: none; }
.related a:hover { text-decoration: underline; }

.offer-band { margin-top: 0; background: transparent; }
.offer-band .leftcolumn { width: 100%; }
.offer-band #c2a { margin-bottom: 0; }
.formulaire {
	display: none;
	background: var(--beige);
	padding: 24px;
	margin-top: 0;
}
.formulaire.is-open { display: block; }
.formulaire h2 { margin-top: 0; }

/* Équipe */
#equipe { margin-top: 10px; }
#equipe::after { content: ""; display: block; clear: both; }
.membre { float: left; width: 33.33%; margin: 0 0 20px; }
.membre img {
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 4;
	display: block;
	object-fit: cover;
	object-position: center center;
}
.membre .nom,
.membre .roles { text-align: center; margin: 0; }
.membre .nom { color: var(--orange); font-size: 17px; text-transform: uppercase; margin-top: 16px; }
.membre .roles { color: var(--muted); font-size: 13px; margin-top: 8px; }
#exploitations_assurees { display: block; width: 90%; margin: 20px auto 0; background: transparent; }
#exploitations_assurees img { width: 100%; display: block; }

/* Contact */
.page-slug-contact .content .rightcolumn { background: var(--orange); padding: 0; }
#coordonnees, #horaires { margin-bottom: 36px; }
#coordonnees { float: left; width: 48%; }
#horaires { float: right; width: 45%; white-space: normal; }
#coordonnees p { margin: 0 0 4px; }
#coordonnees p:first-of-type { font-weight: bold; }
.clearB { clear: both; border: 0; height: 0; margin: 0 0 16px; }
.contact-slider { color: #fff; position: relative; min-height: 460px; }
.contact-slide { display: none; }
.contact-slide.is-active { display: block; }
.contact-slide__illu { background: #fff; text-align: center; padding: 18px 0 8px; }
.contact-slide__illu img { width: 137px; height: 143px; object-fit: contain; }
.contact-slide h2,
.contact-slide p { padding: 0 28px; }
.contact-slide h2 { margin: 36px 0 16px; font-size: 22px; text-transform: uppercase; font-weight: normal; }
.contact-slide p { margin: 0; font-size: 18px; line-height: 1.35; }

/* Formulaires */
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin: 0 0 12px; position: relative; }
.field > label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}
.field input[type="text"],
.field input[type="email"],
.field textarea,
.header-search input {
	width: 100%;
}
.field input[type="text"],
.field input[type="email"],
.field textarea {
	border: 2px solid var(--orange);
	border-radius: 5px;
	color: var(--orange);
	background: #fff;
	padding: 8px 14px;
	font-size: 13px;
	text-transform: uppercase;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-desc { font-size: 13px; margin: 6px 0 0 !important; }
.req { color: #c00; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 14px; margin-bottom: 8px; }
.check { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; font-size: 14px; text-transform: none; }
.check input { margin-top: 3px; }
.field-privacy, .field-checkbox { margin-top: 8px; }
.field-privacy label,
.field-checkbox legend { position: static; width: auto; height: auto; clip: auto; overflow: visible; }
.submit {
	background: var(--orange);
	color: #fff;
	border: 0;
	border-radius: 5px;
	padding: 0 18px;
	height: 36px;
	text-transform: uppercase;
	cursor: pointer;
	font-size: 13px;
}
.form-notice { padding: 12px 14px; border-radius: 5px; }
.notice-ok { background: #e7f6ea; }
.notice-err { background: #fde8e4; }

.catalog { margin: 28px 0 10px; }
.catalog h2 { color: var(--orange); }
.catalog h3 { font-size: 15px; text-transform: uppercase; margin: 18px 0 8px; }
.catalog-list, .search-results { list-style: none; margin: 0; padding: 0; }
.catalog-list li, .search-results li { margin: 0 0 8px; }
.catalog-list a, .search-results a { text-decoration: none; }
.catalog-list a:hover, .search-results a:hover { color: var(--orange); }
.search-results span { display: block; color: var(--orange); font-size: 13px; }
.nav-links { display: flex; gap: 12px; margin-top: 20px; }

/* Pied de page */
footer { background: #fff; padding-top: 40px; font-size: 13px; }
#footer_content {
	width: 90%;
	margin: 0 auto;
	padding: 36px 8px 48px;
	border-top: 1px solid var(--ink);
	display: flex;
	justify-content: space-between;
	gap: 24px;
}
.home #footer_content { width: 960px; }
#legal { font-weight: bold; text-transform: uppercase; margin-bottom: 12px; }
#legal a { text-decoration: none; }
#credits span { display: block; text-transform: uppercase; margin-bottom: 8px; }
#footer_logos { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
#footer_logos img { display: block; }

.cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 50;
	background: #fff;
	border: 2px solid var(--orange);
	border-radius: 8px;
	padding: 16px 18px;
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	max-width: 860px;
	margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--orange); }
.cookie-banner__actions { display: flex; gap: 8px; flex: none; }
.cookie-banner button {
	border: 0;
	border-radius: 5px;
	padding: 8px 14px;
	cursor: pointer;
	text-transform: uppercase;
	font-size: 13px;
}
.cookie-banner button[data-cookie="accept"] { background: var(--orange); color: #fff; }
.cookie-banner button[data-cookie="refuse"] { background: #eee; }

@media (max-width: 1060px) {
	.home .header_content,
	#content_home,
	.home-slider,
	.home #footer_content,
	.header_content { width: 100%; }
	header { height: auto; }
	.logo, .logo img { float: none; margin: 16px auto 0; }
	.nav-toggle { display: block; }
	#main_menu { float: none; margin: 0; display: none; }
	.nav-open #main_menu { display: block; }
	.menuzord-menu { display: block; }
	.menuzord-menu > li { background: none; }
	.menuzord-menu > li > a {
		display: block;
		padding: 12px 20px;
		border-bottom: 1px solid var(--orange);
	}
	.menuzord-menu > .current-menu-item > a::after,
	.menuzord-menu > .current-menu-ancestor > a::after { display: none; }
	.menuzord-menu .dropdown,
	.menuzord-menu .sub-menu,
	.menuzord-menu li:hover > .dropdown,
	.menuzord-menu li:hover > .sub-menu,
	.menuzord-menu li:focus-within > .dropdown,
	.menuzord-menu li:focus-within > .sub-menu {
		position: static;
		display: none;
		min-width: 0;
		white-space: normal;
		background: #fff;
	}
	.nav-open .is-subopen > .dropdown,
	.nav-open .is-subopen > .sub-menu { display: block; }
	.menuzord-menu .dropdown a,
	.menuzord-menu .sub-menu a {
		background: #fff;
		color: var(--ink);
		border-bottom: 1px solid #f0f0f0;
		padding-left: 32px;
	}
	.menuzord-menu .sub-menu .sub-menu a { padding-left: 48px; }
	#utils { float: none; clear: both; justify-content: center; padding: 12px 16px 20px; }
	#intro { width: auto; padding: 28px 16px; }
	#intro h1 span:last-of-type { width: auto; }
	#content_home { padding: 0 16px; }
}

@media (max-width: 800px) {
	video#bgvid { display: none; }
	body.home {
		background: url("../images/interface/img/ml/video.jpg") center right / cover no-repeat fixed;
	}
	.home #slider,
	.home .home-slider { height: auto; }
	.home-slider__stage { height: auto; min-height: 180px; }
	.home-slide h2,
	.home-slide p { width: 100%; text-align: center; }
	.home-slide img { display: none; }
	.membre { width: 50%; }
}

@media (max-width: 780px) {
	.content, .content .leftcolumn, .content .rightcolumn { display: block; width: 100%; }
	.content { width: 100%; margin-top: 24px; }
	.page-slug-contact #slider { display: none; }
	.page-slug-contact .content .rightcolumn { display: none; }
	#coordonnees, #horaires { float: none; width: 100%; }
	.form-columns { grid-template-columns: 1fr; }
	#c2a { display: block; }
	#c2a > div { padding: 12px 0; }
	#c2a > div:first-child { border: 0; }
	#footer_content, .home #footer_content { display: block; width: 100%; text-align: center; }
	#footer_logos { justify-content: center; margin-top: 24px; flex-wrap: wrap; }
	.cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (max-width: 550px) {
	.membre { width: 100%; }
	#exploitations_assurees { display: none; }
	.home #slider,
	.home .home-slider,
	.home-slider__stage { height: auto; min-height: 0; }
	.home-slider__nav { display: none; }
	.home-slider { padding-top: 24px; }
	.header-search input, #utils { width: 100%; }
	#utils { flex-direction: column; }
	.utils-link, .header-search, .header-search input { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	video#bgvid { display: none; }
}
