/* Postmania Marketing UI Kit — layout & component CSS
   Loads colors_and_type.css from /colors_and_type.css                */

/* ---------- LAYOUT ---------- */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.pm-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-12); }
.pm-narrow { max-width: 760px; margin: 0 auto; }
.pm-center { text-align: center; }

.pm-section { padding: var(--sp-24) 0; }
/* Source-of-truth surface tokens drive every section. */
.pm-section-bg-1     { background: var(--bg-1); color: var(--on-bg-1); }
.pm-section-bg-2     { background: var(--bg-2); color: var(--on-bg-2); }
.pm-section-bg-base  { background: var(--bg-base); color: var(--on-bg-base); }
/* Legacy aliases — kept so older partials still render. */
.pm-section-pastel { background: var(--bg-2); }
.pm-section-pastel-strong { background: var(--bg-1); position: relative; }
.pm-section-tinted { background: var(--bg-2); }
.pm-section-cta { padding: var(--sp-20) 0; background: var(--bg-base); }
.pm-strip.pm-section-cta { padding: var(--sp-6) 0; }

/* ---------- HEADER ---------- */
.pm-header {
  position: sticky; top: 0; z-index: 50;
  overflow: hidden;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}
.pm-header.is-scrolled { border-bottom-color: var(--border); }
.pm-beta-ribbon {
  position: absolute;
  top: 22px;
  right: -52px;
  width: 200px;
  transform: rotate(45deg);
  background: #d11a1a;
  color: #fff;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  pointer-events: none;
  z-index: 60;
}
.pm-header-inner { display: flex; align-items: center; gap: var(--sp-8); height: 104px; }
.pm-logo-link { display: block; line-height: 0; }
.pm-logo-img { height: 60px; width: auto; display: block; }
.pm-header-nav { display: flex; gap: var(--sp-6); margin-left: var(--sp-6); flex: 1; min-width: 0; }
.pm-header-nav a { color: var(--fg-2); text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 14px; transition: color var(--dur-fast) var(--ease-out); white-space: nowrap; }
.pm-header-nav a:hover { color: var(--pm-accent-ink); }
.pm-header-actions { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; }

.pm-theme-cycle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--r-pill);
  border: 1px solid var(--border); background: #fff;
  cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: 12px;
  color: var(--fg-2);
  transition: all var(--dur-fast) var(--ease-out);
}
.pm-theme-cycle:hover { border-color: var(--fg-mute); }

/* Language toggle: segmented control showing both languages, active highlighted */
.pm-lang-toggle {
  display: inline-flex; align-items: stretch;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  gap: 2px;
}
.pm-lang-seg {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  cursor: pointer;
}
.pm-lang-seg:hover:not(.is-active) { color: var(--fg-1); background: var(--bg-base); }
.pm-lang-seg.is-active {
  background: var(--brand);
  color: var(--brand-dark);
  cursor: default;
}
.pm-lang-flag {
  width: 16px; height: 12px;
  border-radius: 2px;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}
.pm-theme-dot { width: 10px; height: 10px; border-radius: 99px; background: var(--brand); border: 1px solid var(--brand-dark); display: inline-block; }
.pm-theme-cycle-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: lowercase; color: var(--fg-2); }

/* ---------- BUTTONS ---------- */
.pm-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  border: 0; cursor: pointer; line-height: 1;
  text-decoration: none;
  transition: all var(--dur-base) var(--ease-out);
}
.pm-btn:active { transform: scale(0.98); }
.pm-btn-primary { background: var(--pm-accent); color: #fff; border-radius: var(--r-pill); }
.pm-btn-primary:hover { background: var(--pm-accent-ink); }
.pm-btn-secondary { background: #fff; color: var(--fg-1); border: 1px solid var(--border); border-radius: var(--r-md); }
.pm-btn-secondary:hover { border-color: var(--fg-3); }
.pm-btn-ghost { background: transparent; color: var(--pm-accent-ink); border: 1px solid var(--brand-dark); border-radius: var(--r-pill); }
.pm-btn-ghost:hover { background: var(--brand); border-color: var(--brand-dark); }
.pm-btn-sm { padding: 8px 14px; font-size: 13px; }
.pm-btn-md { padding: 11px 18px; font-size: 14px; }
.pm-btn-lg { padding: 14px 24px; font-size: 16px; }
.pm-btn-arrow { transition: transform var(--dur-base) var(--ease-out); }
.pm-btn:hover .pm-btn-arrow { transform: translateX(3px); }

/* ---------- CAPSULES ---------- */
.pm-cap {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pm-cap-ink { background: var(--pm-ink); color: #fff; }
.pm-cap-accent { background: var(--pm-accent-soft); color: var(--pm-accent-ink); }
.pm-cap-neutral { background: #eef0f3; color: var(--fg-2); }
.pm-cap-dot { width: 6px; height: 6px; border-radius: 99px; background: currentColor; }

/* ---------- HERO ---------- */
.pm-hero { padding: var(--sp-20) 0 var(--sp-24); background: var(--bg-1); color: var(--on-bg-1); }
.pm-hero .pm-eyebrow, .pm-hero .pm-lead, .pm-hero-cta-note, .pm-hero-pay { color: var(--on-bg-1); opacity: 0.78; }
.pm-hero .pm-h1, .pm-hero-title { color: var(--on-bg-1); }
.pm-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-16); align-items: center; }
.pm-hero-title { font-size: var(--fs-5xl); margin: var(--sp-3) 0 var(--sp-5); }
.pm-hero-lead { margin: 0 0 var(--sp-8); }
.pm-hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); margin-bottom: var(--sp-10); }
.pm-hero-cta-note { color: var(--fg-3); }
.pm-hero-pay { font-family: var(--font-body); font-size: var(--fs-md); color: var(--fg-3); border-top: 1px solid var(--border); padding-top: var(--sp-5); }

.pm-hero-photo { position: relative; }
.pm-hero-photo-card {
  position: relative;
  background: var(--bg-base);
  border-radius: var(--r-lg);
  aspect-ratio: 4 / 3; padding: var(--sp-6);
  box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.pm-hero-photo-tag { font-family: var(--font-mono); font-size: 12px; color: var(--fg-3); }
.pm-hero-photo-bars { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; height: 100px; border-radius: var(--r-sm); overflow: hidden; align-self: center; width: 70%; }
.pm-hero-photo-bars > div { height: 100%; }
.pm-hero-photo-cap { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); align-self: flex-end; }

/* ---------- LAYOUT VARIANTS ----------
   Three section archetypes drive the page rhythm:
   • pm-split   — 2-column: text + visual (Pain, Mission, Oui mais, FAQ)
   • pm-anchor  — centered header + grid below (Steps, Stats, Testimonials)
   • pm-strip   — thin one-liner separator (Results, Final CTA)
*/
.pm-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
.pm-split-rev .pm-split-text { order: 2; }
.pm-split-text > .pm-eyebrow { margin-bottom: var(--sp-3); }
.pm-split-text > .pm-h2 { margin: 0 0 var(--sp-4); }
.pm-split-visual { position: relative; }

.pm-anchor { text-align: center; }
.pm-anchor-head { max-width: 720px; margin: 0 auto var(--sp-12); }
.pm-anchor-head .pm-eyebrow { display: block; margin-bottom: var(--sp-3); }
.pm-anchor-head .pm-h2 { margin: 0 0 var(--sp-4); }
/* Re-left-align card grids and feature rows nested inside an anchor */
.pm-anchor .pm-testimonials,
.pm-anchor .pm-steps,
.pm-anchor .pm-feature,
.pm-anchor .pm-feature-rev { text-align: left; }

.pm-strip { padding: var(--sp-6) 0; }
.pm-strip-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-8); flex-wrap: wrap;
  font-family: var(--font-display);
}
.pm-strip-bullets { display: flex; gap: var(--sp-8); flex-wrap: wrap; align-items: center; }
.pm-strip-bullets > span { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-md); font-weight: 500; color: var(--fg-1); }
.pm-strip-tag { font-size: var(--fs-md); color: var(--fg-2); }
.pm-strip-tag strong { color: var(--pm-accent-ink); letter-spacing: 0.04em; font-weight: 800; }

