@keyframes phone-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(var(--agex-primary-rgb, 56, 187, 150), 0.55); }
	60%  { box-shadow: 0 0 0 14px rgba(var(--agex-primary-rgb, 56, 187, 150), 0); }
	100% { box-shadow: 0 0 0 0 rgba(var(--agex-primary-rgb, 56, 187, 150), 0); }
}

@keyframes phone-ring {
	0%   { transform: translate(0, -50%) rotate(0deg); }
	10%  { transform: translate(0, -50%) rotate(-12deg); }
	20%  { transform: translate(0, -50%) rotate(12deg); }
	30%  { transform: translate(0, -50%) rotate(-10deg); }
	40%  { transform: translate(0, -50%) rotate(10deg); }
	50%  { transform: translate(0, -50%) rotate(0deg); }
	100% { transform: translate(0, -50%) rotate(0deg); }
}

.phone-theme-btn.phone-bt-support-now {
	background: #2e3192 !important;
	background: -moz-linear-gradient(45deg, var(--agex-primary) 8%, color-mix(in srgb, var(--agex-primary) 70%, white) 100%) !important;
	background: -webkit-linear-gradient(45deg, var(--agex-primary) 8%, color-mix(in srgb, var(--agex-primary) 70%, white) 100%) !important;
	background: linear-gradient(45deg, var(--agex-primary) 8%, color-mix(in srgb, var(--agex-primary) 70%, white) 100%) !important;
	bottom: 90px !important;
	animation: phone-pulse 2.4s ease-out infinite;
}

.phone-theme-btn.phone-bt-support-now svg {
	animation: phone-ring 2.4s ease-in-out infinite;
	transform-origin: top center;
}

.phone-theme-btn {
	background-color: #fff;
	border-radius: 40px;
	position: fixed;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 50px;
	height: 50px;
	min-width: 50px;
	z-index: 99999;
	color: #fff;
	text-align: center;
	overflow: hidden;
	transition: width 0.3s ease;
	cursor: pointer;
	padding: 0 20px;
}

.phone-theme-btn svg {
	fill: #fff;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translate(0, -50%);
	transition: transform 0.3s ease;
}

.phone-theme-btn span {
	white-space: nowrap;
	font-size: 16px;
	opacity: 0;
	margin-left: 10px;
	transform: translateX(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	text-transform: uppercase;
	pointer-events: none;
	color: #fff;
}

.phone-theme-btn:hover {
	width: 180px; // largeur agrandie pour afficher le texte
padding: 0 10px;
}


.phone-theme-btn:hover span {
	opacity: 1;
	transform: translateX(0);
}

/* ============================= */
/* WRAPPER GÉNÉRAL */
/* ============================= */

.header-top {
	width: 100%;
	position: relative;
	z-index: 10;
	padding: 10px 0px;
	background-color: var(--agex-secondary);
}

.header-top .container-actualite-defilante {
	width: 100%;
	margin-right: 15px;
}

.header-top .container-actualite-defilante p {
	margin-bottom: 0;
	color: white;
}

.header-top .menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ============================= */
/* MENU PRINCIPAL */
/* ============================= */

.header-top .menu > ul {
	display: flex;
	gap: 20px;
}

.header-top .menu > ul > li {
	position: relative;
}

.header-top .menu > ul > li > a {
	display: flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	white-space: nowrap;
	color: white;
	font-size: 15px !important;
	padding: 0 !important;
}

@media (max-width: 1400px) {
	.header-top .menu > ul > li > a {
		font-size: 13px;
	}
}



/* ============================= */
/* SOUS-MENU */
/* ============================= */

.header-top .menu .menu-subs {
	position: absolute;
	top: 100%;
	transform: translateY(20%);
	left: 0;
	background-color: white;
	flex-direction: column;
	min-width: 200px;
	padding: 10px 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0;
	transition: all 0.3s ease;
	display: flex;
	border-radius: 10px;
	border-top: 4px solid var(--agex-primary);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-top .menu .menu-subs li {
	width: 100%;
}

.header-top .menu .menu-subs a {
	display: block;
	padding: 8px 16px;
	text-decoration: none;
	white-space: nowrap;
	color: white;
	transition: all 0.3s ease;
}

.header-top .menu .menu-subs a:hover {
	transform: translateX(5px);
	color: var(--agex-primary);
}

/* ============================= */
/* AFFICHAGE AU HOVER */
/* ============================= */

.header-top .menu .menu-item-has-children:hover > .menu-subs {
	opacity: 1;
	transform: translateY(0);
	z-index: 1000;
	pointer-events: auto;
}

.partner {
	margin-top: 20px !important;
}

.ks-testimonial-active {
	max-width: 70%;
}

/* Évite le retour à la ligne du menu entre 1200px et 1500px */
@media (max-width: 1500px) {
	.menu > ul > li > a {
		font-size: 15px !important;
		letter-spacing: -0.02em;
	}
	.menu > ul > li {
		margin-right: 14px !important;
	}
}

@media (max-width: 1350px) {
	.menu > ul > li > a {
		font-size: 15px !important;
		letter-spacing: -0.04em;
	}
	.menu > ul > li {
		margin-right: 8px !important;
	}
	.navbar-brand img {
		width: 150px !important;
	}
}

@media (max-width: 1300px) {
	.header-style-one .main-menu .navigation > li a {
		font-size: 12px !important;
	}

	.header-style-one .action-box .theme-btn {
		margin-left: 13px;
	}
}

.spacer {
	height: 100px;
}

.expertise-pagination {
	position: absolute;
	display: flex;
	justify-content: center;
	bottom: 0;
}

.expertise-pagination .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background-color: #ccc;
	opacity: 1;
	margin: 0 6px;
	border-radius: 50%;
	transition: background-color 0.3s ease;

}

.expertise-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background-color: var(--agex-secondary);
}

