/*
 * Badges de téléchargement officiels (App Store / Google Play).
 * Composant unique partagé par toutes les landing pages Forlaps.
 */

.fl-store-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 168px;
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 10px;
	background: #000000;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.fl-store-badge:hover {
	background: #1c1c1c;
	border-color: rgba(255, 255, 255, 0.32);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
	color: #ffffff;
}

.fl-store-badge[aria-disabled='true'] {
	cursor: not-allowed;
	opacity: 0.72;
}

.fl-store-badge[aria-disabled='true']:hover {
	background: #000000;
	border-color: rgba(255, 255, 255, 0.22);
	transform: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
	color: #ffffff;
}

.fl-store-badge[data-tooltip] {
	position: relative;
}

.fl-store-badge[data-tooltip]::after {
	content: attr(data-tooltip);
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%);
	padding: 6px 10px;
	border-radius: 8px;
	background: #020326;
	color: #ffffff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	box-shadow: 0 8px 20px rgba(2, 3, 38, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.fl-store-badge[data-tooltip]::before {
	content: '';
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: calc(100% + 4px);
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: #020326;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.15s ease, visibility 0.15s ease;
}

.fl-store-badge[data-tooltip]:hover::after,
.fl-store-badge[data-tooltip]:hover::before,
.fl-store-badge[data-tooltip]:focus-visible::after,
.fl-store-badge[data-tooltip]:focus-visible::before {
	opacity: 1;
	visibility: visible;
}

.fl-store-badge[data-tooltip]:hover::after,
.fl-store-badge[data-tooltip]:focus-visible::after {
	transform: translateX(-50%) translateY(-2px);
}

.fl-store-badge-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.fl-store-badge-icon svg {
	width: 22px;
	height: 22px;
}

.fl-store-badge--apple .fl-store-badge-icon svg {
	fill: #ffffff;
}

.fl-store-badge-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.2;
}

.fl-store-badge-label {
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.01em;
	opacity: 0.85;
	white-space: nowrap;
}

.fl-store-badge-name {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