/* ---------- SPLIT VISUAL CARDS ----------
   Lightweight illustration cards used as the visual side of split sections. */
.pm-vcard {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-7);
  box-shadow: var(--shadow-1);
}
.pm-vcard-eyebrow { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-bottom: var(--sp-3); }
.pm-vcard-row { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: 1px dashed var(--border-soft); font-size: var(--fs-sm); color: var(--fg-2); }
.pm-vcard-row:last-child { border-bottom: 0; }
.pm-vcard-row .lbl { font-family: var(--font-display); font-weight: 600; color: var(--fg-1); flex: 1; }
.pm-vcard-row .val { font-family: var(--font-mono); font-size: var(--fs-xs); }
.pm-vcard-row .val.bad { color: var(--err); }
.pm-vcard-row .val.ok  { color: var(--ok); }
.pm-vcard-bar { height: 6px; border-radius: 99px; background: var(--border-soft); overflow: hidden; flex: 1; }
.pm-vcard-bar > i { display: block; height: 100%; background: var(--pm-accent); }

/* ---------- TAGLINE MARQUEE ----------
   Thin contrast band carrying the editorial thesis. Full-width pastel surface,
   centered display copy at a moderate size, padding kept tight. */
.pm-marquee { padding: var(--sp-8) 0; background: var(--bg-1); color: var(--on-bg-1); }
.pm-marquee-inner {
  max-width: var(--container-max, 1200px); margin: 0 auto; padding: 0 var(--sp-12);
  text-align: center;
}
.pm-marquee-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--on-bg-1); opacity: 0.55;
  margin-bottom: var(--sp-2);
}
.pm-marquee-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px); line-height: 1.25;
  letter-spacing: -0.01em; text-wrap: balance;
  margin: 0;
}
.pm-marquee-line em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, color-mix(in oklab, var(--brand) 70%, white 30%) 60%);
  padding: 0 0.1em;
}

/* ---------- RESULTS ---------- */
.pm-results { list-style: none; padding: 0; margin: var(--sp-8) 0; display: flex; justify-content: center; gap: var(--sp-12); flex-wrap: wrap; }
.pm-results li { display: flex; align-items: center; gap: var(--sp-3); font-family: var(--font-display); font-weight: 500; font-size: var(--fs-md); color: var(--fg-1); }
.pm-tick { color: var(--ok); font-weight: 700; font-size: 20px; }
.pm-cross { color: var(--pm-red); font-weight: 700; font-size: 20px; flex-shrink: 0; line-height: 1.4; }
.pm-results-foot { text-align: center; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--fg-2); }
.pm-results-foot strong { color: var(--pm-accent-ink); letter-spacing: 0.04em; }

/* ---------- PAIN ---------- */
.pm-pain { list-style: none; padding: 0; margin: var(--sp-8) 0 0; display: grid; gap: var(--sp-4); }
.pm-pain li { display: flex; gap: var(--sp-4); padding: var(--sp-5); background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); color: var(--fg-2); font-size: var(--fs-base); line-height: 1.55; }
.pm-pain-2 li { align-items: flex-start; padding: var(--sp-4) var(--sp-5); }
.pm-pain-body { display: grid; gap: 4px; }
.pm-pain-h { font-family: var(--font-display); font-weight: 700; color: var(--fg-1); font-size: var(--fs-md); letter-spacing: -0.005em; }
.pm-pain-d { font-size: var(--fs-sm); color: var(--fg-2); line-height: 1.55; }

