/*
Theme Name: Mathilde Freyssinet Theme Astra
Theme URI: https://www.leofreyssinet.fr
Author: Freyssinet Léo
Author URI: https://www.leofreyssinet.fr
Description: Theme by Leo - Astra child theme
Template: astra
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Version: 1.0.0
*/
/******************************/
/********** Variables CSS *****/
/******************************/
:root {
	--main-color: var(--ast-global-color-0, #00594f);
	--sub-color: var(--ast-global-color-2, #f1ede7);
	--third-color: var(--ast-global-color-1, #1fad9e);
    --white : #fff;
	--grey: #C7C6C6;
	--black : #000;
    
	--raleway: 'Raleway', sans-serif;
	--open-dyslexic: 'OpenDyslexic', var(--raleway);
	--eb-garamond: 'EB Garamond', var(--raleway);
	--league-gothic: 'League Gothic', var(--raleway);
	--arial : "Arial Narrow", Arial, sans-serif;
}

/* --------------- GENERAL ---------------- */
html {
	font-size: 62.5%;
	margin: 0!important;
	padding: 0;
	width: 100%;
	height: 100%;
}
body {
	position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
	font-size: 1.5rem;
	font-family: var(--raleway);
	color: #000;
}
#wpadminbar {
	opacity: .7;
	pointer-events: none;
}
#wpadminbar * {
	pointer-events: all;
}

h1, .entry-content h1 {
	font-family: var(--league-gothic);
	font-weight: 400;
	font-size: 10rem;
	line-height: 1;
	letter-spacing: .2rem;
	margin: 0 0 .2lh 0;
}
h2, .entry-content h2 {
	font-family: var(--league-gothic);
	font-weight: 400;
	letter-spacing: .2rem;
	font-size: 10rem;
	line-height: 1;
	margin: 0 0 .2lh 0;
}
h3, .entry-content h3 {
	font-family: var(--league-gothic);
	font-weight: 400;
	letter-spacing: .1rem;
	font-size: 4rem;
	text-transform: uppercase;
	line-height: 1;
	margin: 0 0 .2lh 0;
}
h4, .entry-content h4 {
	font-family: var(--league-gothic);
	font-weight: 400;
	letter-spacing: .1rem;
	font-size: 3.5rem;
	line-height: 1;
	margin: 0 0 .3lh 0;
}
h5, .entry-content h5 {

}

/* définit un style commun pour les paragraphes */
p, a, ul li {
	font-family: var(--raleway);
	font-weight: 400;
	line-height: 1.4;
	font-size: 2rem;
}
p, .entry-content p {
	margin-top: 0;
	margin-bottom: .3lh;
}
.entry-content ul li {
	padding-bottom: .1lh;
}
p a, .entry-content li a {
	padding-bottom: 2px;
	border-bottom: var(--main-color) dotted 1px;
	text-decoration: none!important;
	color: inherit;
	font-weight: inherit;
}
.entry-content p a, .entry-content li a {
	font-size: inherit;
	color: var(--main-color);	
}
.entry-content p a:hover, .entry-content li a:hover{
	color: var(--third-color);
	border-bottom-color: var(--third-color);
}
p a:hover {
	color: var(--third-color);
}
body .entry-content .has-ast-global-color-0-background-color a, body .entry-content .has-ast-global-color-0-background-color .entry-content li a {
	border-bottom: var(--sub-color) dotted 1px;
	color: var(--sub-color);
}
body .entry-content .has-ast-global-color-0-background-color .entry-content p a, body .entry-content .has-ast-global-color-0-background-color .entry-content li a {
	color: var(--sub-color);
}

strong {
	font-weight: 700;
}
em {
    font-style: italic;
}
.color-black {
	color: var(--black);
}
.color-white {
	color: var(--white);
}

/*********BOUTON**********/
.wp-block-button .wp-element-button, .CForm .wpcf7-submit {
	display: inline-block;
	padding: 12px 20px;
	background-color: var(--main-color);
	border: 1px solid var(--main-color);
	border-radius: 7px;
	box-sizing: border-box;
	line-height: 1;

	color: var(--sub-color);
	font-family: var(--league-gothic);
	font-weight:400;
	font-size: 2.4rem;
	letter-spacing: .1rem;
	text-decoration: none!important;
	text-transform: uppercase;

	transition: all .3s ease-in-out;
}
.wp-block-button .wp-element-button:hover, .CForm .wpcf7-submit:hover {
	background-color: transparent;
	border: 1px solid var(--main-color);
	color: var(--main-color);
}

.has-ast-global-color-0-background-color .wp-block-button .wp-element-button, body.scroll0 #masthead .wp-block-button .wp-element-button, body.mob_scroll0 #masthead .wp-block-button .wp-element-button, .has-ast-global-color-0-background-color .CForm .wpcf7-submit {
	background-color: var(--sub-color);
	border: 1px solid var(--sub-color);
	color: var(--main-color);
}
.has-ast-global-color-0-background-color .wp-block-button .wp-element-button:hover, body.scroll0 #masthead .wp-block-button .wp-element-button:hover, body.mob_scroll0 #masthead .wp-block-button .wp-element-button:hover, .has-ast-global-color-0-background-color .CForm .wpcf7-submit:hover {
	background-color: transparent;
	border: 1px solid var(--sub-color);
	color: var(--sub-color);
}

