/*
Theme Name: ETS Rannou
Author: Planète Communication
Author URI: https://www.planete-communication.fr
Version: 1
*/

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,
b, u, i, 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, figcaption, 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}





@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/etsrannou/fonts/inter-v20-latin-regular.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/wp-content/themes/etsrannou/fonts/inter-v20-latin-500.woff2') format('woff2');
}
@font-face {
  font-display: swap;
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  src: url('/wp-content/themes/etsrannou/fonts/instrument-serif-v5-latin-regular.woff2') format('woff2');
}



* {
	border: 0px;
	margin: 0px;
	padding: 0px;
	text-decoration: none;
}
body {
	background: #313231;
	font-family: 'Inter', Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 120%;
	color: #313231;
	-webkit-font-smoothing: antialiased;
}
button {
	font-family: 'Inter';
}
img {
	max-width: 100%;
	border: 0px;
	vertical-align: bottom;
}
h1, h2, h3, h4, h5, h6 {
	line-height: 120%;
	margin: 10px 0px;
	font-weight: bold;
}
h1 {
	font-size: 52px;
	font-family: 'Instrument Serif';
	margin: 0;
	font-weight: 400;
}
h2,
#dp > p:first-child {
	font-size: 35px;
	line-height: 1.2em;
	font-family: 'Instrument Serif';
	font-weight: 400;
}
h3 {
    font-size: 20px;
    font-weight: 500;
}
h4 {
	font-size: 20px;
}
a:focus {
	outline: none;
}
a {
	color: #313231;
  	text-decoration: underline;
}
p {
	margin: 10px 0px;
	line-height: 1.4em;
}
ul, ol {
	margin: 10px 0px 10px 15px;
}
ul ul, 
ol ol, 
ul ol, 
ol ul {
	margin: 0px 0px 0px 30px;
}
li {
  	line-height: 1.4em;
}
sup {
    font-size: smaller;
    vertical-align: text-bottom;
}
#nested .smart-menu {
	display: none;
}
#nested {
    position: absolute;
    height: 60px;
    z-index: 2;
    right: 200px;
    top: 0;
    bottom: 0;
	transition: 0.3s;
    margin: auto;
    box-sizing: border-box;
    border: 1px solid #C1C2C1;
    border-radius: 99px;
	background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
}
#nested .firstLevel {
	height: 60px;
	margin: 0 10px;
	text-align: center;
}
#nested .firstLevel li {
	position: relative;
	display: inline-block;
	height: 60px;
	transition: 0.25s opacity;
}
#nested .firstLevel li a {
    display: flex;
    height: 60px;
    line-height: 60px;
    color: #313231;
    text-decoration: none;
    font-size: 14px;
    align-items: center;
}
#nested .firstLevel li a span {
	display: block;
    height: 40px;
    line-height: 40px;
    background: #FFFFFF;
    padding: 0 17px;
    border-radius: 99px;
}
#nested .firstLevel li ul {
	position: absolute;
	width: 260px;
	height: 0px;
	background: #FFFFFF;
	margin-left: -130px;
	margin-top: -20px;
	box-shadow: 0px 4px 10px -4px rgba(0, 0, 0, 0.3);
	left: 50%;
	top: auto;
	overflow: hidden;
	opacity: 0;
	transition: 0.3s;
	border-radius: 20px;
}
#nested .firstLevel > li:hover > ul {
	height: auto;
	opacity: 1;
	margin-top: 0px;
	padding: 0;
}
#nested .firstLevel li ul li {
	display: block;
	height: auto;
	padding: 0 10px;
	border-bottom: 1px solid #EDEDED;
	transition: 0.4s;
}
#nested ul.firstLevel li ul li:hover {
	background: #F5F5F5;
}
#nested .firstLevel li ul li:last-child {
	border-bottom: none;
}
#nested .firstLevel li ul li a {
	height: auto;
	padding: 15px 10px;
	line-height: 120%;
	font-size: 14px;
    font-weight: 400;
    text-transform: inherit;
    text-align: left;
}
#nested .firstLevel li ul li a span {
	display: inline;
	height: auto;
	line-height: 120%;
	padding: 0;
    background: none;
    border-radius: 0;
}
#nested ul.firstLevel:hover > li {
    opacity: 0.5;
}
#nested ul.firstLevel:hover > li:hover {
    opacity: 1;
}
#wrapper ul li {
	position: relative;
}
#wrapper ul li:before {
	content: '';
	width: 6px;
	height: 6px;
	background: #E02515;
	position: absolute;
	border-radius: 50%;
	top: 8px;
	left: -15px;
	margin: auto;
}
#page {
	position: relative;
	background: #FFFFFF;
	overflow: hidden;
}
header {
	position: fixed;
	width: 100%;
	height: 140px;
	z-index: 2;
	transition: 0.3s;
}
#headerInner {
	position: relative;
	width: 100%;
	height: 100%;
}
#logo {
	position: absolute;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	transition: 0.3s;
	left: 40px;
}
#logo img {
	transition: 0.3s;
}
#headerBoxes {
	position: absolute;
    right: 40px;
    top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	transition: 0.3s;
}
/* ----------------------
ZONE INTERIEURE (CONTENU)
-----------------------*/
#wrapper {
	position: relative;
	background: #FFFFFF;
	z-index: 1;
}
#wrapperInner {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0px auto;
	padding: 80px 0px 0px 0px;
}
#container {
	position: relative;
	margin: 0px 0px 100px 0px;
}
#contentsInner {
	position: relative;
}
#headerBoxes p {
	margin: 0;
	line-height: 1;
}
body.home #wrapperInner {
	padding: 0;
}
.grecaptcha-badge {
	visibility: hidden;
}
html, body {
	scroll-behavior: smooth;
}
iframe {
	max-width: 100%;
}
strong {
	font-weight: 500;
}
em {
	font-style: italic;
}
body.home #container {
    margin: 0px;
}