/* ---------- STALE PROFILE (Pain visual) ---------- */
.pm-stale { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-1); display: grid; gap: var(--sp-5); }
.pm-stale-head { display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-4); align-items: center; }
.pm-stale-avatar { width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: var(--fg-2); font-size: 13px; letter-spacing: 0.04em; }
.pm-stale-name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); color: var(--fg-1); }
.pm-stale-handle { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-top: 2px; }
.pm-stale-status { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--err); padding: 4px 10px; border: 1px solid color-mix(in oklab, var(--err) 30%, transparent); border-radius: var(--r-pill); background: color-mix(in oklab, var(--err) 8%, transparent); }
.pm-stale-empty { padding: var(--sp-6) var(--sp-4); border: 1px dashed var(--border); border-radius: var(--r-md); text-align: center; background: var(--bg-base); }
.pm-stale-empty-icon { font-family: var(--font-display); font-size: 36px; line-height: 1; color: var(--fg-3); margin-bottom: var(--sp-2); }
.pm-stale-empty-line { font-family: var(--font-display); font-size: var(--fs-md); color: var(--fg-1); }
.pm-stale-empty-line strong { color: var(--err); font-weight: 700; }
.pm-stale-empty-sub { font-size: var(--fs-sm); color: var(--fg-3); margin-top: 4px; }
.pm-stale-chart { display: grid; gap: var(--sp-2); }
.pm-stale-chart-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.pm-stale-chart svg { width: 100%; height: 48px; display: block; }
.pm-stale-chart svg polyline { fill: none; stroke: var(--err); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.pm-stale-chart-foot { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-sm); }
.pm-stale-chart-foot > span:first-child { font-family: var(--font-display); font-weight: 700; color: var(--err); }
.pm-stale-chart-foot .muted { color: var(--fg-3); font-size: 11px; }
.pm-stale-foot { display: flex; justify-content: space-between; gap: var(--sp-3); padding-top: var(--sp-4); border-top: 1px dashed var(--border-soft); font-family: var(--font-mono); font-size: 11px; color: var(--fg-2); letter-spacing: 0.02em; }

/* ---------- FOUNDER ---------- */
.pm-founder { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--border); }
.pm-founder-avatar { width: 56px; height: 56px; border-radius: var(--r-pill); background: linear-gradient(135deg, var(--pm-orange), var(--pm-magenta)); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.pm-founder-name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); }
.pm-founder-role { font-size: var(--fs-sm); color: var(--fg-3); }

/* ---------- STEPS ---------- */
.pm-tagline { list-style: none; padding: 0; margin: var(--sp-4) 0 var(--sp-12); display: flex; justify-content: center; gap: var(--sp-8); color: var(--fg-3); font-size: var(--fs-sm); }
.pm-tagline li::before { content: "·"; margin-right: var(--sp-4); color: var(--pm-accent); }
.pm-tagline li:first-child::before { content: ""; margin: 0; }
.pm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.pm-step { padding: var(--sp-6); background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-1); transition: box-shadow var(--dur-base) var(--ease-out); }
.pm-step:hover { box-shadow: var(--shadow-2); }
.pm-step-num { font-family: var(--font-display); font-weight: 700; color: var(--pm-accent-ink); font-size: 13px; letter-spacing: 0.12em; }
.pm-step-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); margin: var(--sp-2) 0 var(--sp-2); letter-spacing: -0.01em; line-height: 1.25; }
.pm-step-body { font-size: var(--fs-sm); color: var(--fg-2); line-height: 1.55; }

/* ---------- OUI MAIS — compact comparison list (no cards) ---------- */
.pm-vs-list { margin: var(--sp-8) 0 var(--sp-6); text-align: left; }
.pm-vs-headrow,
.pm-vs-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) 1.4fr 1.2fr;
  gap: var(--sp-6);
  align-items: baseline;
  padding: var(--sp-3) var(--sp-2);
}
.pm-vs-headrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-mute);
  padding-bottom: var(--sp-2);
}
.pm-vs-h-a { color: var(--brand-dark); }
.pm-vs-row { border-top: 1px dashed var(--border-soft); }
.pm-vs-row:last-child { border-bottom: 1px dashed var(--border-soft); }

.pm-vs-row .pm-vs-q {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-sm); color: var(--fg-1); line-height: 1.35;
  letter-spacing: -0.005em;
  /* override .pm-vs-q from old rules — no flex, no border */
  display: block; padding: 0; margin: 0; border: 0;
}
.pm-vs-row .pm-vs-a {
  position: relative; padding-left: 22px;
  font-size: var(--fs-sm); color: var(--fg-1); line-height: 1.45;
}
.pm-vs-row .pm-vs-a::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--brand-dark);
}
.pm-vs-row .pm-vs-b {
  position: relative; padding-left: 22px;
  font-size: var(--fs-sm); color: var(--fg-3); line-height: 1.45;
}
.pm-vs-row .pm-vs-b::before {
  content: "✗"; position: absolute; left: 0; top: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--fg-mute);
}

.pm-ouimais-foot { text-align: center; max-width: 720px; margin: var(--sp-6) auto 0; font-size: var(--fs-md); color: var(--fg-2); line-height: 1.55; }
.pm-ouimais-foot strong { color: var(--fg-1); font-weight: 700; }

@media (max-width: 760px) {
  .pm-vs-headrow { display: none; }
  .pm-vs-row { grid-template-columns: 1fr; gap: var(--sp-2); padding: var(--sp-4) 0; }
  .pm-vs-row .pm-vs-q { font-size: var(--fs-md); margin-bottom: var(--sp-1); }
}

