/* =========================================================
   Widget Elementor « Tas de tags (physique) »
   ========================================================= */

.atp {
	position: relative;
	width: 100%;
	height: 240px;
	overflow: hidden;
	touch-action: pan-y;
}

/* Mise en page de secours (sans JS) : tags alignés en bas */
.atp-list {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-end;
	justify-content: center;
	gap: 8px;
}

.atp-tag {
	display: inline-block;
	box-sizing: border-box;
	margin: 0;
	padding: 0.7em 1.6em;
	border: 2px solid #fff;
	border-radius: 999px;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	user-select: none;
	-webkit-user-select: none;
	/* masqués jusqu'à leur chute (réaffichés par <noscript> sans JS) */
	visibility: hidden;
}

.atp-tag--filled {
	background-color: #fff;
	color: #1565ff;
}
.atp-tag--outline {
	background-color: transparent;
	color: #fff;
}

/* ── Mode physique (ajouté par le JS) ───────────────────── */
.atp.is-physics .atp-list {
	display: block;
}
.atp.is-physics .atp-tag {
	position: absolute;
	top: 0;
	left: 0;
	will-change: transform;
	cursor: default;
}
.atp.is-physics .atp-tag.is-dropped {
	visibility: visible;
}
