/*
Theme Name: Nancy Hanse
Theme URI: 
Author: Marlène Cotterlaz
Author URI: https://www.marlenecotterlaz.fr/
Description: 
Requires at least: 6.0
Tested up to: 6.4.1
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nancyhanse
Tags: 
*/

html {
	scroll-behavior: smooth;
}
* {
	box-sizing: border-box;
	transition: all 0.5s;
}
body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}
@media screen and (min-width: 800px) {
	.mobile {
		display: none!important;
	}
}
@media screen and (max-width: 800px) {
	.desktop {
		display: none!important;
	}
}

@font-face {
    font-family: 'icons';
    src:  url('assets/fonts/icons.eot?qki799');
    src:  url('assets/fonts/icons.eot?qki799#iefix') format('embedded-opentype'),
      url('assets/fonts/icons.ttf?qki799') format('truetype'),
      url('assets/fonts/icons.woff?qki799') format('woff'),
      url('assets/fonts/icons.svg?qki799#icons') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
  
  [class^="icon-"]::before, [class*=" icon-"]::before {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icons' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
  
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .icon-newsletter:before {
	content: "\e900";
  }
  .icon-mail:before {
	content: "\e901";
  }
  .icon-tel:before {
	content: "\e902";
  }
  .icon-linkedin:before {
	content: "\e903";
  }
  

/* -----------------------------------
	= LAYOUT
 ---------------------------------- */
div.wp-site-blocks main {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

 /* ---------------
	HEADER
 --------------- */
.site-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.admin-bar .site-header {
	top: 32px;
}
.home .site-header {
	position: fixed;
}
.site-header nav li a {
	position: relative;
}
.site-header nav li a::before {
	content: "";
	position: absolute;
	top: 110%;
	left: 0;
	right: 0;
	height: 0;
	background: var(--wp--preset--color--current);
	transition: all 0.5s;
}
.site-header nav li.current-menu-item a::before {
	height: 1px;
}
.site-header nav li a:hover::before,
.site-header nav li a:focus::before {
	height: 3px;
}
.site-header nav li:nth-child(1).current-menu-item a,
.site-header nav li:nth-child(1) a:hover,
.site-header nav li:nth-child(1) a:focus {
	color: var(--wp--preset--color--peche);
}
.site-header nav li:nth-child(1).current-menu-item a::before,
.site-header nav li:nth-child(1) a::before {
	background: var(--wp--preset--color--peche);
}
.site-header nav li:nth-child(2).current-menu-item a,
.site-header nav li:nth-child(2) a:hover,
.site-header nav li:nth-child(2) a:focus {
	color: var(--wp--preset--color--aubergine);
}
.site-header nav li:nth-child(2).current-menu-item a::before,
.site-header nav li:nth-child(2) a::before {
	background: var(--wp--preset--color--aubergine);
}
.site-header nav li:nth-child(3).current-menu-item a,
.site-header nav li:nth-child(3) a:hover,
.site-header nav li:nth-child(3) a:focus {
	color: var(--wp--preset--color--violet);
}
.site-header nav li:nth-child(3).current-menu-item a::before,
.site-header nav li:nth-child(3) a::before {
	background: var(--wp--preset--color--violet);
}
/*.site-header nav li.current-menu-item a::before {
	height: 1px;
	background: var(--wp--preset--color--current);
}*/

.site-header nav li a {}
.site-header {}

 /* ---------------
	FOOTER
 --------------- */
.site-footer {}

footer .wp-block-cover::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.2);
}

/*
	ICONS
*/
.site-footer p {
	position: relative;
}
.site-footer p::before {
	display: block;
	margin: 0 0 10px;
	text-align: center;
	font-size: 3rem;
}
.site-footer p a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.site-footer p:nth-child(1):hover,
.site-footer p:nth-child(1):hover a {
	color: var(--wp--preset--color--orange);
}
.site-footer p:nth-child(2):hover,
.site-footer p:nth-child(2):hover a {
	color: var(--wp--preset--color--peche);
}
.site-footer p:nth-child(3):hover,
.site-footer p:nth-child(3):hover a {
	color: var(--wp--preset--color--rose);
}
.site-footer p:nth-child(4):hover,
.site-footer p:nth-child(4):hover a {
	color: var(--wp--preset--color--violet);
}

/*
	NAV
*/
.site-footer nav {
	flex-direction: column;
}
.site-footer nav::before {
	content: "";
	display: block;
	margin: auto;
	padding-top: 3%;
	width: 100%;
	max-width: 800px;
	background: url(assets/images/ombre.png) center center no-repeat;
	background-size: contain;
}
.site-footer nav li + li::before {
	content: "-";
	margin-right: var(--wp--preset--spacing--layout);
	opacity: 0.4;
}
.site-footer nav li a {
	opacity: 0.4;
}
.site-footer nav li a:hover,
.site-footer nav li a:focus {
	opacity: 0.8;
}

 /* ---------------
	MAIN
 --------------- */
 .entry-content {
	margin-block-start: var(--wp--preset--spacing--current);
	padding: 0 var(--wp--preset--spacing--window);
 }

/* -----------------------------------
	= COMPONENTS
 ---------------------------------- */

/* ---------------
	COVER
 --------------- */
 .wp-block-cover span[class*=has-background] {
	mix-blend-mode: color;
 }

 /* ---------------
	BLOQUOTE
 --------------- */
 .wp-block-quote {
	position: relative;
	margin: var(--wp--preset--spacing--current) 0;
	padding: 0 var(--wp--preset--spacing--current);
 }
 .wp-block-quote::before {
	content: '"';
	position: absolute;
	top: -10px;
	left: var(--wp--preset--spacing--text);
	font-size: 5rem;
	font-family: var(--wp--preset--font-family--cormorant) !important;
	line-height: 1;
 }
 .wp-block-quote::after {
	content: '"';
	position: absolute;
	top: -10px;
	right: var(--wp--preset--spacing--text);
	font-size: 5rem;
	font-family: var(--wp--preset--font-family--cormorant) !important;
	line-height: 1;
 }
 
 @media screen and (max-width: 800px) {
	.wp-block-quote::before {
		left: 0;
	}
	.wp-block-quote::after {
		right: 0;
	}

 }

 /* ---------------
	LIST
 --------------- */
.encolonne {
	display: flex;
	gap: var(--wp--preset--spacing--layout);
	padding: 0;
	list-style: none;
}
.encolonne li {
	flex: 1;
	text-align: center;
}
.encolonne strong {
	display: block;
	font-size: var(--wp--preset--font-size--small);
}

.home .encolonne li::before {
	content: "";
	display: block;
	margin: 0 auto 10px;
	width: 20px;
	height: 20px;
	border-radius: 100%;
}
.encolonne li:nth-child(1):before {
	background-color: var(--wp--preset--color--orange);
}
.encolonne li:nth-child(2):before {
	background-color: var(--wp--preset--color--peche);
}
.encolonne li:nth-child(3):before {
	background-color: var(--wp--preset--color--rose);
}
.encolonne li:nth-child(4):before {
	background-color: var(--wp--preset--color--violet);
}
.encolonne li:nth-child(5):before {
	background-color: var(--wp--preset--color--bleu);
}
@media screen and (max-width: 800px) {
	.encolonne {
		flex-direction: column;
	}
}

 /* ---------------
	TESTIMONIAL
 --------------- */
 .wp-block-socialproofslider {
	font-weight: 700;
  font-family: var(--wp--preset--font-family--cormorant);
  font-style: italic;
  font-size: var(--wp--preset--font-size--medium);
	text-shadow: 0 0 10px rgba(0,0,0,.8);
	line-height: 1.2;
 }
 .wp-block-socialproofslider p:hover {
	color: var(--wp--preset--color--white)!important;
 }
 .wp-block-socialproofslider .testimonial-text {
	padding-bottom: 0!important;
 }
 .social-proof-slider-wrap ul.slick-dots > li {
	margin: 0!important;
 }
 .wp-block-socialproofslider {}

 /* ---------------
	IMAGE
 --------------- */
.wp-block-image.portrait {
	position: relative;
}
.wp-block-image.portrait::before {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 1;
	transform: translate(-50%, 0) rotate(180deg);
	padding-top: 10%;
	width: 800px;
	background: url(assets/images/ombre.png) center bottom no-repeat;
	background-size: contain;
}
.wp-block-image.portrait img {
	margin-left: 80px;
}
.wp-block-image.portrait + h2 {
	position: relative;
	z-index: 2;
}
@media screen and (max-width: 800px) {
	.wp-block-image.portrait::before {
		width: 100%;
	}
	.wp-block-image.portrait img {
		margin-left: 0;
	}
	
}

/* -----------------------------------
	= PATTERNS
 ---------------------------------- */

 /* ---------------
	INTRO
 --------------- */
.nh-intro {
	z-index: 1;
}
.nh-intro .wp-block-site-logo img {
	filter: brightness(100);
}
.nh-intro h1 {
	position: absolute;
	top: -5000px;
}
.nh-intro blockquote {
	margin-block-end: var(--wp--preset--spacing--window)!important;
	padding: 0;
	text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.nh-intro blockquote::before,
.nh-intro blockquote::after {
	display: none;
}
.nh-intro blockquote cite {
	font-size: 90%;
}
@media screen and (max-height: 600px) {
	.nh-intro blockquote {
		margin-top: var(--wp--preset--spacing--text);
	}
}

/* ---------------
	CTA
 --------------- */
.nh-cta {
	position: relative;
	z-index: 3;
	margin-top: calc(var(--wp--preset--spacing--window) * -1)!important;
}
.nh-cta > div {
	position: relative;
	background: var(--wp--preset--color--white);
	border-radius: 5px;
	box-shadow: 0 0 20px rgba(0,0,0,0.2);
	transition: all 0.5s;
}
.nh-cta h2 strong {
	display: block;
	font-weight: 900;
	text-transform: uppercase;
}
.nh-cta h2 a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.nh-cta > div:hover {
	box-shadow: 0 0 40px rgba(0,0,0,0.4);
}
.nh-cta {}
.nh-cta {}