/* ---------- FEATURES ---------- */
.pm-feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-16); align-items: center; padding: var(--sp-12) 0; }
.pm-feature-rev { grid-template-columns: 1.1fr 1fr; }
.pm-feature-rev .pm-feature-text { order: 2; }
.pm-feature-text .pm-h3 { margin: var(--sp-2) 0 var(--sp-4); }
.pm-feature-bullets { list-style: none; padding: 0; margin: var(--sp-5) 0 0; display: grid; gap: var(--sp-2); }
.pm-feature-bullets li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--fg-2); }
.pm-shot-frame { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); }
.pm-shot-chrome { display: flex; align-items: center; gap: 5px; padding: 10px 14px; background: var(--pm-canvas); border-bottom: 1px solid var(--border-soft); }
.pm-shot-chrome span { width: 10px; height: 10px; border-radius: 99px; background: var(--border); }
.pm-shot-chrome span:nth-child(1) { background: #ff5f57; }
.pm-shot-chrome span:nth-child(2) { background: #ffbd2e; }
.pm-shot-chrome span:nth-child(3) { background: #28c940; }
.pm-shot-url { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); margin-left: var(--sp-4); }
.pm-shot-body { aspect-ratio: 16 / 10; background: var(--pm-accent-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.pm-shot-tag { font-family: var(--font-mono); font-size: 14px; color: var(--pm-accent-ink); font-weight: 600; }
.pm-shot-cap { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); }

/* ---------- STATS ---------- */
.pm-stats .pm-h2, .pm-stats .pm-lead { color: var(--fg-1); }
.pm-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); margin: var(--sp-12) 0 var(--sp-8); }
.pm-stat { text-align: center; padding: var(--sp-6); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-1); }
.pm-stat-2 { padding: var(--sp-6) var(--sp-4) var(--sp-5); display: grid; gap: var(--sp-2); align-content: start; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.pm-stat-2:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
/* Stat visualizations — theme-driven, fine-grained */
.pm-stat-viz {
  height: 56px; display: flex; align-items: flex-end; justify-content: center;
  margin-bottom: var(--sp-3);
  /* Drives currentColor for SVG fills/gradients */
  color: var(--brand-dark);
}
.pm-stat-viz svg { width: 100%; max-width: 160px; height: 56px; overflow: visible; display: block; }

/* 1. Rise — soft area + crisp line + glowing endpoint */
.pm-stat-viz-rise svg { vector-effect: non-scaling-stroke; }
.pm-stat-line {
  stroke: var(--brand-dark);
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.pm-stat-dot { fill: var(--brand-dark); }
.pm-stat-dot-halo { fill: var(--brand); opacity: 0.4; }

/* 2. Bars — track (pale) + accent on the last bar */
.pm-stat-viz-bar svg rect {
  fill: color-mix(in oklab, var(--brand-dark) 14%, white);
  transition: fill var(--dur-base) var(--ease-out);
}
.pm-stat-viz-bar svg .pm-stat-bar-hl { fill: var(--brand-dark); }
.pm-stat:hover .pm-stat-viz-bar svg rect { fill: color-mix(in oklab, var(--brand-dark) 22%, white); }
.pm-stat:hover .pm-stat-viz-bar svg .pm-stat-bar-hl { fill: var(--brand-dark); }

/* 3. Half-donut gauge */
.pm-stat-viz-arc svg { height: 64px; }
.pm-stat-arc-track {
  stroke: color-mix(in oklab, var(--brand-dark) 12%, white);
  stroke-width: 7;
  stroke-linecap: round;
}
.pm-stat-arc-fill {
  stroke: var(--brand-dark);
  stroke-width: 7;
}
.pm-stat-2 .pm-stat-num { margin-top: 0; }
.pm-stat-src { margin-top: var(--sp-2); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); padding-top: var(--sp-3); border-top: 1px dashed var(--border-soft); }
.pm-stat-num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-5xl); color: var(--pm-accent-ink); line-height: 1; letter-spacing: -0.03em; }
.pm-stat-desc { font-size: var(--fs-sm); color: var(--fg-2); margin-top: var(--sp-3); line-height: 1.45; }

/* 4. Clock face — ROI tile */
.pm-stat-viz-clock svg { height: 64px; }
.pm-stat-clock-track { stroke: color-mix(in oklab, var(--brand-dark) 14%, white); stroke-width: 1.5; }
.pm-stat-clock-fill {
  stroke: var(--brand-dark);
  stroke-width: 3.5;
}
.pm-stat-clock-hand { stroke: var(--brand-dark); stroke-width: 1.6; stroke-linecap: round; }
.pm-stat-clock-hand-min { opacity: 0.55; }
.pm-stat-clock-pivot { fill: var(--brand-dark); }

/* ROI strip — slim brand-colored ribbon right after the 4 steps */
.pm-roi-strip {
  background: var(--bg-1);
  color: var(--on-bg-1);
  padding: var(--sp-8) 0;
}
.pm-roi-strip-row {
  display: flex; align-items: center; gap: var(--sp-6);
  justify-content: center; text-align: left; flex-wrap: wrap;
}
.pm-roi-strip-viz {
  flex-shrink: 0;
  color: var(--brand-dark);
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: var(--r-pill);
  box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--brand-dark) 60%, transparent);
}
.pm-roi-strip-viz svg { width: 36px; height: 36px; display: block; }
.pm-roi-strip-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(40px, 5vw, 56px);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--brand-dark);
}
.pm-roi-strip-copy { display: flex; flex-direction: column; gap: 2px; }
.pm-roi-strip-lead { font-family: var(--font-display); font-weight: 600; color: var(--on-bg-1); font-size: var(--fs-md); }
.pm-roi-strip-sub { color: var(--on-bg-1); opacity: 0.78; font-size: var(--fs-sm); }
.pm-roi-strip-sub strong { color: var(--brand-dark); font-weight: 700; opacity: 1; }
@media (max-width: 720px) {
  .pm-roi-strip-row { flex-direction: column; text-align: center; gap: var(--sp-3); }
}
.pm-stat-tag { text-align: center; font-family: var(--font-display); font-weight: 600; color: var(--pm-accent-ink); margin-bottom: var(--sp-6); }

/* ---------- FAQ ---------- */
.pm-faq { list-style: none; padding: 0; margin: var(--sp-8) 0 0; display: grid; gap: var(--sp-2); }
.pm-faq li { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: box-shadow var(--dur-base) var(--ease-out); }
.pm-faq li.is-open { box-shadow: var(--shadow-1); border-color: var(--pm-accent); }
.pm-faq-q { width: 100%; background: 0; border: 0; padding: var(--sp-5) var(--sp-6); display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); color: var(--fg-1); text-align: left; }
.pm-faq-chev { font-family: var(--font-mono); color: var(--pm-accent); font-size: 22px; line-height: 1; }
.pm-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-base) var(--ease-out); }
.pm-faq li.is-open .pm-faq-a { grid-template-rows: 1fr; }
.pm-faq-a > div { overflow: hidden; padding: 0 var(--sp-6); font-size: var(--fs-sm); color: var(--fg-2); line-height: 1.6; }
.pm-faq li.is-open .pm-faq-a > div { padding-bottom: var(--sp-5); }
.pm-faq-foot { text-align: center; margin-top: var(--sp-8); display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); color: var(--fg-3); font-size: var(--fs-sm); }

