/* ============================================
   KingOpinion — Landing 2 (charte V2)
   ============================================ */

/* ---------- Header / Nav ---------- */
.l2-header {
	background: #fff;
	border-bottom: 1px solid #E2E8F0;
	padding: 12px 0;
}
.l2-header-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.l2-header-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.l2-header-brand svg { width: 32px; height: auto; }
.l2-header-brand-text {
	font-size: 17px;
	font-weight: 800;
	color: #0F172A;
	letter-spacing: -0.01em;
	line-height: 1;
}
@media (max-width: 540px) {
	.l2-header-brand-text { font-size: 15px; }
}
.l2-header-link {
	font-size: 13px;
	font-weight: 600;
	color: #475569;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 999px;
	border: 1px solid #E2E8F0;
	transition: all 0.2s ease;
}
.l2-header-link:hover { border-color: #FFB800; color: #B45309; }

/* ---------- Hero ---------- */
.l2-hero {
	background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
	color: #fff;
	padding: 60px 16px 80px;
	position: relative;
	overflow: hidden;
}
.l2-hero::before {
	content: '';
	position: absolute;
	top: -20%;
	right: -10%;
	width: 480px;
	height: 480px;
	background: radial-gradient(circle, rgba(255, 184, 0, 0.18) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.l2-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}
@media (min-width: 992px) { .l2-hero-inner { grid-template-columns: 1.2fr 1fr; gap: 48px; } }

.l2-hero-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.l2-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(0, 210, 106, 0.15);
	border: 1px solid rgba(0, 210, 106, 0.35);
	color: #00F27D;
	font-size: 12px;
	font-weight: 600;
}
.l2-hero-badge i { color: #00D26A; }
.l2-hero-crown {
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.l2-hero-crown svg, .l2-hero-crown img { width: 100%; height: auto; }

.l2-hero h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -0.025em;
	margin: 0 0 16px;
}
.l2-hero h1 strong { color: #FFB800; font-weight: 900; }

.l2-hero-content {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.l2-hero-subtitle {
	font-size: 16px;
	color: #CBD5E1;
	line-height: 1.5;
	margin: 0;
}
.l2-hero-subtitle strong { color: #FFB800; font-weight: 700; }
.l2-hero-subtitle sup { font-size: 60%; opacity: 0.6; }
.l2-hero-gift { width: 60px; height: auto; flex-shrink: 0; }

/* ---------- Form panel (hero right) ---------- */
.l2-form-panel {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	padding: 28px 24px;
	color: #1E293B;
}

/* État "déjà connecté" — remplace le form quand user est défini */
.l2-form-panel--connected {
	text-align: center;
	padding: 40px 28px 32px;
	position: relative;
	overflow: hidden;
}
.l2-form-panel--connected::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, #00B85C, #00D26A, #00F27D);
}
.l2-connected-icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 20px;
	border-radius: 50%;
	background: linear-gradient(135deg, #00D26A, #00F27D);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	box-shadow: 0 12px 30px rgba(0, 210, 106, 0.35);
}
.l2-connected-icon svg {
	width: 44px;
	height: 44px;
	display: block;
}
.l2-connected-title {
	display: block;
	font-size: 22px;
	font-weight: 800;
	color: #0F172A;
	margin: 0 0 10px;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-align: center;
}
.l2-connected-title strong { color: #FFB800; font-weight: 800; }
.l2-connected-subtitle {
	font-size: 14px;
	color: #64748B;
	line-height: 1.5;
	margin: 0 0 24px;
	text-align: center;
}
.l2-connected-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 22px;
	background: linear-gradient(135deg, #FF6B00, #FF8C00);
	color: #fff;
	font-weight: 800;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	border: none;
	border-radius: 12px;
	text-decoration: none;
	box-shadow: 0 8px 22px rgba(255, 107, 0, 0.4);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	box-sizing: border-box;
	line-height: 1.2;
}
.l2-connected-cta:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(255, 107, 0, 0.55);
}
.l2-connected-cta strong { color: #fff; font-weight: 900; }
.l2-connected-cta svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	display: block;
}

.l2-form-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 800;
	color: #0F172A;
	margin: 0 0 18px;
}
.l2-form-title i { color: #00D26A; }
.l2-form-block { margin-bottom: 14px; }
.l2-form-block label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #64748B;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 6px;
}
.l2-form-block input {
	display: block;
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	font-family: inherit;
	background: #F8FAFC;
	border: 1.5px solid #E2E8F0;
	border-radius: 10px;
	transition: all 0.15s ease;
	box-sizing: border-box;
}
.l2-form-block input:focus {
	border-color: #FFB800;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.15);
	outline: none;
}
.l2-form-block input.is-invalid {
	border-color: #DC2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.l2-form-submit {
	display: block;
	width: 100%;
	padding: 14px 24px;
	background: linear-gradient(135deg, #FF6B00, #FF8C00);
	color: #fff;
	font-weight: 800;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	border: none;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(255, 107, 0, 0.35);
	transition: all 0.2s ease;
	cursor: pointer;
}
.l2-form-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 107, 0, 0.45); }

.l2-form-cnil {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid #F1F5F9;
}
.l2-form-cnil-login {
	display: block;
	text-align: center;
	font-size: 13px;
	color: #475569;
	margin-bottom: 12px;
	text-decoration: none;
}
.l2-form-cnil-login strong { color: #B45309; font-weight: 700; }
.l2-form-cnil-text {
	font-size: 10px;
	color: #94A3B8;
	line-height: 1.5;
	margin: 0;
}

/* ---------- Section payement ---------- */
.l2-payement {
	background: #F8FAFC;
	padding: 36px 16px;
	border-bottom: 1px solid #E2E8F0;
}
.l2-payement-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}
@media (min-width: 768px) { .l2-payement-inner { flex-direction: row; justify-content: space-between; } }
.l2-payement-text {
	font-size: 18px;
	font-weight: 700;
	color: #0F172A;
	margin: 0;
	text-align: center;
}
.l2-payement-text span {
	display: block;
	color: #00B85C;
	font-size: 15px;
	font-weight: 600;
	margin-top: 2px;
}
.l2-payement-logos {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	justify-content: center;
}
.l2-payement-logos img { max-height: 28px; width: auto; opacity: 0.7; }

/* ---------- Section "Gains en direct" ---------- */
.l2-gains {
	background: #FFF7E0;
	padding: 36px 0;
}
.l2-gains-title {
	max-width: 1200px;
	margin: 0 auto 24px;
	padding: 0 16px;
	text-align: center;
}
.l2-gains-title h2 {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 800;
	color: #0F172A;
	margin: 0;
	letter-spacing: -0.01em;
}
.l2-gains-title .live-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #00D26A;
	animation: l2LivePulse 1.5s infinite;
	box-shadow: 0 0 0 0 rgba(0, 210, 106, 0.5);
}
@keyframes l2LivePulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(0, 210, 106, 0.5); }
	50% { box-shadow: 0 0 0 8px rgba(0, 210, 106, 0); }
}

