/***************************************
			Global layout
****************************************/

body {
	max-width: 1920px;
	margin: 0 auto;
	overflow-x: hidden;
}

footer {
	margin-block-start: 0 !important;
}

section, .padding-section {
	padding-top:  var(--space-xxl);
	padding-bottom:  var(--space-xxl);
}
.padding-edge {
	padding-left: var(--space-edge);
	padding-right: var(--space-edge);
}


/***************************************
			Global style
****************************************/

:root {
	scroll-behavior: smooth;
}
*, *:before, *:after {
	box-sizing: border-box;
}
p:empty { display: none }
strong, b {
	font-weight: var(--bold-fontweight);
}
:where(p) {
	text-wrap: pretty;
}
h1, h2, h3, .is-style-subtitle, .is-style-tagline, blockquote p, .wp-element-button, figcaption {
	text-wrap: balance;
}
a {
	transition-duration: var(--global-duration);
}
figure img, figure video {
	object-fit: cover;
	object-position: center;
}
sup {
    line-height: 0;
}
.has-l-font-size {
	line-height: 1.4;
}
.has-xl-font-size, .has-xxl-font-size {
	line-height: 1.3;
}


/***************************************
			Block styles
****************************************/

:is(.has-primary-background-color, .has-secondary-background-color, .has-contrast-high-background-color),
:is(.has-primary-background-color, .has-secondary-background-color, .has-contrast-high-background-color) :where(h1,h2,h3,h4) {
	--color-accent: white;
	color: white;
    -webkit-text-fill-color: initial;
    background-image: none;

}
:is(.wp-element-button, .wp-block-button__link).has-primary-base-background-color {
	color: var(--wp--preset--color--primary);
}

:is(p, .wp-block-group.has-background, .wp-block-cover):not(.alignfull) {
	border-radius: var(--frame-radius);
}
.wp-block-cover.content-stretch {
	align-items: stretch;
}
@media screen and (min-width: 1920px) {
	.wp-block-cover.alignfull:is(.screen-height, [style="min-height:100vh;aspect-ratio:unset;"]) {
		min-height: unset !important;
		aspect-ratio: 3 / 2 !important;
	}
}

@media screen and (min-width: 601px) {
	.wp-block-media-text.is-image-fill-element > .wp-block-media-text__content {
		padding-top: var(--space-l) !important;
		padding-bottom: var(--space-l) !important;
	}
}

@media screen and (min-width: 782px) {
	.wp-block-columns.is-style-full-height-image > .wp-block-column:not(:has(>figure:only-child)) {
		padding-top: var(--space-l);
		padding-bottom: var(--space-l);
	}
}

@media screen and (max-width: 599px) {
	blockquote {
		margin-inline-start: 0;
		margin-inline-end: 0;
		padding-left: 1em !important;
		padding-right: 1em !important;
	}
}

h1, h2, .text-gradient {
  -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, var(--wp--preset--color--primary), var(--color-accent));
}
h3, .text-gradient-alt {
  -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(-45deg, var(--wp--preset--color--primary), var(--color-accent));
}

.wp-block-boldblocks-icon-separator {
	margin-top: var(--space-xs) !important;
}
.wp-block-boldblocks-icon-separator__inner {
	--bb--icon-width: 1.5em !important;
	--bb-border: 2px solid var(--wp--preset--color--primary-low) !important;
	--bb--icon-fill-color: var(--wp--preset--color--primary-low);
	width: calc(5em + var(--fluid-ratio) * 50);
}
.wp-block-boldblocks-icon-separator__inner svg {
	fill: var(--wp--preset--color--primary-low);
}

.has-price-tag {
	position: relative;
}
.has-price-tag * {
	margin: 0 !important;
}
.price-tag {
	position: absolute !important;
	left: -0.5em;
	top: -1em;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 4em;
}
.price-tag > p {
	color: white;
	position: absolute !important;
	font-weight: 700;
	text-align: center;
	transform: translateY(2px);
}


/***************************************
			Header
****************************************/

body {
	--header-height: calc(var(--space-xs) * 2 + 66px);
}

.main-header a.custom-logo-link {
	padding: 8px;
}
.main-header a.custom-logo-link > img {
	height: 50px !important;
	width: auto;
}