/* ---------- TESTIMONIALS ---------- */
.pm-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-top: var(--sp-10); }
.pm-testimonial { background: #fff; border-radius: var(--r-lg); padding: var(--sp-6); border: 1px solid var(--border); }
.pm-testimonial-quote { font-size: var(--fs-md); margin: 0 0 var(--sp-5); }
.pm-testimonial-foot { display: grid; grid-template-columns: 44px 1fr auto; gap: var(--sp-3); align-items: center; }
.pm-testimonial-avatar { width: 44px; height: 44px; border-radius: var(--r-pill); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.pm-testimonial-name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); }
.pm-testimonial-role { font-size: var(--fs-xs); color: var(--fg-3); }
.pm-stars { color: var(--pm-yellow); font-size: 14px; letter-spacing: 1px; }

/* ---------- FINAL CTA ---------- */
.pm-section-cta .pm-h2 { margin-bottom: var(--sp-3); }
.pm-section-cta .pm-lead { margin-bottom: var(--sp-6); }

/* ---------- FOOTER ---------- */
/* Footer mirrors hero — both use --bg-1 (the chosen pastel). */
.pm-footer { background: var(--footer-bg); color: var(--footer-on-bg); padding: var(--sp-16) 0 0; }
.pm-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-10); padding-bottom: var(--sp-12); }
.pm-footer-logo { height: 56px; display: block; }
/* ---------- BOOST GRID ---------- */
.pm-boost-grid { list-style: none; padding: 0; margin: var(--sp-12) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); text-align: left; }
.pm-boost-card {
  position: relative;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  display: grid; gap: var(--sp-3); align-content: start;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.pm-boost-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

/* Card header: sticker + title on the same row */
.pm-boost-head {
  display: flex; align-items: center; gap: var(--sp-4);
  margin-bottom: var(--sp-1);
}
.pm-boost-head .pm-boost-title { margin: 0; }

/* Emoji "sticker" in a tilted rounded square — uses active brand color */
.pm-boost-sticker {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 28px; line-height: 1;
  background: var(--brand);
  border-radius: 16px;
  transform: rotate(-6deg);
  box-shadow: 0 8px 18px -6px color-mix(in oklab, var(--brand) 90%, transparent);
  transition: transform var(--dur-base) var(--ease-out);
}
.pm-boost-card:hover .pm-boost-sticker { transform: rotate(4deg) scale(1.06); }

.pm-boost-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--fg-1); margin: 0; letter-spacing: -0.005em; }
.pm-boost-body { font-size: var(--fs-sm); color: var(--fg-2); line-height: 1.55; margin: 0; }
.pm-boost-foot { padding-top: var(--sp-3); border-top: 1px dashed var(--border-soft); font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.02em; }
@media (max-width: 900px) { .pm-boost-grid { grid-template-columns: 1fr; } }

.pm-footer-h { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); color: var(--footer-on-bg); margin: 0 0 var(--sp-4); }
.pm-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-2); }
.pm-footer a { color: var(--footer-on-bg); opacity: 0.72; text-decoration: none; font-size: var(--fs-sm); transition: opacity var(--dur-fast) var(--ease-out); }
.pm-footer a:hover { opacity: 1; }
.pm-footer-theme { font-family: var(--font-mono); font-size: 11px; color: var(--footer-on-bg); opacity: 0.6; padding-top: var(--sp-2); }

/* ---------- BLOG ---------- */
.pm-blog-grid { list-style: none; padding: 0; margin: var(--sp-12) 0 var(--sp-8); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.pm-blog-card { display: block; }
.pm-blog-link { display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-1); transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); height: 100%; }
.pm-blog-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.pm-blog-thumb { aspect-ratio: 16/9; position: relative; display: flex; align-items: flex-end; justify-content: flex-start; padding: var(--sp-5); background-image: linear-gradient(135deg, transparent 0%, rgba(0,0,0,0.08) 100%); }
.pm-blog-num { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 0.9; color: rgba(255,255,255,0.92); letter-spacing: -0.04em; mix-blend-mode: overlay; }
.pm-blog-body { padding: var(--sp-5) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.pm-blog-meta { display: flex; align-items: center; gap: var(--sp-2); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.pm-blog-cat { color: var(--pm-accent-ink); font-weight: 600; }
.pm-blog-dot { color: var(--fg-3); }
.pm-blog-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); line-height: 1.25; color: var(--fg-1); margin: 0; letter-spacing: -0.01em; text-wrap: pretty; }
.pm-blog-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: var(--sp-3); border-top: 1px dashed var(--border-soft); font-size: var(--fs-sm); color: var(--fg-3); }
.pm-blog-arrow { font-family: var(--font-display); color: var(--pm-accent-ink); font-size: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.pm-blog-link:hover .pm-blog-arrow { transform: translateX(4px); }
.pm-blog-all { text-align: center; margin-top: var(--sp-4); }
.pm-link-arrow { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-md); color: var(--fg-1); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.pm-link-arrow:hover { color: var(--pm-accent-ink); }
@media (max-width: 900px) {
  .pm-blog-grid { grid-template-columns: 1fr; }
}
.pm-footer-bottom { border-top: 1px solid color-mix(in oklab, var(--footer-on-bg) 15%, transparent); padding: var(--sp-5) 0; }
.pm-footer-bottom .pm-mono { color: var(--footer-on-bg); opacity: 0.6; font-size: 12px; }

/* ---------- PULL QUOTE ----------
   Editorial pull-quote for sayings/metaphors. Centered, large « » glyphs,
   author/payoff line below. Used as a section break, not a marquee. */
.pm-pullquote { padding: var(--sp-8) 0; background: var(--bg-1); color: var(--on-bg-1); }
.pm-pullquote-inner { max-width: var(--container-max, 1200px); margin: 0 auto; padding: 0 var(--sp-12); text-align: center; position: relative; display: flex; align-items: center; justify-content: center; gap: var(--sp-4); flex-wrap: wrap; }
.pm-pullquote-mark {
  font-family: var(--font-display); font-weight: 700;
  font-size: 36px; line-height: 1; color: var(--on-bg-1);
  opacity: 0.45;
}
.pm-pullquote-line {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px); line-height: 1.35;
  color: var(--on-bg-1); text-wrap: balance; margin: 0;
  font-style: italic;
}
.pm-pullquote-payoff {
  font-family: var(--font-display); font-size: var(--fs-sm);
  color: var(--on-bg-1); opacity: 0.85; font-weight: 500;
}
.pm-pullquote-payoff strong { font-weight: 700; opacity: 1; }

