/* =========================================================
   FLEXIBLE CONTENT — HEXAGRAM
   ========================================================= */


/* ---------------------------------------------------------
   Module : Texte + Image
   --------------------------------------------------------- */

.hexagram-texte-image-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0;
	gap: 4%;
}

.hexagram-texte-image-column {
	flex: 0 0 48%;
	width: 48%;
	max-width: 48%;
	margin: 30px 0;
	padding: 0;
	min-width: 0;
}

.hexagram-texte-image-column--texte {
	display: flex;
	align-items: center;
}

.hexagram-texte-image-column--image {
	display: flex;
	align-items: center;
	justify-content: center;
}

.hexagram-texte-image-content {
	width: 100%;
	margin: 0;
	padding: 0;
}

.hexagram-texte-image-column .fusion-text {
	width: 100%;
	margin: 0;
	padding: 0;
}

.hexagram-texte-image-column--image .fusion-image-element,
.hexagram-texte-image-column--image .fusion-imageframe {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
}

.hexagram-texte-image-column--image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
}


/* Tablette et mobile */

@media only screen and (max-width: 1200px) {

	.hexagram-texte-image-row {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		width: 100%;
		gap: 0;
	}

	.hexagram-texte-image-column {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0;
		margin: 0;
	}

	.hexagram-texte-image-column--texte {
		order: 1;
		margin-bottom: 30px;
	}

	.hexagram-texte-image-column--image {
		order: 2;
		margin-top: 0;
	}

	.hexagram-texte-image-column--image .hexagram-texte-image-content,
	.hexagram-texte-image-column--image .fusion-image-element,
	.hexagram-texte-image-column--image .fusion-imageframe,
	.hexagram-texte-image-column--image img {
		width: 100%;
		max-width: 100%;
	}

}

/* =========================================================
   Module : Texte 2 colonnes
   ========================================================= */

.hexagram-texte-2-colonnes {
	padding: 30px 0;
}

.hexagram-texte-2-colonnes__entete {
	margin-bottom: 40px;
}

.hexagram-texte-2-colonnes .fusion-separator {
	margin: 0 0 40px;
	width: 100%;
}

.hexagram-texte-2-colonnes__colonnes {
	display: flex;
	gap: 8%;
	align-items: flex-start;
}

.hexagram-texte-2-colonnes__colonne {
	flex: 1;
	min-width: 0;
}

.hexagram-texte-2-colonnes__colonne .fusion-text {
	margin: 0;
}

@media (max-width: 800px) {

	.hexagram-texte-2-colonnes__colonnes {
		flex-direction: column;
		gap: 30px;
	}

}

/* =========================================================
   Module : Accordéon
   ========================================================= */

.hexagram-accordeon {
	position: relative;
	padding: 60px 0;
	background-color: var(--awb-color8);
	box-shadow: 0 0 0 100vmax var(--awb-color8);
	clip-path: inset(0 -100vmax);
	color: var(--awb-color1);
}


/* ---------------------------------------------------------
   Introduction
   --------------------------------------------------------- */

.hexagram-accordeon__introduction {
	width: 48%;
	max-width: 48%;
	margin-bottom: 80px;
}

.hexagram-accordeon__titre-section {
	margin: 0 0 20px;
	color: var(--awb-color1);
}

.hexagram-accordeon__titre-section,
.hexagram-accordeon__titre-section *,
.hexagram-accordeon__titre-section .fusion-title-heading {
	color: var(--awb-color1) !important;
}

.hexagram-accordeon__description,
.hexagram-accordeon__description p,
.hexagram-accordeon__description li,
.hexagram-accordeon__description a {
	color: var(--awb-color1) !important;
}

.hexagram-accordeon__description > :first-child {
	margin-top: 0;
}

.hexagram-accordeon__description > :last-child {
	margin-bottom: 0;
}


/* ---------------------------------------------------------
   Items
   --------------------------------------------------------- */

.hexagram-accordeon__items {
	width: 100%;
	border-top: 1px solid var(--awb-color1);
}

.hexagram-accordeon__item {
	border-bottom: 1px solid var(--awb-color1);
}


/* ---------------------------------------------------------
   Bouton
   --------------------------------------------------------- */

.hexagram-accordeon__titre-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	width: 100%;
	padding: 25px 0;
	margin: 0;
	border: 0;
	background: transparent;
	color: var(--awb-color1);
	cursor: pointer;
	text-align: left;

	font-family: var(--awb-typography1-font-family);
	font-size: 1.87rem;
	font-weight: var(--awb-typography1-font-weight);
	font-style: var(--awb-typography1-font-style);
	line-height: 1.15;

	transition: color .25s ease;
}

.hexagram-accordeon__titre-item:hover,
.hexagram-accordeon__titre-item:focus-visible,
.hexagram-accordeon__item.is-open .hexagram-accordeon__titre-item {
	color: var(--awb-color6);
	outline: none;
}