/* ---------------------------- STRUCTURES ET STYLES DES PAGES INTÉRIEURES ---------------------------- */

#chapterPicture {
	margin-top: 140px;
	position: relative;
}
#chapterPicture img {
	position: absolute;
    top: 0;
    left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.title_and_bc:only-child {
	background: #313231;
}
.title_and_bc {
	background: rgba(0,0,0,0.4);
	position: relative;
    color: #FFFFFF;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 5% 53px 5%;
}


body.rouge .title_and_bc:only-child {
	background: #E02515;
}
body.jaune .title_and_bc:only-child {
	background: #f2ae3f;
	color: #313231;
}
body.jaune .title_and_bc:only-child .widget_breadcrumb a {
	color: #313231;
}
body.bleu .title_and_bc:only-child {
	background: #0F9AF4;
}


.title_and_bc h1 {
    max-width: 1120px;
	text-wrap-style: pretty;
	margin-bottom: 15px;
}
.widget_breadcrumb a {
    color: #FFFFFF;
    text-decoration: none;
}
.widget_breadcrumb a:hover {
	text-decoration: underline;
}
.widget_breadcrumb {
    font-size: 14px;
}
body:not(.home) h2,
body:not(.home) h3 {
	margin-bottom: 15px;
}


/* ------- Passage à menu burger ------- */
@media (min-width: 1271px) {
	#nested ul.firstLevel > li.hidden_on_desktop {
		display: none;
	}
	#nested .firstLevel > li:not(:last-child) {
		margin-right: 2px;
	}
}
@media (max-width: 1270px) {
	header div #nested,
	header.scrolled div #nested {
		width: 38px;
		height: 38px;
		right: 30px;
	}
	header div #nested .contentSmart {
		width: 100%;
		height: 100%;
		cursor: pointer;
		z-index: 25;
		position: relative;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		border: 1px solid #C1C2C1;
		border-radius: 99px;
		background: rgba(255, 255, 255, 0.5);
		backdrop-filter: blur(15px);
		box-sizing: border-box;
	}
	#nested .firstLevel {
		text-align: left;
		background: #313231;
		width: 100%;
		position: fixed;
		right: -100%;
		transition: 0.7s;
		opacity: 0.3;
		top: 0;
		height: auto;
		bottom: 0;
		padding: 50px 0;
		overflow-y: auto;
		overflow-x: hidden;
		margin: 0;
	}
	body.menu_open #nested .firstLevel:after, 
	body.menu_open #nested .firstLevel:before {
		content: '';
		height: 55px;
		background: linear-gradient(0deg, #313231, transparent);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0px;
		opacity: 0;
		pointer-events: none;
		transition: 0.3s;
	}
	body.menu_open.animation_delai #nested .firstLevel:after, 
	body.menu_open.animation_delai #nested .firstLevel:before {
		opacity: 1;
	}
	body.menu_open #nested .firstLevel:before {
		bottom: auto;
		top: 0;
		z-index: 20;
		background: linear-gradient(180deg, #313231, transparent);
	}
	body.menu_open #nested .firstLevel {
		right: 0;
		opacity: 1;
	}
	#nested ul.firstLevel:hover > li {
		opacity: 1;
	}
	header div #nested .contentSmart span {
		width: 20px;
		height: 2px;
		background: #313231;
		display: block;
		border-radius: 3px;
		position: relative;
		top: 0;
		transition: 0.5s;
	}
	header div #nested .contentSmart > span:nth-child(2) {
		margin: 5px 0px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(1) {
		transform: rotate(45deg);
		top: 7px;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(2) {
		opacity: 0;
	}
	body.menu_open header div #nested .contentSmart > span:nth-child(3) {
		transform: rotate(-45deg);
		top: -7px;
	}
	body.menu_open header div #nested .contentSmart > span {
		background: #FFFFFF;
	}
	#nested ul.firstLevel li a {
		font-size: 18px;
		height: auto;
		line-height: 1;
	}
	#nested .firstLevel li a span {
		line-height: 1.3em;
		height: auto;
		padding: 0;
        border-radius: 0;
        background: none;
	}
	#nested ul.firstLevel > li.menu-item-has-children {
		margin-right: 0;
	}
	#nested .firstLevel li {
		height: auto;
	}
	#nested ul.firstLevel > li {
		margin: 0 0 30px 0;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
    	padding-left: 30px;
	}
	#nested ul.firstLevel > li:last-child {
		margin-bottom: 0;
	}
	#nested ul.firstLevel > li.menu-item-has-children > a {
		position: relative;
	}
	#nested ul.firstLevel > li.menu-item-has-children > a:after {
		content: '';
		display: inline-block;
		height: 0;
		width: 0;
		border-top: 5px solid #FFFFFF;
		border-right: 5px solid transparent;
		border-left: 5px solid transparent;
		pointer-events: none;
		position: absolute;
        right: -20px;
        top: 11px;
	}
	#nested .firstLevel li a {
		color: #FFFFFF;
	}
	#nested .firstLevel li ul,
	#nested .firstLevel > li:hover > ul {
		position: relative;
		height: auto;
		opacity: 1;
		background: none;
		box-shadow: none;
		margin: 10px 0 0 -8px;
		padding: 0;
		left: 0;
		width: auto;
	}
	#nested ul.firstLevel > li > ul > li {
		padding: 0;
		margin: 0;
	}
	#nested .firstLevel li ul li {
		border: none;
	}
	body.menu_open {
		overflow: hidden;
	}
	#nested .firstLevel li ul {
		display: none;
	}
	#nested ul.firstLevel > li.menu-item-has-children.sous_menu_open > ul {
		display: block;
	}
	#nested ul.firstLevel > li.menu-item-has-children.sous_menu_open > a:after {
		transform: rotate(180deg);
	}
	#nested ul.firstLevel li ul li:hover {
		background: none;
	}
}














