/* WPMalter — "Guide Claude Code WordPress" (47 €) product sales page.
   Built strictly on the design tokens in ../../colors_and_type.css and the
   shared vocabulary in styles.css (.btn, .pill, .hero, .section, .eyebrow,
   .about-grid, .faq, .cta-final, …). Reuses the sales-page layer in
   declic.css (.lead-head, .section-sm, .mirror, .invest-card, .encart).
   Only adds what this product page needs that the others didn't. */

.guide main { overflow-x: clip; }

/* mono kicker reused locally (declic has .kicker-mono too) */
.guide .mono-kick {
  font-family: var(--wpm-font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--wpm-brand-text);
}

/* ============================================================
   HERO — price badge, bullets card, trust strip
   ============================================================ */
.g-hero .declic-badge { margin-bottom: 4px; }
.g-hero h1 .grad { /* inherits */ }

.hero-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
  max-width: 760px;
  margin: 34px auto 0;
  text-align: left;
  padding: 26px 30px;
  background: var(--wpm-surface-1);
  border: 1px solid var(--wpm-border);
  border-radius: var(--wpm-radius-lg);
  box-shadow: var(--wpm-shadow-md);
}
.hero-bullets li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--wpm-text-secondary);
}
.hero-bullets li strong { color: var(--wpm-text-primary); font-weight: 600; }
.hero-bullets .bk {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: var(--wpm-radius-sm);
  background: var(--wpm-brand-surface);
  color: var(--wpm-brand-text);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.hero-bullets .bk svg { width: 13px; height: 13px; }

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  margin-top: 22px;
  font-family: var(--wpm-font-mono);
  font-size: 12.5px;
  color: var(--wpm-text-muted);
}
.trust-strip .ts { display: inline-flex; align-items: center; gap: 7px; }
.trust-strip .ts svg { width: 14px; height: 14px; color: var(--wpm-success-text); }
.trust-strip .sep { opacity: .45; }

/* ============================================================
   PROBLEM / CONSTAT — long-form prose (mirrors declic .constat)
   ============================================================ */
.g-constat { max-width: 680px; margin: 0 auto; text-align: left; }
.g-constat p {
  font-size: 18px;
  line-height: 1.78;
  color: var(--wpm-text-secondary);
  margin: 0 0 20px;
}
.g-constat p strong { color: var(--wpm-text-primary); font-weight: 600; }
.g-constat .stat-line {
  font-family: var(--wpm-font-display);
  font-weight: 600;
  color: var(--wpm-brand-text);
}
.g-constat .punch {
  font-family: var(--wpm-font-display);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--wpm-text-primary);
  font-weight: 600;
  padding: 22px 26px;
  border: 1px solid color-mix(in srgb, var(--wpm-brand) 38%, var(--wpm-border));
  background: var(--wpm-surface-1);
  border-radius: var(--wpm-radius-md);
  margin: 4px 0 0;
}
.g-constat .punch b { color: var(--wpm-brand-text); }

/* ============================================================
   STACK — 3 building blocks (Claude Code · Novamira · Claude Design)
   ============================================================ */
.stack-list { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.stack-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 26px;
  align-items: start;
  padding: 28px 30px;
  background: var(--wpm-surface-1);
  border: 1px solid var(--wpm-border);
  border-radius: var(--wpm-radius-lg);
  transition: var(--wpm-transition);
}
.stack-row:hover { border-color: var(--wpm-border-strong); box-shadow: var(--wpm-shadow-md); }
.stack-glyph {
  width: 64px; height: 64px;
  border-radius: var(--wpm-radius-md);
  background: var(--wpm-brand-surface);
  color: var(--wpm-brand-text);
  display: flex; align-items: center; justify-content: center;
}
.stack-glyph svg { width: 28px; height: 28px; }
.stack-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 9px; }
.stack-head h3 {
  font-family: var(--wpm-font-display);
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--wpm-text-primary);
  margin: 0;
}
.stack-tag {
  font-family: var(--wpm-font-mono);
  font-size: 11px;
  color: var(--wpm-text-muted);
  padding: 3px 9px;
  border: 1px solid var(--wpm-border);
  border-radius: var(--wpm-radius-pill);
  white-space: nowrap;
}
.stack-row p { font-size: 15px; line-height: 1.7; color: var(--wpm-text-secondary); margin: 0; }
.stack-row p strong { color: var(--wpm-text-primary); font-weight: 600; }
.stack-row p .ki { font-family: var(--wpm-font-mono); font-size: 13.5px; color: var(--wpm-brand-text); }