.hexagram-accordeon__titre-texte {
	flex: 1;
}


/* ---------------------------------------------------------
   Icônes
   --------------------------------------------------------- */

.hexagram-accordeon__icone {
	width: 22px;
	height: 22px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.hexagram-accordeon__icone i {
	font-size: 16px;
	color: currentColor;
	position: absolute;
	transition:
		opacity .25s ease,
		transform .25s ease;
}

.hexagram-accordeon__icone-fermee {
	opacity: 1;
	transform: rotate(0deg);
}

.hexagram-accordeon__icone-ouverte {
	opacity: 0;
	transform: rotate(-180deg);
}

.hexagram-accordeon__item.is-open .hexagram-accordeon__icone-fermee {
	opacity: 0;
	transform: rotate(180deg);
}

.hexagram-accordeon__item.is-open .hexagram-accordeon__icone-ouverte {
	opacity: 1;
	transform: rotate(0deg);
}


/* ---------------------------------------------------------
   Panneau animé
   --------------------------------------------------------- */

.hexagram-accordeon__panneau {
	max-height: 0;
	overflow: hidden;
	opacity: 0;

	transition:
		max-height .45s ease,
		opacity .25s ease;
}

.hexagram-accordeon__item.is-open .hexagram-accordeon__panneau {
	opacity: 1;
}

.hexagram-accordeon__contenu-item {
	padding: 0 50px 45px 0;

	color: var(--awb-color1);

	font-family: var(--awb-typography4-font-family);
	font-size: var(--awb-typography4-font-size);
	font-weight: var(--awb-typography4-font-weight);
	font-style: var(--awb-typography4-font-style);
}

.hexagram-accordeon__contenu-item,
.hexagram-accordeon__contenu-item p,
.hexagram-accordeon__contenu-item li,
.hexagram-accordeon__contenu-item a,
.hexagram-accordeon__contenu-item strong {
	color: var(--awb-color1) !important;
}

.hexagram-accordeon__contenu-item > :first-child {
	margin-top: 0;
}

.hexagram-accordeon__contenu-item > :last-child {
	margin-bottom: 0;
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width:1200px){

	.hexagram-accordeon__introduction{
		width:100%;
		max-width:100%;
	}

}

@media (max-width:800px){

	.hexagram-accordeon{
		padding:40px 0;
	}

	.hexagram-accordeon__introduction{
		margin-bottom:50px;
	}

	.hexagram-accordeon__titre-item{
		font-size:1.5rem;
		gap:20px;
		padding:22px 0;
	}

	.hexagram-accordeon__contenu-item{
		padding:0 30px 35px 0;
	}

}

/* =========================================================
   Module : CTA coloré
   ========================================================= */

.hexagram-cta-colore {
	position: relative;
	display: flex;
	align-items: flex-start;
	width: 100%;
	min-height: 418px;
	margin: 30px 0 30px;
	padding: 60px;
	overflow: visible;
	background-color: var(--awb-color2);
}


/* ---------------------------------------------------------
   Contenu
   --------------------------------------------------------- */

.hexagram-cta-colore__contenu {
	position: relative;
	z-index: 2;
	width: 60%;
	max-width: 780px;
}

.hexagram-cta-colore__titre {
	margin: 0 0 25px;
}

.hexagram-cta-colore__titre h2,
.hexagram-cta-colore__titre .fusion-title-heading {
	color: var(--awb-color8);
}

.hexagram-cta-colore__texte,
.hexagram-cta-colore__texte p,
.hexagram-cta-colore__texte li,
.hexagram-cta-colore__texte a,
.hexagram-cta-colore__texte strong {
	color: var(--awb-color8);
}

.hexagram-cta-colore__texte > :first-child {
	margin-top: 0;
}

.hexagram-cta-colore__texte > :last-child {
	margin-bottom: 0;
}

.hexagram-cta-colore__texte ul,
.hexagram-cta-colore__texte ol {
	padding-left: 1.25em;
}


/* ---------------------------------------------------------
   Bouton
   --------------------------------------------------------- */

.hexagram-cta-colore__bouton-conteneur {
	margin-top: 30px;
}

.hexagram-cta-colore__bouton {
	position: relative;
	z-index: 2;

	--button_accent_color: var(--awb-color1);
	--button_accent_hover_color: var(--awb-color1);
	--button_border_hover_color: var(--awb-color1);
	--button_gradient_top_color: var(--awb-color4);
	--button_gradient_bottom_color: var(--awb-color4);
	--button_gradient_top_color_hover:
		hsla(
			var(--awb-color4-h),
			var(--awb-color4-s),
			calc(var(--awb-color4-l) - 8%),
			var(--awb-color4-a)
		);
	--button_gradient_bottom_color_hover:
		hsla(
			var(--awb-color4-h),
			var(--awb-color4-s),
			calc(var(--awb-color4-l) - 8%),
			var(--awb-color4-a)
		);
}


/* ---------------------------------------------------------
   Demi-cercles décoratifs
   --------------------------------------------------------- */

.hexagram-cta-colore__decoration {
	position: absolute;
	z-index: 1;
	right: -40px;
	bottom: -40px;
	width: min(34%, 460px);
	line-height: 0;
	pointer-events: none;
}

.hexagram-cta-colore__decoration img {
	display: block;
	width: 100%;
	height: auto;
}


/* ---------------------------------------------------------
   Tablette
   --------------------------------------------------------- */

@media (max-width: 1200px) {

	.hexagram-cta-colore {
		min-height: 390px;
		margin-bottom: 90px;
		padding: 50px;
	}

	.hexagram-cta-colore__contenu {
		width: 72%;
		max-width: 720px;
		margin-bottom:
	}

	.hexagram-cta-colore__decoration {
		right: -55px;
		bottom: -70px;
		width: min(38%, 420px);
	}

}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 800px) {

	.hexagram-cta-colore {
		display: block;
		min-height: 480px;
		margin: 30px 0 90px;
		padding: 40px 30px;
	}

	.hexagram-cta-colore__contenu {
		width: 100%;
		max-width: none;
	}

	.hexagram-cta-colore__titre {
		margin-bottom: 20px;
	}

	.hexagram-cta-colore__bouton-conteneur {
		margin-top: 25px;
		margin-bottom: 140px;
	}

	.hexagram-cta-colore__decoration {
		right: -40px;
		bottom: -60px;
		width: min(85%, 380px);
	}

}

