/*========================
*
*        HOME PAGE
*
*======================*/

/* ===== Col flex ===== */

.col-flex .fl-col-content {
	display: flex; 
	flex-direction: row; 
	justify-content: flex-start; 
}

@media (max-width: 768px) {
	.col-flex .fl-col-content {
		display: flex; 
		flex-direction: column; 
		justify-content: flex-start; 
		gap: 16px; 
		align-items: flex-start;
	}
}


/* ===== cta-appel picto phone rose ===== */

.overflow {
	overflow:hidden; 
}


.phone-wrapper {
	position: absolute;
	z-index: 5;
	bottom: 130px;
	right: -60px;
	width: 450px;
	height: 200px;
	transform: rotate(35deg);
	transform-origin: bottom right;
}

.phone-wrapper .bar.one {
	top: 0;
	left: 80px;
}

.phone-wrapper .bar.two {
	bottom: 0;
	left: 0;
	width: 180px;
}

.phone-wrapper .bar.three {
	bottom: 0;
	right: 0;
}

.phone-wrapper .bar {
	position: absolute;
	width: 250px;
	height: 87px;
	background: rgba(255, 255, 255, 0.4);
	border-radius: 100px;
}
*
.phone-wrapper .bar.call .phone {
	display:none;
}

/*
.phone-wrapper .bar.call .phone:hover {
background: #FFF;
transition: all linear 300ms; 
}

.phone-wrapper .bar.call .phone {
position: absolute;
top: 13px;
left: 13px;
width: 60px;
height: 60px;
border-radius: 50%;
background: #B61880;
transition: all linear 300ms; 
}

.phone-wrapper .bar.call .phone .icon {
width: 22px;
height: 22px;
fill: #ffffff;
position: absolute;
top: 50%;
left: 50%;
margin: -11px 0 0 -11px;
transform: rotate(-45deg);
}

.phone-wrapper .bar.call .phone .icon path {
fill: #ffffff;
transition: all linear 300ms; 
}
.phone-wrapper .bar.call .phone:hover .icon path {
fill:#B61880;
transition: all linear 300ms; 
}
*/

/* ===== CAROUSEL PICTO ===== */
/* Industrie */
.carousel-activite .uabb-image-carousel-item[data-slick-index="0"]::before {
	background-image: url('https://kalhyge.hend2.fr/dev/wp-content/uploads/2026/03/vetements.svg');
}

/* Santé */
.carousel-activite .uabb-image-carousel-item[data-slick-index="1"]::before {
	background-image: url('https://kalhyge.hend2.fr/dev/wp-content/uploads/2026/03/etoile.svg');
}

/* Agro */
.carousel-activite .uabb-image-carousel-item[data-slick-index="2"]::before {
	background-image: url('https://kalhyge.hend2.fr/dev/wp-content/uploads/2026/03/prestation_responsable-1.svg');
}

/* propreté */
.carousel-activite .uabb-image-carousel-item[data-slick-index="3"]::before {
	background-image: url('https://kalhyge.hend2.fr/dev/wp-content/uploads/2026/03/nettoyage.svg');
}

/* hotel */
.carousel-activite .uabb-image-carousel-item[data-slick-index="4"]::before {
	background-image: url('https://kalhyge.hend2.fr/dev/wp-content/uploads/2026/03/drap.svg');
}

/* services */
.carousel-activite .uabb-image-carousel-item[data-slick-index="5"]::before {
	background-image: url('https://kalhyge.hend2.fr/dev/wp-content/uploads/2026/03/service_client.svg');
}

/* etc... */

.carousel-activite .uabb-image-carousel-item::before {
	content: "";
	position: absolute;
	top: 24px;
	right: 32px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 40px;
	z-index: 3;
}

.carousel-activite {
	overflow:hidden; 
}


/* ===== CAROUSEL ACTIVITE ===== */

.carousel-activite .fl-module-content,
.carousel-activite .uabb-image-carousel,
.carousel-activite .slick-track {
	overflow: visible;
}

.carousel-activite .slick-list {
	overflow: visible !important;
	margin: 0 -12px;
	height: auto !important;
}


/* espace entre les cartes */
.carousel-activite .uabb-image-carousel-item {
	padding: 0 12px;
	box-sizing: border-box;
	position: relative;
}

/* carte */
.carousel-activite .uabb-image-carousel-content {
	position: relative;
	overflow: hidden;
	border-radius: 7px;
}

/* image */
.carousel-activite .uabb-gallery-img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1.35;
	object-fit: cover;
	border-radius: 7px;
}


.carousel-activite .uabb-image-carousel-item:first-of-type .uabb-image-carousel-content::after,
.carousel-activite .uabb-image-carousel-item:first-of-type .uabb-gallery-img {
	border-bottom-left-radius: 50px; 
}


/* voile sur l'image */
.carousel-activite .uabb-image-carousel-content::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(13, 46, 97, 0.3);
	pointer-events: none;
	z-index: 1;
	border-radius: 7px;
}

/* titre SUR l'image */
.carousel-activite .uabb-image-carousel-caption {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 60px);
	margin: 0;
	z-index: 2;
	background-color: transparent;
	color: #fff;
	text-align: center;
	font-size: 25px;
	line-height: 1.05;
	font-weight: 500;
}

