/* ============================================================
 * ISO&FACE — Glossary popover
 *
 * Souligne en pointillé les termes du glossaire dans le contenu
 * éditorial et affiche un popover en survol / focus / tap.
 * ============================================================ */

.iso-term {
	border-bottom: 1px dashed var(--green, #018332);
	cursor: help;
	transition: background-color .12s ease;
}

.iso-term:hover,
.iso-term:focus {
	background-color: var(--green-soft, #E0F4E7);
	outline: none;
}

/* Popover ---------------------------------------------------- */
.iso-term-popover {
	position: absolute;
	z-index: 9999;
	max-width: 320px;
	background: #fff;
	color: #1a1a1a;
	border: 1px solid rgba( 0, 0, 0, .08 );
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba( 0, 0, 0, .12 ), 0 2px 6px rgba( 0, 0, 0, .06 );
	padding: 14px 16px 12px;
	font-size: 14px;
	line-height: 1.45;
	opacity: 0;
	transform: translateY( -4px );
	pointer-events: none;
	transition: opacity .12s ease, transform .12s ease;
}

.iso-term-popover.is-visible {
	opacity: 1;
	transform: translateY( 0 );
	pointer-events: auto;
}

.iso-no-motion .iso-term-popover {
	transition: none;
}

.iso-term-popover-name {
	display: block;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
}

.iso-term-popover-short {
	margin: 0 0 10px;
	color: #444;
}

.iso-term-popover-link {
	display: inline-block;
	font-size: 13px;
	color: var(--green, #018332);
	text-decoration: none;
	font-weight: 600;
}

.iso-term-popover-link:hover,
.iso-term-popover-link:focus {
	text-decoration: underline;
}

/* Petite flèche en haut du popover */
.iso-term-popover::before {
	content: "";
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX( -50% ) rotate( 45deg );
	width: 10px;
	height: 10px;
	background: #fff;
	border-left: 1px solid rgba( 0, 0, 0, .08 );
	border-top:  1px solid rgba( 0, 0, 0, .08 );
}