.expertise-slider-container {
	margin: 0 50px;
}

@media (max-width: 768px) {
	.expertise-slider-container {
		margin: 0 25px;
	}
}

@media (max-width: 576px) {
	.expertise-slider-container {
		margin: 0 15px;
	}
}

.navbar-brand img {
	width: 180px;
}

.text-primary {
	color: var(--agex-primary) !important;
}

.text-shadow {
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


.expertise-slider .expertise-pagination {
	bottom: 0px;
	z-index: 10;
}

a {
	color: var(--agex-primary);
}

.contact-form.style-three .form-group input[type="checkbox"] {
	border: 1px solid #D9D9D9;
	width: 20px;
	height: 20px;
}

.contact-form.style-three .form-group select {
	padding: 0 0 18px;
	border: none;
	border-bottom-width: medium;
	border-bottom-style: none;
	border-bottom-color: currentcolor;
	border-bottom-width: medium;
	border-bottom-style: none;
	border-bottom-color: currentcolor;
	border-bottom: 1px solid #D9D9D9;
}

.about-area.style-two .about-img-wrap .about-img.min {
	max-width: 75%;
}

.about-area.style-two .about-img-wrap .about-img.minmin {
	max-width: 60%;
}

.service-card img.icon {
	max-width: 100px;
}

/* ============================= */
/* FIX hover service-card avec balises <picture> */
/* Le CSS original cible img:first-child / img:nth-child(2) directement.
   Avec <picture>, l'<img> est nth-child(2) de <picture> (après <source>),
   ce qui casse les sélecteurs de hover. Ces règles corrigent ce comportement. */
/* ============================= */

/* Cacher par défaut l'image de hover (première <picture>) */
.img-hover-scale .img-scale picture:first-child img {
	transform: translateX(50%) scaleX(2);
	opacity: 0;
	filter: blur(10px);
}

/* Au hover : afficher l'image de hover (première <picture>)
   et annuler l'effet img:nth-child(2) qui s'applique désormais incorrectement dessus */
.img-hover-scale:hover .img-scale picture:first-child img {
	transform: translateX(0) scaleX(1);
	opacity: 1;
	filter: blur(0);
}

/* Au hover : cacher l'image par défaut (deuxième <picture>) */
.img-hover-scale:hover .img-scale picture:nth-child(2) img {
	transform: translateX(-50%) scaleX(2);
	opacity: 0;
	filter: blur(10px);
}