/* le conteneur parent du slide doit servir de repère */
.carousel-activite .uabb-image-carousel-item {
	position: relative;
}

/* si UABB garde du margin au caption */
.carousel-activite .uabb-image-carousel-caption-below {
	margin-top: 0;
}

/* flèches */
.carousel-activite .slick-prev,
.carousel-activite .slick-next {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #c21c8c;
	display: flex !important;
	align-items: center;
	justify-content: center;
	z-index: 20;
	top: auto;
	bottom: -110px;
	transform: none;
}

/* position des flèches */
.carousel-activite .slick-prev {
	left: auto;
	right: 95px;
}

.carousel-activite .slick-next {
	right: 0;
}

/* icônes flèches */
.carousel-activite .slick-prev i,
.carousel-activite .slick-next i {
	color: #fff;
	font-size: 32px;
}

/* hover */
.carousel-activite .slick-prev:hover,
.carousel-activite .slick-next:hover {
	opacity: 0.9;
}

/* retirer l'ancien fond éventuel */
.carousel-activite .slick-slider button,
.carousel-activite .slick-prev::before,
.carousel-activite .slick-next::before {
	display: none !important;
}



.icone-carousel .fl-icon-group {
	gap: 8px; 
}


.col-space-top-bottom .fl-col-content {
	display: flex; 
	flex-direction: column; 
	justify-content: space-between; 
	min-height: 500px;
}


/*========== rangée accompagnement ==========*/



/* Colonne image */
.col-img-accompagnement > .fl-col-content {
	aspect-ratio: 1 / 1;
}

/* Les 2 colonnes servent de repères */
.col-img-accompagnement > .fl-col-content,
.col-zindex > .fl-col-content {
	position: relative;
	overflow: hidden;
}
.col-img-accompagnement > .fl-col-content::after {
	content: "";
	position: absolute;
	width: 300px;
	height: 100px;
	right: 0px;
	bottom: 20px;
	border-radius: 999px;
	transform: rotate(-24deg);
	background: rgba(255, 255, 255, 0.4);
	pointer-events: none;
	z-index: 1;
}

.col-zindex > .fl-col-content::before {
	content: "";
	position: absolute;
	width: 300px;
	height: 100px;
	left: -200px;
	bottom: 20px;
	border-radius: 999px;
	transform: rotate(-24deg);
	background: rgba(255, 255, 255, 0.92);
	pointer-events: none;
	z-index: 1;
}

.col-zindex .fl-col-content{
	position: relative;
	z-index: 3;
}



@media (max-width: 1000px) {
	.col-img-accompagnement > .fl-col-content::after,
	.col-zindex > .fl-col-content::before {
		display: none !important; 
	}
	
	.col-actu {
		overflow: hidden; 
	}
}
/*========== rangée serein ==========*/

.rangee-serein .fl-row-content .fl-col-group {
	gap: 32px;
	display: flex; 
	flex-direction: row; 
}

.rangee-serein .fl-row-content .fl-col-group .fl-col  .fl-col-content {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1/1 ; 
	display: flex; 
	flex-direction: column; 
	justify-content: space-between;
}





.rangee-serein .fl-col > .fl-col-content {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.rangee-serein .fl-col > .fl-col-content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 120px;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.55) 0%,
		rgba(0, 0, 0, 0.25) 45%,
		rgba(0, 0, 0, 0) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.rangee-serein .fl-col > .fl-col-content > * {
	position: relative;
	z-index: 2;
}

@media (max-width: 1000px) {
	.rangee-serein .titre-3 * {
		font-size: 18px; 
	}
	
	.rangee-serein .fl-row-content .fl-col-group .fl-col {
		width: 100%!important;
	}
}



@media (max-width: 768px) {
	.rangee-serein .fl-row-content .fl-col-group {
		gap: 16px;
		display: flex; 
		flex-direction: column; 
	}
	.rangee-serein .fl-row-content .fl-col-group .fl-col .fl-col-content {
		width: auto !important;
	}
 
}
/*========== rangée contact ==========*/

.ecrire .fl-module-content .uabb-module-content .uabb-list-icon-wrap .uabb-list-icon-text .uabb-list-icon-text-heading,
.appel .fl-module-content .uabb-module-content .uabb-list-icon-wrap .uabb-list-icon-text .uabb-list-icon-text-heading {
	font-family: var(--typo-principale) !important;
	font-weight: var(--semi-bold);
	font-size: var(--size-titre-4);
	line-height: calc(var(--size-titre-4)+ 4px);
}

@media (max-width: 768px) {
	.appel .fl-module-content .uabb-module-content,
	.ecrire .fl-module-content .uabb-module-content  {
		    align-items: center;
	}

}

.marquee {
	overflow: hidden;
	position: relative;
}

.marquee p {
	display: inline-block;
	white-space: nowrap;
	animation: marquee-scroll 300s linear infinite;
	font-size: 60px; 
	font-family: var(--typo-principale) !important;
}