/* ---------- ROI RIBBON ----------
   Inline numerical proof inside StatsStrip. Two-line: big number + payoff.
   Sits below the 3-stat row, before the CTA, on the same surface. */
.pm-roi-ribbon {
  margin: var(--sp-10) auto 0; max-width: 720px;
  display: flex; align-items: center; gap: var(--sp-6);
  padding: var(--sp-5) var(--sp-8);
  background: var(--bg-base); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  text-align: left;
}
.pm-roi-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 4vw, 52px); line-height: 1;
  color: var(--pm-accent-ink); letter-spacing: -0.02em;
  flex-shrink: 0;
}
.pm-roi-copy { display: flex; flex-direction: column; gap: var(--sp-1); }
.pm-roi-copy .lead { font-family: var(--font-display); font-weight: 600; color: var(--fg-1); font-size: var(--fs-md); }
.pm-roi-copy .sub  { font-family: var(--font-display); color: var(--fg-2); font-size: var(--fs-sm); }
.pm-roi-copy .sub strong { color: var(--pm-accent-ink); font-weight: 700; }

/* ---------- DEV ASIDE ----------
   "Did you know?" callout with API/code flavor. Mono eyebrow, asymmetric
   layout (text + code-tag chip). Used after Features for the SEO/API line. */
.pm-aside { padding: var(--sp-6) 0; background: var(--bg-1); color: var(--on-bg-1); }
.pm-aside-inner {
  max-width: var(--container-max, 1200px); margin: 0 auto; padding: 0 var(--sp-12);
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--sp-6);
  align-items: center;
}
.pm-aside-inner-2 { grid-template-columns: auto 1fr; }
.pm-aside-tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-bg-1); opacity: 0.7;
  border: 1px solid color-mix(in oklab, var(--on-bg-1) 25%, transparent);
  border-radius: var(--r-pill);
  padding: var(--sp-1) var(--sp-3);
  white-space: nowrap;
}
.pm-aside-text { display: flex; align-items: baseline; gap: var(--sp-3); flex-wrap: wrap; }
.pm-aside-line {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--fs-md); color: var(--on-bg-1); margin: 0;
}
.pm-aside-payoff {
  font-family: var(--font-display); font-size: var(--fs-sm); color: var(--on-bg-1); opacity: 0.8; margin: 0;
}
.pm-aside-payoff code {
  font-family: var(--font-mono); font-size: 12px;
  background: color-mix(in oklab, var(--on-bg-1) 10%, transparent);
  color: var(--on-bg-1); padding: 2px 6px; border-radius: var(--r-xs);
}
.pm-aside-link {
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600;
  color: var(--on-bg-1); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  border-bottom: 2px solid transparent; transition: border-color var(--dur-fast) var(--ease-out);
}
.pm-aside-link:hover { border-bottom-color: var(--on-bg-1); }

/* === Burger button (base styles AVANT les media queries) === */
.pm-burger {
  display: none;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer; padding: 0;
  flex-shrink: 0;
  transition: border-color 150ms ease, background 150ms ease;
}
.pm-burger:hover { border-color: var(--fg-mute); background: var(--bg-base); }
.pm-burger span {
  display: block; width: 18px; height: 2px;
  background: var(--fg-1); border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.pm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.pm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.pm-mobile-nav {
  display: none;
  position: fixed; top: 104px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.12);
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  flex-direction: column; gap: var(--sp-1);
  z-index: 60;
  max-height: calc(100vh - 104px); overflow-y: auto;
}
.pm-mobile-nav.is-open { display: flex; }
.pm-mobile-nav a {
  display: block;
  padding: var(--sp-3) 0;
  color: var(--fg-1); text-decoration: none;
  font-family: var(--font-display); font-weight: 500; font-size: 16px;
  border-bottom: 1px solid var(--border-soft);
}
.pm-mobile-nav a:hover { color: var(--brand-dark); }
.pm-mobile-nav a:last-child { border-bottom: 0; }
.pm-mobile-nav-cta {
  margin-top: var(--sp-3);
  padding: var(--sp-3) var(--sp-5) !important;
  background: var(--brand-dark); color: #fff !important;
  border-radius: var(--r-pill);
  text-align: center; font-weight: 600 !important;
  border: 0 !important;
}
.pm-mobile-nav-cta:hover { color: #fff !important; opacity: 0.92; }
.pm-mobile-nav-langs { display: flex; gap: var(--sp-3); justify-content: center; padding-top: var(--sp-3); }
.pm-mobile-nav-langs .pm-lang-seg { padding: 6px 14px; }

body.pm-mobile-nav-open { overflow: hidden; }

/* ---------- RESPONSIVE ---------- */
/* These come last so they win the cascade over earlier component rules. */
@media (max-width: 1080px) {
  .pm-header .pm-theme-cycle { display: none; }
}
@media (max-width: 980px) {
  .pm-header-actions .pm-cap { display: none; }
}
@media (max-width: 900px) {
  .pm-container { padding: 0 var(--sp-6); }
  .pm-section { padding: var(--sp-16) 0; }
  .pm-hero-grid, .pm-feature, .pm-feature-rev, .pm-split { grid-template-columns: 1fr; gap: var(--sp-8); }
  .pm-feature-rev .pm-feature-text, .pm-split-rev .pm-split-text { order: unset; }
  .pm-steps, .pm-stat-row, .pm-testimonials, .pm-footer-grid { grid-template-columns: 1fr; }
  .pm-header-nav { display: none; }
  .pm-results { gap: var(--sp-4); }
  .pm-strip-row { justify-content: center; text-align: center; }
  .pm-aside-inner { grid-template-columns: 1fr; gap: var(--sp-4); text-align: center; }
  .pm-roi-ribbon { flex-direction: column; align-items: flex-start; }
  /* Sur mobile: cacher du header les éléments présents dans le burger */
  .pm-header-actions .pm-btn-primary,
  .pm-header-actions .pm-theme-cycle,
  .pm-header-actions .pm-lang-toggle { display: none; }
  .pm-burger { display: inline-flex; }
  .pm-beta-ribbon { display: none; }
  /* Garde-fou anti-débordement horizontal */
  html, body { overflow-x: hidden; }
}

/* === v6 image overrides ============================================== */
/* Hero card with real photo: photo fills the frame */
.pm-hero-photo-card-real { padding: 0; aspect-ratio: 4 / 5; }
.pm-hero-photo-card-real img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Founder uses real photo instead of initials avatar */
.pm-founder-photo {
  width: 56px; height: 56px; border-radius: var(--r-pill);
  object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--bg-base), 0 0 0 3px var(--brand-dark);
}