.cmplz-video.cmplz-iframe-styles {
	background-color: transparent
}
.cmplz-video.cmplz-hidden {
	visibility: hidden !important
}
.cmplz-blocked-content-notice {
	display: none
}
.cmplz-placeholder-parent {
	height: inherit
}
.cmplz-optin .cmplz-blocked-content-container .cmplz-blocked-content-notice, .cmplz-optin .cmplz-wp-video .cmplz-blocked-content-notice, .cmplz-optout .cmplz-blocked-content-container .cmplz-blocked-content-notice, .cmplz-optout .cmplz-wp-video .cmplz-blocked-content-notice {
	display: block
}
.cmplz-blocked-content-container, .cmplz-wp-video {
	animation-name: cmplz-fadein;
	animation-duration: 600ms;
	background: #FFF;
	border: 0;
	border-radius: 3px;
	box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5), 0 1px 10px 0 rgba(0, 0, 0, 0.15);
	display: flex;
	justify-content: center;
	align-items: center;
	background-repeat: no-repeat !important;
	background-size: cover !important;
	height: inherit;
	position: relative
}
.cmplz-blocked-content-container.gmw-map-cover, .cmplz-wp-video.gmw-map-cover {
	max-height: 100%;
	position: absolute
}
.cmplz-blocked-content-container.cmplz-video-placeholder, .cmplz-wp-video.cmplz-video-placeholder {
	padding-bottom: initial
}
.cmplz-blocked-content-container iframe, .cmplz-wp-video iframe {
	visibility: hidden;
	max-height: 100%;
	border: 0 !important
}
.cmplz-blocked-content-container .cmplz-custom-accept-btn, .cmplz-wp-video .cmplz-custom-accept-btn {
	white-space: normal;
	text-transform: initial;
	cursor: pointer;
	position: absolute !important;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 200px;
	font-size: 14px;
	padding: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	text-align: center;
	z-index: 98;
	line-height: 23px
}
.cmplz-blocked-content-container .cmplz-custom-accept-btn:focus, .cmplz-wp-video .cmplz-custom-accept-btn:focus {
	border: 1px dotted #cecece
}
.cmplz-blocked-content-container .cmplz-blocked-content-notice, .cmplz-wp-video .cmplz-blocked-content-notice {
	white-space: normal;
	text-transform: initial;
	position: absolute !important;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 300px;
	font-size: 14px;
	padding: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	color: #fff;
	text-align: center;
	z-index: 98;
	line-height: 23px
}
.cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-links, .cmplz-wp-video .cmplz-blocked-content-notice .cmplz-links {
	display: block;
	margin-bottom: 10px
}
.cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-links a, .cmplz-wp-video .cmplz-blocked-content-notice .cmplz-links a {
	color: #fff
}
.cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-blocked-content-notice-body, .cmplz-wp-video .cmplz-blocked-content-notice .cmplz-blocked-content-notice-body {
	display: block
}
.cmplz-blocked-content-container div div {
	display: none
}
.cmplz-wp-video .cmplz-placeholder-element {
	width: 100%;
	height: inherit
}
@keyframes cmplz-fadein {
	from {
		opacity: 0
	}
	to {
		opacity: 1
	}
}
















