/* IMPORTANT : duplication via pseudo-element */
.marquee p::after {
	content: " Contactez-nous Contactez-nous Contactez-nous Contactez-nous Contactez-nous Contactez-nous Contactez-nous Contactez-nous";
	margin-left: 50px; /* espace entre les deux blocs */
}

@keyframes marquee-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}


/* La rangée devient verticale */
.rangee-contact .fl-row-content {
	display: flex;
	flex-direction: column;
	justify-content: center; /* centrage vertical */
	height: 100%;
	position: relative; 
}

/* On remet les colonnes en bloc (pleine largeur) */
.rangee-contact .fl-col-group {
	width: 100%;
}

/* Marquee en bas */
.marquee {
	order: 2;
	text-align: center;
}

.rangee-contact .col-ecrire .fl-col-content {
	max-width: 550px; 
}
.rangee-contact .col-ecrire {
	display: flex; 
	justify-content: center; 
}

.rangee-contact .fl-row-content > .fl-col-group:first-of-type {
	position: absolute; 
	z-index: 1;
}


.rangee-contact .fl-row-content > .fl-col-group:last-of-type {
	z-index: 2;
}



/*========== rangée Actualité  ==========*/


.advanced-post-actu .uabb-blog-posts,
.advanced-post-actu .uabb-blog-posts-grid,
.advanced-post-actu .uabb-post-wrapper,
.advanced-post-actu .uabb-blog-posts-shadow,
.advanced-post-actu .uabb-blog-post-content {
	box-sizing: border-box;
}

.advanced-post-actu .uabb-post-wrapper {
	padding-left: 10px;
	padding-right: 10px;
}

.advanced-post-actu .uabb-blog-posts-grid {
	padding: 0px 16px;
}

.advanced-post-actu .uabb-post-wrapper.uabb-blog-posts-col-4 {
	width: calc(100% / 4 - 8px) !important;
	padding: 8px !important;
}

.advanced-post-actu .uabb-post-wrapper.uabb-blog-posts-col-3 {
	width: calc(100% / 3 - 12px) !important;
	padding: 8px !important;
}

@media all and (max-width: 1000px) {
	.advanced-post-actu .uabb-post-wrapper.uabb-blog-posts-col-4 {
		width: calc(100% / 2 - 16px) !important;
		padding: 8px !important;
	}
	.advanced-post-actu .uabb-post-wrapper.uabb-blog-posts-col-3 {
		width: calc(100% / 2 - 16px) !important;
		padding: 8px !important;
	}
}

/* Carte image */
.card-actu-kalhyge {
	position: relative;
	overflow: hidden;
	border-radius: 10px 50px 10px 10px;
	margin-bottom: 24px;
}

.card-actu-kalhyge a,
.card-actu-kalhyge img {
	display: block;
	width: 100%;
}

.card-actu-kalhyge img {
	width: 100%;
	height: auto; /* ajuste selon ton besoin */
	aspect-ratio: 1/1; 
	object-fit: cover;
}

/* Badge */
.card-actu-kalhyge__badge {
	position: absolute;
	top: 28px;
	left: 28px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 5px 8px;
	background: #fff;
	border-radius: 999px;
	z-index: 2;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	font-family: var(--typo-principale) !important;
}

.card-actu-kalhyge__dot {
	width: 7px;
	max-width: 7px; 
	height: 7px;
	border-radius: 50%;
	background: #c02c7a;
	flex: 0 0 14px;
}

.card-actu-kalhyge__label {
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #111;
	font-family: var(--typo-principale) !important;
}

/* Date */
.uabb-post-meta {
	margin: 0 0 18px;
	text-align: left; 
}

.uabb-post-meta .uabb-meta-date {
	font-size: 14px;
	font-weight: 600;
	color: #005ca9;
	line-height: 1.4;
	text-align: left; 
	font-family: var(--typo-principale) !important;
}

/* Titre */
.uabb-post-heading {
	margin: 0;
	font-size: 25px;
	line-height: 1.05;
	font-weight: 600;
	text-align: left; 
	padding-bottom: 16px !important;
	font-family: var(--typo-principale) !important;
}

.uabb-post-heading a {
	color: #000;
	text-decoration: none;
	font-family: var(--typo-principale) !important;
}

.uabb-post-heading a:hover {
	color: #000;
	text-decoration: none;
	font-family: var(--typo-principale) !important;
}



/* Responsive */
@media (max-width: 768px) {
	.card-actu-kalhyge {
		border-radius: 10px 36px 10px 10px;
	}

	.card-actu-kalhyge img {
		height: 220px;
	}

	.card-actu-kalhyge__badge {
		top: 18px;
		left: 8px;
		padding: 8px 14px;
		gap: 4px; 
		
	}

	.card-actu-kalhyge__label {
		font-size: 12px;
	}

	.uabb-post-meta .uabb-meta-date {
		font-size: 16px;
	}

	.uabb-post-heading {
		font-size: 36px;
	}

.uabb-post-heading a {
	color: #000;
	text-decoration: none;
	font-size: 18px !important;
}

.uabb-post-heading a:hover {
	color: #000;
	text-decoration: none;
	font-size: 18px !important;
}

}
