/* ════════════════════════════════════════════════════════════════════════════
   MARKETPLACE PITCH — page de présentation, familles et fiches de modèles.

   Même système que la Marketplace Smartlink (smartlink_site/public/assets/
   market.css, dont ce fichier reprend la base) et que l'app web Spotlite :
   fond noir, verre, typo système, bouton principal BLANC, bleu à plat pour les
   actions, DORÉ réservé à ce que fait l'IA. Les slides sont la vitrine.
   ════════════════════════════════════════════════════════════════════════════ */

.mk {
  --bg: #050506; --bg-2: #0c0c0f; --bg-3: #131317;
  --ink: #ffffff; --ink-2: rgba(255,255,255,.66); --ink-3: rgba(255,255,255,.44);
  --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.16);
  --surface: rgba(255,255,255,.045); --surface-hi: rgba(255,255,255,.08);
  --accent: #1d9bf0; --accent-2: #1a8cd8;
  --radius: 22px; --maxw: 1180px; --gutter: 20px;
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.55; overflow-x: hidden;
}
.mk a { color: inherit; }
.mk [hidden] { display: none !important; }
.mk h1, .mk h2, .mk h3 { margin: 0; letter-spacing: -.03em; line-height: 1.08; }
.mk-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 650; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}
.mk-btn.primary { background: #fff; color: #050506; }
.mk-btn.primary:hover { background: rgba(255,255,255,.86); }
.mk-btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.mk-btn.ghost:hover { background: var(--surface-hi); }
.mk-btn.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.mk-btn.lg { height: 54px; padding: 0 28px; font-size: 16px; }
.mk-btn.tiny { height: 30px; padding: 0 13px; font-size: 13px; background: var(--surface-hi); color: var(--ink); border-color: var(--line); }
.mk-btn.tiny:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.mk-btn:focus-visible, .mk-chip:focus-visible, .mk-card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── Barre du haut ───────────────────────────────────────────────────────── */
.mk-top {
  position: fixed; inset: 0 0 auto 0; z-index: 40; padding-top: env(safe-area-inset-top);
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.mk-top.solid { background: rgba(5,5,6,.78); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.mk-top-in { max-width: var(--maxw); margin: 0 auto; height: 64px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.mk-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; text-decoration: none; }
.mk-brand img { border-radius: 7px; }
.mk-nav { display: flex; gap: 24px; font-size: 14.5px; color: var(--ink-2); }
.mk-nav a { text-decoration: none; transition: color .15s; }
.mk-nav a:hover { color: var(--ink); }
.mk-top-act { margin-left: auto; display: flex; gap: 10px; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.mk-sec { padding: 96px 0; position: relative; }
.mk-sec.tight { padding-top: 24px; }
.mk-sec h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 780; }
.mk-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--accent); }
.mk-sub { margin: 14px 0 0; max-width: 60ch; color: var(--ink-2); font-size: 17px; }
.mk-lead { margin: 20px 0 0; max-width: 58ch; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); }
.mk-fine { font-size: 13px; color: var(--ink-3); }
.mk-fine b { color: var(--ink-2); font-weight: 600; }
.mk-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.mk-sec-head.sm { margin: 0 0 18px; }
.mk-sec-head h3 { font-size: 22px; font-weight: 750; }
.mk-sec-head.sm .mk-sub { font-size: 15px; margin-top: 6px; }
.mk-more { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px; }

/* ── Héros ───────────────────────────────────────────────────────────────── */
.mk-hero { padding: 132px 0 40px; overflow: hidden; position: relative; }
.mk-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 820px; pointer-events: none;
  background:
    radial-gradient(520px 380px at 72% 30%, rgba(29,155,240,.16), transparent 70%),
    radial-gradient(420px 320px at 88% 70%, rgba(124,92,255,.12), transparent 70%);
}
.mk-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; position: relative; }
.mk-hero h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 820; letter-spacing: -.045em; line-height: 1.02; }
.mk-hero h1 em { font-style: normal; color: var(--accent); }
.mk-hero-note { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-3); }