/* =========================================================
   Module : CTA avec image
   ========================================================= */

.hexagram-cta-image {
	display: flex;
	align-items: stretch;
	gap: 7.68%;
	width: 100%;
	margin: 30px 0;
}


/* ---------------------------------------------------------
   Colonnes
   --------------------------------------------------------- */

.hexagram-cta-image__colonne-image,
.hexagram-cta-image__colonne-contenu {
	display: flex;
	width: calc(50% - 3.84%);
}

.hexagram-cta-image__colonne-image {
	align-items: center;
	justify-content: center;
}

.hexagram-cta-image__colonne-contenu {
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}


/* ---------------------------------------------------------
   Image
   --------------------------------------------------------- */

.hexagram-cta-image__image {
	width: 100%;
	text-align: center;
	line-height: 0;
}

.hexagram-cta-image__img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}


/* ---------------------------------------------------------
   Contenu
   --------------------------------------------------------- */

.hexagram-cta-image__titre {
	width: 100%;
	margin: 0 0 25px;
}

.hexagram-cta-image__titre h2,
.hexagram-cta-image__titre .fusion-title-heading {
}

.hexagram-cta-image__texte {
	width: 100%;
}

.hexagram-cta-image__texte > :first-child {
	margin-top: 0;
}

.hexagram-cta-image__texte > :last-child {
	margin-bottom: 0;
}

.hexagram-cta-image__texte ul,
.hexagram-cta-image__texte ol {
	padding-left: 1.25em;
}


/* ---------------------------------------------------------
   Bouton
   --------------------------------------------------------- */

.hexagram-cta-image__bouton-conteneur {
	margin-top: 30px;
}

.hexagram-cta-image__bouton {
	--button_accent_color: var(--awb-color1);
	--button_accent_hover_color: var(--awb-color1);
	--button_border_hover_color: var(--awb-color1);
	--button_gradient_top_color: var(--awb-color4);
	--button_gradient_bottom_color: var(--awb-color4);
	--button_gradient_top_color_hover:
		hsla(
			var(--awb-color4-h),
			var(--awb-color4-s),
			calc(var(--awb-color4-l) - 8%),
			var(--awb-color4-a)
		);
	--button_gradient_bottom_color_hover:
		hsla(
			var(--awb-color4-h),
			var(--awb-color4-s),
			calc(var(--awb-color4-l) - 8%),
			var(--awb-color4-a)
		);
}


/* ---------------------------------------------------------
   Tablette
   --------------------------------------------------------- */

@media (max-width: 1200px) {

	.hexagram-cta-image {
		flex-direction: column;
		gap: 50px;
	}

	.hexagram-cta-image__colonne-image,
	.hexagram-cta-image__colonne-contenu {
		width: 100%;
	}

	.hexagram-cta-image__image {
		max-width: 600px;
		margin: 0 auto;
	}

}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 800px) {

	.hexagram-cta-image {
		gap: 35px;
		margin: 30px 0;
	}

	.hexagram-cta-image__titre {
		margin-bottom: 20px;
	}

	.hexagram-cta-image__bouton-conteneur {
		margin-top: 25px;
	}

}