/**** SHORTCODE TRANSFORMATIONS ****/

.transformations {
	display: flex;
	flex-wrap:wrap;
	gap: 30px;
}
.transformation{
	width:calc(33.33% - 20px);
}
.transformation__compare {
	position: relative;
	width: 100%;
	user-select: none;
}

.transformation__compare-inner {
	position: relative;
	overflow: hidden;
	border-radius: 0;
	line-height: 0;
	background-color: var(--gris);
}

.transformation__img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

.transformation__img--after {
	position: relative;
	z-index: 1;
}

.transformation__before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 50%;
	height: 100%;
	overflow: hidden;
	isolation: isolate;
	background-color: var(--gris);
}

.transformation__img--before {
	position: absolute;
	top: 0;
	left: 0;
	height: auto;
}

.transformation__handle {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	transform: translateX(-50%);
	cursor: ew-resize;
	touch-action: none;
}

.transformation__handle-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: #fff;
	transform: translateX(-50%);
}

.transformation__handle-grip {
	position: relative;
	z-index: 1;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.transformation__handle-grip::before,
.transformation__handle-grip::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 0;
	height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	transform: translateY(-50%);
}

.transformation__handle-grip::before {
	left: 11px;
	border-right: 5px solid var(--bleu);
}

.transformation__handle-grip::after {
	right: 11px;
	border-left: 5px solid var(--bleu);
}

.transformation__badge {
	position: absolute;
	top: 16px;
	z-index: 3;
	padding: 6px 12px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
	pointer-events: none;
}

.transformation__badge--before {
	left: 16px;
}

.transformation__badge--after {
	right: 16px;
}

.transformation__title {
	margin-top: 15px;
	margin-bottom: 5px!important;
    font-size: 16px;
	text-align:center;
}

.transformation__texte {
	margin-top: 0;
    font-size: 14px;
	text-align:center;
	line-height: normal;
	
}
.transformation__texte p{
	margin-bottom:0;
}

.transformation__compare.is-dragging {
	cursor: ew-resize;
}
@media screen and (max-width:991px){
	.transformations{
		flex-wrap: wrap;
	}
	.transformation {
		width: calc(50% - 15px);
	}
}
@media screen and (max-width:550px){
	.transformations{
		gap:30px 20px;
	}
	.transformation {
		width: 100%;
	}
}


/**** SHORTCODE PRESSE ****/

.presse-slider {
	width: 100%;
}

.presse-slider .slick-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
}
.presse-slider .slick-slide>div {
    height: 100%;
}
.presse-slider__item {
	display: flex !important;
	height:100%;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0 15px;
	box-sizing: border-box;
}

.presse-slider__item img {
	display: block;
	width: auto;
	max-width: 220px;
	max-height: 80px;
	height: auto;
	object-fit: contain;
}

.presse-slider .slick-arrow,
.presse-slider .slick-dots {
	display: none !important;
}

@media screen and (max-width: 600px) {
	.presse-slider__item img {
		max-height: 60px;
		max-width: 120px;
	}
	.presse-slider__item{
		padding:0 7px;
	}
}



/**** SHORTCODE SLIDER IMAGES ****/

.slider-images img {
	display: block;
	width: 100%;
	height: 80vh;
	object-fit: cover;
}



/**** SHORTCODE TEMOIGNAGES ****/

.temoignages-slider-wrap {
	position: relative;
	padding: 0 0px;
}

/* Slick arrows custom */
.temoignages-slider-wrap .slick-prev,
.temoignages-slider-wrap .slick-next {
	width: 40px;
	height: 40px;
	z-index: 10;
}

.temoignages-slider-wrap .slick-prev {
	left: 0;
}

.temoignages-slider-wrap .slick-next {
	right: 0;
}

.temoignages-slider-wrap .slick-prev:before,
.temoignages-slider-wrap .slick-next:before {
	font-size: 36px;
	color: #333;
	opacity: 1;
}

/* Slide item */
.temoignage-slide {
	padding: 0 12px;
	box-sizing: border-box;
}

.temoignage-slide__inner {
	position: relative;
	cursor: pointer;
	overflow: hidden;
	border-radius: 8px;
	display: block;
	line-height: 0;
}