/****************************/
/**********SPECIFIC**********/
/****************************/
.FlexContainer {
	display: flex!important;
	flex-flow: row wrap;
}
.ContainerFlex {
	display: flex;
	flex-flow: column;
}
.center-row {
	display: flex!important;
	flex-flow: row wrap;
	align-items: center;
}
.align-center-row {
	align-items: center;
}
.justify-center-row {
	justify-content: center;
}
.align-end-row {
	align-items: flex-end!important;
}
.justify-end-row {
	justify-content: end;
}
.justify-between-row {
	justify-content: space-between;
}
.justify-around-row {
	justify-content: space-around;
}
/* enlève la marge interne*/
.no-padding {
	padding: 0!important;
}
/* enlève la marge externe*/
.no-margin {
	margin: 0!important;
}
/* bouton non cliquable */
.no-click {
	pointer-events: none;
	cursor: none;
}
/* sections en fullwidth */
.fullwidth {
	width: 100%!important;
	max-width: 100%!important;
}
/* Centre le background et remplit la div */
.full-background-fit {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
/* cache le after et le before */
.no-after:after {
	visibility: hidden!important;
}
.no-before:before {
	visibility: hidden!important;
}
.no-desktop {
	display: none!important;
}
@media (max-width: 980px) {
	.no-desktop {
		display: unset!important;
	}
	.no-tablet {
		display: none!important;
	}
}
@media (max-width: 768px) {
	.no-tablet {
		display: unset!important;
	}
	.no-mobile {
		display: none!important;
	}
}
.min-width {
	width: 60%!important;
	margin: auto;
}

.text_image {
	height: 2.5rem;
	padding: 0 10px;
}
.img-zoom, .img-zoom * {
	overflow: hidden;
}
.img-zoom img {
	transition: all .5s ease-out;
}
.img-zoom:hover img {
	transform: scale(1.1);
}

/****************************/
/********** HEADER **********/
/****************************/
#main-header {
	padding-bottom: 40px;
	padding-top: calc(var(--masthead-height, 80px) + 40px);
	background-color: var(--sub-color);
	min-height: 600px;
}
#main-header .header-wrapper {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
}
#main-header .header-wrapper.has-thumb {
	grid-template-columns: repeat(2, 1fr);
}
#main-header .header-subtitle {
	font-family: var(--raleway);
	font-weight: 400;
	text-transform: uppercase;
	font-size: 4rem;
	line-height: 1.2;
	margin: 0 0 .5lh 0;
}

#main-header .header-thumb {
	height: 700px;
}