/* the big quote callout under the stack */
.bigquote {
  max-width: 760px;
  margin: 36px auto 0;
  position: relative;
  padding: 30px 34px;
  border-radius: var(--wpm-radius-lg);
  background: var(--wpm-surface-1);
  border: 1px solid color-mix(in srgb, var(--wpm-accent-warm) 36%, var(--wpm-border));
}
.bigquote p {
  font-family: var(--wpm-font-display);
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--wpm-text-primary);
  margin: 0;
  font-weight: 500;
}
.bigquote p b { color: var(--wpm-accent-text); font-weight: 700; }

/* ============================================================
   TABLE OF CONTENTS — what's in the 46 pages
   ============================================================ */
.toc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1040px; margin: 0 auto; }
.toc-card {
  position: relative;
  padding: 28px 30px;
  border-radius: var(--wpm-radius-lg);
  background: var(--wpm-surface-1);
  border: 1px solid var(--wpm-border);
  transition: var(--wpm-transition);
  display: flex; flex-direction: column;
}
.toc-card:hover { border-color: var(--wpm-border-strong); box-shadow: var(--wpm-shadow-md); }
.toc-card.wide { grid-column: 1 / -1; }
.toc-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.toc-num {
  font-family: var(--wpm-font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--wpm-brand-text);
  display: inline-flex; align-items: center; gap: 10px;
}
.toc-num .lab { font-family: var(--wpm-font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wpm-text-muted); }
.toc-meta {
  font-family: var(--wpm-font-mono);
  font-size: 11px;
  color: var(--wpm-text-secondary);
  padding: 4px 11px;
  border: 1px solid var(--wpm-border);
  border-radius: var(--wpm-radius-pill);
  white-space: nowrap;
}
.toc-card h3 {
  font-family: var(--wpm-font-display);
  font-size: 20px;
  letter-spacing: -0.018em;
  color: var(--wpm-text-primary);
  margin: 0 0 10px;
  line-height: 1.25;
}
.toc-card > p { font-size: 14.5px; line-height: 1.65; color: var(--wpm-text-secondary); margin: 0; }
.toc-card > p strong { color: var(--wpm-text-primary); font-weight: 600; }