/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------ ETS RANNOU - Mars 2026 ------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------------------------------- */





/* boutons */
#page a.wp-block-button__link,
#wrapper div.wpforms-container-full button[type=submit],
#sf .item p:last-child a,
#dp p:nth-child(2) a,
#job .droite :last-child a,
#map .map a {
    border-radius: 99px;
    display: inline-block;
    background: #313231;
    color: #FFFFFF;
    padding: 12px 46px 12px 15px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    font-size: 16px;
    height: auto;
    box-shadow: none;
    width: auto;
    position: relative;
}
#page a.wp-block-button__link:hover,
#wrapper div.wpforms-container-full button[type=submit]:hover,
#sf .item p:last-child a:hover,
#dp p:nth-child(2) a:hover,
#job .droite :last-child a:hover,
#map .map a:hover {
	background: #525552 !important;
	box-shadow: 0 0 12px rgba(0,0,0,0.25);
	padding-right: 54px;
}
#page a.wp-block-button__link div,
#wrapper div.wpforms-container-full button[type=submit] div,
#sf .item p:last-child a div,
#dp p:nth-child(2) a div,
#job .droite :last-child a div,
#map .map a div {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 32px;
    background: rgba(255,255,255,0.4);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
	transition: 0.3s;
}
#page a.wp-block-button__link:hover div,
#wrapper div.wpforms-container-full button[type=submit]:hover div,
#sf .item p:last-child a:hover div,
#dp p:nth-child(2) a:hover div,
#job .droite :last-child a:hover div,
#map .map a:hover div {
    width: 40px;
}