#main-header .header-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/****************************/
#masthead {
	position: fixed!important;
	width: 100%;
	top: 0;
	left: 0;
	transition: all .2s ease-in-out;
	z-index: 9999;
}
body:is(.scroll0, .mob_scroll0) #masthead {
	background-color: var(--main-color);
	border-bottom: 1px solid var(--sub-color);
}
#masthead .site-title a {
	color: var(--main-color);
}
body:is(.scroll0, .mob_scroll0, .ast-main-header-nav-open) #masthead .site-title a {
	color: var(--sub-color);
}
#masthead .custom-logo {
	transition: all .2s ease-out;
}
body:is(.scroll0, .mob_scroll0, .ast-main-header-nav-open) #masthead .custom-logo {
	filter: invert(1) brightness(1000%);
}
#masthead .main-header-menu > li {
	padding: 17px 25px;
}
#masthead .main-header-menu li a.menu-link {
	position: relative;
	padding: 0;
	color: var(--main-color);
	transition: all .2s ease-in-out;
	background-color: transparent;
	width: fit-content;
	margin: auto;
}
#masthead .main-header-menu li a.menu-link::after {
	position: absolute;
	display: block;
	content: '';

	width: 0%;
	height: 2px;

	bottom: -2px;
	left: 0;
	background-color: var(--main-color);
	transition: inherit;
}
#masthead .main-header-menu li a.menu-link:hover::after {
	width: 100%;
}
body:is(.scroll0, .mob_scroll0, .ast-main-header-nav-open) #masthead .main-header-menu > li > a.menu-link {
	color: var(--sub-color);
}
#masthead .main-header-menu .sub-menu {
	background-color: var(--sub-color);
	padding: 10px;
	margin-top: 16px;
}
#masthead .main-header-menu .sub-menu li a.menu-link {
	margin: auto;

}
#masthead .main-header-menu .sub-menu::before {
	height: 20px;
}

/****************************/
/********** CONTENT *********/
/****************************/
.slide_up {
	opacity: 0; /*ANIMATION GSAP*/
}
.slide_down {
	opacity: 0; /*ANIMATION GSAP*/
}
.slide_right {
	opacity: 0; /*ANIMATION GSAP*/
}
.slide_left {
	opacity: 0; /*ANIMATION GSAP*/
}

.image-cadre:not(figure), figure.image-cadre img {
	border-radius: 7px;
	border: 1px solid var(--main-color);
}
.has-ast-global-color-0-background-color .image-cadre:not(figure), .has-ast-global-color-0-background-color figure.image-cadre img {
	border-color: var(--sub-color);
}

/*  SLICK SLIDER  */
.slick-slider {
	position: relative;
	display: none;
	opacity: 0;
	transition: all 3s ease-out;
}
body.jq-init .slick-slider {
	display: block;
	opacity: 1;
}
.slick-slider .slick-slide {
	padding: 0 20px;
	box-sizing: border-box;
}
.slick-slider .slick-track {
  display: flex;
}
.slick-slider .slick-slide {
  display: flex;
  height: auto;
  align-items: center;
  justify-content: center;
}
.slick-slider .slick-arrow {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translate(-150%, -50%);
	margin: 0;
	padding: 0;
	font-size: 0;
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	border-radius: 7px;
	border: 1px solid var(--main-color);
	background-color: var(--main-color);
	transition: all .1s ease-out;
}
.slick-slider .slick-arrow.slick-next {
	position: absolute;
	top: 50%;
	left: unset;
	right: 0;
	transform: translate(150%, -50%) rotate(180deg);
}
.has-ast-global-color-0-background-color .slick-slider .slick-arrow {
	border: 1px solid var(--sub-color);
	background-color: var(--sub-color);
}
.slick-slider .slick-arrow:hover {
	border: 1px solid var(--main-color);
	background-color: var(--sub-color);
}
.has-ast-global-color-0-background-color .slick-slider .slick-arrow:hover {
	border: 1px solid var(--sub-color);
	background-color: var(--main-color);
}
.slick-slider .slick-arrow::after {
	position: absolute;
	content: "←";
	display: block;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	background-color: var(--sub-color);
	mask: url("./assets/svg/picto_arrow.svg") center / contain no-repeat;
	transition: inherit;
}
.has-ast-global-color-0-background-color .slick-slider .slick-arrow::after {
	background-color: var(--main-color);
}
.slick-slider .slick-arrow:hover::after {
	background-color: var(--main-color);
}
.has-ast-global-color-0-background-color .slick-slider .slick-arrow:hover::after {
	background-color: var(--sub-color);
}
/* CONTACT FORM 7 */
.CForm {
	width: 100%;
	gap: 20px;
}
.CForm .CF-full {
	width: 100%;
}
.CForm .CF-half { width: calc(50% - 10px); }
.CForm .CF-onethird { width: calc(33% - 10px); }
.CForm .CF-twothird { width: calc(66% - 10px); }
.CForm .CF-onequarter {	width: calc(24% - 10px); }
.CForm .CF-threequarter { width: calc(74% - 10px); }

