/* TMEF PWA — bouton d'installation + modale d'aide */

.tmef-pwa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 0;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	box-sizing: border-box;
	transition: transform .15s ease, filter .15s ease, opacity .15s ease;
	-webkit-tap-highlight-color: transparent;
}
.tmef-pwa-btn:hover:not(:disabled) {
	filter: brightness(1.08);
	transform: translateY(-1px);
}
.tmef-pwa-btn:active:not(:disabled) {
	transform: translateY(0);
}
.tmef-pwa-btn.tmef-pwa-installe {
	opacity: .65;
	cursor: default;
}
.tmef-pwa-btn-ico {
	flex: 0 0 auto;
}

/* Modale (guide iOS / navigateurs sans invite native) */
.tmef-pwa-modal-fond {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(0, 0, 0, .72);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	animation: tmefPwaFondu .2s ease;
}
.tmef-pwa-modal {
	background: #242526;
	color: #e4e6eb;
	border-radius: 16px;
	max-width: 420px;
	width: 100%;
	padding: 28px 24px 24px;
	position: relative;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
	font-size: 16px;
	line-height: 1.55;
	animation: tmefPwaMontee .25s ease;
}
.tmef-pwa-modal h3 {
	margin: 0 0 14px;
	color: #c59d26;
	font-size: 20px;
}
.tmef-pwa-modal ol {
	margin: 0;
	padding-left: 22px;
}
.tmef-pwa-modal li {
	margin-bottom: 10px;
}
.tmef-pwa-modal strong {
	color: #fff;
}
.tmef-pwa-modal-fermer {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: 0;
	color: #b0b3b8;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}
.tmef-pwa-modal-fermer:hover {
	color: #fff;
}
.tmef-pwa-ico-partage {
	display: inline-block;
	vertical-align: -4px;
	color: #c59d26;
	margin: 0 2px;
}

@keyframes tmefPwaFondu {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes tmefPwaMontee {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}