/* nested breakdown (part 3 categories, part 4 workflows) */
.toc-sub { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.toc-card.wide .toc-sub { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.toc-sub li {
  display: flex; gap: 12px; align-items: baseline;
  font-size: 14px; line-height: 1.5; color: var(--wpm-text-secondary);
  padding-top: 11px; border-top: 1px dashed var(--wpm-border);
}
.toc-sub .ct {
  flex-shrink: 0;
  font-family: var(--wpm-font-mono);
  font-size: 11px; font-weight: 600;
  color: var(--wpm-brand-text);
  background: var(--wpm-brand-surface);
  border-radius: var(--wpm-radius-sm);
  padding: 2px 7px;
  min-width: 30px; text-align: center;
}
.toc-sub li b { color: var(--wpm-text-primary); font-weight: 600; }

/* bonus cards */
.toc-card.bonus { border-color: color-mix(in srgb, var(--wpm-accent-warm) 40%, var(--wpm-border)); background: var(--wpm-surface-1); }
.toc-card.bonus .toc-num { color: var(--wpm-accent-text); }
.toc-card.bonus .toc-meta { color: var(--wpm-accent-text); border-color: color-mix(in srgb, var(--wpm-accent-warm) 40%, var(--wpm-border)); }
.bonus-pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  font-family: var(--wpm-font-mono);
  color: var(--wpm-accent-text);
  background: var(--wpm-accent-bg);
  border-radius: var(--wpm-radius-pill);
  padding: 4px 10px;
  margin-bottom: 14px;
}

/* ============================================================
   COMPARE — avant / après table
   ============================================================ */
.cmp {
  max-width: 920px; margin: 0 auto;
  border: 1px solid var(--wpm-border);
  border-radius: var(--wpm-radius-lg);
  overflow: hidden;
  background: var(--wpm-surface-1);
  box-shadow: var(--wpm-shadow-md);
}
.cmp-row {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 1fr 1fr;
  align-items: center;
}
.cmp-row > div { padding: 16px 22px; }
.cmp-row + .cmp-row { border-top: 1px solid var(--wpm-border-subtle); }
.cmp-row.head > div {
  background: var(--wpm-surface-2);
  font-family: var(--wpm-font-mono);
  font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--wpm-text-muted);
}
.cmp-task { font-size: 14.5px; line-height: 1.45; color: var(--wpm-text-primary); font-weight: 500; }
.cmp-old { font-size: 14px; line-height: 1.4; color: var(--wpm-text-muted); }
.cmp-new {
  font-size: 14px; line-height: 1.4;
  color: var(--wpm-text-primary); font-weight: 600;
  border-left: 1px solid var(--wpm-border-subtle);
}
.cmp-new .gain { color: var(--wpm-success-text); }
.cmp-row.total { background: color-mix(in srgb, var(--wpm-brand-surface) 60%, transparent); }
.cmp-row.total .cmp-task { font-family: var(--wpm-font-display); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.cmp-row.total .cmp-old { font-weight: 600; color: var(--wpm-text-secondary); }
.cmp-row.total .cmp-new { font-family: var(--wpm-font-display); font-size: 17px; color: var(--wpm-brand-text); }
.cmp-row.total .cmp-new { border-left-color: color-mix(in srgb, var(--wpm-brand) 30%, transparent); }
.cmp-note { max-width: 760px; margin: 24px auto 0; text-align: center; font-size: 14px; line-height: 1.7; color: var(--wpm-text-muted); }

/* ============================================================
   OFFER — pricing block (reuses .invest-card / .encart from declic.css)
   ============================================================ */
.offer-wrap { max-width: 660px; margin: 0 auto; }
.offer-card {
  position: relative;
  border-radius: var(--wpm-radius-lg);
  border: 1px solid var(--wpm-brand);
  background: var(--wpm-surface-1);
  box-shadow: var(--wpm-glow-brand);
  padding: 40px 40px 36px;
  overflow: hidden;
}
.offer-card::before {
  content: ""; position: absolute; width: 520px; height: 380px;
  left: 50%; top: -240px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(83,58,253,.4), transparent 60%);
  filter: blur(90px); pointer-events: none;
}
.offer-inner { position: relative; z-index: 1; }
.offer-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.offer-name { font-family: var(--wpm-font-display); font-size: 19px; letter-spacing: -0.015em; color: var(--wpm-text-primary); margin: 0; }
.offer-name .sub { display: block; font-family: var(--wpm-font-mono); font-size: 12px; color: var(--wpm-text-muted); margin-top: 6px; font-weight: 400; letter-spacing: 0.02em; }
.offer-price { text-align: right; }
.offer-price .amt { font-family: var(--wpm-font-display); font-weight: 700; font-size: clamp(46px, 7vw, 60px); letter-spacing: -0.04em; line-height: 1; color: var(--wpm-text-primary); }
.offer-price .vat { font-family: var(--wpm-font-mono); font-size: 12px; color: var(--wpm-text-muted); margin-top: 6px; }
.offer-sep { height: 1px; background: var(--wpm-border-subtle); margin: 26px 0; }
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.offer-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--wpm-text-secondary); }
.offer-list li strong { color: var(--wpm-text-primary); font-weight: 600; }
.offer-list .ck { flex-shrink: 0; color: var(--wpm-success-text); margin-top: 2px; }
.offer-card .btn { margin-top: 28px; }
.offer-micro { font-size: 13px; color: var(--wpm-text-muted); margin-top: 14px; text-align: center; display: flex; align-items: center; gap: 8px; justify-content: center; }
.offer-micro svg { width: 14px; height: 14px; }

.guarantee {
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  margin-top: 22px;
  border-radius: var(--wpm-radius-lg);
  border: 1px solid color-mix(in srgb, var(--wpm-success-500) 36%, var(--wpm-border));
  background: var(--wpm-surface-1);
  padding: 24px 28px;
}
.guarantee-badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--wpm-success-bg); color: var(--wpm-success-text);
  display: flex; align-items: center; justify-content: center;
}
.guarantee-badge svg { width: 24px; height: 24px; }
.guarantee h4 { font-family: var(--wpm-font-display); font-size: 16px; letter-spacing: -0.01em; color: var(--wpm-text-primary); margin: 2px 0 7px; }
.guarantee p { font-size: 14.5px; line-height: 1.65; color: var(--wpm-text-secondary); margin: 0; }

