@import url('https://fonts.googleapis.com/css2?family=REM:ital,wght@0,100..900;1,100..900&display=swap');
:root {
	--black: #000;
	--white: #fff;
	--primary: #fcbd01;
	--second: #ff3131;
	--back: #b3bec2;
	--gris: #616468;
}

body {
	padding: 0px;
	margin: 0px;
	font-family: "REM", sans-serif;
	font-optical-sizing: auto;
	font-weight: normal;
	font-style: normal;
	overflow-x: hidden;
}

ul { padding: 0px; margin: 0px; }

a { text-decoration: none !important }

.header>.d-flex {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	align-items: center;
	justify-content: space-between;
}

.banner>div {
	animation: zoom 8s ease infinite alternate;
	background: url(../images/banner.jpg) no-repeat;
	background-position: center;
	background-size: cover;
	transform: scale(1.1);
	width: 100%;
	height: 100%;
}

.block-banner-header {
	height: 100vh;
	overflow: hidden;
	height: 100%;
	position: relative;
	width: 100%;
}

.banner { overflow: hidden; height: 100%; }

@keyframes zoom {
	0%   { transform: scale(1.1); }
	100% { transform: scale(1.0); }
}

.banner img { max-width: 100%; opacity: 0; }

.logo {
	text-align: center;
	position: absolute;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo a {
	display: flex;
	position: relative;
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 1;
	padding: 20px;
	border-radius: 45px;
	overflow: hidden;
	width: 180px;
	height: 180px;
	max-width: 100%;
	justify-content: center;
	align-items: center;
	margin: 10px;
}

.logo_mobile { display: none !important; }

.logo img {
	position: relative;
	z-index: 3;
	width: 140px;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
}

.header {
	position: relative;
	padding: 0;
	z-index: 21;
	border-top: 11px solid var(--second);
	height: 550px;
}
.header:before {
	content: "";
	background: url(../images/forme.png) no-repeat;
	width: 100%;
	position: absolute;
	height: 18px;
	right: 0;
	z-index: 1;
	background-position: right;
}

.top {
	padding: 7px 30px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0 auto;
}

.top span { font-weight: 300; font-size: 15px; }

.top>div {
	margin: 0;
	display: flex;
	align-items: center;
	border: none;
	padding: 0;
	justify-content: space-between;
}

.right-top .phone {
	color: #fff;
	padding: 0px 10px;
	font-size: 24px;
	position: relative;
	margin-left: 12px;
	z-index: 1;
	display: block;
	text-align: right;
	font-weight: 800;
	padding-right: 0;
}

/* end header */

/* menu */

.navbar-nav .nav-item {
	display: block;
	transition: 0.5s ease all;
	padding: 0px 19px;
	position: relative;
}

.navbar-nav .nav-item:after {
	content: "";
	width: 9px;
	position: absolute;
	height: 29px;
	background: #3d5053;
	right: -4px;
	top: 13px;
	transform: skewX(-22deg);
	transition: 0.3s ease all;
}

.navbar-nav .nav-item:hover:after { transform: none; }
.navbar-nav .nav-item:last-child:after { display: none; }

.dropdown-item {
	transition: 0.5s ease all;
	color: #fff;
	padding: 10px 20px;
	font-size: 17px;
	font-weight: 600;
}

.dropdown-item:hover { background: var(--second); color: #fff; }
.navbar-nav .nav-item.dropdown:hover>.dropdown-menu { display: block; }

.dropdown-menu {
	left: 19px;
	top: 100%;
	background: var(--primary);
	border: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
	bottom: initial;
}

.fixed .dropdown-menu { top: 100%; bottom: initial; }

.navbar .navbar-nav .nav-item .nav-link {
	padding: 14px 45px;
	white-space: nowrap;
	transition: 0.3s ease all;
	font-size: 16.5px;
	text-align: left;
	font-weight: 500;
	color: #fff;
	position: relative;
	display: flex;
	align-items: center;
}

.navbar .navbar-nav .nav-item .nav-link:hover { background: var(--primary); color: #fff; }
.navbar .navbar-nav .nav-item:hover .nav-link { background: var(--primary); color: #fff; }
.navbar .navbar-nav .nav-item:first-child { background: none; }
.navbar .navbar-nav .nav-item .nav-link:after { z-index: 1; }
.navbar .navbar-nav .nav-item:last-child .nav-link:after { display: none; }
.navbar .navbar-nav .nav-item .nav-link:hover:before { width: 100%; }
.navbar-nav .nav-item:hover>.nav-link:before { width: 100%; opacity: 1 !important; }
.bloc-menu.fixed .btn-menu { display: table; }

.bloc-menu {
	display: none;
	margin-right: 15px;
	position: relative;
	left: 45px;
	cursor: pointer;
	z-index: 10;
	transition: 0.3s ease all;
}

.btn-menu { display: table; margin: 0 auto; position: relative; transition: 0.3s ease all; }
.btn-menu:hover { transform: rotate(180deg); }

.menubox {
	transition: 0.3s ease all;
	padding: 0;
	margin: -22px auto 0;
	width: 100%;
	position: relative;
	z-index: 30;
	max-width: 960px;
	background: #000;
	border-radius: 12px;
}

.menubox.fixed {
	top: 0;
	z-index: 20;
	position: fixed;
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	left: 0;
	bottom: initial;
	padding: 5px 20px;
	height: auto;
	border-radius: 0;
}

.inner-menubox { transition: 0.3s ease all; position: relative; margin: 0; }
.fixed .inner-menubox { border: none; padding: 0; }
.navbar { padding: 0; position: relative; z-index: 1; }
.navbar-nav { margin: 0px !important; padding: 12px 15px; z-index: 9; width: 100%; flex-wrap: wrap; }
.navbar-nav:last-child { padding: 0; justify-content: center; position: relative; }

/****** end menu ***/

.flex-block-text-1 {
	margin: 0 auto;
	overflow: hidden;
	padding: 120px 0px 50px;
	max-width: 1100px;
}

.flex-block-text-1 h1 {
	font-size: 26px;
	font-weight: 500;
	display: block;
	margin: 0 auto 55px;
	position: relative;
	padding-left: 95px;
	background: url(../images/forme2.png) no-repeat;
}

.flex-block-text-1 h1 span { font-size: 30px; display: block; font-weight: 700; line-height: 1; }
.flex-block-text-1 h1 b { font-size: 20px; display: block; font-weight: 300; }
.flex-block-text-1>div { align-items: center; max-width: 1200px; margin: 0 auto; }
.flex-block-text-1 p { font-size: 18px; font-weight: 400; padding: 0; margin: 0px 0px 20px; }
.flex-block-text-1 p:last-child { margin: 0; }
.flex-block-text-1 .flex-block_text { margin: 0 auto; padding: 0; }

.texte-gauche p { font-size: 19px; font-weight: 700; border-right: 15px solid #fff; }

.texte-gauche h2 {
	font-size: 23px;
	margin: 0;
	display: block;
	padding-bottom: 16px;
	line-height: 1;
	margin-bottom: 20px;
	text-align: center;
	font-weight: 700;
}

.texte-gauche h2 span { display: block; font-size: 26px; font-weight: 700; }
.texte-gauche h2 b { font-size: 35px; }

.text { color: #000; max-width: 1440px; margin: 0px auto; padding: 0px 15px; position: relative; z-index: 2; }

.textdiv {
	margin: 30px auto 0px;
	padding: 50px 30px 0px;
	line-height: 31px;
	font-size: 17px;
	text-align: justify;
	position: relative;
	z-index: 1;
	font-weight: 200;
	color: #000;
}

img { max-width: 100%; display: block; }


/* ================= CARDS ================= */
.card .logo-card img {
    max-width: 160px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: 0.3s ease all;
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	max-width: 1250px;
	margin: 70px auto 150px;
	padding: 0 20px;
}

.card:nth-child(4) {
    grid-column: 2;
}

.card:nth-child(5) {
    grid-column: 3;
}

.card {
	background: #b3bec2;
	text-align: center;
	padding-bottom: 0;
	border-radius: 0;
	border: none;
	transition: 0.3s ease all;
}

.card:hover { background: #3d5053; }
.card:hover .phone { background: var(--primary); }

.card .top-img {
	width: 100%;
	height: 130px;
	object-fit: cover;
	display: block;
}

.bottom-img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
	position: static;
	max-width: 100%;
}

.card .logo-card {
	margin: 40px auto;
	height: 185px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.card .logo-card img { transition: 0.3s ease all; }
.card:hover .logo-card img { transform: scale(0.8); }
.card h3 { font-size: 15px; letter-spacing: 1px; margin-bottom: 15px; }

.cards-row-center {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cards-row-center .card {
    width: calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
}

/* ================= END CARDS ================= */


.flex-section { max-width: 1250px; margin: 0 auto; display: flex; align-items: flex-end; }
.flex-section .image { width: 70%; }
.text-flex-section { width: 30%; }

.underline {
	position: absolute;
	width: 180px;
	background: var(--primary);
	height: 14px;
	bottom: -5px;
	left: calc(50% - 90px);
}

.text-flex-section h2 { font-size: 28px; font-weight: 700; line-height: 1.2; max-width: 360px; margin: 0 auto 37px; }
.text-flex-section p { font-size: 17px; max-width: 360px; margin: 0 auto 30px; }
.text-flex-section p:last-child { margin: 0; }
.text-flex-section p i { display: block; font-weight: 300; font-size: 17px; margin-top: 8px; }

.text-flex-section>div {
	background: #b3bec2;
	width: calc(100% + 200px);
	position: relative;
	z-index: 1;
	left: -100px;
	padding: 60px 60px 40px;
	top: 80px;
}

.phone {
	display: table;
	padding: 8px 30px;
	border: 4px solid #fff;
	border-radius: 25px;
	font-weight: 700;
	font-size: 20px;
	max-width: max-content;
	margin: 0 auto 10px;
	color: #000 !important;
	position: relative;
	top: 0;
	transition: 0.3s ease all;
	z-index: 3;
}
.phone a { color: #000 !important; }

.block-encarts { max-width: 1200px; margin: 0 auto 50px; position: relative; padding: 40px 0px 0px; border-bottom: 0; background-position: bottom; background-repeat: no-repeat; }
.block-encarts .flex-block-2 { margin: 50px auto; }

.flex-block-text { margin: 0 auto 120px; padding: 80px 0px 0px; max-width: 1090px; background-position: 100% 100%; background-size: 64% auto; }
.flex-block-text>div { margin: 0 auto; }
.flex-block-text h2 { font-size: 30px; font-weight: 700; margin-bottom: 35px; display: block; line-height: 1.2; }
.flex-block-text h2 span { font-weight: 700; font-size: 19px; }
.flex-block-text h2 span:last-child { font-size: 25px; }
.flex-block-text h2 b { display: block; font-size: 24px; }
.flex-block-text p { font-weight: 300; padding: 0; margin: 0; font-size: 16px; margin-bottom: 31px; max-width: 350px; }
.flex-block-text p i { color: var(--second); font-weight: 600; }

.flex-block-2 { position: initial !important; }

.flex-block-2 .flex-block_text {
	position: relative;
	max-width: 100%;
	margin: 0 auto;
	background: #fff;
	display: flex;
	align-items: center;
	height: 250px;
	border: 13px solid #b3bec2;
	transition: 0.3s ease all;
}

.flex-block-2 .flex-block_text:hover h2 { color: var(--second); }
.flex-block-2 .flex-block_text:hover { background: var(--back); }

.link-rubrique { position: absolute; width: 100%; height: 100%; top: 0; left: 0; cursor: pointer; z-index: 2; }

.flex-block-2 .flex-block_text:before {
	content: "";
	background: url(../images/forme4.jpg) #fff;
	width: 66px;
	position: absolute;
	height: 66px;
	bottom: -13px;
	right: -13px;
	background-repeat: no-repeat;
	background-position: 100% 100%;
	transition: 0.3s ease all;
}

.flex-block-2 .flex-block_text:hover:before { opacity: 0; }
.flex-block-2 .flex-block_text:hover img { transform: scale(0.8) rotate(5deg); }

.flex-block-2 .flex-block_text h2 {
	font-weight: 800;
	text-shadow: none;
	position: relative;
	text-transform: none;
	letter-spacing: 0;
	color: #000;
	transition: 0.3s ease all;
	margin: 0;
	width: 100%;
}

.flex-block-2 .flex-block_text h2 b { display: block; font-weight: 600; max-width: 160px; margin: 0 auto; font-size: 21px; text-align: left; }

.img-encarts { display: table; margin: 0; position: relative; }
.img-encarts img { transition: 0.3s ease all; border-radius: 35px 0px 35px 35px; }
.img-encarts:hover img { transform: scale(1.1); }
.flex-block-2 img { max-width: 100%; }

.flex-block-2>div .col-12 { width: calc(100% / 4); flex: calc(100% / 4); max-width: 260px; padding: 0px 15px; margin-bottom: 45px; }
.flex-block-2>div { width: 100%; max-width: 100%; }
.flex-block-2 .col-12:last-child { position: relative; }

.flex-block-text img { position: relative; z-index: 2; min-width: 100%; left: -1px; }
.flex-block-text { margin: 0 auto 80px; padding: 40px 0px 0px; max-width: 1440px; }
.flex-block-text .back2 { position: relative; background: #b3bec2; padding: 0; }
.flex-block-text .block-text { margin: 0 auto; padding-top: 80px; max-width: 400px; padding-left: 15px; }
.flex-block { position: relative; transition: 0.5s ease all; }
.flex-block>div { display: flex; margin: 0 auto; flex-wrap: wrap; padding: 0; position: relative; z-index: 2; justify-content: space-between; }

.block-text-content { max-width: 1100px; margin: 80px auto 0px; overflow: hidden; background-size: cover; padding: 100px 0px; border-radius: 40px; }
.block-text-content p { font-size: 20px; margin: 0px; font-weight: 500; line-height: 1.5; text-align: center; color: #000; padding: 0px 40px; max-width: 960px; font-style: italic; }

.block-text-content.back-block>div {
	margin: 0 auto;
	color: #000;
	font-size: 17px;
	background: url(../images/top.png), url(../images/bottom.png);
	background-repeat: no-repeat;
	padding: 100px 20px 70px;
	background-position: 0% 0%, 97% 100%;
	display: block;
	font-weight: 600;
	text-align: center;
}

.skills-block {
	background-image: url('../images/back1.jpg');
	background-size: cover;
	background-position: center;
	position: relative;
	color: white;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
	max-width: 1400px;
	margin: 0 auto 100px;
	padding: 140px 0px;
}

.overlay { width: 100%; max-width: 920px; margin: 0 auto; }
.title { text-align: left; margin-bottom: 450px; }
.title h2 { font-size: 48px; font-weight: bold; margin: 0; line-height: 1; }
.title p { font-size: 40px; font-weight: 700; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 60px; }
.service h3 { font-weight: bold; font-size: 22px; margin-bottom: 5px; }
.service p { margin: 0; font-size: 18px; font-weight: 300; }

.block-text-center { max-width: 860px; margin: 0 auto 150px; }
.block-text-center h2 span b { font-size: 44px; display: block; margin-bottom: 10px; }
.block-text-center h2 { margin: 23px auto 27px; font-size: 19px; font-weight: 700; max-width: 790px; }
.block-text-center h2 span.d-flex small { font-size: 19px; font-weight: 700; padding-right: 35px; position: relative; }
.block-text-center h2 span.d-flex small:last-child:after { display: none; }
.block-text-center h2 span.d-flex small:after { content: ""; width: 11px; height: 20px; background: #3a4a62; position: absolute; right: 12px; transform: skewX(-25deg); top: 3px; }
.block-text-center p:last-child { font-size: 16px; }
.block-text-center p { margin: 0 auto 50px; font-size: 18px; font-weight: 300; max-width: 790px; }
.block-text-center p b { font-size: 22px; font-weight: 700; display: block; margin-bottom: 20px; }

/****** Contact ***/

.footer-ico { display: block; max-width: 120px; }

.right-top .btn-contact {
	height: auto;
	display: table;
	width: auto;
	font-size: 14px;
	margin: 0;
	clear: both;
	color: #000;
	padding: 0;
	background: none;
	box-shadow: none;
	border: none;
	border-radius: 0;
	font-weight: 700;
	transition: 0.3s ease all;
	border-bottom: 1px solid #000;
	position: absolute;
	bottom: -29px;
	z-index: 1;
	right: 18px;
}

.btn-contact:after { display: none; }
.btn-contact:hover { background: var(--primary); text-decoration: none; color: #fff; padding: 0px 15px; border-color: var(--primary); }

.footer-logo { margin-top: -150px; }
.footer-logo img { max-width: 650px !important; position: relative; top: 93px; z-index: 2; }

.flex-bottom-footer {
	margin: 0 auto;
	width: 100%;
	display: flex;
	justify-content: space-between;
	position: relative;
	max-width: 1440px;
	background-position: bottom;
	align-items: center;
	border-bottom: 40px solid var(--primary);
	padding-bottom: 25px;
}

.right-top { padding-right: 0; padding-bottom: 0; display: flex; align-items: center; }
.right-top>div { display: flex; justify-content: flex-end; align-items: center; }
.right-top>div p { font-size: 16px; display: block; font-weight: 600; margin: 0px 20px; }
.right-top>div a { clear: both; }
.text-footer { gap: 0px 20px; }
.flex-bottom-footer>div.text-footer a { background: #f7f7f7; display: flex; align-items: center; justify-content: center; padding: 21px 30px; }
.flex-bottom-footer>div.text-footer a img { max-width: 130px; }
.flex-bottom-footer .phone { color: #000; font-size: 22px; display: block; font-weight: 700; margin-bottom: 0; line-height: 1; border: 4px solid var(--primary); border-radius: 25px; padding: 7px 29px; white-space: nowrap; }

/****** end Contact ***/

.footer-ico { display: block; max-width: 120px; filter: brightness(0) saturate(100%) invert(78%) sepia(9%) saturate(292%) hue-rotate(146deg) brightness(91%) contrast(93%); }

/****** footer ***/
.boxfooter { overflow: hidden; padding: 15px 0px; z-index: 1; position: relative; margin: 0 auto; max-width: 1440px; }
.footerlink { color: #d0d0d0; font-size: 10px; font-family: verdana; text-align: right; }
.footerlink ul { list-style: none; margin: 0px; padding: 0px; display: inline-block; }
.footerlink ul li { display: inline-block; }
.footerlink ul li a { text-decoration: none !important; transition: 0.3s ease all; color: #a9b8bc; padding: 0px 10px; font-size: 12px; }
.footerlink ul li a:hover { color: white; }
.inlineblock { display: inline-block; }
.boxfooter>div { width: 100%; margin: 0; align-items: center; }

.axo-recherche>.container { padding: 30px 0px; }
.axo-recherche h5 { font-weight: bold; font-size: 16px; text-align: left; }
.axo-recherche h5 a { color: #fff; background: var(--primary); display: inline-block; padding: 10px; transition: all 0.4s; text-decoration: none; }
.axo-recherche h5 a:hover { background: var(--second); color: #fff; }
.axo-recherche .box-link { font-size: 13px; }
.axo-recherche .box-link ul { list-style: none; padding-left: 0px; margin-bottom: 0px; text-align: left; }
.axo-recherche .box-link ul li a { color: #000; transition: all 0.3s; text-decoration: none; }
.axo-recherche .box-link ul li a:hover { color: #000; }
.axo-recherche .box-link p { font-weight: bold; margin-bottom: 5px; color: #000; }
.axo-recherche .box-link { display: flex; justify-content: center; align-items: flex-start; }
.axo-recherche .box-link>div { padding: 15px 0px; }
.axo-footer { padding: 20px 15px; border-top: 1px solid rgba(255,255,255,0.1); }
.axo-footer .axo-logo { display: flex; justify-content: center; align-items: center; margin: 5px 0px 5px; }
.axo-footer .axo-logo img { max-width: 100%; width: 125px; }
.axo-footer .footerlink { color: #fff; }
.axo-footer .footerlink a { color: #efefef; transition: all 0.3s; text-decoration: none; }
.axo-footer .footerlink a:hover { opacity: 0.3; }
.axo-footer .inlineblock { padding-left: 0px; text-align: center; margin-bottom: 10px; font-size: 12px; }
.axo-footer .inlineblock li { display: inline-block; }
.axo-footer .inlineblock li:after { content: ' - '; }
.axo-footer .inlineblock li:last-child:after { display: none; }

/****** end footer ***/


@media (max-width: 1280px) {
	.navbar-nav:after { height: 100%; }
	.logo img { max-width: 600px; }
	.top { padding: 26px 17px 20px; }
	.block-encarts { padding: 40px 15px 0px; margin-bottom: 0; }
	.flex-block-text { background: #b3bec2; }
	.block-encarts .flex-block-2 { margin-bottom: 50px; }
	.block-beauvais { border: none; }
	.navbar .navbar-nav .nav-item .nav-link { padding: 15px 3px; font-size: 14px; }
	.menubox { padding-left: 0; }
	.flex-section { flex-wrap: wrap; max-width: 920px; margin: 0 auto; gap: 0; }
	.block-text-content { max-width: calc(100vw - 50px); padding: 20px 0px; margin-bottom: 40px; }
	.flex-section .image { width: 100%; }
	.text-flex-section { width: 100%; }
	.text-flex-section h2 { max-width: 100%; text-align: center; }
	.text-flex-section p { max-width: 100%; text-align: center; }
	.text-flex-section>div { width: 100%; left: 0; top: 0; }
}

@media (min-width: 991px) {
	.navbar-expand-lg .navbar-collapse { display: block !important; }
	.page .block-banner-header { max-height: 400px; }
}

@media (max-width: 992px) {
	.flex-block>div .col-12 { flex: 0 0 100%; max-width: 100%; top: 0 !important; }
	.skills-block { padding: 0; }
	.block-text-center h2 { text-align: center; }
	.block-text-center p { text-align: center; }

	.cards { grid-template-columns: repeat(2, 1fr); }
	.card:nth-child(4) { grid-column: auto; margin-left: 0; }
	.card:nth-child(5) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
	.card a { color: #000 !important; }

	.overlay { padding: 80px 30px; background: #000000a1; }
	.block-text-center { padding: 0px 15px; }
	.footer-logo { margin: 0 auto; padding: 0px 20px; }
	.footer-logo img { top: 0; max-width: 100% !important; }
	.block-text-center h2 span b { font-size: 25px; text-align: center; }
	.title { margin-bottom: 80px; text-align: center; }
	.flex-block-text .back2 { left: 0; padding: 40px 20px; }
	.flex-block-text img { margin: 0 auto 20px; }
	.flex-block-2 .flex-block_text { max-width: 350px; margin-bottom: 40px; }
	.flex-block>div .col-12.back2>div { margin: 0; top: 0; left: 0; width: 100%; }
	.flex-block-text .block-text { display: table; margin: 0 auto; border: none; padding: 0; text-align: center; }
	.flex-block-text .block-text b { margin-bottom: 5px; font-size: 30px; }
	.flex-bottom-footer { flex-direction: column; overflow: hidden; padding: 40px 20px; margin-top: 40px; }
	.flex-bottom-footer>div { width: 100%; max-width: 100%; }
	.flex-bottom-footer .right-top { flex-direction: column; align-items: center; justify-content: center; border: none; margin-top: 20px; }
	.right-top>div { flex-direction: column; }
	.flex-bottom-footer p { margin: 0 auto 10px; text-align: center; font-size: 20px; }
	.right-top>div p { max-width: 180px; margin: 10px auto; }
	.flex-bottom-footer a { margin: 0 auto; height: auto; align-items: center; justify-content: center; max-width: max-content; padding: 20px 40px; }
	.btn-contact { display: table; margin: 0 auto; padding: 0px !important; font-size: 17px; }
	.flex-bottom-footer .phone { text-align: center; margin: 15px auto; }
	.block-text-content { margin: 50px auto; }
	.block-text-content p { text-align: center; margin-bottom: 80px; }
	.navbar .navbar-nav .nav-item .nav-link:before { display: none; }
	.navbar { padding: 0px; }
	.navbar-nav:after { display: none; }
	.navbar-nav .nav-item .nav-link { text-align: left; }
	.inner-menubox { padding: 0; background: none !important; left: 0; width: 100%; border: none; }
	.collapse:not(.show) { display: block; }
	.navbar-nav { align-items: center; flex-direction: column; }
	.navbar-nav:first-child { padding-bottom: 0; }
	.menubox.fixed .navbar-nav { flex-direction: column; }
	.dropdown-item { font-weight: 500; font-size: 16px; text-align: center; white-space: normal; color: #000; }
	.navbar-nav:last-child { background: none; max-width: 100%; margin: 0 !important; padding-top: 0; }
	.navbar .navbar-nav .nav-item .nav-link { padding: 8px 10px; font-size: 16px; color: #fff; text-align: center; letter-spacing: 0; font-weight: 500; }
	.navbar .navbar-nav .nav-item:hover .nav-link { color: #000; }
	.navbar-nav .nav-item:after { display: none; }
	.navbar .navbar-nav .nav-item { background: none; }
	.navbar .navbar-nav .nav-item.show .nav-link { background: var(--primary); color: #000; }
	.dropdown-menu { background: var(--back); }
	.menubox:before, .menubox:after { display: none; }

	.menubox {
		width: 100%;
		border: none;
		background: #000;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 30 !important;
		max-width: 100%;
		transform: translateX(-100%);
		transition: 0.3s ease all;
		bottom: initial;
		padding: 50px 20px !important;
		height: 100% !important;
		display: block !important;
		margin: 0px !important;
		border-radius: 0;
	}

	.activemenu { transform: none; }
	.logo img { width: 115px; max-width: 100%; display: block; margin: 0 auto 15px; }
	.header>.d-flex { display: block !important; height: 100%;}

	.logo { padding: 15px; position: absolute; width: 100%; height: 100%; top: 0; left: 0; display: flex; align-items: center; flex-wrap: wrap;}

	.block-banner-header { width: 100%; border-radius: 0;}
	.block-banner-header:after { background-size: cover; background-position: 180% 0%; }
	.flex-block-text { padding: 0; margin-top: 0; overflow: hidden; margin-bottom: 20px; background: none; }
	.texte-gauche h2 { padding: 0px 15px; font-size: 27px; }
	.texte-gauche h2:after { display: none; }
	.contenu-beauvais { flex-direction: column; justify-content: center; align-items: center; text-align: center; }
	.contenu-beauvais>div { width: 100%; max-width: 100%; text-align: center; }
	.texte-gauche p { margin: 15px auto; border: none; }
	.logo a { padding: 10px 15px; margin-bottom: 0; width:120px; min-height: auto; height: 120px; display: inline-flex; margin: 10px; border-radius: 10px; }
	.top { display: none; }
	.top:after { display: none; }
	.top>div .phone { display: none; white-space: nowrap; padding: 0 !important; }
	.top span { display: none; }

	.header { position: relative; top: 0; margin-top: 58px; max-height: initial; border: none; margin-bottom: 10px; padding: 0; display: block; background-size: contain; background-position: 0% 0%; }

	.flex-block-text-1 { padding: 40px 15px; }
	.flex-block-text-1 h1 { text-align: center; margin-bottom: 20px; padding-top: 89px; background-position: center top; padding-left: 0; }
	.flex-block-text-1 .flex-block_text { margin-bottom: 30px; }
	.flex-block-text-1 p { text-align: center; margin-bottom: 30px; }
	.bloc-menu a { display: table; padding: 0; top: 11px; left: 11px; position: relative; margin: 0; }
	.btn-menu:after { display: none; }
	#bloc-1:after { display: none; }
	.bloc-menu.fixed { left: 0; top: 0; box-shadow: none; border-radius: 0; }

	.bloc-menu { top: 0; left: 0; position: fixed; width: 100%; background: var(--primary); height: 58px; overflow: hidden; z-index: 30; display: block; animation: none !important; }
	.bloc-menu.fixed .btn-menu { margin: 0; padding: 0; background: none; box-shadow: none; }
	.bloc-menu img { position: relative; left: 0; top: 0; width: 40px; filter: none !important; }
	/*.btn_scroll { display: none; }*/
	.header:before { display: none; }
	.header:after { display: none; }
}


@media (max-width: 600px) {
	.cards { grid-template-columns: 1fr; }
	.card:nth-child(4) { grid-column: auto; margin-left: 0; }
	.card:nth-child(5) { grid-column: auto; max-width: 100%; margin: 0; }
}


@media (max-width: 767px) {
	.page .header{height: 450px;}
	.page .header>.d-flex{height: 100%;}
	.logo{height: auto; max-height: 100%;}
	.cards-row-center .card{width: 100%; max-width: 100%;}
	.block-text-content { margin-top: 0; text-align: center; padding: 0px 29px 0px !important; margin-bottom: 0 !important; overflow: hidden; }
	.block-text-content.back-block { padding: 60px 20px 0px !important; margin-bottom: 50px !important; max-width: calc(100vw - 30px); }
	.flex-block-text-1 h1 span { font-size: 25px; margin-bottom: 10px; }
	.texte-gauche h2 b { font-size: 25px; }
	.text-footer { flex-direction: column; gap: 20px 0px; }
	.block-encarts .flex-block-2 { margin-top: 40px; }
	.block-text-content.back-block>div { background-position: 3% 0%, 97% 89%; }
	.flex-block-text-1 h1 b { font-size: 16px; text-align: center; }
	.flex-block-text-1 p { text-align: center; }
	.block-encarts { padding-bottom: 0; margin-bottom: 0; }
	.block-text-center p { text-align: center; }
	.block-text-content p { text-align: center; padding: 0; }
	.block-text-center p b { font-size: 19px; }
	.flex-block-text .back2>div { padding: 0px 10px; text-align: center; overflow: hidden; }
	.flex-block-text h2 span { text-align: center; font-size: 21px; }
	.flex-block .col-12 { left: 0; top: 0; border: none; display: block; }
	.flex-block-2>div .col-12 { margin: 0; margin-bottom: 35px; }
	.block-text-center h2 { flex-direction: column; gap: 30px 0px; }
	.block-text-center h2 span.d-flex { flex-direction: column; align-items: center; justify-content: center; }
	.block-text-center h2 span.d-flex small { padding: 0; }
	.block-text-center h2 span.d-flex small:after { display: none; }
	.footerlink { text-align: center; }
	.footerlink ul { display: flex; flex-direction: column; }
	.flex-block { margin: 0px auto 50px; padding: 0px 15px; left: 0px !important; overflow: hidden; }
	.flex-block-text .col-sm-8>div { overflow: hidden; }
	.flex-block-text .col-sm-8>div img { width: calc(100% + 80px); max-width: initial !important; position: relative; left: -40px; }
	.flex-bottom-footer .right-top { flex-direction: column; justify-content: center; align-items: center; margin-top: 0; padding: 0; }
	.flex-bottom-footer .right-top a { z-index: 2; position: relative; top: 0; margin: 15px auto; left: 0; }
	.menubox:after { display: none; }
	.logo img { margin: 0 auto; display: block; }
	.logo:after { display: none; }
	.header { display: block; margin-bottom: 30px; }
	.logo a:last-child { display: block !important; }
	.boxfooter img { margin: 0 auto 15px; display: block; max-width: 120px; }
	.textdiv { padding: 15px; }
	.services { display: block; }
	.service { margin-bottom: 30px; }
	.title h2 { font-size: 37px; }
	.title p { font-size: 35px; }
}