body.overlay-header .wp-site-blocks {
	position: relative;
}

body.overlay-header .wp-site-blocks > header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;
}

body.overlay-header main, body:not(.overlay-header):not(.sticky-header) main {
	margin-block-start: 0;
}
body:not(.overlay-header).sticky-header main {
	margin-block-start: var(--header-height);
}


/***************************************
			Sticky header
****************************************/

@media screen and (min-width: 600px) {

	body.sticky-header .wp-site-blocks > header {
		position: fixed;
		width: 100%;
		margin: 0 auto;
		top: var(--wp-admin--admin-bar--height, 0px);
		z-index: 99;
	}
	body.sticky-header:not(.overlay-header) main {
		margin-top: var(--header-height);
	}
	body.sticky-header .wp-site-blocks > header,
	body.sticky-header .wp-site-blocks > header :is(.header-logo, .wp-block-navigation__responsive-container-open) {
		transition-duration: 0.4s;
	}
	body.sticky-header .wp-site-blocks > header {
		transition-property: top;
	}
	body.sticky-header:not(.scroll-top):not(.scroll-up):not(.scroll-offset) .wp-site-blocks > header {
		top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--header-height));
	}
	
	body.sticky-header.sticky-effect .wp-site-blocks > header {
		transition-property: top, -webkit-backdrop-filter, backdrop-filter, box-shadow, background-color, padding-top, padding-bottom;
	}
	body.sticky-header.sticky-effect:not(.scroll-top) .wp-site-blocks > header {
		box-shadow: 0 5px 10px -10px rgba(128, 128, 128, 0.5);
	}
	body.sticky-header.sticky-effect .wp-site-blocks > header::before {
		content: '';
		position: absolute;
		inset: 0;
	}
	body.sticky-header.sticky-effect:not(.scroll-top) .wp-site-blocks > header::before {
		-webkit-backdrop-filter: blur(20px);
		backdrop-filter: blur(20px);
	}

	body.sticky-header.sticky-effect-1 .wp-site-blocks > header .header-row {
		transition-duration: 0.4s;
		transition-property: top, -webkit-backdrop-filter, backdrop-filter, box-shadow;
		padding-left: var(--space-edge);
		padding-right: var(--space-edge);
	}
	body.sticky-header.sticky-effect-1:not(.scroll-top) .wp-site-blocks > header .header-row {
		box-shadow: 0 5px 10px -10px rgba(128, 128, 128, 0.5);
		-webkit-backdrop-filter: blur(20px);
		backdrop-filter: blur(20px);
	}

	/* Logo */
	body.sticky-header .wp-site-blocks > header .main-header > * {
		transition-duration: 0.4s;
		transition-property: filter, opacity;
	}
	body.sticky-header:not(.scroll-top) .wp-site-blocks > header .main-header > * {
		opacity: 0.5;
		filter: saturate(0);
	}

}


/***************************************
			Off canvas menu
****************************************/

@media screen and (max-width: 599px) {
	.k-modal-menu > div {
		max-width: none;
	}
}
.k-close-menu > div {
	position: relative;
}
.k-modal-menu .k-close-modal {
	position: absolute;
	top: 1em;
	right: 1em;
}


/***************************************
			Page header
****************************************/

body.overlay-header main header {
	padding-top: calc(var(--header-height) + var(--space-s));
}

@media screen and (min-width: 782px) {
	main:has(> .entry-content > section:first-child .push-header) header h1 {
		text-align: left;
	}
	.push-header {
		position: relative;
		z-index: 1;
		margin-top: -13em !important;
	}
}


/***************************************
			Section dividers
****************************************/

section, footer {
  position: relative;
}
section::after, footer::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(var(--wp--preset--color--primary) 50%, oklch( from var(--wp--preset--color--secondary) 0.7 c h) 50%);
  opacity: 0.4;
}


/***************************************
			Home
****************************************/

