/* =========================================================
   LANÇAMENTOS ABC — BARRA FLUTUANTE DE ATENDIMENTO
   Componente isolado para evitar regras duplicadas no CSS geral.
========================================================= */

.fides-contact-dock,
.fides-contact-dock * {
	box-sizing: border-box;
}

.fides-contact-dock {
	position: fixed;
	right: auto;
	bottom: max(22px, env(safe-area-inset-bottom));
	left: 50%;
	z-index: 99990;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	color: #fff;
	background: rgba(6, 29, 45, .96);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 16px;
	box-shadow: 0 18px 45px rgba(6, 29, 45, .3);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	transform: translateX(-50%);
}

.fides-contact-dock::before {
	content: "";
	align-self: stretch;
	width: 3px;
	margin: 3px 3px 3px 0;
	background: #72c7e8;
	border-radius: 3px;
}

.fides-contact-dock__intro {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 148px;
	padding: 0 8px 0 4px;
	line-height: 1.15;
	white-space: nowrap;
}

.fides-contact-dock__intro strong {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.fides-contact-dock__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 0 14px;
	color: #fff !important;
	border-radius: 11px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.fides-contact-dock__action:hover,
.fides-contact-dock__action:focus-visible {
	color: #fff !important;
	filter: brightness(1.08);
	transform: translateY(-2px);
}

.fides-contact-dock__action:focus-visible {
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(8, 120, 209, .7);
	outline: none;
}

.fides-contact-dock__action--phone {
	background: #075985;
}

.fides-contact-dock__action--whatsapp {
	background: #159f8c;
}

.fides-contact-dock__action svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
	flex: 0 0 auto;
}

@media (max-width: 767px) {
	body:not(.page-template-dashboard) {
		padding-bottom: 0 !important;
	}

	.fides-contact-dock {
		right: 12px;
		bottom: max(12px, env(safe-area-inset-bottom));
		left: auto;
		width: auto;
		max-width: calc(100vw - 24px);
		gap: 8px;
		padding: 8px 9px;
		border-radius: 15px;
		transform: none;
	}

	.fides-contact-dock::before,
	.fides-contact-dock__intro,
	.fides-contact-dock__label {
		display: none;
	}

	.fides-contact-dock__action {
		width: 48px;
		min-width: 48px;
		height: 48px;
		min-height: 48px;
		padding: 0;
	}

	.fides-contact-dock__action svg {
		width: 23px;
		height: 23px;
	}

	/* Evita sobreposição com o formulário e com os modais de conversão. */
	body.lancamentos-abc-contact-page .fides-contact-dock,
	body.fides-schedule-open .fides-contact-dock {
		display: none !important;
	}
}

@media (max-width: 360px) {
	.fides-contact-dock__action {
		width: 44px;
		min-width: 44px;
		height: 44px;
		min-height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fides-contact-dock__action {
		transition: none;
	}
}