.temoignage-slide__inner img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.3s ease;
	aspect-ratio: 5/8;
    object-fit: cover;
}

.temoignage-slide__inner:hover img {
	transform: scale(1.03);
}

/* Bouton play overlay */
.temoignage-slide__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 68px;
	background: rgba(255, 255, 255, 0.92);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.temoignage-slide__inner:hover .temoignage-slide__play {
	background: #fff;
	transform: translate(-50%, -50%) scale(1.1);
}

.temoignage-slide__play svg {
	width: 28px;
	height: 28px;
	margin-left: 4px;
	fill: var(--bleu);
}

/* Overlay lightbox */
.temoignage-lightbox-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.temoignage-lightbox-overlay.is-active {
	display: flex;
}

/* Conteneur vidéo */
.temoignage-lightbox__content {
	position: relative;
	width: 90vw;
	max-width: 900px;
}

.temoignage-lightbox__video-wrap {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	background: #000;
	border-radius: 6px;
	overflow: hidden;
}

.temoignage-lightbox__video-wrap iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Bouton fermer */
.temoignage-lightbox__close {
	position: absolute;
	top: -44px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
	transition: opacity 0.2s;
}

.temoignage-lightbox__close:hover {
	opacity: 0.7;
}

/* Responsive */
@media (max-width: 767px) {
	.temoignage-slide {
		padding: 0 5px;
	}
}



/**** SHORTCODE CARROUSEL ****/

.carrousel-slider-wrap {
	position: relative;
	width: 100%;
	/* Fallback avant calcul JS — 650 / 500 / 400 */
	height: 650px;
	min-height: 650px;
}

.carrousel-slider-wrap.is-height-ready {
	/* Hauteur fixée en JS selon la ligne Brizy parente */
}

@media screen and (max-width: 991px) {
	.carrousel-slider-wrap:not(.is-height-ready) {
		height: 500px;
		min-height: 500px;
	}
}

@media screen and (max-width: 767px) {
	.carrousel-slider-wrap:not(.is-height-ready) {
		height: 400px;
		min-height: 400px;
	}
}

.carrousel-slider-wrap .slick-prev,
.carrousel-slider-wrap .slick-next {
	width: 40px;
	height: 40px;
	z-index: 10;
}

.carrousel-slider-wrap .slick-prev {
	left: 16px;
	background-image:url('/wp-content/uploads/2026/06/chevron-left-solid.svg');
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center;
}

.carrousel-slider-wrap .slick-next {
	right: 16px;
		background-image:url('/wp-content/uploads/2026/06/chevron-right-solid.svg');
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center;
}

.carrousel-slider-wrap .slick-prev:before,
.carrousel-slider-wrap .slick-next:before {
	font-size: 36px;
	color: #fff;
	opacity: 1;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.carrousel-slide__inner {
	overflow: hidden;
	line-height: 0;
}

.carrousel-slide__inner img {
	display: block;
	width: 100%;
	object-fit: cover;
	transform: scale(1);
	will-change: transform;
}

.carrousel-slider-wrap .slick-next:before,
.carrousel-slider-wrap .slick-prev:before{
	content: '';
}




/**** SHORTCODE CUSTOM NAVIGATION ****/

.custom-navigation {
	width: 100%;
	margin: 0px 0;
}

.custom-navigation__inner {
	display: flex;
	gap:20Px;
}

.custom-navigation__item {
	width: 100%;
	padding: 0px;
	position: relative;
}

.custom-navigation__item--prev {
	text-align: left;
}

.custom-navigation__item--next {
	text-align: right;
}

.custom-navigation__item--next::before {
	content: '';
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0;
	width: 1px;
	background: var(--noir);
}

.custom-navigation__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.custom-navigation__link:hover .custom-navigation__title {
	color: var(--noir);
}

.custom-navigation__label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--bleu-fonce);
}

.custom-navigation__title {
	display: block;
	font-size: 18px;
	line-height: 1.35;
	color: var(--main);
	transition: color 0.3s ease-in-out;
}

