:root {
  --navy: #0b0c66;
  --navy-2: #1a1b8f;
  --blue: #101185;
  --blue-dark: #0a0b5c;
  --blue-soft: #ececf9;
  --accent: #fadf70;
  --accent-dark: #e8c443;
  --ink: #1b2333;
  --muted: #5b6577;
  --line: #e2e6ee;
  --bg: #ffffff;
  --bg-alt: #f6f6fb;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 12, 102, .06), 0 10px 30px rgba(11, 12, 102, .10);
  --shadow-lg: 0 20px 60px rgba(11, 12, 102, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .9em; }
.eyebrow.light { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.sub { font-size: 1.08rem; color: var(--muted); max-width: 44em; }
.sub.center { margin-left: auto; margin-right: auto; }
.hl { background: linear-gradient(90deg, var(--blue), #4446d8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(16, 17, 133, .28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: 0 6px 18px rgba(250, 223, 112, .4); }
.btn-accent:hover { background: #ffe88f; }
.btn-sm { padding: .6em 1.1em; font-size: .95rem; }
.btn-lg { padding: 1em 1.7em; font-size: 1.05rem; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Top bar + nav */
.topbar { background: var(--navy); color: #bfc0e6; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1em; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar-links { display: flex; gap: 1.4em; }
.topbar-links a:first-child::before { content: "🔑 "; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 12, 102, .06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: .7em; text-decoration: none; color: var(--navy); }
.logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5em; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--blue); transition: right .2s; }
.nav-links a:not(.btn):hover::after { right: 0; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: 64px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 400px at 85% 10%, rgba(16, 17, 133, .12), transparent 70%),
  radial-gradient(500px 400px at 5% 90%, rgba(250, 223, 112, .25), transparent 70%),
  linear-gradient(180deg, var(--blue-soft), #fff 80%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .6em; padding: .45em 1em; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 700; color: var(--navy); box-shadow: var(--shadow); margin-bottom: 1.4em; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-dark); box-shadow: 0 0 0 0 rgba(232, 196, 67, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(232, 196, 67, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 196, 67, 0); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0 1.6em; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5em 1.4em; color: var(--muted); font-weight: 600; font-size: .93rem; }
.checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: .7rem; font-weight: 800; margin-right: .5em; }

.hero-media { position: relative; padding: 28px 0 40px 28px; }
.hero-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before { content: ""; position: absolute; right: -24px; top: 0; width: 160px; height: 160px; border-radius: 24px; background: repeating-radial-gradient(circle at 2px 2px, var(--blue) 0 2px, transparent 2px 16px); background-size: 16px 16px; opacity: .25; z-index: -1; }
.float-card { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 16px; display: flex; gap: 12px; align-items: center; font-size: .9rem; animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; color: var(--navy); line-height: 1.3; }
.float-card small { color: var(--muted); font-size: .8rem; }
.fc-1 { left: -8px; top: 52px; max-width: 290px; }
.fc-2 { right: -12px; top: 46%; width: 250px; flex-direction: column; align-items: stretch; gap: 6px; animation-delay: -2s; }
.fc-3 { left: 40px; bottom: 6px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.fc-icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); display: grid; place-items: center; }
.fc-icon svg { width: 22px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.progress { height: 6px; border-radius: 6px; background: var(--blue-soft); overflow: hidden; }
.progress span { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--blue), #22b573); border-radius: 6px; }
.fc-row { display: flex; justify-content: space-between; align-items: center; }
.fc-row em { font-style: normal; font-size: .75rem; font-weight: 700; color: #138a55; background: #e3f7ee; padding: .15em .6em; border-radius: 999px; }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; border: 2px solid #fff; margin-left: -8px; }
.avatars span:first-child { margin-left: 0; background: var(--blue); }
.avatars span:nth-child(2) { background: var(--accent); color: var(--blue); }
.avatars span:nth-child(3) { background: var(--navy); }

/* Figures */
.figures { background: var(--navy); color: #cfd0ee; position: relative; }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 34px 24px; border-left: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 16px; }
.figure:first-child { border-left: 0; }
.figure strong { font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1; }
.figure:nth-child(odd) strong { color: var(--accent); }
.figure span { font-size: .93rem; line-height: 1.4; }

/* Sections */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-alt); }
.head-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.head-row h2 { margin: 0; }
.head-row .sub { margin: 0; }

/* Verticals */
.verticals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vertical { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; padding: 22px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.vertical::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; transition: transform .6s; }
.vertical::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,12,102,0) 35%, rgba(11,12,102,.9)); }
.vertical:hover::before { transform: scale(1.06); }
.vertical span { font-weight: 800; font-size: 1.2rem; line-height: 1.2; }
.vertical small { opacity: .85; margin-top: 4px; }

.also { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.also-label { font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.also ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.also li { padding: .4em .95em; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--navy); }
.themes { margin-top: 48px; padding: 36px 40px; border-radius: 24px; background: linear-gradient(135deg, var(--blue-soft), #fffbe8); border: 1px solid var(--line); }
.themes h3 { font-size: 1.35rem; margin-bottom: 1em; }
.themes ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.themes li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 14px 16px; font-weight: 700; color: var(--navy); font-size: .95rem; box-shadow: 0 1px 2px rgba(11, 12, 102, .06); }
.themes-link { margin-top: 22px; }
.themes b { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--blue-soft); font-size: 1.1rem; }

/* Tabs */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 44px auto 28px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; width: fit-content; box-shadow: var(--shadow); }
.tabs button { font: inherit; font-weight: 700; color: var(--muted); background: none; border: 0; padding: .75em 1.3em; border-radius: 11px; cursor: pointer; display: flex; align-items: center; gap: .55em; transition: background .2s, color .2s; }
.tabs button span { font-size: .75rem; opacity: .6; }
.tabs button:hover { color: var(--navy); background: var(--bg-alt); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tabs button[aria-selected="true"] span { color: var(--accent); opacity: 1; }
.panel[hidden] { display: none; }
.panel { display: grid; grid-template-columns: 1fr 1.1fr; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); animation: fadeUp .45s ease; }
.panel figure { min-height: 420px; }
.panel figure img { width: 100%; height: 100%; object-fit: cover; }
.panel-body { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.panel-body h3 { font-size: 1.7rem; }
.panel-body > p { color: var(--muted); font-size: 1.05rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.ticks { list-style: none; padding: 0; margin: .4em 0 1.4em; display: grid; gap: .55em; }
.ticks.two { grid-template-columns: 1fr 1fr; gap: .55em 1.4em; }
.ticks li { position: relative; padding-left: 1.8em; font-size: .97rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
blockquote { margin: 0; padding: 16px 20px; background: #fffae3; border-left: 4px solid var(--accent-dark); border-radius: 0 12px 12px 0; color: #4a4120; font-size: .95rem; }

/* Process */
.process { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #cfd0ee; position: relative; overflow: hidden; }
.process::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(80,82,230,.45), transparent 70%); }
.process .wrap { position: relative; }
.process h2 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 28px; transition: background .2s, transform .2s; }
.steps li:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.steps li span { display: inline-block; font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 18px; background: linear-gradient(135deg, var(--accent), #fff1b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { color: #fff; }
.steps p { margin: 0; font-size: .95rem; }

/* Solutions */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.options { display: grid; gap: 14px; margin-top: 28px; }
.option { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.option:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.option.featured { border-color: var(--blue); background: linear-gradient(135deg, #fff, var(--blue-soft)); }
.option h3 { margin-bottom: .2em; font-size: 1.1rem; }
.option p { margin: 0; color: var(--muted); font-size: .95rem; }
.tag { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--navy); color: #fff; font-weight: 800; }
.featured .tag { background: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips span { font-size: .8rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.chips.big { margin: 0 0 1.6em; }
.chips.big span { font-size: .9rem; padding: .45em 1em; background: var(--blue-soft); border-color: transparent; }
.kit-wrap { position: relative; padding: 24px 24px 0 0; }
.kit-stack span { position: absolute; inset: 24px 24px 0 0; border-radius: 24px; background: var(--blue); transform: rotate(4deg); opacity: .18; }
.kit-stack span + span { transform: rotate(-3deg); background: var(--accent); opacity: .25; }
.kit { position: relative; background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #e3e4f7; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); }
.kit-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6em; }
.kit-label { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 800; color: var(--accent); margin: 0; }
.kit-badge { background: rgba(255,255,255,.12); color: #fff; font-weight: 700; font-size: .8rem; padding: .3em .9em; border-radius: 999px; }
.kit h3 { color: #fff; font-size: 1.9rem; margin-bottom: .2em; }
.kit-meta { color: #aeb0dc; margin-bottom: 1.6em; }
.kit-list { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kit-list li { display: flex; align-items: center; gap: 10px; font-size: .93rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 10px 12px; }
.kit-list i { font-style: normal; }
.kit-more { margin: 0; padding-top: 1.2em; border-top: 1px solid rgba(255,255,255,.15); font-size: .92rem; color: #aeb0dc; }
.kit-more strong { color: #fff; }
.kit-cta { margin-top: 1.4em; width: 100%; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.client { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.client:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.client figure { aspect-ratio: 16 / 10; overflow: hidden; }
.client figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.client:hover figure img { transform: scale(1.05); }
.client-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.client-body p { color: var(--muted); }
.client-body .link-arrow { margin-top: auto; }
.buys { font-size: .82rem; font-weight: 700; color: var(--blue) !important; text-transform: uppercase; letter-spacing: .06em; }

/* Formateurs */
.formateurs-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 56px; }
.formateurs-head figure { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; position: relative; }
.formateurs-head figure img { width: 100%; height: 100%; object-fit: cover; }
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: m; }
.module { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.module:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.module .num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 14px; }
.module:nth-child(4) .num { background: var(--accent); color: var(--blue); }
.module h3 { font-size: 1.3rem; }
.module ul { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .95rem; }
.module li { padding: .35em 0; border-top: 1px dashed var(--line); }

/* Terrain */
.terrain { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.terrain::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; left: -220px; bottom: -260px; background: radial-gradient(circle, rgba(80,82,230,.4), transparent 70%); }
.terrain-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.terrain-card { color: #e3e4f7; }
.terrain-card h2 { color: #fff; }
.terrain-card .eyebrow { color: var(--accent); }
.terrain-card p { font-size: 1.08rem; }
.terrain-photo { position: relative; max-width: 480px; justify-self: end; width: 100%; }
.terrain-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px; border: 2px solid var(--accent); opacity: .7; }
.terrain-photo img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.path { list-style: none; padding: 0; margin: 1.6em 0 0; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: p; }
.path li { counter-increment: p; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 16px 8px 8px; font-weight: 700; color: #fff; font-size: .92rem; }
.path li::before { content: counter(p); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #3a3cc8; font-size: .8rem; }
.path li:last-child::before { background: var(--accent); color: var(--navy); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: box-shadow .2s, border-color .2s; }
details[open] { box-shadow: var(--shadow); border-color: transparent; }
summary { cursor: pointer; padding: 20px 24px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 1.2rem; transition: transform .2s, background .2s, color .2s; }
details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue), #3a3cc8); color: #e8eefc; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 40px solid rgba(255,255,255,.07); }
.cta-band::before { width: 380px; height: 380px; left: -120px; bottom: -220px; }
.cta-band::after { width: 300px; height: 300px; right: -80px; top: -160px; }
.cta-band-inner { position: relative; text-align: center; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 40em; margin: 0 auto 1.8em; font-size: 1.1rem; }

/* Contact */
.contact { background: var(--navy); color: #e3e4f7; }
.contact h2 { color: #fff; }
.contact .sub { color: #bfc0e6; }
.contact .split { align-items: start; }
.contact-photo { border-radius: 20px; overflow: hidden; margin: 28px 0 22px; aspect-ratio: 16 / 9; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-mail { display: flex; align-items: center; gap: 12px; }
.contact-mail span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); font-size: 1.2rem; }
.contact-mail a { color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 36px; display: grid; gap: 18px; box-shadow: var(--shadow-lg); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.form input:not([type=checkbox]), .form select, .form textarea { font: inherit; padding: .8em .95em; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-alt); color: var(--ink); width: 100%; transition: border-color .2s, background .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(16, 17, 133, .12); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 8px; }
.checkgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.checkgrid label { display: inline-flex; align-items: center; gap: 8px; padding: .5em .9em; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .88rem; transition: border-color .2s, background .2s; }
.checkgrid label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue); }
.checkgrid input { accent-color: var(--blue); margin: 0; }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); }

/* Footer */
.footer { background: #07084a; color: #aeb0dc; padding: 64px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1em; }
.footer-grid a:not(.logo) { display: block; color: #aeb0dc; text-decoration: none; margin-bottom: .55em; }
.footer-grid a:not(.logo):hover { color: #fff; }
.footer-grid p { max-width: 26em; }
.logo.light { margin-bottom: 1.4em; display: inline-flex; }
.logo.light img { height: 52px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; font-size: .85rem; }

/* Boutique */
.nav-shop { display: inline-flex; align-items: center; gap: .4em; padding: .45em .95em; border-radius: 999px; background: var(--accent); color: var(--blue) !important; font-weight: 800 !important; }
.nav-shop::before { content: "🛒"; font-size: .9em; }
.nav-links a.nav-shop::after { display: none; }
.nav-shop:hover { background: #ffe88f; }
.shop-hero { position: relative; padding: 64px 0 80px; background:
  radial-gradient(600px 400px at 90% 0%, rgba(16, 17, 133, .12), transparent 70%),
  radial-gradient(500px 400px at 0% 100%, rgba(250, 223, 112, .3), transparent 70%),
  linear-gradient(180deg, var(--blue-soft), #fff 85%); }
.shop-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.shop-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.shop-steps li { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.shop-steps li > span { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; }
.shop-steps li:last-child > span { background: var(--accent); color: var(--blue); }
.shop-steps strong { display: block; color: var(--navy); }
.shop-steps small { color: var(--muted); }
.licence-switch { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.switch-label { font-size: .85rem; font-weight: 700; color: var(--muted); }
.seg { display: inline-flex; padding: 5px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 14px; }
.seg button { font: inherit; font-weight: 700; font-size: .92rem; border: 0; background: none; color: var(--muted); padding: .6em 1.1em; border-radius: 10px; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.carousel { position: relative; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 26px; }
.filter { font: inherit; font-weight: 700; font-size: .9rem; padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--blue); }
.filter[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.products > [hidden] { display: none; }
.carousel-nav.static .car-btn, .carousel-nav.static .dots { visibility: hidden; }
.products { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); column-gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scroll-behavior: smooth; padding: 8px 4px 28px; margin: -8px -4px 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.products::-webkit-scrollbar { display: none; }
.products:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 20px; }
.products > .product { scroll-snap-align: start; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
.car-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue); font: inherit; font-size: 1.2rem; font-weight: 800; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, color .2s, opacity .2s; }
.car-btn:hover:not(:disabled) { background: var(--blue); color: #fff; }
.car-btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
.car-btn.play { width: 40px; height: 40px; font-size: .8rem; margin-left: 4px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: width .25s, background .25s; }
.dots button[aria-selected="true"] { width: 28px; background: var(--blue); }
.product { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product figure { position: relative; aspect-ratio: 16 / 8; overflow: hidden; }
.product figure img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--accent); color: var(--blue); font-weight: 800; font-size: .78rem; padding: .35em .85em; border-radius: 999px; }
.badge.light { position: static; display: inline-block; background: rgba(255,255,255,.15); color: var(--accent); margin-bottom: 1em; }
.product-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.product-meta { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); margin-bottom: .5em; }
.product-body h3 { font-size: 1.4rem; margin-bottom: .4em; }
.product-body > p { color: var(--muted); font-size: .97rem; }
.mini-ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 6px; }
.mini-ticks li { font-size: .82rem; font-weight: 700; color: var(--navy); background: var(--blue-soft); padding: .35em .8em; border-radius: 999px; }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.price strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.price .cur { font-size: .95rem; font-weight: 700; color: var(--muted); }
.price small { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.product.soon { background: linear-gradient(150deg, var(--navy), var(--navy-2)); border: 0; color: #e3e4f7; }
.soon-inner { padding: 36px; display: flex; flex-direction: column; height: 100%; justify-content: center; align-items: flex-start; }
.soon-inner h3 { color: #fff; font-size: 1.5rem; }
.soon-inner ul { padding-left: 1.1em; margin: 0 0 1em; }
.soon-inner li { margin-bottom: .3em; }
.soon-inner p { color: #bfc0e6; }
.shop-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.shop-photo img { width: 100%; height: 100%; object-fit: cover; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.5rem; margin-bottom: .2em; }
.plan-for { color: var(--muted); font-weight: 600; margin-bottom: 1.2em; }
.plan .ticks { flex: 1; align-content: start; }
.plan .btn { align-self: stretch; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan-tag { position: absolute; top: -14px; left: 28px; background: var(--accent); color: var(--blue); font-weight: 800; font-size: .78rem; padding: .35em .9em; border-radius: 999px; }
.rights { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.rights > div { border-radius: 18px; padding: 26px 28px; }
.rights > div:first-child { background: #ecf8f1; }
.rights > div:last-child { background: #fdf0ef; }
.rights h3 { font-size: 1.1rem; }
.rights > div:first-child h3 { color: #13693f; }
.rights > div:last-child h3 { color: #a3352b; }
.rights ul { margin: 0; padding-left: 1.1em; color: var(--ink); }
.rights li { margin-bottom: .35em; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.verticals .reveal:nth-child(2), .clients .reveal:nth-child(2), .modules .reveal:nth-child(2), .steps .reveal:nth-child(2), .figures .reveal:nth-child(2) { transition-delay: .08s; }
.verticals .reveal:nth-child(3), .clients .reveal:nth-child(3), .modules .reveal:nth-child(3), .steps .reveal:nth-child(3), .figures .reveal:nth-child(3) { transition-delay: .16s; }
.verticals .reveal:nth-child(4), .modules .reveal:nth-child(4), .steps .reveal:nth-child(4), .figures .reveal:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .pulse, .panel { animation: none; }
}

/* Legal page */
.legal { padding: 64px 0 88px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .split, .formateurs-head, .faq-grid, .terrain-inner, .shop-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .products { grid-auto-columns: calc((100% - 24px) / 2); }
  .licence-switch { align-items: flex-start; }
  .terrain-photo { justify-self: start; }
  .hero-media { max-width: 640px; }
  .head-row { grid-template-columns: 1fr; gap: 12px; }
  .verticals { grid-template-columns: 1fr 1fr; }
  .themes ul { grid-template-columns: 1fr 1fr; }
  .figures-grid { grid-template-columns: 1fr 1fr; }
  .figure:nth-child(3) { border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .panel { grid-template-columns: 1fr; }
  .panel figure { min-height: 0; aspect-ratio: 16 / 8; }
  .steps, .modules { grid-template-columns: 1fr 1fr; }
  .clients { grid-template-columns: 1fr 1fr; }
  .clients .client:last-child { grid-column: span 2; }
  .clients .client:last-child figure { aspect-ratio: 16 / 6; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: span 2; }
}
@media (max-width: 760px) {
  .topbar span { display: none; }
  .topbar-inner { justify-content: center; }
  .burger { display: block; }
  .nav-inner { height: 68px; }
  .logo img { height: 38px; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 14px; }
  .wrap { padding: 0 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 40px 0 64px; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-media { padding: 16px 0 60px; }
  .hero-media::before { display: none; }
  .fc-1 { left: -4px; top: 0; max-width: 250px; }
  .fc-2 { right: -4px; top: auto; bottom: 70px; width: 210px; }
  .fc-3 { left: 8px; bottom: 0; }
  .figure { padding: 22px 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .figure strong { font-size: 2.2rem; }
  .figure span { font-size: .85rem; }
  .verticals { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vertical { min-height: 180px; padding: 14px; }
  .vertical::after { background: linear-gradient(180deg, rgba(11,12,102,.05) 0%, rgba(11,12,102,.92) 75%); }
  .vertical span { font-size: .95rem; }
  .themes { padding: 24px 18px; }
  .themes ul { grid-template-columns: 1fr; }
  .vertical span { font-size: 1rem; }
  .vertical small { font-size: .78rem; }
  .tabs { width: auto; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; border-radius: 0; border-left: 0; border-right: 0; }
  .tabs button { flex: none; }
  .panel-body { padding: 28px 22px; }
  .panel-body h3 { font-size: 1.4rem; }
  .ticks.two { grid-template-columns: 1fr; }
  .steps, .modules, .clients { grid-template-columns: 1fr; }
  .clients .client:last-child { grid-column: auto; }
  .clients .client:last-child figure { aspect-ratio: 16 / 10; }
  .kit-wrap { padding: 16px 12px 0 0; }
  .kit-stack span { inset: 16px 12px 0 0; }
  .kit { padding: 26px 22px; }
  .kit-list, .form .row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .rights { grid-template-columns: 1fr; }
  .products { grid-auto-columns: 86%; column-gap: 14px; }
  .car-btn { width: 42px; height: 42px; }
  .seg button { padding: .55em .8em; font-size: .88rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .filter { flex: none; }
  .product-foot { flex-direction: column; align-items: stretch; }
  .shop-hero { padding: 40px 0 56px; }
  .nav-shop { align-self: flex-start; margin-top: 12px; }
  .terrain-inner { padding-top: 64px; padding-bottom: 72px; }
  .terrain-photo { max-width: calc(100% - 18px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ============================================================
   Place de marché (catalogue façon Udemy) : en-tête, catalogue,
   fiche formation, panier, cartes. Partagé site + application.
   ============================================================ */
.mk-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 2px 4px rgba(11, 12, 102, .06), 0 4px 12px rgba(11, 12, 102, .06); }
.mk-bar { display: flex; align-items: center; gap: 18px; height: 72px; padding: 0 24px; max-width: 1440px; margin: 0 auto; }
.mk-logo img { height: 40px; width: auto; display: block; }
.mk-burger, .mk-search-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.mk-burger span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }
.mk-search-toggle svg, .mk-cart svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mk-cats { position: relative; }
.mk-cats > button { font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 10px 4px; cursor: pointer; }
.mk-cats > button:hover, .mk-cats.open > button { color: var(--blue); }
.mk-cats-menu { position: absolute; top: calc(100% + 6px); left: -12px; width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 10px; display: none; }
.mk-cats.open .mk-cats-menu { display: block; }
@media (hover: hover) { .mk-cats:hover .mk-cats-menu { display: block; } .mk-cats:hover > button { color: var(--blue); } .mk-cats::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; } }
.mk-cats-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.mk-cats-menu a:hover { background: var(--bg-alt); }
.mk-cats-menu strong { display: block; color: var(--navy); font-size: .95rem; }
.mk-cats-menu small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.mk-cat-ico { font-size: 1.2rem; line-height: 1.3; }
.mk-cats-menu .mk-cat-all { font-weight: 800; color: var(--blue); border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; margin-bottom: 4px; }
.mk-search { flex: 1; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border: 1px solid var(--navy); border-radius: 999px; background: var(--bg-alt); min-width: 0; }
.mk-search:focus-within { background: #fff; box-shadow: 0 0 0 3px rgba(16, 17, 133, .15); }
.mk-search svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.mk-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .95rem; color: var(--ink); outline: none; }
.mk-search input::-webkit-search-cancel-button { cursor: pointer; }
.mk-links { display: flex; gap: 18px; }
.mk-links a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600; white-space: nowrap; }
.mk-links a:hover { color: var(--blue); }
.mk-cart { position: relative; color: var(--navy); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; }
.mk-cart:hover { background: var(--bg-alt); }
.mk-cart-count { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.mk-cart-count[hidden] { display: none; }
.mk-cta { white-space: nowrap; }
.mk-mobile { display: none; }

/* Fil d'Ariane, bandeau catégorie */
.mk-crumbs { font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.mk-crumbs a { color: var(--blue); text-decoration: none; }
.mk-crumbs.light, .mk-crumbs.light a { color: #c9caf2; }
.mk-crumbs.light a:hover { color: #fff; }
.mk-cat-band { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 36px 0 0; }
.mk-cat-band h1 { margin-bottom: .3em; }
.mk-cat-band .lead { font-size: 1.05rem; margin-bottom: 1.2em; }
.mk-topics { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 18px; }
.mk-topics a { flex: none; padding: 12px 16px; font-weight: 700; font-size: .92rem; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.mk-topics a small { color: var(--muted); font-weight: 600; }
.mk-topics a:hover { color: var(--navy); }
.mk-topics a.on { color: var(--navy); border-bottom-color: var(--navy); }

/* Résultats : filtres + liste */
.mk-results { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.mk-filters details { border-top: 1px solid var(--line); }
.mk-filters summary { font-weight: 800; color: var(--navy); padding: 14px 0; cursor: pointer; list-style: none; }
.mk-filters summary::-webkit-details-marker { display: none; }
.mk-filters fieldset { border: 0; padding: 0 0 18px; margin: 0 0 6px; border-bottom: 1px solid var(--line); }
.mk-filters legend { font-weight: 800; color: var(--navy); margin-bottom: 8px; padding: 0; }
.mk-filters label { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .94rem; cursor: pointer; }
.mk-filters label small { color: var(--muted); }
.mk-filters label.off { opacity: .45; }
.mk-filters input { accent-color: var(--blue); width: 17px; height: 17px; }
.mk-reset { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .9rem; }
.mk-list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.mk-list-head p { margin: 0; color: var(--muted); }
.mk-list-head label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.mk-list-head select { font: inherit; font-size: .9rem; padding: .55em .8em; border: 1px solid var(--navy); border-radius: 10px; background: #fff; }
.mk-row { display: grid; grid-template-columns: 260px 1fr auto; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.mk-row figure { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.mk-row figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mk-row:hover figure img { transform: scale(1.04); }
.mk-row h3 { font-size: 1.1rem; margin-bottom: .3em; color: var(--navy); }
.mk-row:hover h3 { color: var(--blue); }
.mk-row-sub { color: var(--ink); font-size: .93rem; margin-bottom: .6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-row-meta { color: var(--muted); font-size: .84rem; margin: 0; }
.mk-chip { display: inline-block; font-size: .74rem; font-weight: 800; color: var(--blue); background: var(--blue-soft); padding: .2em .65em; border-radius: 6px; margin-right: 6px; }
.mk-row-price { text-align: right; min-width: 150px; }
.mk-row-price > small { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.mk-price { font-weight: 800; font-size: 1.15rem; color: var(--navy); white-space: nowrap; }
.mk-price small { font-size: .75rem; font-weight: 700; color: var(--muted); }
.mk-price.muted-price { font-size: .95rem; color: var(--muted); }
.mk-empty { text-align: center; padding: 56px 24px; background: var(--bg-alt); border-radius: 20px; margin-top: 12px; }
.mk-empty .btn { margin: 6px; }

/* Cartes (grille) */
.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.mk-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.mk-card figure { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 10px; }
.mk-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mk-card:hover figure img { transform: scale(1.05); }
.mk-card h3 { font-size: 1rem; line-height: 1.3; color: var(--navy); margin-bottom: .25em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-card:hover h3 { color: var(--blue); }
.mk-card-cat { font-size: .8rem; color: var(--muted); margin: 0; }
.mk-card-meta { font-size: .8rem; color: var(--muted); margin: 0 0 .4em; }

/* Fiche formation */
.fd-band { background: linear-gradient(135deg, #0b0c4e, var(--navy) 60%, #16179a); color: #e3e4f7; padding: 36px 0 40px; }
.fd-band-inner { position: relative; }
.fd-band h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.5rem); max-width: 720px; margin-bottom: .35em; }
.fd-sub { font-size: 1.15rem; max-width: 720px; color: #e3e4f7; }
.fd-badges { list-style: none; padding: 0; margin: 14px 0 10px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9rem; max-width: 720px; }
.fd-badge-cat { background: var(--accent); color: var(--blue); font-weight: 800; padding: .15em .7em; border-radius: 6px; }
.fd-licence-note { font-size: .9rem; color: #bfc0e6; margin: 0; max-width: 720px; }
.fd-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding-bottom: 80px; }
.fd-main { grid-column: 1; grid-row: 1; padding-top: 32px; max-width: 760px; }
.fd-buy { grid-column: 2; grid-row: 1; position: sticky; top: 92px; margin-top: -250px; z-index: 5; }
.fd-buy-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.fd-buy-card figure { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); }
.fd-buy-card figure img { width: 100%; height: 100%; object-fit: cover; }
.fd-buy-body { padding: 20px 22px 22px; }
.fd-seg { display: flex; width: 100%; margin-bottom: 14px; }
.fd-seg button { flex: 1; padding: .55em .4em; font-size: .85rem; }
.fd-price { margin: 0; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.fd-price span { font-size: 1rem; color: var(--muted); font-weight: 700; }
.fd-price-note { color: var(--muted); font-size: .85rem; margin: 4px 0 16px; }
.fd-add, .fd-now { width: 100%; margin-bottom: 10px; }
.fd-add.pulse-once { animation: pulseOnce .6s ease; }
@keyframes pulseOnce { 40% { transform: scale(1.03); } }
.fd-small { font-size: .82rem; color: var(--muted); }
.fd-buy h3 { font-size: 1rem; margin: 16px 0 8px; }
.fd-kit { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; font-size: .88rem; }
.fd-kit li { padding-left: 1.6em; position: relative; }
.fd-kit li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.fd-link { font-weight: 700; font-size: .9rem; }
.fd-learn { border: 1px solid var(--line); border-radius: 14px; padding: 22px 26px; margin-bottom: 36px; background: #fff; }
.fd-learn h2, .fd-section h2 { font-size: 1.45rem; }
.fd-learn ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; }
.fd-learn li { position: relative; padding-left: 1.7em; font-size: .94rem; }
.fd-learn li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }
.fd-section { margin-bottom: 40px; }
.fd-prog-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fd-toggle-all { background: none; border: 0; font: inherit; font-weight: 800; color: var(--blue); cursor: pointer; }
.fd-prog-meta { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.fd-accordion { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fd-accordion details { border-bottom: 1px solid var(--line); background: #fff; border-radius: 0; margin: 0; box-shadow: none; }
.fd-accordion details:last-child { border-bottom: 0; }
.fd-accordion details:first-of-type { margin-top: 0; }
.fd-accordion summary { background: var(--bg-alt); padding: 16px 20px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.fd-accordion summary::after { display: none; }
.fd-accordion summary::before { content: "›"; display: inline-block; font-size: 1.3rem; color: var(--navy); transition: transform .2s; margin-right: 4px; }
.fd-accordion details[open] summary::before { transform: rotate(90deg); }
.fd-mod-title { flex: 1; font-weight: 800; color: var(--navy); }
.fd-mod-meta { flex: none; font-size: .84rem; font-weight: 600; color: var(--muted); }
.fd-accordion ul { margin: 0; padding: 14px 24px 16px 48px; display: grid; gap: 8px; font-size: .93rem; }
.fd-bullets { padding-left: 1.2em; margin: 0; display: grid; gap: 6px; }
.fd-desc { position: relative; }
.fd-desc.clamped { max-height: 220px; overflow: hidden; }
.fd-desc.clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.fd-more { background: none; border: 0; font: inherit; font-weight: 800; color: var(--blue); cursor: pointer; padding: 0; }
.fd-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.fd-plans > div { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.fd-plans > div.on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.fd-plans h3 { font-size: 1.05rem; margin-bottom: .2em; }
.fd-plans p { margin: 0; font-size: .88rem; color: var(--muted); }
.fd-plans .fd-plan-price { margin-top: 8px; font-weight: 800; color: var(--navy); font-size: 1rem; }
.fd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(11,12,102,.08); }
.fd-sticky strong { font-size: .92rem; color: var(--navy); }
.fd-sticky span { font-size: .9rem; font-weight: 700; color: var(--navy); }

/* Panier */
.cart-page { padding-top: 36px; padding-bottom: 80px; }
.cart-count { color: var(--muted); font-weight: 600; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.cart-items { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 140px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item img { width: 140px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.cart-item-title { font-weight: 800; color: var(--navy); text-decoration: none; }
.cart-item-title:hover { color: var(--blue); }
.cart-item-meta { color: var(--muted); font-size: .85rem; margin: 4px 0 8px; }
.cart-licence { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--navy); }
.cart-licence select { font: inherit; font-size: .85rem; padding: .35em .5em; border: 1px solid var(--line); border-radius: 8px; }
.cart-remove { background: none; border: 0; padding: 0; margin-top: 8px; font: inherit; font-size: .85rem; font-weight: 700; color: var(--blue); cursor: pointer; }
.cart-item-price { font-weight: 800; color: var(--navy); white-space: nowrap; margin: 0; }
.cart-summary { position: sticky; top: 92px; }
.cart-total-label { font-weight: 800; color: var(--muted); margin: 0; }
.cart-total { font-size: 2rem; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.cart-total span { font-size: 1rem; color: var(--muted); }
.cart-pay { width: 100%; margin: 10px 0; }

/* Accueil : carrousel de formations par catégorie */
.mk-home-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 20px 0 22px; }
.mk-home-tabs button { flex: none; font: inherit; font-weight: 700; font-size: .95rem; color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; cursor: pointer; }
.mk-home-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.mk-home-strip { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.mk-home-strip > * { scroll-snap-align: start; }
.mk-home-more { margin-top: 18px; }

@media (max-width: 1100px) {
  .mk-links { display: none; }
}
@media (max-width: 900px) {
  .mk-bar { gap: 8px; padding: 0 12px; height: 62px; }
  .mk-burger, .mk-search-toggle { display: block; }
  .mk-logo { flex: 1; display: flex; justify-content: center; }
  .mk-logo img { height: 32px; }
  .mk-cats, .mk-cta { display: none; }
  .mk-search { display: none; position: absolute; left: 12px; right: 12px; top: 68px; height: 46px; background: #fff; box-shadow: var(--shadow); }
  .mk-header.search-open .mk-search { display: flex; }
  .mk-header.search-open { padding-bottom: 58px; }
  .mk-mobile { display: none; flex-direction: column; padding: 8px 16px 18px; border-top: 1px solid var(--line); }
  .mk-header.menu-open .mk-mobile { display: flex; }
  .mk-mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
  .mk-results { grid-template-columns: 1fr; gap: 12px; padding-top: 18px; }
  .mk-filters details { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; }
  .mk-filters fieldset:last-of-type { border-bottom: 0; }
  .mk-row { grid-template-columns: 120px 1fr; gap: 14px; }
  .mk-row-price { grid-column: 2; text-align: left; min-width: 0; }
  .mk-row-price small { display: none; }
  .mk-row-meta { display: none; }
  .fd-layout { grid-template-columns: 1fr; gap: 0; }
  .fd-buy { grid-column: 1; grid-row: 1; position: static; margin-top: 20px; }
  .fd-buy-card figure { display: none; }
  .fd-main { grid-row: 2; }
  .fd-sticky:not([hidden]) { display: flex; }
  .fd-learn ul { grid-template-columns: 1fr; }
  .fd-plans { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 96px 1fr; }
  .cart-item img { width: 96px; }
  .cart-item-price { grid-column: 2; }
  .mk-home-strip { grid-auto-columns: 72%; }
}
.mk-hero-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin: 1.6em 0 0; padding: 6px 6px 6px 18px; background: #fff; border: 1px solid var(--navy); border-radius: 999px; box-shadow: var(--shadow); }
.mk-hero-search svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.mk-hero-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 1rem; background: none; }
.mk-hero-search .btn { border-radius: 999px; padding: .7em 1.3em; }
.mk-hero-search + .cta-row { margin-top: 1.2em; }
@media (max-width: 760px) { .mk-hero-search .btn { padding: .65em 1em; } }
.mk-filters summary::after { display: none; }
.mk-filters details { background: none; box-shadow: none; margin: 0; border-radius: 0; }
.mk-filters details:first-of-type { margin-top: 0; }
.mk-row-price > small { display: block; }
.mk-row-price small:not(:last-child) { display: inline; }
.mk-strip-wrap { position: relative; }
.mk-strip-btn { position: absolute; top: 28%; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font: inherit; font-size: 1.2rem; font-weight: 800; cursor: pointer; box-shadow: var(--shadow); }
.mk-strip-btn.prev { left: -22px; }
.mk-strip-btn.next { right: -22px; }
.mk-strip-btn[hidden] { display: none; }
@media (max-width: 900px) { .mk-strip-btn { display: none; } }
@media (max-width: 900px) { .mk-list-head { flex-wrap: wrap; } .mk-list-head label { margin-left: auto; } }

/* Corrections issues de la revue (accessibilité, mobile, écrans moyens) */
@media (max-width: 900px) { .mk-row-price small { display: inline; } .mk-row-price > small { display: none; } }
.mk-hero-search:focus-within { box-shadow: 0 0 0 3px var(--blue); }
.mk-search:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.mk-cats > button:focus-visible, .mk-cart:focus-visible, .mk-burger:focus-visible, .mk-search-toggle:focus-visible,
.fd-seg button:focus-visible, .mk-topics a:focus-visible, .mk-card:focus-visible, .mk-row:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.mk-filters label.off { opacity: 1; color: var(--muted); cursor: default; }
.mk-filters input:disabled { cursor: default; }
.mk-apply { margin-top: 12px; }
.fd-cart-msg { font-size: .85rem; color: #8a5a00; background: #fff6e0; border-radius: 8px; padding: 8px 10px; margin: -8px 0 12px; }
.mk-message { padding-top: 48px; padding-bottom: 80px; }
.mk-message h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
/* La carte d'achat ne reste collée que si l'écran est assez haut pour l'afficher entièrement */
@media (max-height: 899px) and (min-width: 901px) { .fd-buy { position: relative; top: auto; } }
/* Écrans moyens (901–1100 px) : menu burger au lieu des liens masqués */
@media (max-width: 1100px) and (min-width: 901px) {
  .mk-burger { display: block; order: -1; }
  .mk-cta { display: none; }
  .mk-mobile { display: none; flex-direction: column; padding: 8px 24px 18px; border-top: 1px solid var(--line); }
  .mk-header.menu-open .mk-mobile { display: flex; }
  .mk-mobile a { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
}

/* Un élément masqué (attribut hidden) le reste, même si sa classe impose un display */
[hidden] { display: none !important; }