/* ============================================================
   STICKY BUY BAR (appears on scroll)
   ============================================================ */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: color-mix(in srgb, var(--wpm-surface-1) 92%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--wpm-border);
  box-shadow: 0 -8px 30px rgba(11,10,24,.18);
  transform: translateY(110%);
  transition: transform var(--wpm-dur-slow) var(--wpm-ease);
}
.buybar.show { transform: translateY(0); }
.buybar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 12px; }
.buybar-meta { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.buybar-title { font-family: var(--wpm-font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--wpm-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-sub { font-family: var(--wpm-font-mono); font-size: 12px; color: var(--wpm-text-muted); white-space: nowrap; }
.buybar-price { font-family: var(--wpm-font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; color: var(--wpm-text-primary); }
.buybar .right { display: flex; align-items: center; gap: 16px; }
@media (max-width: 560px) { .buybar-sub { display: none; } .buybar .right .buybar-price { display: none; } }

/* ============================================================
   BUY MODAL — Stripe-style checkout teaser
   ============================================================ */
.buy-modal { max-width: 460px; }
.buy-line {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; margin-bottom: 22px;
  border: 1px solid var(--wpm-border); border-radius: var(--wpm-radius-md);
  background: var(--wpm-surface-2);
}
.buy-cover {
  width: 48px; height: 60px; border-radius: var(--wpm-radius-sm); flex-shrink: 0;
  background-color: var(--wpm-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--wpm-shadow-md);
}
.buy-cover svg { width: 22px; height: 22px; }
.buy-line .meta { flex: 1; min-width: 0; }
.buy-line .t { font-family: var(--wpm-font-display); font-weight: 600; font-size: 14.5px; color: var(--wpm-text-primary); line-height: 1.3; }
.buy-line .d { font-size: 12px; color: var(--wpm-text-muted); margin-top: 3px; }
.buy-line .p { font-family: var(--wpm-font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: var(--wpm-text-primary); }
.buy-field { display: flex; align-items: center; gap: 10px; background: var(--wpm-surface-2); border: 1px solid var(--wpm-border); border-radius: var(--wpm-radius-sm); padding: 0 14px; margin-bottom: 14px; }
.buy-field svg { width: 16px; height: 16px; color: var(--wpm-text-muted); flex-shrink: 0; }
.buy-field .input { border: none; background: none; box-shadow: none; padding: 13px 0; }
.buy-field .input:focus { box-shadow: none; }
.buy-cardrow { display: grid; grid-template-columns: 1fr 92px; gap: 12px; }
.buy-secure { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--wpm-text-muted); margin-top: 16px; }
.buy-secure svg { width: 13px; height: 13px; color: var(--wpm-success-text); }
.buy-brands { display: inline-flex; gap: 5px; margin-left: 4px; }
.buy-brands span { font-family: var(--wpm-font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.02em; color: var(--wpm-text-secondary); border: 1px solid var(--wpm-border); border-radius: 3px; padding: 2px 4px; }
.buy-success { text-align: center; padding: 8px 0; }
.buy-success .ico { width: 64px; height: 64px; border-radius: 50%; background: var(--wpm-success-bg); color: var(--wpm-success-text); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.buy-success .ico svg { width: 30px; height: 30px; }
.buy-dl { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .hero-bullets { grid-template-columns: 1fr; }
  .toc-grid { grid-template-columns: 1fr; }
  .toc-card.wide .toc-sub { grid-template-columns: 1fr; }
  .stack-row { grid-template-columns: 1fr; gap: 18px; }
  .g-constat p, .stack-row p { font-size: 16.5px; }
}
@media (max-width: 720px) {
  /* compare table → stacked cards */
  .cmp { box-shadow: none; border: none; background: none; display: flex; flex-direction: column; gap: 14px; }
  .cmp-row.head { display: none; }
  .cmp-row {
    grid-template-columns: 1fr; gap: 0;
    border: 1px solid var(--wpm-border); border-radius: var(--wpm-radius-md);
    background: var(--wpm-surface-1); overflow: hidden;
  }
  .cmp-row + .cmp-row { border-top: 1px solid var(--wpm-border); }
  .cmp-row > div { padding: 14px 18px; }
  .cmp-row .cmp-task { border-bottom: 1px solid var(--wpm-border-subtle); }
  .cmp-old::before, .cmp-new::before {
    content: attr(data-label);
    display: block;
    font-family: var(--wpm-font-mono); font-size: 10px; letter-spacing: 0.05em;
    text-transform: uppercase; color: var(--wpm-text-muted); margin-bottom: 4px;
  }
  .cmp-new { border-left: none; border-top: 1px solid var(--wpm-border-subtle); }
}
@media (max-width: 480px) {
  .hero-bullets { padding: 22px; }
  .offer-card { padding: 30px 24px 28px; }
  .buy-cardrow { grid-template-columns: 1fr; }
}
