/* Pages marketing publiques (rendues côté serveur, voir LessonEvent.Server/Marketing).
   Autonome : ne dépend pas d'app.css, aucune ressource externe (compatible avec la CSP). */
:root {
	--mk-bg: #ffffff;
	--mk-bg-alt: #f5f7fb;
	--mk-text: #1c2333;
	--mk-muted: #5b6475;
	--mk-primary: #2f6fed;
	--mk-primary-dark: #2257c4;
	--mk-border: #e2e7f0;
	--mk-radius: 12px;
}
@media (prefers-color-scheme: dark) {
	:root {
		--mk-bg: #12151c;
		--mk-bg-alt: #1a1f29;
		--mk-text: #e8ebf2;
		--mk-muted: #a3abbb;
		--mk-primary: #5b8ff5;
		--mk-primary-dark: #7aa5f7;
		--mk-border: #2a3140;
	}
}

* { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--mk-bg);
	color: var(--mk-text);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
	font-size: 17px;
}
a { color: var(--mk-primary); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); text-align: center; margin-bottom: 1.5rem; }
h3 { font-size: 1.15rem; }

.mk-container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.mk-narrow { max-width: 760px; }
.mk-center { text-align: center; }
.mk-muted { color: var(--mk-muted); font-size: 0.92rem; }
.mk-lead { font-size: 1.2rem; color: var(--mk-muted); max-width: 720px; margin: 0 auto 1.5rem; }

/* En-tête */
.mk-header { border-bottom: 1px solid var(--mk-border); background: var(--mk-bg); position: sticky; top: 0; z-index: 10; }
.mk-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.mk-logo { font-weight: 800; font-size: 1.2rem; color: var(--mk-text); text-decoration: none; }
.mk-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.mk-nav a { text-decoration: none; color: var(--mk-text); }
.mk-nav a.mk-btn { color: #fff; }
.mk-lang { font-size: 0.85rem; border: 1px solid var(--mk-border); border-radius: 6px; padding: 0.1rem 0.45rem; }

/* Boutons */
.mk-btn {
	display: inline-block; background: var(--mk-primary); color: #fff; text-decoration: none; font-weight: 600;
	padding: 0.8rem 1.4rem; border-radius: 999px; border: 2px solid var(--mk-primary); margin: 0.25rem;
}
.mk-btn:hover { background: var(--mk-primary-dark); border-color: var(--mk-primary-dark); }
.mk-btn-ghost { background: transparent; color: var(--mk-primary); }
.mk-btn-ghost:hover { background: var(--mk-bg-alt); }
.mk-btn-small { padding: 0.45rem 1rem; font-size: 0.92rem; margin: 0; }
.mk-link { font-weight: 600; text-decoration: none; }

/* Sections */
.mk-hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--mk-bg-alt), var(--mk-bg)); }
.mk-hero-small { padding: 48px 0 24px; }
.mk-section { padding: 56px 0; }
.mk-alt { background: var(--mk-bg-alt); }
.mk-cta { background: var(--mk-bg-alt); }

.mk-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mk-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.mk-card { background: var(--mk-bg); border: 1px solid var(--mk-border); border-radius: var(--mk-radius); padding: 1.5rem; margin: 0; }
.mk-card p { margin: 0 0 0.5rem; color: var(--mk-muted); }
.mk-card-link { text-decoration: none; color: inherit; transition: border-color 0.15s; }
.mk-card-link:hover { border-color: var(--mk-primary); }
.mk-icon { font-size: 2rem; margin-bottom: 0.5rem; }

.mk-steps { list-style: none; counter-reset: step; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mk-steps li { counter-increment: step; background: var(--mk-bg); border: 1px solid var(--mk-border); border-radius: var(--mk-radius); padding: 1.5rem; }
.mk-steps li::before {
	content: counter(step); display: inline-flex; align-items: center; justify-content: center;
	width: 2rem; height: 2rem; border-radius: 50%; background: var(--mk-primary); color: #fff; font-weight: 700; margin-bottom: 0.75rem;
}
.mk-steps p { color: var(--mk-muted); margin: 0; }

/* Tarifs */
.mk-plans { align-items: stretch; }
.mk-plan { text-align: center; display: flex; flex-direction: column; justify-content: space-between; }
.mk-plan h2 { margin-bottom: 0.25rem; }
.mk-plan-members { font-weight: 600; }
.mk-price { font-size: 2.2rem; font-weight: 800; margin: 0.5rem 0 0; color: var(--mk-text) !important; }
.mk-price small { font-size: 0.9rem; font-weight: 400; color: var(--mk-muted); }
.mk-checklist { padding: 0; list-style: none; }
.mk-checklist li { padding: 0.35rem 0 0.35rem 1.8rem; position: relative; }
.mk-checklist li::before { content: "✔"; position: absolute; left: 0; color: #1a7f37; }

/* FAQ */
.mk-faq { border-bottom: 1px solid var(--mk-border); padding: 0.9rem 0; }
.mk-faq summary { cursor: pointer; font-weight: 600; }
.mk-faq p { color: var(--mk-muted); margin: 0.6rem 0 0; }

blockquote { margin: 0 0 0.75rem; font-style: italic; }

/* Pied de page */
.mk-footer { border-top: 1px solid var(--mk-border); padding: 32px 0; font-size: 0.92rem; color: var(--mk-muted); }
.mk-footer a { color: var(--mk-muted); }

@media (max-width: 640px) {
	body { font-size: 16px; }
	.mk-hero { padding: 48px 0 40px; }
	.mk-section { padding: 40px 0; }
	.mk-nav { gap: 0.6rem; font-size: 0.92rem; }
}