.CForm label {
	font-size: 2rem;
	color: var(--main-color);
}
.CForm input, .CForm textarea {
	font-size: 1.6rem;
	color: var(--main-color);
}
.CForm input:focus, .CForm textarea:focus {
	border: 1px solid var(--main-color)!important;
}
.CForm .CF-highlight {
	color: #b33;
	font-weight: 800;
}

.CForm .CF-checkbox .wpcf7-checkbox {
	display: flex;
	flex-wrap: wrap;
}
.CForm .CF-checkbox .wpcf7-list-item {
	margin: 0 0 5px 1%;
	width: 32%;
	min-width: 250px;
}
.CForm .CF-radio .wpcf7-radio {
	display: block;
}
.CForm .CF-radio .wpcf7-list-item {
	margin: 0 0 5px 1%;
	width: 99%;
}
.CForm .wpcf7-not-valid {
	border: 1px solid #dc3232;
}
.CForm .wpcf7-not-valid-tip {
	position: absolute;
	font-size: 1rem;
	bottom: 0;
	transform: translate(0,80%);
}
.CForm .CF-number label > span {
	width: 150px;
	display: block;
}
.CForm .CF-textarea .wpcf7-textarea  {
	resize: vertical;
}

.CForm .CF-hr {
	position: relative;
}
.CForm .CF-hr h3 {
	display: inline-block;
	padding-right: 20px;
	margin: 0;
	background-color: var(--sub-color);
}
.CForm .CF-hr::before {
	position: absolute;
	content: "";
	display: block;

	width: 100%;
	height: 2px;
	background-color: var(--main-color);

	top: 50%;
	left: 0;
	transform: translate(0, -50%);
	z-index: -1;
}


/****************************/
/***********FOOTER***********/
/****************************/
#main-footer .get-menu li a.menu-link {
	color: var(--sub-color);
	position: relative;
	font-size: 1.6rem;
}
#main-footer .get-menu li:not(:last-child) a.menu-link::after {
	position: absolute;
	content: "-";

	right: 0;
	top: 50%;
	transform: translate(50%, -50%);
	pointer-events: none;
}