.has-noir-color { color: #313231 !important; }
.has-noir-background-color { background-color: #313231 !important; }

.has-blanc-color { color: #FFFFFF !important; }
.has-blanc-background-color { background-color: #FFFFFF !important; }

.has-gris-color { color: #F5F5F5 !important; }
.has-gris-background-color { background-color: #F5F5F5 !important; }

.has-rouge-color { color: #E02515 !important; }
.has-rouge-background-color { background-color: #E02515 !important; }

.has-jaune-color { color: #F4B143 !important; }
.has-jaune-background-color { background-color: #F4B143 !important; }

.has-bleu-color { color: #0F9AF4 !important; }
.has-bleu-background-color { background-color: #0F9AF4 !important; }





#wrapper p,
#wrapper li,
#wrapper a {
	color: #5A5B5A;
}
#wrapper .has-blanc-color p,
#wrapper .has-blanc-color li,
#wrapper .has-blanc-color a {
	color: #FFFFFF;
}





#page header a.wp-block-button__link:hover {
	padding-right: 46px;
}
#page header a.wp-block-button__link:hover div {
	width: 32px;
}


/* boutons rouges */
#page header a.wp-block-button__link,
#sf .item p:last-child a,
#map .map a {
    background: #E02515;
}
#page header a.wp-block-button__link:hover,
#page a.wp-block-button__link.has-rouge-background-color:hover,
#sf .item p:last-child a:hover,
#map .map a:hover {
	background: #c52011 !important;
}

/* boutons jaunes */
#sf .item:nth-child(2) p:last-child a,
#page a.wp-block-button__link.has-jaune-background-color {
	background: #f2ae3f !important; /* jaune légèrement différent de celui du logo, pour que le blanc se voit mieux */
}
#sf .item:nth-child(2) p:last-child a:hover,
#page a.wp-block-button__link.has-jaune-background-color:hover {
	background: #d69937 !important;
}

/* boutons bleus */
#sf .item:nth-child(3) p:last-child a {
	background: #0F9AF4;
}
#sf .item:nth-child(3) p:last-child a:hover,
#page a.wp-block-button__link.has-bleu-background-color:hover {
	background: #0f81ce !important;
}







header.scrolled {
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	height: 80px;
}
header:before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
	transition: 0.3s;
	pointer-events: none;
	opacity: 0;
}
header.scrolled:before {
	opacity: 1;
}
header.scrolled #headerBoxes {
	right: 25px;
}
header.scrolled #nested {
	right: 175px;
}
header.scrolled #logo img {
    height: 50px;
}






#top {
    background: #F5F5F5;
	position: relative;
	height: 100vh;
	box-sizing: border-box;
    padding-top: 140px;
}
#top > svg {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}
#top > svg:first-child {
    top: 0;
    right: 0;
}
#top > svg:last-child {
    bottom: -35px;
    left: 0;
}


#top .flex {
    width: 90%;
    max-width: 900px;
    margin: 60px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 60px;
    right: 0;
}
#top .flex h1 {
    max-width: 680px;
}


#top .slick {
    margin: 0 auto;
	position: relative;
    z-index: 3;
	animation: diapo 2s ease-in-out;
	animation-delay: 0.8s;
	animation-fill-mode: both;
}
@keyframes diapo {
	0% {
		width: calc(100% - 80px);
		height: calc(100vh - 80px);
		top: -100px;
	}
	50% {
		width: 85%;
		height: calc(100vh - 80px);
		top: -100px;
	}
	100% {
		width: 85%;
		height: calc(100vh - 385px);
		top: 0px;
	}
}
body.home #headerInner {
	animation: appear 0.6s ease-out;
	animation-delay: 2.1s;
	animation-fill-mode: both;
}
@keyframes appear {
	0% {
		opacity: 0;
		position: relative;
		bottom: -20px;
	}
	100% {
		opacity: 1;
		position: relative;
		bottom: 0px;
	}
}

#top .slick .slick-dots {
    opacity: 0;
    transform: translateY(20px);
}
#top .slick .arrow {
    opacity: 0;
}
#top .slick .arrow.next {
    transform: translateX(-20px);
}
#top .slick .arrow.prev {
    transform: translateX(20px);
}
#top .slick.slick-ready .slick-dots {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}
#top .slick.slick-ready .arrow {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease;
}

#top .slick:not(.slick-initialized),
#top .slick:not(.slick-initialized) > div {
	border-radius: 8px;
	overflow: hidden;
}
#top .slick:not(.slick-initialized) > :first-child img {
	animation: dezoom 0.8s linear;
	animation-fill-mode: both;
}
@keyframes dezoom {
	0% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}


