@charset "utf-8";
/* HomeFloor : formulaires (devis rapide, contact) + barre mobile - repris de renovparquetescalier.be */

/* ---------- formulaire devis (colonne de droite des pages) ---------- */
.hf-devis.contact-page__comment-form {
	margin-left: 0;
	padding: 28px 24px 24px;
	border-top: 4px solid var(--alori-base);
	scroll-margin-top: 110px;
}
.hf-devis h3 {
	font-size: 24px;
	line-height: 1.25;
	margin-bottom: 8px;
}
.hf-devis-atouts {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-size: 14px;
	line-height: 1.4;
}
.hf-devis-atouts li i {
	color: var(--alori-base);
	margin-right: 5px;
}
.hf-devis .comment-form__input-box input[type="text"],
.hf-devis .comment-form__input-box input[type="email"] {
	height: 50px;
	margin-bottom: 12px;
	padding: 0 16px;
	font-size: 15px;
}
.hf-devis .comment-form__input-box textarea {
	height: 80px;
	margin-bottom: 16px;
	padding: 12px 16px;
	font-size: 15px;
}
.hf-devis .comment-form__btn.thm-btn {
	display: block;
	width: 100%;
	padding: 15px 15px 14px;
	font-size: 16px;
	white-space: normal;
	text-align: center;
	background: var(--alori-base);
}
.hf-devis .comment-form__btn.thm-btn::after {
	background: var(--alori-black);
}
.hf-devis-tel {
	margin: 14px 0 0;
	text-align: center;
	font-size: 15px;
}
.hf-devis-tel a {
	white-space: nowrap;
	font-weight: 600;
}
.hf-devis-mention {
	margin: 8px 0 0;
	text-align: center;
	font-size: 12px;
	opacity: .7;
}
/* petit effet quand on arrive sur le formulaire */
.hf-devis.hf-devis-flash {
	animation: hfFlash 1.4s ease-out;
}
@keyframes hfFlash {
	0%   { box-shadow: 0 0 0 0 rgba(var(--alori-base-rgb), .7); }
	60%  { box-shadow: 0 0 0 14px rgba(var(--alori-base-rgb), 0); }
	100% { box-shadow: 0px 0px 24px 0px rgba(192, 198, 204, 0.35); }
}

/* ---------- barre d'action mobile (appeler / devis) ---------- */
.hf-barre-mobile {
	display: none;
}
@media (max-width: 991px) {
	.hf-barre-mobile {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9990;
		background: #fff;
		box-shadow: 0 -4px 18px rgba(0, 0, 0, .12);
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		gap: 8px;
		transform: translateY(110%);
		transition: transform .35s ease;
	}
	.hf-barre-mobile.hf-visible {
		transform: translateY(0);
	}
	.hf-barre-btn {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		height: 48px;
		border-radius: 40px;
		font-size: 16px;
		font-weight: 600;
		text-decoration: none;
	}
	.hf-barre-btn--tel {
		border: 2px solid var(--alori-black);
		color: var(--alori-black);
	}
	.hf-barre-btn--devis {
		background: var(--alori-base);
		color: #fff;
	}
	.hf-barre-btn--devis:hover,
	.hf-barre-btn--devis:focus {
		color: #fff;
	}
	.hf-barre-btn--tel:hover,
	.hf-barre-btn--tel:focus {
		color: var(--alori-black);
	}
	body {
		padding-bottom: 70px;
	}
	.scroll-to-top {
		display: none !important;
	}
}

/* ---------- badge avis Google (formulaire devis) ---------- */
.hf-devis-avis {
	display: inline-block;
	margin: -6px 0 12px;
	font-size: 14px;
	color: var(--alori-black);
	text-decoration: none;
}
.hf-devis-avis:hover {
	text-decoration: underline;
}
.hf-devis-etoiles {
	color: #f5a623;
	letter-spacing: 1px;
}

/* ---------- bloc realisations (pages services) ---------- */
.hf-real {
	margin: 40px 0 50px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.hf-real h3 {
	margin-bottom: 20px;
}
.hf-real-item {
	display: block;
	margin-bottom: 24px;
	color: var(--alori-black);
	text-decoration: none;
}
.hf-real-item img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 6px;
	transition: transform .3s;
}
.hf-real-item:hover img {
	transform: scale(1.03);
}
.hf-real-item span {
	display: block;
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.4;
}
.hf-real-cta {
	margin: 0;
}
@media (min-width: 992px) {
	.hf-real-cta {
		display: none; /* desktop : le formulaire est deja a cote */
	}
}

/* credit SoWeDo dans le pied de page (discret) */
.hf-sowedo {
	clear: both;
	margin: 0;
	padding: 0 0 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	opacity: .6;
	transition: opacity .3s;
}
.hf-sowedo:hover {
	opacity: 1;
}
.hf-sowedo img {
	display: block;
	width: 70px;
	height: auto;
}
.hf-sowedo p {
	margin: 0;
	font-size: 12px;
	line-height: 1;
	color: rgba(255, 255, 255, .7);
}
.hf-sowedo p a {
	color: rgba(255, 255, 255, .7);
	text-decoration: none;
}
.hf-sowedo p a:hover {
	color: #65c2d0;
}

/* avis sans photo : nom aligne sur le texte */
.testimonial-one__single .client-info .title:first-child {
	padding-left: 0;
}

/* ---------- message d'erreur des formulaires ---------- */
.hf-devis-erreur {
	color: #c0392b;
	font-size: 14px;
}
/* ---------- formulaire de la page contact : arguments rassurants ---------- */
.contact-page__comment-form .hf-devis-avis {
	margin-top: 0;
}