/* Step card — big colored numeral as the hero element */
.pm-step { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.pm-step .pm-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--brand-dark);
  margin: calc(var(--sp-2) * -1) 0 0;
  display: block;
}
.pm-step-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-top: var(--sp-2);
}
.pm-step .pm-step-title { margin-top: var(--sp-3); }
.pm-step::after {
  content: "";
  position: absolute; right: -10px; top: -10px;
  width: 56px; height: 56px; border-radius: var(--r-pill);
  background: var(--brand);
  opacity: 0.18;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
  pointer-events: none;
}
.pm-step:hover::after { transform: scale(1.4); opacity: 0.28; }

/* Testimonial avatar as image */
.pm-testimonial-avatar-img { object-fit: cover; }

/* Real screenshot inside feature mockup chrome */
.pm-shot-body-real {
  padding: 0; background: #fff;
  display: block; aspect-ratio: 16 / 10; overflow: hidden;
}
.pm-shot-body-real img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* Footer toggle links + dynamic content panel */
.pm-footer-toggle { cursor: pointer; }
.pm-footer-panel {
  max-height: 0; overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  transition: max-height var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out);
}
.pm-footer-panel.is-active { max-height: 2000px; padding: var(--sp-8) 0; }
.pm-footer-panel-item { display: none; max-width: 760px; margin: 0 auto; }
.pm-footer-panel-item.is-active { display: block; }
.pm-footer-panel-item h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xl); margin: 0 0 var(--sp-4); color: var(--fg-1); }
.pm-footer-panel-item h4 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-md); margin: var(--sp-5) 0 var(--sp-2); color: var(--fg-1); }
.pm-footer-panel-item p { font-size: var(--fs-sm); line-height: 1.6; color: var(--fg-2); margin: 0 0 var(--sp-3); }
.pm-footer-panel-item ul { font-size: var(--fs-sm); line-height: 1.6; color: var(--fg-2); padding-left: var(--sp-5); margin: 0 0 var(--sp-3); }
.pm-footer-panel-item a { color: var(--brand-dark); text-decoration: underline; }
.pm-footer-panel-close {
  position: absolute; right: var(--sp-6); top: var(--sp-4);
  background: transparent; border: 0; font-size: 28px; line-height: 1;
  color: var(--fg-2); cursor: pointer; padding: var(--sp-2);
}
.pm-footer-panel .pm-container { position: relative; }

/* === Pricing page ====================================================== */
.pm-section-tight { padding-bottom: var(--sp-6); }

.pm-price-grid {
  list-style: none; padding: 0; margin: var(--sp-8) 0 var(--sp-4);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6); align-items: stretch;
}
.pm-price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  display: flex; flex-direction: column; gap: var(--sp-5);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.pm-price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }

.pm-price-card-featured {
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 1px var(--brand-dark), var(--shadow-2);
  background: color-mix(in oklab, var(--brand) 8%, white);
}
.pm-price-card-featured:hover { box-shadow: 0 0 0 1px var(--brand-dark), var(--shadow-2); }

.pm-price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand-dark); color: #fff;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-pill);
}

.pm-price-card-head { display: flex; flex-direction: column; gap: var(--sp-2); }
.pm-price-name { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); margin: 0; letter-spacing: -0.02em; color: var(--fg-1); }
.pm-price-tagline { font-size: var(--fs-sm); color: var(--fg-2); margin: 0; line-height: 1.5; min-height: 2.6em; }

.pm-price-amount { display: flex; flex-direction: column; gap: 4px; }
.pm-price-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--fs-4xl); line-height: 1; color: var(--brand-dark);
  letter-spacing: -0.03em;
}
.pm-price-num-row {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--sp-3);
}
.pm-price-unit { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm); color: var(--fg-2); letter-spacing: 0; }
.pm-price-ht { font-family: var(--font-mono); font-size: 11px; color: var(--fg-3); letter-spacing: 0.04em; }
.pm-price-strike-inline {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--fg-3);
}
.pm-price-strike-inline s {
  text-decoration-thickness: 1.5px;
  font-family: var(--font-display); font-weight: 600;
}
.pm-price-promo-tag {
  display: inline-block; align-self: flex-start;
  margin-top: var(--sp-2);
  background: var(--brand); color: var(--brand-dark);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
  padding: 4px 10px; border-radius: var(--r-pill);
}

