/* Barre « Demander un devis » en bas d'écran, mobile uniquement (cf. inc/barre-devis-mobile.php). */
.flux-barre-devis {
	display: none;
}

@media (max-width: 980px) {
	.flux-barre-devis:not([hidden]) {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99990;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: #fff;
		box-shadow: 0 -4px 16px rgba(32, 31, 27, .14);
		animation: flux-barre-in .2s ease-out;
	}

	.flux-barre-devis__info {
		display: flex;
		flex-direction: column;
		font-family: 'Oswald', sans-serif;
		font-size: 17px;
		line-height: 1.2;
		color: #5a8c39;
	}

	.flux-barre-devis__info small {
		font-family: 'Open Sans', sans-serif;
		font-size: 12px;
		color: #6b6a66;
	}

	.flux-barre-devis__cta {
		flex-shrink: 0;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		padding: 0 20px;
		border-radius: 6px;
		background: #71aa4a;
		font-weight: 700;
		font-size: 15px;
		color: #fff !important;
	}

	.flux-barre-devis__cta:hover {
		background: #5a8c39;
	}

	/* Le pied de page reste lisible au-dessus de la barre. */
	body.has-flux-barre-devis {
		padding-bottom: 72px;
	}
}

@keyframes flux-barre-in {
	from { transform: translateY(100%); }
	to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.flux-barre-devis:not([hidden]) {
		animation: none;
	}
}