#top .slick:not(.slick-initialized) > :not(:first-child) {
    display: none;
}
#top .slick:not(.slick-initialized) * {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#top .slick img {
	border-radius: 8px;
	width: 100%;
    height: 100%;
    object-fit: cover;
}
#top .slick-list,
#top .slick-track {
    height: 100%;
}
span.arrow {
    width: 48px;
    height: 48px;
    background: #313231;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: -90px;
}
span.arrow.prev {
    right: auto;
    left: -90px;
}
span.arrow.prev svg {
	transform: rotate(180deg);
}
span.arrow:hover {
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}
ul.slick-dots {
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
}
ul.slick-dots li {
	width: 16px;
	height: 16px;
	background: #FFFFFF;
	opacity: 0.5;
	border-radius: 50%;
	transition: 0.3s;
	cursor: pointer;
	overflow: hidden;
	box-sizing: border-box;
    border: 1px solid #c4c4c4;
}
ul.slick-dots li:before {
	display: none;
}
ul.slick-dots li.slick-active {
	opacity: 1;
}
ul.slick-dots li button {
	opacity: 0;
	cursor: pointer;
}







#mots {
    height: 110px;
    display: flex;
    align-items: center;
	position: relative;
    background: #FFFFFF;
    z-index: 1;
}
#mots span {
    font-family: 'Instrument Serif';
    font-size: 35px;
    margin: 0 50px;
}
#mots .marquee {
    flex-shrink: 0;
    display: flex;
    align-items: center;
	animation: marquee 20s linear infinite;
	will-change: transform;
}
@keyframes marquee {
	0% {
		transform: translate3d(0%, 0, 0);
	}
	100% {
		transform: translate3d(-100%, 0, 0);
	}
}






#sf {
    background: #F5F5F5;
    padding: 100px 0 0 0;
}
body.home .c,
#travaux {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
#sf .c > :not(.flex) {
    max-width: 420px;
}
#sf .flex {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
}
#sf .item {
    width: 32%;
    background: #FFFFFF;
    padding: 24px 24px 80px 24px;
    box-sizing: border-box;
    border-radius: 8px;
	position: relative;
}
#sf .item .img {
    border-radius: 8px;
    overflow: hidden;
    height: 100px;
    margin-bottom: 20px;
}
#sf .item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: 0.4s;
}
#sf .item p:last-child {
    margin: 0;
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    text-align: right;
}
#sf .item:has(a:hover) img {
    transform: scale(1.1);
    filter: brightness(0.85);
}

body:not(.home) #page,
body:not(.home) #wrapper {
	background: #F5F5F5;
}



@media (max-width: 1600px) {
	header {
		height: 120px;
	}
	#top {
		padding-top: 120px;
	}
	#chapterPicture {
		margin-top: 120px;
	}
	h1 {
		font-size: 44px;
	}
	#top .flex h1 {
		max-width: 570px;
	}
	#top .flex {
		max-width: 850px;
		margin: 40px auto 0;
		bottom: 40px;
	}
	@keyframes diapo {
		0% {
			width: calc(100% - 80px);
			height: calc(100vh - 80px);
			top: -80px;
		}
		50% {
			width: 85%;
			height: calc(100vh - 80px);
			top: -80px;
		}
		100% {
			width: 85%;
			height: calc(100vh - 305px);
			top: 0px;
		}
	}
	span.arrow {
		right: -70px;
	}
	span.arrow.prev {
		left: -70px;
	}
}




@media (max-width: 1370px) {
	#page header a.wp-block-button__link {
		font-size: 14px;
	}
	#headerBoxes {
		right: 35px;
	}
	#logo {
		left: 35px;
	}
	@keyframes diapo {
		0% {
			width: calc(100% - 70px);
			height: calc(100vh - 80px);
			top: -80px;
		}
		30% {
			width: calc(100% - 70px);
			height: calc(100vh - 80px);
			top: -80px;
		}
		100% {
			width: calc(100% - 70px);
			height: calc(100vh - 305px);
			top: 0px;
		}
	}
	#nested .firstLevel li a {
		font-size: 13px;
	}
	#logo img {
		height: 46px;
	}
	#top .slick {
		animation-duration: 1.4s;
	}
	#top .slick:not(.slick-initialized) > :first-child img {
		animation-duration: 1.2s;
	}
	body.home #headerInner {
		animation-delay: 1.6s;
	}
	span.arrow {
		right: 25px;
		border: 1px solid #eeeeee;
		box-shadow: 0 0 15px rgba(0,0,0,0.3);
	}
	span.arrow.prev {
		left: 25px;
		z-index: 1;
	}
	h1 {
		font-size: 40px;
	}
	#top .flex h1 {
		max-width: 530px;
	}
	#top .flex {
		bottom: 45px;
	}
	#nested {
		right: 180px;
	}
}