@media screen and (min-width: 782px) {
	header.hero .wp-block-cover__background {
		background-color: var(--color-accent) !important;
		opacity: 0.45 !important;
		mix-blend-mode: plus-lighter;
	}
	header.hero h1 {
		letter-spacing: 5px;
	}
}
@media screen and (max-width: 781px) {
	header.hero .wp-block-cover__background {
		background-color: var(--wp--preset--color--base) !important;
		opacity: 0.5 !important;
		mix-blend-mode: normal;
	}
	header.hero .wp-block-cover__image-background {
		filter: contrast(1.9);
		object-position: 68% 70%;
		object-fit: none;
		transform: scale(-2,2) translateX(29px);
	}
	header.hero .wp-block-cover__inner-container > .wp-block-group {
		flex-wrap: wrap;
		padding: var(--space-stretch);
	}
	header.hero figure {
		position: absolute;
		opacity: 0.4;
		inset: 0;
	}
	header.hero figure img {
		height: 100%;
		object-position: center 25%;
		aspect-ratio: unset !important;
	}
	header.hero .hero-features {
		gap: 0.4em;
		margin-top: 30dvh;
	}
}


/***************************************
			Décorations
****************************************/

.pomme-de-pin-ici-maintenant {
	position: absolute !important;
	opacity: 0.05;
	right: 5%;
	bottom: -9rem;
}
@media screen and (max-width: 599px) {
	.pomme-de-pin-ici-maintenant > * {
		--svg--width: 15rem;
	}	
}

.pomme-de-pin-a-propos {
	top: 5rem;
	left: 5%;
	position: absolute !important;
	opacity: 0.1;
}
.pomme-de-pin-libre {
	bottom: -4rem;
	left: -5rem;
	position: absolute !important;
	opacity: 0.1;
}


/***************************************
			Citations décalées
****************************************/

@media screen and (min-width:768px) {
	.shift-quotes blockquote.wp-block-quote {
		max-width: 15ch;
		margin: 1em 1.5em !important;
		padding: 0;
	}
	.shift-quotes blockquote:nth-of-type(odd) {
		float: right;
	}
	.shift-quotes blockquote:nth-of-type(even) {
		float: left;
	}
}
@media screen and (min-width:1200px) {
	.shift-quotes blockquote.wp-block-quote:nth-of-type(odd) {
		margin-right: -10% !important;
	}
	.shift-quotes blockquote.wp-block-quote:nth-of-type(even) {
		margin-left: -10% !important;
	}
}


/***************************************
			Books section
****************************************/

.book-grid .wp-element-button {
	margin-top: -1.3em;
}
.book-grid img {
	box-shadow: 0.25em 0.25em 0px 0px var(--wp--preset--color--primary), -0.25em -0.25em 0px 0px var(--wp--preset--color--primary-low);
}


/***************************************
			Témoignages section
****************************************/

.yoga-shadow img {
	box-shadow: 7em -3em 0px 3em var(--wp--preset--color--secondary-base);
}


/***************************************
			Outils coaching
****************************************/

.outils p {
	background-image: linear-gradient(135deg, var(--wp--preset--color--primary-base) 0%, var(--wp--preset--color--secondary-base) 100%);
	border-radius: var(--radius-frame);
	margin: 0;
	padding: var(--badge-padding);
}


/***************************************
			Footer
****************************************/

.footer a {
	text-decoration: none;
}

.footer .footer-social-link {
	min-height: 200px;
	height: 200px;
	width: 100%;
	padding: 0;
}
.footer .footer-social-link p {
	color: var(--wp--preset--color--base) !important;
	font-size: var(--fontsize-l);
	font-size: 22px;
}
.footer .footer-social-link svg {
	fill: white;
}
.footer .footer-social-link .wp-block-cover__inner-container {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
}
.footer .footer-social-link .wp-block-cover__inner-container p {
	margin-bottom: 0;
}
.footer .footer-social-link .wp-block-cover__inner-container .wp-block-boldblocks-svg-block {
	margin-top: 86px;
}
.footer .footer-social-link.facebook .wp-block-cover__inner-container .wp-block-boldblocks-svg-block {
	margin-top: 89px;
}
.footer .footer-social-link.tiktok .wp-block-cover__inner-container .wp-block-boldblocks-svg-block {
	margin-top: 92px;
}
.footer .footer-social-link .wp-block-cover__inner-container figure {
	margin-top: -40px;
}

.footer .footer-social-link svg {
	width: 70px;
	height: 70px;
	opacity: 0.3;
}