/****************************/
/********DESKTOP ONLY********/
/****************************/
@media (min-width: 981px) {

	
}
/****************************/
/**********TABLETTE**********/
/****************************/
@media (max-width: 980px) {
	h1, .entry-content h1 {
		font-size: 6rem;
	}
	h2, .entry-content h2 {
		font-size: 6rem;
	}
	h3, .entry-content h3 {
		font-size: 3.5rem;
	}
	h4, .entry-content h4 {
		font-size: 3rem;
	}
	h5, .entry-content h5 {

	}
	p, a, ul li {
		font-size: 1.8rem;
	}
	.entry-content ul li {
		padding-bottom: .3lh;
	}

	#main-header{
		min-height: 400px
	}

	#main-header .header-subtitle {
		font-size: 3rem;
	}
	#main-header .header-thumb {
		height: 600px;
	}
	#masthead .menu-toggle{
		position: relative;
		border: none;
		outline: none;
		scale: 1.2;
		color: var(--main-color);
		transition: all .2s ease-out;
	}
	body:is(.scroll0, .mob_scroll0, .ast-main-header-nav-open) #masthead .menu-toggle {
		color: var(--sub-color);
	}
	#masthead .menu-toggle::after {
		position: absolute;
		display: block;
		content: 'MENU';
	
		width: max-content;
		bottom: 0;
		left: 50%;
		transform: translate(-50%, 25%);
		font-size: 1rem;
	}
	body.ast-main-header-nav-open #masthead .menu-toggle::after {
		content: 'FERMER';
	}
	#masthead .menu-toggle svg {
		fill: var(--main-color);
		scale: 1.2;
		transition: all .2s ease-out;
	}
	body:is(.scroll0, .mob_scroll0, .ast-main-header-nav-open) #masthead .menu-toggle svg {
		fill: var(--sub-color);
	}
	#masthead .ast-mobile-header-content {
		display: block!important;
	}
	#masthead .main-header-menu {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		padding: calc(var(--masthead-height) + 20px) 20px 20px 20px;
		background-color: var(--main-color);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
		opacity: 0;
		transform: translateY(-100%);
		transition: all .3s ease-in-out;
	}

	body.ast-main-header-nav-open #masthead .main-header-menu {
		opacity: 1;
		transform: translateY(0%);
	}
	#masthead .main-header-menu > li {
		padding: 15px 5px;
	}
	#masthead .main-header-menu li a.menu-link {
		font-size: 4rem;
	}
	#masthead .main-header-menu .ast-menu-toggle {
		right: 0;
		width: 100%;
		padding: inherit;
		height: 9rem;
		background: transparent;
	}
	#masthead .main-header-menu .ast-menu-toggle .ast-icon {
		float: right;
		color: var(--sub-color);
	}
	#masthead .main-header-menu .ast-submenu-expanded .ast-icon {
		transform: rotate(180deg);
	}
	#masthead .main-header-menu .sub-menu {
		background-color: transparent;
		padding: 0;
	}
	#masthead .main-header-menu .sub-menu li a.menu-link {
		color: var(--sub-color);
		
	}
	#masthead .main-header-menu .sub-menu li a.menu-link > .ast-icon {
		display: none;
	}
	
	body .entry-content .is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	body .entry-content .is-layout-grid > .wp-block-group {
		grid-column: span 1;
	}

	.slick-slider .slick-arrow {
		top: unset;
		bottom: 0;
		left: 50%;
		transform: translate(-125%,150%);
	}
	.slick-slider .slick-arrow.slick-next {
		top: unset;
		bottom: 0;
		left: unset;
		right: 50%;
		transform: translate(125%,150%) rotate(180deg);
	}

	#main-footer .get-menu {
		flex-direction: column;
	}	
	#main-footer .get-menu li a.menu-link::after {
		display: none;
	}
}
/****************************/
/*********SMARTPHONE*********/
/****************************/
@media (max-width: 768px) {
	body .is-mobile-center {
		text-align: center;
	}
	body .is-mobile-flex {
		display: flex;
	}
	body .is-mobile-vertical {
		flex-direction: column;
	}
	/****************************/
	h1, .entry-content h1 {
		font-size: 5rem;
	}
	h2, .entry-content h2 {
		font-size: 5rem;
	}
	h3, .entry-content h3 {
		font-size: 3.1rem;
	}
	h4, .entry-content h4 {
		font-size: 2.7rem;
	}
	h5, .entry-content h5 {

	}
	p, a, ul li {
		font-size: 1.7rem;
	}
	#main-header .header-wrapper, #main-header .header-wrapper.has-thumb  {
		grid-template-columns: repeat(1, 1fr);
	}
	#main-header .header-thumb {
		order: -1;
	}
	#main-header .header-thumb {
		height: 300px;
	}
	#main-header .header-subtitle {
		font-size: 2.2rem;
		letter-spacing: 0.1rem;
	}
	#masthead .main-header-menu li a.menu-link {
		font-size: 2.5rem;
	}
	#masthead .main-header-menu .ast-menu-toggle {
		height: 7rem;
	}

	.contact-img {
		min-height: 300px!important;
	}

	#main-footer .get-menu li a.menu-link::after {
		display: none;
	}

	body .is-layout-grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}
	
	/* CONTACT FORM 7 */
	.CForm .CF-half, .CForm .CF-onethird, .CForm .CF-twothird, .CForm .CF-onequarter, .CForm .CF-threequarter  {
		width: calc(100% - 10px);
	}

	.CForm .CF-checkbox .wpcf7-list-item {
		width: 99%;
	}

	body .entry-content .is-layout-grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

}
@media (max-width: 480px) {
	

}
/****************/
/** KEYFRAMES ***/
/****************/