.mk-claim { margin-top: 30px; display: flex; gap: 8px; max-width: 540px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.mk-claim:focus-within { border-color: rgba(29,155,240,.7); }
.mk-claim label { flex: 1; min-width: 0; display: flex; align-items: center; padding-left: 16px; cursor: text; }
.mk-claim label span { color: var(--ink-3); font-size: 15px; white-space: nowrap; }
.mk-claim input { flex: 1; min-width: 60px; height: 44px; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; padding: 0; }
.mk-claim input::placeholder { color: var(--ink-3); font-weight: 500; }

/* ── Marketplace ─────────────────────────────────────────────────────────── */
.mk-market { padding-top: 72px; }
.mk-search { display: flex; align-items: center; gap: 10px; width: min(340px, 100%); height: 46px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.mk-search:focus-within { border-color: rgba(29,155,240,.7); }
.mk-search svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; flex: none; }
.mk-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; }
.mk-search input::placeholder { color: var(--ink-3); }

.mk-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 28px; padding: 2px var(--gutter); }
.mk-chips::-webkit-scrollbar { display: none; }
.mk-chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.mk-chip i { font-style: normal; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.mk-chip:hover { color: var(--ink); border-color: var(--line-2); }
.mk-chip.on { background: #fff; color: #050506; border-color: #fff; }
.mk-chip.on i { color: rgba(5,5,6,.5); }

.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 22px; }
.mk-card { min-width: 0; }
.mk-card-link { display: block; border-radius: 20px; text-decoration: none; }
.mk-card .mk-shot { border: 1px solid var(--line); transition: transform .25s cubic-bezier(.2,.7,.3,1), border-color .2s, box-shadow .25s; }
.mk-card-link:hover .mk-shot { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.mk-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 2px 0; }
.mk-card-meta > div { min-width: 0; }
.mk-card-meta h3 { font-size: 15px; font-weight: 680; letter-spacing: -.01em; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-card-meta h3 a { text-decoration: none; }
.mk-card-meta span { display: block; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-empty { color: var(--ink-2); text-align: center; padding: 40px 0; }
.mk-empty a { color: var(--accent); }
.mk-community { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line); }

/* ── Étapes ──────────────────────────────────────────────────────────────── */
.mk-steps-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.mk-steps-list li { counter-increment: s; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mk-steps-list li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #050506; font-weight: 800; font-size: 15px; margin-bottom: 18px; }
.mk-steps-list b { display: block; font-size: 18px; letter-spacing: -.015em; margin-bottom: 8px; }
.mk-steps-list span { color: var(--ink-2); font-size: 15px; }

/* ── Fonctionnalités ─────────────────────────────────────────────────────── */
.mk-feats { background: linear-gradient(180deg, transparent, var(--bg-2) 30%, var(--bg-2) 70%, transparent); }
.mk-feat-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mk-feat { padding: 30px; background: var(--bg-2); }
.mk-feat-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--surface-hi); font-size: 21px; margin-bottom: 18px; }
.mk-feat h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.mk-feat p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ── Écosystème ──────────────────────────────────────────────────────────── */
.mk-eco-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mk-eco-grid > div { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.mk-eco-grid b { display: block; font-size: 15.5px; margin-bottom: 8px; }
.mk-eco-grid span { color: var(--ink-2); font-size: 14px; }
.mk-eco-grid a { color: var(--accent); text-decoration: none; }

/* ── Liens partenaires ───────────────────────────────────────────────────── */
.mk-partner-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.mk-partner .mk-fine { margin-top: 20px; max-width: 60ch; }
.mk-partner-card { position: relative; padding: 30px; border-radius: 28px; background: var(--bg-3); border: 1px solid var(--line-2); overflow: hidden; }
.mk-partner-card span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.mk-partner-card b { display: block; font-size: 58px; letter-spacing: -.05em; font-weight: 800; margin: 6px 0 2px; }
.mk-partner-card small { color: var(--ink-2); font-size: 14px; }
.mk-partner-card i { position: absolute; right: 24px; bottom: 26px; width: 120px; height: 46px;
  background: linear-gradient(90deg, rgba(29,155,240,.0), rgba(29,155,240,.55));
  clip-path: polygon(0 100%, 12% 70%, 26% 78%, 40% 45%, 55% 55%, 70% 22%, 84% 32%, 100% 0, 100% 100%); }

/* ── Hub des métiers ─────────────────────────────────────────────────────── */
.mk-hub h2 { font-size: clamp(24px, 3vw, 32px); }
.mk-hub-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.mk-hub-item { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; transition: background .15s, border-color .15s; }
.mk-hub-item:hover { background: var(--surface); border-color: var(--line-2); }
.mk-hub-ic { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-hi); font-size: 19px; }
.mk-hub-item b { font-size: 15px; font-weight: 650; }
.mk-hub-item small { color: var(--ink-3); font-size: 13px; line-height: 1.4; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.mk-faq h2 { font-size: clamp(26px, 3.2vw, 36px); }
.mk-faq-list { margin-top: 28px; border-top: 1px solid var(--line); max-width: 860px; }
.mk-faq details { border-bottom: 1px solid var(--line); }
.mk-faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 17px; font-weight: 650; letter-spacing: -.01em; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: linear-gradient(var(--ink-2), var(--ink-2)) center/12px 2px no-repeat, linear-gradient(var(--ink-2), var(--ink-2)) center/2px 12px no-repeat; transition: transform .2s; }
.mk-faq details[open] summary::after { transform: rotate(45deg); }
.mk-faq details p { margin: -6px 0 22px; color: var(--ink-2); max-width: 72ch; }

/* ── Appel final ─────────────────────────────────────────────────────────── */
.mk-final { text-align: center; }
.mk-final .mk-in { padding-top: 64px; padding-bottom: 64px; border-radius: 32px; background:
  radial-gradient(600px 260px at 50% 0%, rgba(29,155,240,.16), transparent 70%), var(--bg-2); border: 1px solid var(--line); max-width: calc(var(--maxw) - 2 * var(--gutter)); }
.mk-final .mk-sub { margin-left: auto; margin-right: auto; }
.mk-final-act { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Pied de page ────────────────────────────────────────────────────────── */
.mk-foot { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 40px; color: var(--ink-2); }
.mk-foot-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.2fr 1fr .7fr; gap: 40px; }
.mk-foot-brand p { margin: 14px 0 0; font-size: 14px; max-width: 34ch; }
.mk-foot-col { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.mk-foot-col b { color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.mk-foot-col a { text-decoration: none; }
.mk-foot-col a:hover { color: var(--ink); }
.mk-foot-legal { max-width: var(--maxw); margin: 40px auto 0; padding: 0 var(--gutter); font-size: 12.5px; color: var(--ink-3); }

/* ── Pages de famille & fiches ───────────────────────────────────────────── */
.mk-cat-head { padding: 124px 0 24px; }
.mk-cat-head h1, .mk-detail h1 { font-size: clamp(34px, 4.8vw, 56px); font-weight: 800; letter-spacing: -.04em; }
.mk-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; }
.mk-crumbs a { text-decoration: none; color: var(--ink-2); }
.mk-crumbs a:hover { color: var(--ink); }
.mk-guide-in { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: start; }
.mk-guide h2 { font-size: clamp(26px, 3.2vw, 36px); }
.mk-tips { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.mk-tips li { position: relative; padding: 0 0 0 30px; color: var(--ink-2); }
.mk-tips li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.mk-guide-cta { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: sticky; top: 90px; }
.mk-guide-cta b { font-size: 19px; letter-spacing: -.015em; }
.mk-guide-cta p { color: var(--ink-2); margin: 8px 0 20px; font-size: 15px; }
.mk-guide-cta .mk-btn { white-space: normal; height: auto; min-height: 46px; padding: 10px 20px; text-align: center; }

.mk-detail { padding: 108px 0 40px; }
.mk-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.mk-detail-view { position: sticky; top: 84px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.mk-device { width: 100%; display: flex; justify-content: center; }
.mk-device[data-w="mobile"] .mk-shot { width: 340px; max-width: 100%; height: min(700px, calc(100vh - 170px)); aspect-ratio: auto; border-radius: 40px; border: 9px solid #0f0f12; outline: 1px solid var(--line-2); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; box-shadow: 0 40px 90px rgba(0,0,0,.55); }
.mk-device[data-w="desktop"] .mk-shot { width: 100%; height: min(600px, calc(100vh - 170px)); aspect-ratio: auto; border-radius: 16px; border: 1px solid var(--line-2); border-top-width: 26px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; box-shadow: 0 40px 90px rgba(0,0,0,.55); }
.mk-device .mk-shot::-webkit-scrollbar { display: none; }
.mk-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.mk-seg button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 600; height: 32px; padding: 0 16px; border-radius: 999px; cursor: pointer; }
.mk-seg button.on { background: #fff; color: #050506; }
.mk-detail-copy { padding-top: 8px; }
.mk-detail-copy h2 { font-size: 20px; letter-spacing: -.015em; margin-top: 40px; }
.mk-detail-act { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mk-contents { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.mk-contents li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.mk-detail-copy .mk-fine { margin-top: 28px; }

/* ── Petits écrans ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .mk-eco-grid { grid-template-columns: repeat(2, 1fr); }
  .mk-feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .mk-nav { display: none; }
  .mk-hero { padding-top: 104px; }
  .mk-hero-in { grid-template-columns: 1fr; gap: 20px; }
  .mk-hero-art { height: 440px; margin: 0 -10px; }
  .mk-phone { width: 190px; border-radius: 32px; padding: 7px; }
  .mk-phone.p1 { width: 210px; }
  .mk-phone .mk-shot { border-radius: 26px; }
  .mk-partner-in, .mk-guide-in, .mk-detail-grid { grid-template-columns: 1fr; }
  .mk-detail-view { position: static; }
  .mk-guide-cta { position: static; }
  .mk-steps-list { grid-template-columns: 1fr; }
  .mk-foot-in { grid-template-columns: 1fr 1fr; }
  .mk-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  :root { --gutter: 16px; }
  .mk { --gutter: 16px; }
  .mk-hide-s { display: none; }
  .mk-sec { padding: 64px 0; }
  .mk-hero h1 { font-size: 40px; }
  .mk-claim { flex-direction: column; border-radius: 22px; padding: 6px; }
  .mk-claim label { padding: 0 12px; }
  .mk-claim label span { font-size: 14px; }
  .mk-claim .mk-btn { width: 100%; }
  .mk-hero-art { height: 380px; }
  .mk-phone { width: 158px; }
  .mk-phone.p1 { width: 176px; }
  .mk-phone.p0 { left: -4%; }
  .mk-phone.p2 { right: -4%; }
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .mk-card-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mk-card-meta > div { width: 100%; }
  .mk-feat-grid, .mk-eco-grid { grid-template-columns: 1fr; }
  .mk-search { width: 100%; }
  .mk-device[data-w="mobile"] .mk-shot { width: 300px; height: 600px; }
  .mk-foot-in { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════════
   PROPRE À PITCH
   ════════════════════════════════════════════════════════════════════════════ */
.mk { --ai: #f4b78a; --ai-soft: rgba(244,183,138,.12); }
.mk-hero-act { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Héros : quatre vraies slides, posées comme sur une table. */
.pm-hero::before { background:
  radial-gradient(520px 380px at 74% 34%, rgba(29,155,240,.16), transparent 70%),
  radial-gradient(460px 340px at 92% 74%, rgba(244,183,138,.10), transparent 70%); }
.pm-hero h1 { font-size: clamp(38px, 4.9vw, 64px); }
.pm-art { position: relative; height: 560px; }
.pm-art img { position: absolute; border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.55); border: 1px solid var(--line-2); height: auto; background: var(--bg-3); }
.pm-art-a { width: 78%; left: 0; top: 6%; transform: rotate(-4deg); z-index: 1; }
.pm-art-b { width: 33%; right: 0; top: 0; transform: rotate(5deg); z-index: 3; }
.pm-art-c { width: 28%; left: 26%; bottom: 0; transform: rotate(-3deg); z-index: 4; }
.pm-art-d { width: 40%; right: 4%; bottom: 4%; transform: rotate(3deg); z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .pm-art-b { animation: pm-float 8s ease-in-out infinite; }
  @keyframes pm-float { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-10px); } }
}

/* Carte : la pile de slides, en éventail. */
.pm-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.pm-stack { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 20px; background: var(--bg-3); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, background .2s; }
.pm-stack img { position: absolute; left: 50%; top: 50%; height: auto; border-radius: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.45); transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.pm-stack.port img { width: 44%; }
.pm-stack.sq img { width: 60%; }
.pm-stack.land img { width: 78%; }
.pm-stack img.s1 { transform: translate(-50%, -50%); z-index: 3; }
.pm-stack img.s2 { transform: translate(-50%, -50%) translate(18%, -5%) rotate(6deg) scale(.94); z-index: 2; opacity: .9; }
.pm-stack img.s3 { transform: translate(-50%, -50%) translate(-18%, -5%) rotate(-6deg) scale(.9); z-index: 1; opacity: .78; }
.pm-stack.land img.s1 { transform: translate(-50%, -40%); }
.pm-stack.land img.s2 { transform: translate(-50%, -40%) translate(4%, -26%) rotate(2deg) scale(.92); }
.pm-stack.land img.s3 { transform: translate(-50%, -40%) translate(-4%, -48%) rotate(-2deg) scale(.84); }
.mk-card-link:hover .pm-stack { border-color: var(--line-2); background: #17171c; }
.mk-card-link:hover .pm-stack img.s2 { transform: translate(-50%, -50%) translate(32%, -3%) rotate(10deg) scale(.94); }
.mk-card-link:hover .pm-stack img.s3 { transform: translate(-50%, -50%) translate(-32%, -3%) rotate(-10deg) scale(.9); }
.mk-card-link:hover .pm-stack.land img.s2 { transform: translate(-50%, -40%) translate(8%, -32%) rotate(3deg) scale(.92); }
.mk-card-link:hover .pm-stack.land img.s3 { transform: translate(-50%, -40%) translate(-8%, -58%) rotate(-3deg) scale(.84); }
@media (prefers-reduced-motion: reduce) { .pm-stack img { transition: none; } }

/* La fonction IA porte le doré (et elle seule). */
.mk-feat.ai .mk-feat-ic { background: var(--ai-soft); }
.mk-feat.ai h3 { color: var(--ai); }

/* Formats et tailles. */
.pm-fmt-grid { margin-top: 36px; columns: 3 280px; column-gap: 16px; }
.pm-fmt { break-inside: avoid; margin-bottom: 16px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.pm-fmt h3 { font-size: 16px; margin-bottom: 12px; }
.pm-fmt ul { list-style: none; margin: 0; padding: 0; }
.pm-fmt li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.pm-fmt li b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mk-eco .mk-sub a { color: var(--accent); text-decoration: none; }

/* Fiche. */
.pm-detail { padding-top: 108px; }
.pm-detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.pm-detail-head > div:first-child { max-width: 760px; }
.pm-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.pm-meta span { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); }
.pm-slides { margin: 40px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 16px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.pm-slide { margin: 0; flex: none; scroll-snap-align: start; }
.pm-slide img { display: block; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.pm-slides.port .pm-slide img { width: 260px; }
.pm-slides.sq .pm-slide img { width: 340px; }
.pm-slides.land .pm-slide img { width: 520px; }
.pm-detail-cols { margin-top: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.pm-detail-cols h2 { font-size: 22px; letter-spacing: -.02em; margin-bottom: 16px; }
.pm-outline { margin: 0; padding: 0 0 0 22px; display: grid; gap: 10px; color: var(--ink-2); }
.pm-outline li::marker { color: var(--ink-3); font-weight: 600; }

@media (max-width: 900px) {
  .pm-art { height: 400px; }
  .pm-detail-cols { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .pm-art { height: 300px; }
  .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-slides.port .pm-slide img { width: 200px; }
  .pm-slides.sq .pm-slide img { width: 260px; }
  .pm-slides.land .pm-slide img { width: 300px; }
  .mk-hero-act .mk-btn { width: 100%; }
}