.footer .footer-social-link.instagram .wp-block-cover__background {
	background: radial-gradient(circle farthest-corner at 32% 106%,#ffe17d 0%,#ffcd69 10%,#fa9137 28%,#eb4141 42%,transparent 82%),linear-gradient(135deg,#234bd7 12%,#c33cbe 58%);
	opacity: 0.7;
}
.footer .footer-social-link.youtube .wp-block-cover__background {
	background-color: #8c0e0e !important;
	opacity: 0.6;
}
.footer .footer-social-link.facebook .wp-block-cover__background {
	background-color: #3b5998 !important;
	opacity: 0.6;
}
.footer .footer-social-link.tiktok .wp-block-cover__background {
	background: linear-gradient(90deg,#69c9d0,#ee1052);
	opacity: 0.8;
}

@media screen and (max-width: 599px) {
	.footer-bottom-links {
		flex-direction: column !important;
	}
}


/***************************************
			Utility classes
****************************************/

.padding-stretch {
	padding: var(--space-stretch) !important;
}

.text-pretty {
	text-wrap: pretty;
}
.text-balance, .text-balance * {
	text-wrap: balance;
}

.fontsize-xs {
	font-size: var(--fontsize-xs);
}
.fontsize-hero {
	font-size: var(--fontsize-hero);
}

.gap-stretch {
	gap: var(--space-stretch) !important;
}

.wp-block-columns.cols-sm-2 > .wp-block-column {
	flex-basis: 34% !important;
}

@media screen and (min-width: 1280px) {
	.cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.cols-1-2 {
		grid-template-columns: 1fr 2fr;
	}
	.cols-2-3 {
		grid-template-columns: 2fr 3fr;
	}
	.cols-3-2 {
		grid-template-columns: 3fr 2fr;
	}
	.cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.cols-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
@media screen and (max-width: 1279px) {
	.is-layout-grid.cols-lg-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media screen and (max-width: 959px) {
	.is-layout-grid.cols-md-1 {
		grid-template-columns: 1fr;
	}
	.is-layout-grid.cols-md-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.flex-col-md {
		flex-direction: column !important;
	}
	.flex-col-md.invert-cols > :last-child {
		order: initial;
	}
}
@media screen and (max-width: 639px) {
	.is-layout-grid.cols-sm-1 {
		grid-template-columns: 1fr;
	}
	.is-layout-grid.cols-sm-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.flex-col-sm {
		flex-direction: column !important;
	}
	:is(.flex-col-sm, .cols-sm-1).invert-cols > :last-child {
		order: initial;
	}
}

@media screen and (max-width: 781px) {
	.wp-block-columns.is-stacked-on-mobile.invert-cols > :last-child {
		order: initial;
	}
}

.parent-link {
    position: relative;
}
.parent-link:not(.has-child-selected) a[href]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
}

.parent-link, .parent-link * {
    transition-duration: var(--global-duration);
}
:is(.parent-link:hover, .parent-link:focus-within) {
	filter: brightness(1.1);
}
:is(.parent-link:hover, .parent-link:focus-within) .wp-element-button {
	background-color: var(--wp--preset--color--primary);
	color: white !important;
	border-color: transparent;
}


.static {
	position: static;
}
.relative {
	position: relative;
}
.square {
	aspect-ratio: 1;
}
.overflow-hidden {
	overflow: hidden;
}
.overflow-x-hidden {
	overflow-x: hidden;
}
.overflow-clip {
	overflow: clip;
}
.overflow-x-clip {
	overflow-x: clip;
}

.push-top {
	margin-bottom: auto !important;
}
.push-bottom {
	margin-top: auto !important;
}

[class*="overlay--"] {
    position: relative;
}
[class*="overlay--"]::before {
    position: absolute;
	inset: 0;
    content: "";
}

.overlay--primary::before {
	border-radius: var(--frame-radius);
	background-color: var(--wp--preset--color--primary);
	opacity: 0.5;
	mix-blend-mode: overlay;
}
.overlay--accent::before {
	border-radius: var(--frame-radius);
	background-color: var(--color-accent);
	opacity: 0.5;
	mix-blend-mode: overlay;
}

/**
 * Specifics
 */

.page-id-2009 header h1 {
	max-width: 20ch !important;
}
