.gallery-image {
	transition: transform .3s ease;
/* Ajoute une transition fluide */
}

.gallery-image:hover {
	transform: scale(1.1);
/* Agrandit légèrement l'image */
}

.fixed-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	background-color: #fff;
/* Optionnel : ajoute une ombre pour le menu */
}

.menu-item {
	display: flex;
/* Assure que le menu est en flexbox */
	gap: 20px;
/* Ajoute un espace de 20px entre chaque item */
}

.menu-item:last-child {
	margin-right: 0;
/* Supprime la marge après le dernier élément */
}

.menu-item a {
	text-decoration: none;
/* Supprime le soulignement par défaut */
	color: inherit;
/* Utilise la couleur par défaut définie, si nécessaire */
}

.menu-item a:hover {
	font-weight: bold !important;
/* Met le texte en gras au survol */
}

/* Mettre en gras le lien actif */
.wp-block-navigation-item__content[aria-current="page"] {
	font-weight: bold !important;
}

/* Mettre en gras le parent du sous-menu actif */
.wp-block-navigation-item:has(.wp-block-navigation-submenu .wp-block-navigation-item__content[aria-current="page"]) > .wp-block-navigation-item__content {
	font-weight: bold !important;
}

.reduced-width {
	flex-basis: 10%;
	max-width: 10%;
}

/*séparateur entre entete et body en mode bureau*/
@media (min-width: 1024px) {
	.hauteur-150 {
		height: 120px !important;
	/* Force la hauteur */
		max-height: 120px !important;
		min-height: 120px !important;
	}
}

/* Séparateur entre entête et body en mode tablette */
@media (min-width: 768px) and (max-width: 1023px) {
	.hauteur-150 {
		height: 100px !important;
	/* Hauteur adaptée pour tablette */
		max-height: 100px !important;
		min-height: 100px !important;
	}
}

/* Séparateur entre entête et body en mode smartphone */
@media (max-width: 767px) {
	.hauteur-150 {
		height: 80px !important;
	/* Hauteur réduite pour smartphone */
		max-height: 80px !important;
		min-height: 80px !important;
	}
}

.whatsapp-block__button {
	font-size: 14px !important;
/* Texte en taille S */
}

@media (max-width: 768px) {
	.whatsapp-block__button {
		font-size: 0 !important;
	/* Cache le texte en réduisant la taille à 0 */
	}
}

.wp-block-post-title {
	font-weight: bold;
/* Texte en gras */
	color: #1361A2;
/* Couleur du texte */
	font-size: 2em;
/* Taille du texte */
}

.service-button {
	display: inline-block;
	border-radius: 10px;
/* Coins légèrement arrondis pour un style moderne */
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
/* Ombre douce */
	transition: transform .2s ease-in-out, box-shadow .2s ease-in-out;
	overflow: hidden;
}

.service-button img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}

.service-button:hover {
	transform: translateY(-5px);
/* Effet de léger soulèvement */
	box-shadow: 0 12px 20px rgba(19, 97, 162, 0.7);
	outline: 4px solid rgba(19, 97, 162, 0.5);
/* Cadre bleu avec effet flou */
	outline-offset: 3px;
}

.arrow-down {
	width: 0;
	height: 0;
	border-left: 12px solid transparent;
	border-right: 12px solid transparent;
	border-top: 18px solid #1361a2;
	margin: 20px auto;
	animation: bounce 1.5s infinite;
}

@keyframes bounce {
	0%, 100% {
		transform: translateY(0);
	}
	
	50% {
		transform: translateY(8px);
	}
}

/* styles.css */
.urgence-container {
	text-align: center;
	padding: 20px;
	background-color: #f8f9fa;
/* Gris clair */
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	max-width: 400px;
	margin: 50px auto;
}

.urgence-container h2 {
	font-size: 22px;
	color: #d9534f;
/* Rouge pour urgence */
	margin-bottom: 10px;
}

.urgence-button {
	padding: 12px 20px;
	font-size: 18px;
	color: white;
	background-color: #d9534f;
/* Rouge pour urgence */
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	transition: transform .2s ease, box-shadow .2s ease;
}

.urgence-button:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 15px rgba(217, 83, 79, 0.4);
}

@media (max-width: 767px) {
	.logo-mobile {
		width: 300px;
		max-width: 100%;
	/* Empêche le dépassement de l'écran */
		height: auto;
	/* Maintient les proportions */
	}
}

.logo-assurance img {
	width: 100px !important;
/* Taille uniforme */
	height: 100px !important;
/* Hauteur fixe */
	object-fit: contain !important;
/* Garde le ratio */
	display: block !important;
/* Empêche l'étirement */
	margin: auto !important;
/* Centre l'image */
}

/* Pour tablette */
@media (max-width: 1024px) {
	.logo-assurance img {
		width: 90px !important;
		height: 90px !important;
	}
}

/* Pour mobile */
@media (max-width: 768px) {
	.logo-assurance img {
		width: 100px !important;
		height: 100px !important;
	}
}

.animation_bouton {
	transition: transform .2s ease;
}

.animation_bouton:hover {
	transform: translateY(-3px);
}

.animation_texte {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 1s ease-out forwards;
	animation-delay: .5s;
/* facultatif : délai avant animation */
}

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.footer-background-image {
	background-image: url('https://edilsystem-vitrier.ch/wp-content/uploads/2025/05/vitrier-vitrerie-miroir-vitre-geneve-suisse-lausanne-garde-corps-devis-gratuit-edilsystem.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	padding: 60px 20px;
	color: white;
/* Facultatif : à ajuster selon contraste */
}