@media screen and (max-width: 767px) {
	.custom-navigation__inner {
		flex-direction: column;
	}

	.custom-navigation__item {
		padding: 0px;
	}
	.custom-navigation__item--next{
		padding-top:20px;
	}

	.custom-navigation__item--next::before {
		top: 0;
		bottom: auto;
		left: 0px;
		right: 0px;
		width: auto;
		height: 1px;
	}

	.custom-navigation__item--next {
		text-align: left;
	}

	.custom-navigation__title {
		font-size: 16px;
	}
}



/**** ACTUALITÉS ****/
.actualites__grid {
	column-count: 3;
	column-gap: 20px;
}
.actualites__card-wrap {
	break-inside: avoid;
	padding-bottom: 30px;
}

.actualites__card {
	margin-bottom: 0px;
	background: var(--main);
	padding: 20px;
}


/* Safari : corrige la hauteur fantôme du conteneur column-count */
@media not all and (min-resolution: 0.001dpcm) {
	@supports (-webkit-appearance: none) {
		.actualites__card-wrap {
			display: inline-block;
			width: 100%;
			vertical-align: top;
			box-sizing: border-box;
		}
	}
}

.actualites__link {
	display: block;
	text-decoration: none;
	color: #fff!important;
}

.actualites__link:hover .actualites__title,
.actualites__link:hover .actualites__read {
	opacity: 0.85;
}

.actualites__image {
	aspect-ratio: 5 / 4;
	overflow: hidden;
	margin-bottom: 16px;
	background: rgba(0, 0, 0, 0.1);
}

.actualites__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition:0.3s ease-in-out;
}
.actualites__link:hover .actualites__img{
	transform: scale(1.07);
}
.actualites__category {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.actualites__title {
	margin: 0 0 12px;
	font-size: 25px;
	line-height: 1.3;
	font-weight: 400;
	color: #fff;
	transition: opacity 0.3s ease-in-out;
}

.actualites__read {
	display: inline-block;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: opacity 0.3s ease-in-out;
}

.actualites__pagination {
	margin-top: 20px;
}

.actualites__pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: center;
}

.actualites__pagination ul.page-numbers li {
	margin: 0;
}

.actualites__pagination a.page-numbers,
.actualites__pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--gris);
	text-decoration: none;
	color: var(--noir);
	transition: 0.3s ease-in-out;
}

.actualites__pagination a.page-numbers:hover,
.actualites__pagination span.page-numbers.current {
	background: var(--main);
	border-color: var(--main);
	color: #fff;
}

@media screen and (max-width: 991px) {
	.actualites__grid {
		column-count: 2;
	}
	
}

@media screen and (max-width: 767px) {
	.actualites__grid {
		column-count: 1;
	}
	.actualites__card {
		padding: 20px;
	}

	.actualites__title {
		font-size: 22px;
	}
}

/**** SHORTCODE FAQ ****/
.mbm-faq {
	max-width: 100%;
}

.mbm-faq__item {
	border-bottom: 1px solid #e2e2e2;
}

.mbm-faq__item:first-child {
	border-top: 1px solid #e2e2e2;
}

.mbm-faq__heading {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.mbm-faq__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1rem 0;
	border: 0;
	background: transparent;
	color: #1a1a1a;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: color 0.2s ease;
}

.mbm-faq__trigger:hover,
.mbm-faq__trigger:focus-visible {
	outline: none;
	color: #666;
}

.mbm-faq__trigger:focus-visible {
	box-shadow: inset 0 0 0 2px #e2e2e2;
}

.mbm-faq__question {
	flex: 1;
}
.mbm-faq__question * {
    color: #E16B1E !important;
}
.mbm-faq__question p {
	margin: 0;
}

.mbm-faq__icon {
	position: relative;
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
}

.mbm-faq__icon::before,
.mbm-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.75rem;
	height: 1px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.mbm-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.mbm-faq__item.is-open .mbm-faq__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
	opacity: 0;
}

.mbm-faq__panel {
	overflow: hidden;
}

.mbm-faq__panel[hidden] {
	display: none;
}

.mbm-faq__answer {
	padding: 0 0 1rem;
	color: #666;
	line-height: 1.6;
}

.mbm-faq__answer > :first-child {
	margin-top: 0;
}

.mbm-faq__answer > :last-child {
	margin-bottom: 0;
}