.l2-gains-slider-wrap {
	position: relative;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.l2-gains-slider {
	display: flex;
	gap: 16px;
	width: max-content;
	animation: l2GainsScroll 60s linear infinite;
	padding: 8px 0;
}
.l2-gains-slider:hover { animation-play-state: paused; }
.l2-gains-slide {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	padding: 12px 18px;
	border-radius: 12px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
	min-width: 280px;
}
.l2-gains-slide .localise { flex: 1; }
.l2-gains-slide .hour {
	font-size: 11px;
	color: #94A3B8;
	margin: 0;
}
.l2-gains-slide .zone {
	font-size: 13px;
	font-weight: 700;
	color: #0F172A;
	margin: 2px 0 0;
}
.l2-gains-slide .zone span {
	font-size: 11px;
	font-weight: 500;
	color: #64748B;
	display: block;
}
.l2-gains-slide .zone-country {
	display: inline-flex !important;
	align-items: center;
	gap: 5px;
	margin-top: 2px;
}
.l2-gains-slide .l2-flag {
	width: 18px;
	height: 13px;
	border-radius: 2px;
	object-fit: cover;
	flex-shrink: 0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.l2-gains-slide .prix-pay {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}
.l2-gains-slide .prix {
	font-size: 16px;
	font-weight: 800;
	color: #00B85C;
	letter-spacing: -0.01em;
}
.l2-gains-slide .payment-logo img { max-height: 16px; width: auto; opacity: 0.8; }
@keyframes l2GainsScroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* ---------- Section "Pourquoi devenir membre ?" ---------- */
.l2-join { padding: 64px 16px; background: #fff; }
.l2-join-inner { max-width: 1200px; margin: 0 auto; }
.l2-section-eyebrow {
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	color: #B45309;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin: 0 0 8px;
}
.l2-section-title {
	text-align: center;
	font-size: clamp(1.6rem, 3vw, 2.5rem);
	font-weight: 800;
	color: #0F172A;
	line-height: 1.15;
	letter-spacing: -0.025em;
	margin: 0 0 40px;
}
.l2-section-title .strong { color: #FFB800; }
.l2-member-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
@media (min-width: 768px) { .l2-member-cards { grid-template-columns: repeat(3, 1fr); } }
.l2-member-card {
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 20px;
	padding: 28px 24px;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}
.l2-member-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
	border-color: rgba(255, 184, 0, 0.4);
}
.l2-member-card.is-yellow { background: linear-gradient(135deg, #FFF3CD 0%, #FFE08A 100%); border-color: rgba(255, 184, 0, 0.3); }
.l2-member-card.is-blue { background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%); border-color: rgba(74, 144, 217, 0.3); }
.l2-member-card .link-icon {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.l2-member-card h3 {
	font-size: 19px;
	font-weight: 800;
	color: #0F172A;
	line-height: 1.25;
	margin: 0 0 12px;
	max-width: 80%;
}
.l2-member-card p { font-size: 14px; color: #475569; line-height: 1.55; margin: 0 0 20px; }
.l2-member-card .image-card { width: 100%; height: auto; display: block; }

/* ---------- Section "About / En savoir plus" ---------- */
.l2-about { padding: 64px 16px; background: #F8FAFC; }
.l2-about-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}
@media (min-width: 992px) { .l2-about-inner { grid-template-columns: 1.2fr 1fr; } }
.l2-about-image img { width: 100%; max-width: 540px; height: auto; display: block; margin: 0 auto; }
.l2-about-items { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.l2-about-item {
	display: flex;
	gap: 18px;
	padding: 18px;
	background: #fff;
	border-radius: 14px;
	border: 1px solid #E2E8F0;
	transition: all 0.2s ease;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}
.l2-about-item:hover {
	border-color: #FFB800;
	transform: translateX(4px);
	box-shadow: 0 10px 28px rgba(255, 184, 0, 0.15);
	color: inherit;
}
.l2-about-item:hover .l2-about-arrow { transform: translateX(4px); color: #B45309; }
.l2-about-arrow {
	display: inline-block;
	margin-left: 6px;
	font-size: 12px;
	color: #94A3B8;
	transition: all 0.2s ease;
}
.l2-about-item-num {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, #FFB800, #FFD54F);
	color: #1E293B;
	font-size: 16px;
	font-weight: 900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.l2-about-item-content h3 { font-size: 16px; font-weight: 700; color: #0F172A; margin: 0 0 4px; }
.l2-about-item-content p { font-size: 13px; color: #475569; line-height: 1.5; margin: 0; }

/* ---------- Testimonials ---------- */
.l2-testimonials {
	padding: 64px 0;
	background: #fff;
	position: relative;
	overflow: hidden;
}
.l2-testimonial-carousel {
	display: flex;
	gap: 18px;
	width: max-content;
	padding: 8px 16px;
	animation: l2TestimonialScroll 90s linear infinite;
}
.l2-testimonial-carousel:hover { animation-play-state: paused; }
.l2-testimonial-card {
	flex-shrink: 0;
	width: 320px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	padding: 22px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.l2-testimonial-card .stars { color: #FFB800; font-size: 16px; margin-bottom: 10px; letter-spacing: 1px; }
.l2-testimonial-card p { font-size: 13px; color: #334155; line-height: 1.55; margin: 0 0 14px; font-style: italic; }
.l2-testimonial-card .author { font-size: 14px; font-weight: 700; color: #0F172A; }
.l2-testimonial-card .location { font-size: 11px; color: #94A3B8; }
@keyframes l2TestimonialScroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
.l2-testimonials::before,
.l2-testimonials::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 80px;
	z-index: 2;
	pointer-events: none;
}
.l2-testimonials::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.l2-testimonials::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }

/* ---------- FAQ ---------- */
.l2-faq { padding: 64px 16px; background: #F8FAFC; }
.l2-faq-inner { max-width: 800px; margin: 0 auto; }
.l2-faq-item {
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 14px;
	margin-bottom: 12px;
	overflow: hidden;
	transition: all 0.2s ease;
}
.l2-faq-item.active { border-color: #FFB800; box-shadow: 0 6px 20px rgba(255, 184, 0, 0.12); }
.l2-faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 22px;
	font-size: 15px;
	font-weight: 700;
	color: #0F172A;
	cursor: pointer;
	user-select: none;
}
.l2-faq-question .icon { color: #FFB800; transition: transform 0.2s ease; }
.l2-faq-question .icon-minus { display: none; }
.l2-faq-item.active .icon-plus { display: none; }
.l2-faq-item.active .icon-minus { display: inline-block; }
.l2-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
	font-size: 14px;
	line-height: 1.6;
	color: #475569;
	padding: 0 22px;
}
.l2-faq-item.active .faq-answer,
.l2-faq-item.active .l2-faq-answer { max-height: 1500px; padding-bottom: 20px; }

/* ---------- Registration completion modal (Bootstrap-free) ---------- */
.l2-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.l2-modal.is-open { display: flex; }
.l2-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(8px);
}
.l2-modal-card {
	position: relative;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	z-index: 1;
}
.l2-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid #F1F5F9;
}
.l2-modal-header h5 { font-size: 18px; font-weight: 800; color: #0F172A; margin: 0; }
.l2-modal-close {
	background: transparent;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #94A3B8;
	font-size: 18px;
	cursor: pointer;
	transition: all 0.15s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.l2-modal-close:hover { background: #F1F5F9; color: #475569; }
.l2-modal-body { padding: 24px; }
.l2-modal-field { margin-bottom: 16px; }
.l2-modal-field label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: #475569;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
}
.l2-modal-field input,
.l2-modal-field select {
	display: block;
	width: 100%;
	padding: 12px 14px;
	font-size: 14px;
	font-family: inherit;
	background: #F8FAFC;
	border: 1.5px solid #E2E8F0;
	border-radius: 10px;
	transition: all 0.15s ease;
	box-sizing: border-box;
}
.l2-modal-field input:focus, .l2-modal-field select:focus {
	border-color: #FFB800;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.15);
	outline: none;
}
.l2-modal-error {
	display: none;
	color: #DC2626;
	font-size: 12px;
	margin-top: 6px;
	padding: 6px 10px;
	background: #FEE2E2;
	border-radius: 8px;
}
.l2-modal-error.is-shown { display: block; }
.l2-modal-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0 20px;
	font-size: 12.5px;
	color: #475569;
	line-height: 1.5;
}
.l2-modal-checkbox input { margin-top: 2px; flex-shrink: 0; }
.l2-modal-checkbox a { color: #B45309; text-decoration: underline; }
.l2-modal-submit {
	display: block;
	width: 100%;
	padding: 14px 24px;
	background: linear-gradient(135deg, #FF6B00, #FF8C00);
	color: #fff;
	font-weight: 800;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	border: none;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(255, 107, 0, 0.35);
	transition: all 0.2s ease;
	cursor: pointer;
}
.l2-modal-submit:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 107, 0, 0.45); }
.l2-modal-submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.l2-modal-footnote {
	text-align: center;
	font-size: 11px;
	color: #94A3B8;
	margin: 14px 0 0;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