.pm-price-features { padding-top: var(--sp-5); border-top: 1px dashed var(--border-soft); flex-grow: 1; }
.pm-price-features-head { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: var(--sp-3); }
.pm-price-features ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.pm-price-features li { display: grid; grid-template-columns: 18px auto 1fr; align-items: baseline; gap: 8px; font-size: var(--fs-sm); color: var(--fg-1); }
.pm-price-feat-mark { font-family: var(--font-display); font-weight: 700; line-height: 1; }
.pm-price-feat-yes .pm-price-feat-mark { color: var(--brand-dark); }
.pm-price-feat-no .pm-price-feat-mark { color: var(--fg-mute); }
.pm-price-feat-num { font-family: var(--font-display); font-weight: 700; color: var(--fg-1); }
.pm-price-feat-label { color: var(--fg-2); }
/* Feature non incluse : label estompé, sans number */
.pm-price-feat-no .pm-price-feat-label { color: var(--fg-3); text-decoration: line-through; text-decoration-color: var(--border); }
/* Si pas de num (boolean), la cellule "auto" s'efface naturellement */
.pm-price-features li:not(:has(.pm-price-feat-num)) { grid-template-columns: 18px 1fr; }
.pm-price-feat-cat {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-3);
  margin-top: var(--sp-4); margin-bottom: var(--sp-2);
}
.pm-price-feat-cat:first-child { margin-top: 0; }
.pm-price-features ul + .pm-price-feat-cat { margin-top: var(--sp-4); }

.pm-price-cta { width: 100%; justify-content: center; margin-top: auto; }
.pm-price-notify { display: block; text-align: center; margin-top: 8px; width: 100%; }

.pm-price-foot {
  text-align: center; font-size: var(--fs-sm); color: var(--fg-2);
  margin: var(--sp-6) auto 0; max-width: 720px;
}
.pm-price-foot a { color: var(--brand-dark); }

@media (max-width: 980px) {
  .pm-price-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* === Status pages (newsletter confirm / unsubscribe / data deleted / etc.) === */
.pm-status-section { padding: var(--sp-12) 0; }
.pm-status-card {
  max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-10) var(--sp-8) var(--sp-8);
  text-align: center;
  box-shadow: var(--shadow-1);
}
.pm-status-icon {
  width: 80px; height: 80px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  margin: 0 auto var(--sp-6);
}
.pm-status-icon-success { background: #dcfce7; color: #16a34a; }
.pm-status-icon-warning { background: var(--brand); color: var(--brand-dark); }
.pm-status-card .pm-eyebrow { display: inline-block; margin-bottom: var(--sp-3); }
.pm-status-title { margin: 0 0 var(--sp-3); }
.pm-status-text { margin: 0 0 var(--sp-6); color: var(--fg-2); }
.pm-status-actions { margin-bottom: var(--sp-6); }
.pm-status-actions .pm-btn { display: inline-flex; }
.pm-status-rgpd {
  padding-top: var(--sp-5); margin-top: var(--sp-5);
  border-top: 1px dashed var(--border-soft);
  font-size: 12px; color: var(--fg-3); line-height: 1.6;
}
.pm-status-rgpd p { margin: 0 0 var(--sp-2); }
.pm-status-rgpd a { color: var(--brand-dark); }
.pm-status-rgpd-danger { color: #dc2626 !important; }

/* Status alerts (success / danger) */
.pm-status-alert {
  text-align: left; padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md); border-left: 3px solid;
  font-size: var(--fs-sm); margin-bottom: var(--sp-4);
}
.pm-status-alert-success { background: #dcfce7; border-color: #16a34a; color: #166534; }
.pm-status-alert-danger { background: #fee2e2; border-color: #dc2626; color: #991b1b; }

/* Inline form (unsubscribe) */
.pm-status-form {
  display: flex; flex-direction: column; gap: var(--sp-3);
  margin: var(--sp-4) 0;
}
.pm-status-input {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px; font-size: 15px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: #fff; color: var(--fg-1);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.pm-status-input:focus {
  outline: 0; border-color: var(--brand-dark);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand) 50%, transparent);
}
.pm-status-form-submit { width: 100%; justify-content: center; }

/* Stack of action buttons (row on desktop, column mobile) */
.pm-status-actions-row {
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center;
}
.pm-status-actions-row .pm-btn { flex: 0 0 auto; }
@media (max-width: 520px) {
  .pm-status-actions-row { flex-direction: column; }
  .pm-status-actions-row .pm-btn { width: 100%; justify-content: center; }
}

/* Disabled CTA — visible mais inactif (plans "Bientôt") */
.pm-btn-disabled {
  background: color-mix(in oklab, var(--brand-dark) 8%, white);
  color: var(--fg-3);
  border: 1px dashed color-mix(in oklab, var(--brand-dark) 30%, transparent);
  cursor: not-allowed;
  pointer-events: none;
}
.pm-btn-disabled:hover { background: color-mix(in oklab, var(--brand-dark) 8%, white); }

/* Beta notice strip — between page header and pricing cards */
.pm-beta-notice {
  background: color-mix(in oklab, var(--brand) 18%, white);
  border-top: 1px solid color-mix(in oklab, var(--brand-dark) 22%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--brand-dark) 22%, transparent);
  padding: var(--sp-5) 0;
  margin-bottom: var(--sp-2);
}
.pm-beta-notice-inner {
  display: flex; align-items: center; gap: var(--sp-6);
  flex-wrap: wrap; justify-content: space-between;
}
.pm-beta-notice-text { display: flex; flex-direction: column; gap: 4px; max-width: 720px; }
.pm-beta-notice-tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--brand-dark); font-weight: 700;
  align-self: flex-start;
  background: var(--brand);
  padding: 3px 8px; border-radius: var(--r-pill);
  margin-bottom: 4px;
}
.pm-beta-notice-title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--fg-1); letter-spacing: -0.005em; }
.pm-beta-notice-body { font-size: var(--fs-sm); color: var(--fg-2); line-height: 1.5; }
@media (max-width: 760px) {
  .pm-beta-notice-inner { flex-direction: column; align-items: flex-start; }
}
