:root {
	--lip-navy: #0A2540;
	--lip-navy-deep: #061933;
	--lip-azure: #0B7FFF;
	--lip-azure-deep: #0552B5;
	--lip-azure-light: #4FA6FF;
	--lip-azure-soft: #EAF3FF;
	--lip-amber: #FFB020;
	--lip-amber-deep: #DD8F0A;
	--lip-slate: #5C7699;
	--lip-line: #E7EEF7;
}

.lip-overlay {
	position: fixed;
	inset: 0;
	background: linear-gradient(160deg, rgba(6, 25, 51, 0.7), rgba(4, 16, 34, 0.78));
	-webkit-backdrop-filter: blur(8px) saturate(120%);
	backdrop-filter: blur(8px) saturate(120%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 16px;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.lip-overlay.lip-visible {
	opacity: 1;
}
.lip-overlay[hidden] {
	display: none;
}

.lip-modal {
	background: #fff;
	border-radius: 22px;
	max-width: 440px;
	width: 100%;
	padding: 0;
	position: relative;
	text-align: center;
	box-shadow: 0 30px 80px -20px rgba(5, 18, 38, 0.55), 0 8px 24px rgba(5, 18, 38, 0.22);
	transform: translateY(16px) scale(0.96);
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	overflow-x: hidden;
	overflow-y: auto;
	max-height: 92vh;
}
.lip-overlay.lip-visible .lip-modal {
	transform: translateY(0) scale(1);
}

.lip-close {
	position: absolute;
	top: 14px;
	right: 14px;
	background: #fff;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: var(--lip-navy);
	box-shadow: 0 3px 10px rgba(10, 37, 64, 0.2);
	z-index: 6;
	transition: background 0.15s ease, transform 0.15s ease;
}
.lip-close:hover {
	background: var(--lip-azure-soft);
	transform: rotate(90deg);
}

/* ---------- Carrousel d'annonces ---------- */
.lip-carousel {
	position: relative;
	background:
		radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.09) 1px, transparent 1.6px),
		linear-gradient(135deg, var(--lip-azure) 0%, var(--lip-azure-deep) 62%, var(--lip-navy) 100%);
	background-size: 16px 16px, cover;
	color: #fff;
	overflow: hidden;
}
.lip-carousel-track {
	display: flex;
	transition: transform 0.35s ease;
}
.lip-slide {
	flex: 0 0 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 28px 46px 26px;
	text-align: center;
}
.lip-slide-image {
	width: 100%;
	height: 110px;
	border-radius: 12px;
	background-size: cover;
	background-position: center;
	margin-bottom: 12px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.lip-slide-badge {
	display: inline-block;
	background: #fff;
	color: var(--lip-azure-deep);
	font-weight: 700;
	font-size: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	margin-bottom: 8px;
	letter-spacing: 0.3px;
}
.lip-slide-title {
	display: block;
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 4px;
}
.lip-slide-text {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.92);
	margin: 0 0 12px;
	line-height: 1.4;
}
.lip-slide-code {
	background: rgba(255, 255, 255, 0.15);
	border: 1.5px dashed rgba(255, 255, 255, 0.7);
	color: #fff;
	font-weight: 700;
	letter-spacing: 1px;
	padding: 8px 16px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 13.5px;
	margin-bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.lip-slide-code:hover {
	background: rgba(255, 255, 255, 0.25);
}
.lip-copy-label {
	font-weight: 400;
	font-size: 11px;
	opacity: 0.85;
	text-transform: uppercase;
}
.lip-slide-code.lip-copied .lip-copy-label::before {
	content: "✓ ";
}
.lip-slide-btn {
	display: inline-block;
	background: #fff;
	color: var(--lip-azure-deep);
	font-weight: 700;
	font-size: 13.5px;
	padding: 9px 20px;
	border-radius: 999px;
	text-decoration: none;
	margin-top: 4px;
}
.lip-slide-btn:hover {
	background: var(--lip-azure-soft);
}

.lip-carousel-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding-bottom: 16px;
}
.lip-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	padding: 0;
}
.lip-dot-active {
	background: #fff;
	width: 18px;
	border-radius: 4px;
}
.lip-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #fff;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 12px;
}
.lip-carousel-arrow:hover {
	background: rgba(255, 255, 255, 0.35);
}
.lip-carousel-prev {
	left: 8px;
}
.lip-carousel-next {
	right: 8px;
}

/* ---------- Perforation / médaillon (signature) ---------- */
.lip-perforation {
	position: relative;
	height: 6px;
	margin: 22px 30px 0;
	background-image: radial-gradient(circle, rgba(11, 127, 255, 0.28) 1.5px, transparent 1.6px);
	background-size: 10px 6px;
	background-repeat: repeat-x;
	background-position: center;
}
.lip-medallion {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--lip-amber), var(--lip-amber-deep));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	box-shadow: 0 6px 16px rgba(221, 143, 10, 0.4), 0 0 0 4px #fff;
	z-index: 2;
}
.lip-medallion svg {
	width: 18px;
	height: 18px;
}

/* ---------- Corps : titre, avantages, actions ---------- */
.lip-body {
	padding: 30px 28px 28px;
}

.lip-eyebrow {
	display: inline-block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lip-azure-deep);
	background: var(--lip-azure-soft);
	padding: 5px 13px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.lip-title {
	font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
	font-size: 25px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--lip-navy);
	margin: 0 0 8px;
}
.lip-subtitle {
	font-size: 14px;
	color: var(--lip-slate);
	margin: 0 0 24px;
	line-height: 1.5;
}

.lip-benefits {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 0 0 26px;
}
.lip-benefit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	background: #fff;
	border: 1px solid var(--lip-line);
	border-radius: 14px;
	padding: 16px 8px 14px;
	opacity: 0;
	animation: lip-rise 0.45s ease forwards;
	animation-delay: calc(var(--lip-i, 0) * 70ms + 100ms);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.lip-benefit:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(10, 37, 64, 0.1);
	border-color: var(--lip-azure-light);
}
.lip-benefit-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--lip-azure-soft);
	color: var(--lip-azure);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2px;
}
.lip-benefit-icon svg {
	width: 19px;
	height: 19px;
}
.lip-benefit strong {
	font-size: 13px;
	font-weight: 700;
	color: var(--lip-navy);
}
.lip-benefit span {
	font-size: 11.5px;
	color: var(--lip-slate);
	line-height: 1.35;
}

@keyframes lip-rise {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.lip-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.lip-btn {
	display: block;
	width: 100%;
	padding: 15px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
	border: none;
	transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.lip-btn-primary {
	background: linear-gradient(135deg, var(--lip-azure-light) 0%, var(--lip-azure) 55%, var(--lip-azure-deep) 100%);
	color: #fff;
	box-shadow: 0 10px 24px rgba(11, 127, 255, 0.35);
}
.lip-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(11, 127, 255, 0.42), 0 0 0 4px rgba(255, 176, 32, 0.18);
}
.lip-btn-primary:active {
	transform: translateY(0);
}
.lip-btn-text {
	background: none;
	border: none;
	color: var(--lip-slate);
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	padding: 4px;
}
.lip-btn-text:hover {
	color: var(--lip-navy);
}

@media (max-width: 420px) {
	.lip-body {
		padding: 26px 22px 24px;
	}
	.lip-benefits {
		gap: 10px;
	}
	.lip-slide {
		padding: 24px 40px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lip-overlay, .lip-modal, .lip-close {
		transition: none !important;
	}
	.lip-benefit {
		animation: none !important;
		opacity: 1 !important;
	}
}