@media (max-width: 1270px) {
	#nested {
		backdrop-filter: none;
		background: none;
		border-radius: 0;
		border: none;
	}
	#headerBoxes,
	header.scrolled #headerBoxes {
		right: 90px;
	}
	header {
		height: 90px;
	}
	#top {
		padding-top: 90px;
	}
	@keyframes diapo {
		0% {
			width: calc(100% - 70px);
			height: calc(100vh - 70px);
			top: -55px;
		}
		30% {
			width: calc(100% - 70px);
			height: calc(100vh - 70px);
			top: -55px;
		}
		100% {
			width: calc(100% - 70px);
			height: calc(100vh - 275px);
			top: 0px;
		}
	}
	#nested .firstLevel li ul li a {
		padding: 10px;
	}


	header.scrolled {
		height: 70px;
	}
	header.scrolled #logo img {
		height: 40px;
	}
	#chapterPicture {
		margin-top: 90px;
	}
}


@media (max-width: 1200px) {
	body.home #headerInner {
		animation: none;
	}
	#top .slick {
		animation: none;
		width: calc(100% - 70px);
        height: 56vw;
	}
	#top {
		height: auto;
		padding-bottom: 44px;
	}
	#top .flex {
		position: relative;
		bottom: 0;
	}
	#top > svg {
		display: none;
	}
	#top .slick:not(.slick-initialized) > :first-child img {
		animation-timing-function: ease;
		animation-delay: 0.3s;
		animation-duration: 1.8s;
	}
	#nested ul.firstLevel li#menu-item-48 a {
		border-radius: 99px;
		display: inline-block;
		background: #E02515;
		color: #FFFFFF;
		padding: 12px 24px;
		line-height: 1;
		transition: 0.3s;
		border: none;
		margin: -5px 0 0 -1px;
	}
}
@media (max-width: 860px) {
	#top .flex {
		text-align: center;
		flex-direction: column;
		gap: 30px;
		margin-top: 55px;
	}
	#top {
		padding-bottom: 60px;
	}
}




@media (max-width: 1000px) {
	#sf .flex {
		overflow-x: scroll;
		scroll-snap-type: x mandatory;
		padding-left: 6.5%;
	}
	#sf .c {
		width: 100%;
	}
	#sf .c > :not(.flex) {
		width: 87%;
		margin-left: auto;
		margin-right: auto;
		max-width: initial;
	}
	#sf .item {
		width: 80vw;
		flex-shrink: 0;
		margin-right: 6.5vw;
		scroll-snap-align: center;
	}
	#sf .item .img {
		height: 25vw;
	}
	#sf .flex::-webkit-scrollbar {
		display: none;
	}
}





@media (max-width: 500px) {
	.title_and_bc h1 {
		margin-bottom: 20px;
	}
	.title_and_bc h1 br {
		display: none;
	}
	.widget_breadcrumb {
		font-size: 13px;
	}
	body:not(.home):not(.error404) .title_and_bc {
		padding: 35px 6.5%;
	}
	#nested ul.firstLevel > li {
		padding-right: 30px;
	}




	#logo {
		left: 6.5%;
	}
	#top .slick {
		width: 87%;
		height: 50vw;
	}
	span.arrow,
	#headerBoxes {
		display: none !important;
	}
	#top .flex {
		width: 87%;
	}
	h1 {
		font-size: 8vw;
	}
	#logo img {
		height: 40px;
	}
	header div #nested, header.scrolled div #nested {
		right: 6.5%;
		margin-right: -1px;
	}
	ul.slick-dots {
		gap: 8px;
	}
	ul.slick-dots li {
		width: 12px;
		height: 12px;
	}
	#mots span {
		font-size: 24px;
		margin: 0 35px;
	}
	h2, #dp > p:first-child {
		font-size: 28px;
	}
	h3 {
		font-size: 18px;
	}
	#sf .flex {
		margin-top: 28px;
	}
	#sf .flex::after {
		content: "";
		flex: 0 0 20px;
	}
	#sf .item {
		width: 75vw;
	}
	#sf {
		padding-top: 50px;
	}

	header.scrolled {
		height: 58px;
	}
	header.scrolled #logo img {
		height: 32px;
	}
	ul.slick-dots {
		bottom: 22px;
	}
	#wrapperInner {
		padding-top: 55px;
	}
}
