/* WPMalter — Page Lead Magnet (single-ressource.php).
   Dedicated landing page for one free resource. Built on the design tokens
   (../../colors_and_type.css) + shared kit styles (styles.css) and reuses
   bibliotheque.css (.lib-grid/.lib-card for « autres ressources »,
   .bridge-grid/.bridge-card for the « version Pro » bridge).
   This file holds only the LM-page-specific sections. */

/* ============================================================================
   HERO — 2 colonnes : contenu + opt-in (gauche) · cover (droite)
   ============================================================================ */
.lm-hero { position:relative; overflow:hidden; padding-top:64px; padding-bottom:var(--wpm-space-9); }
.lm-hero .hero-halo::before { width:760px; height:760px; left:-260px; top:-360px; transform:none; opacity:.75; }
.lm-hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:1.08fr 0.92fr; gap:56px; align-items:start; }

.lm-hero .eyebrow-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:20px; }
.lm-hero h1 { font-family:var(--wpm-font-display); font-weight:700; font-size:clamp(32px,4.4vw,52px); line-height:1.04; letter-spacing:-0.04em; margin:0 0 18px; max-width:16ch; }
.lm-hero .lede { font-size:clamp(16px,1.7vw,18px); line-height:1.7; color:var(--wpm-text-secondary); margin:0 0 26px; max-width:54ch; }

/* benefit bullets */
.lm-bullets { list-style:none; padding:0; margin:0 0 30px; display:flex; flex-direction:column; gap:14px; }
.lm-bullet { display:flex; gap:13px; align-items:flex-start; font-size:15px; line-height:1.55; color:var(--wpm-text-secondary); }
.lm-bullet b, .lm-bullet strong { color:var(--wpm-text-primary); font-weight:600; }
.lm-check { flex-shrink:0; width:24px; height:24px; border-radius:50%; background:var(--wpm-brand-surface); color:var(--wpm-brand-text);
  display:flex; align-items:center; justify-content:center; margin-top:1px; }
.lm-check svg { width:14px; height:14px; stroke-width:2.5; }

/* opt-in card */
.lm-optin { background:var(--wpm-surface-1); border:1px solid var(--wpm-border); border-radius:var(--wpm-radius-lg); padding:22px; box-shadow:var(--wpm-shadow-md); }
.lm-optin form { display:flex; flex-direction:column; gap:10px; }
.lm-optin .row2 { display:grid; grid-template-columns:1fr 1.3fr; gap:10px; }
.lm-optin .input { width:100%; }
.lm-optin .btn { margin-top:2px; }
.lm-optin-note { font-size:12.5px; color:var(--wpm-text-muted); text-align:center; margin:12px 0 0; display:flex; align-items:center; justify-content:center; gap:6px; }
.lm-optin-note svg { width:13px; height:13px; }
.lm-optin-proof { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 14px; margin-top:16px; padding-top:16px; border-top:1px solid var(--wpm-border-subtle); }
.lm-optin-proof .stat { font-family:var(--wpm-font-display); font-weight:600; font-size:13.5px; letter-spacing:-0.01em; color:var(--wpm-text-primary); white-space:nowrap; }
.lm-optin-proof .stat b { color:var(--wpm-brand-text); font-weight:700; }
.lm-optin-proof .sep { width:3px; height:3px; border-radius:50%; background:var(--wpm-border-strong); }
.lm-optin-ok { text-align:center; padding:18px 6px; }
.lm-optin-ok .ico { width:52px; height:52px; border-radius:50%; margin:0 auto 14px; background:var(--wpm-success-bg); color:var(--wpm-success-text); display:flex; align-items:center; justify-content:center; }
.lm-optin-ok .ico svg { width:26px; height:26px; }
.lm-optin-ok h3 { font-family:var(--wpm-font-display); font-size:20px; letter-spacing:-0.02em; margin:0 0 8px; }
.lm-optin-ok p { font-size:14px; line-height:1.6; color:var(--wpm-text-secondary); margin:0; }

/* ---- cover (PDF mock, deep dark, violet title) ---------------------------- */
.lm-cover-wrap { position:relative; }
/* cover image reelle (override du mock quand un visuel existe) */
.lm-cover-img { display:block; width:100%; height:auto; border-radius:var(--wpm-radius-lg);
  border:1px solid var(--wpm-border); box-shadow:var(--wpm-shadow-lg); }
.lm-cover-badge { position:absolute; top:-12px; right:14px; z-index:3; display:inline-flex; align-items:center; gap:6px;
  background:var(--wpm-accent-warm); color:#3a1404; font-size:12px; font-weight:700; padding:7px 14px; border-radius:var(--wpm-radius-pill);
  box-shadow:var(--wpm-glow-peach); white-space:nowrap; }
.lm-cover-badge svg { width:14px; height:14px; }
.lm-cover { position:relative; aspect-ratio:1 / 1.32; border-radius:var(--wpm-radius-lg); overflow:hidden;
  background:radial-gradient(120% 90% at 80% 0%, #1a1530 0%, #0c0a1c 55%, #08070f 100%);
  border:1px solid rgba(255,255,255,.10); box-shadow:var(--wpm-shadow-xl), 0 0 70px rgba(83,58,253,.28);
  padding:40px 36px; display:flex; flex-direction:column; transform:rotate(-1.4deg); transition:transform var(--wpm-dur-slow) var(--wpm-ease); }
.lm-cover:hover { transform:rotate(0deg); }
.lm-cover::before { content:""; position:absolute; width:360px; height:360px; right:-120px; top:-140px; border-radius:50%;
  background:radial-gradient(circle, rgba(83,58,253,.55), transparent 64%); filter:blur(60px); pointer-events:none; }
.lm-cover-top { position:relative; z-index:1; display:flex; align-items:center; gap:9px; font-family:var(--wpm-font-mono); font-size:11px; letter-spacing:.04em; color:rgba(230,237,246,.6); }
.lm-cover-top .wpm-glyph { width:22px; height:22px; border-radius:6px; background:var(--wpm-brand); color:#fff; display:flex; align-items:center; justify-content:center; font-family:var(--wpm-font-display); font-weight:700; font-size:12px; letter-spacing:-0.04em; }
.lm-cover-eyebrow { position:relative; z-index:1; margin-top:auto; font-family:var(--wpm-font-mono); font-size:11.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--wpm-brand-300); }
.lm-cover h2 { position:relative; z-index:1; font-family:var(--wpm-font-display); font-weight:700; font-size:clamp(26px,3.4vw,34px); line-height:1.08; letter-spacing:-0.03em; color:#fff; margin:12px 0 0; }
.lm-cover h2 .hl { color:var(--wpm-brand-300); }
.lm-cover-tag { position:relative; z-index:1; font-size:14px; line-height:1.55; color:rgba(230,237,246,.72); margin:16px 0 0; }
.lm-cover-foot { position:relative; z-index:1; margin-top:22px; padding-top:18px; border-top:1px solid rgba(255,255,255,.10); display:flex; align-items:center; justify-content:space-between; font-family:var(--wpm-font-mono); font-size:11.5px; color:rgba(230,237,246,.55); }
.lm-cover-foot .by { color:#fff; }

/* ---- terminal mock (Claude Code session) --------------------------------- */
.lm-term {
  --term-chrome:#1D1D28; --term-body:#0A0A10;
  --term-white:#F5F5FA; --term-grey:rgba(245,245,250,.72);
  --term-muted:rgba(245,245,250,.40); --term-ok:#34D399; --term-violet:#8F7AFF;
  position:relative; border-radius:10px; overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 48px rgba(0,0,0,.4), 0 0 80px rgba(83,58,253,.15);
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
  transform:rotate(-1deg); transition:transform var(--wpm-dur-slow) var(--wpm-ease);
}
.lm-term:hover { transform:rotate(0deg); }
.lm-term-chrome {
  display:flex; align-items:center; gap:10px; padding:11px 14px;
  background:var(--term-chrome); border-bottom:1px solid rgba(255,255,255,.06);
}
.lm-term-dots { display:flex; gap:8px; flex-shrink:0; }
.lm-term-dots i { width:12px; height:12px; border-radius:50%; display:block; }
.lm-term-dots .r { background:#FF5F57; } .lm-term-dots .y { background:#FEBC2E; } .lm-term-dots .g { background:#28C840; }
.lm-term-title {
  flex:1; text-align:center; margin-right:42px;
  font-family:var(--wpm-font-mono); font-size:12px; color:var(--term-muted);
  letter-spacing:.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.lm-term-body {
  background:var(--term-body); padding:20px;
  font-family:var(--wpm-font-mono); font-size:12.5px; line-height:1.65;
  font-feature-settings:"liga" 1, "calt" 1; overflow:hidden;
}
.lm-term .t-row {
  display:flex; align-items:baseline; gap:12px; justify-content:space-between;
  animation:lmTermIn .4s var(--wpm-ease);
  animation-delay:calc(var(--i) * .09s + .15s);
}
.lm-term .t-gap { min-height:.7em; }
.lm-term .t-text { color:var(--term-grey); flex:1; min-width:0; }
.lm-term .t-cmd { color:var(--term-white); font-weight:500; }
.lm-term .t-cmt { color:var(--term-muted); }
.lm-term .t-arrow { color:var(--term-violet); margin-right:4px; }
.lm-term .kw { color:var(--term-violet); font-weight:500; }
.lm-term .t-ok, .lm-term .t-run {
  flex-shrink:0; font-size:13px; -webkit-user-select:none; user-select:none;
}
.lm-term .t-ok { color:var(--term-ok); }
.lm-term .t-run { color:var(--term-violet); display:inline-block; animation:lmTermSpin 1.6s linear infinite; }
.lm-term .t-cursor { color:var(--term-violet); margin-left:2px; animation:lmTermBlink 1s steps(1) infinite; }
@keyframes lmTermIn { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:translateY(0); } }
@keyframes lmTermSpin { to { transform:rotate(360deg); } }
@keyframes lmTermBlink { 50% { opacity:0; } }
@media (prefers-reduced-motion:reduce) {
  .lm-term .t-row { opacity:1; transform:none; animation:none; }
  .lm-term .t-run { animation:none; }
}

/* ============================================================================
   GÉNÉRIQUE — en-têtes de section sur la page LM
   ============================================================================ */
.lm-head { max-width:680px; margin:0 auto 48px; text-align:center; }
.lm-head.left { text-align:left; margin-left:0; }
.lm-head .eyebrow { display:block; margin-bottom:14px; }
.lm-head h2 { font-family:var(--wpm-font-display); font-size:clamp(26px,3.4vw,38px); line-height:1.16; letter-spacing:-0.025em; margin:0 0 14px; }
.lm-head .sub { font-size:17px; line-height:1.65; color:var(--wpm-text-secondary); }

/* ============================================================================
   « À QUI C'EST » — prose + recognition checklist
   ============================================================================ */
.lm-audience { max-width:880px; margin:0 auto; display:grid; grid-template-columns:1fr; gap:36px; }
.lm-audience .body { font-size:17px; line-height:1.8; color:var(--wpm-text-secondary); max-width:720px; }
.lm-audience .body strong { color:var(--wpm-text-primary); font-weight:600; }
.lm-recog { background:var(--wpm-surface-1); border:1px solid var(--wpm-border); border-radius:var(--wpm-radius-lg); padding:30px 32px; }
.lm-recog .recog-label { font-family:var(--wpm-font-display); font-weight:600; font-size:16px; letter-spacing:-0.01em; margin:0 0 20px; color:var(--wpm-text-primary); }
.lm-recog .lm-bullets { margin:0; }

/* ============================================================================
   LES 3 LIVRABLES — cartes numérotées
   ============================================================================ */
.lm-deliverables { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.deliverable { position:relative; display:flex; flex-direction:column; padding:30px 28px; border-radius:var(--wpm-radius-lg);
  background:var(--wpm-surface-1); border:1px solid var(--wpm-border); transition:var(--wpm-transition); overflow:hidden; }
.deliverable:hover { transform:var(--wpm-lift); box-shadow:var(--wpm-shadow-lg); border-color:var(--wpm-border-strong); }
.deliverable .num { font-family:var(--wpm-font-display); font-weight:700; font-size:15px; width:34px; height:34px; 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-bottom:20px; }
.deliverable h3 { font-family:var(--wpm-font-display); font-size:19px; line-height:1.25; letter-spacing:-0.015em; margin:0 0 11px; color:var(--wpm-text-primary); }
.deliverable p { font-size:14px; line-height:1.65; color:var(--wpm-text-secondary); margin:0; }

/* ============================================================================
   PROCESS — timeline verticale 6 étapes
   ============================================================================ */
.lm-timeline { max-width:720px; margin:0 auto; position:relative; }
.lm-timeline::before { content:""; position:absolute; left:21px; top:14px; bottom:14px; width:2px;
  background:linear-gradient(var(--wpm-brand) 0%, var(--wpm-brand-surface) 100%); }
.lm-step { position:relative; display:grid; grid-template-columns:44px 1fr auto; gap:20px; align-items:start; padding:14px 0; }
.lm-step-num { position:relative; z-index:1; width:44px; height:44px; border-radius:50%; background:var(--wpm-brand); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--wpm-font-display); font-weight:700; font-size:17px; box-shadow:0 0 0 5px var(--wpm-bg); }
.lm-step-body { padding-top:3px; }
.lm-step-body h3 { font-family:var(--wpm-font-display); font-size:17px; letter-spacing:-0.01em; margin:0 0 4px; color:var(--wpm-text-primary); }
.lm-step-body p { font-size:14px; line-height:1.55; color:var(--wpm-text-secondary); margin:0; }
.lm-step-dur { font-family:var(--wpm-font-mono); font-size:12.5px; font-weight:500; color:var(--wpm-brand-text); white-space:nowrap;
  background:var(--wpm-brand-surface); border-radius:var(--wpm-radius-pill); padding:6px 12px; align-self:center; }
.lm-timeline-foot { max-width:720px; margin:30px auto 0; padding-left:64px; }
.lm-timeline-total { font-size:15px; color:var(--wpm-text-secondary); margin:0 0 10px; }
.lm-timeline-total b { color:var(--wpm-text-primary); font-weight:600; }
.lm-timeline-vs { display:inline-flex; align-items:center; gap:9px; font-family:var(--wpm-font-display); font-weight:600; font-size:16px;
  color:var(--wpm-text-primary); letter-spacing:-0.01em; }
.lm-timeline-vs .strike { color:var(--wpm-text-muted); text-decoration:line-through; text-decoration-color:var(--wpm-accent-text); }

/* ============================================================================
   PRICING — grille 4 paliers + 3 phrases + règle Hormozi
   ============================================================================ */
.lm-pricing { max-width:880px; margin:0 auto; border:1px solid var(--wpm-border); border-radius:var(--wpm-radius-lg); overflow:hidden; background:var(--wpm-surface-1); }
.lm-price-row { display:grid; grid-template-columns:1fr 1.5fr auto; gap:24px; align-items:center; padding:22px 28px; border-bottom:1px solid var(--wpm-border-subtle); transition:background var(--wpm-dur-fast) var(--wpm-ease); }
.lm-price-row:last-child { border-bottom:none; }
.lm-price-row:hover { background:var(--wpm-surface-2); }
.lm-price-row .target { font-family:var(--wpm-font-display); font-weight:600; font-size:16px; letter-spacing:-0.01em; color:var(--wpm-text-primary); }
.lm-price-row .incl { font-size:14px; line-height:1.5; color:var(--wpm-text-secondary); }
.lm-price-row .amt { font-family:var(--wpm-font-display); font-weight:700; font-size:26px; letter-spacing:-0.02em; color:var(--wpm-brand-text); white-space:nowrap; text-align:right; }

.lm-phrases { max-width:880px; margin:40px auto 0; display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.lm-phrase { background:var(--wpm-surface-1); border:1px solid var(--wpm-border); border-radius:var(--wpm-radius-lg); padding:24px; }
.lm-phrase .tag { display:inline-flex; align-items:center; gap:7px; font-family:var(--wpm-font-mono); font-size:11.5px; letter-spacing:.03em; color:var(--wpm-brand-text); margin-bottom:13px; }
.lm-phrase .tag svg { width:14px; height:14px; }
.lm-phrase p { font-size:14px; line-height:1.65; color:var(--wpm-text-secondary); margin:0; font-style:italic; }

.lm-rule { max-width:880px; margin:34px auto 0; position:relative; overflow:hidden; border-radius:var(--wpm-radius-lg);
  border:1px solid var(--wpm-brand); background:var(--wpm-surface-1); box-shadow:var(--wpm-glow-brand); padding:32px 36px; }
.lm-rule::before { content:""; position:absolute; width:320px; height:320px; right:-120px; top:-140px; border-radius:50%;
  background:radial-gradient(circle, rgba(83,58,253,.28), transparent 64%); filter:blur(70px); pointer-events:none; }
.lm-rule .rule-label { position:relative; z-index:1; display:inline-flex; align-items:center; gap:8px; font-family:var(--wpm-font-display);
  font-weight:700; font-size:15px; letter-spacing:-0.01em; color:var(--wpm-brand-text); margin-bottom:12px; }
.lm-rule .rule-label svg { width:18px; height:18px; }
.lm-rule p { position:relative; z-index:1; font-size:16px; line-height:1.7; color:var(--wpm-text-secondary); margin:0; max-width:62ch; }
.lm-rule p strong { color:var(--wpm-text-primary); font-weight:600; }

/* ============================================================================
   QUI TE L'A ÉCRIT — bio courte avec portrait
   ============================================================================ */
.lm-bio { max-width:880px; margin:0 auto; display:grid; grid-template-columns:0.7fr 1.3fr; gap:44px; align-items:center; }
.lm-bio-photo { position:relative; width:100%; aspect-ratio:1 / 1.12; border-radius:var(--wpm-radius-lg); overflow:hidden; background:var(--wpm-surface-1); border:1px solid var(--wpm-border); }
.lm-bio-photo img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 28%; }
.lm-bio-photo .tag { position:absolute; left:12px; bottom:12px; font-family:var(--wpm-font-mono); font-size:11px; color:#fff;
  background:rgba(11,10,24,.55); backdrop-filter:blur(6px); padding:5px 10px; border-radius:var(--wpm-radius-pill); border:1px solid rgba(255,255,255,.14); }
.lm-bio-text .eyebrow { display:block; margin-bottom:14px; }
.lm-bio-text h2 { font-family:var(--wpm-font-display); font-size:clamp(24px,3vw,32px); letter-spacing:-0.025em; line-height:1.15; margin:0 0 18px; }
.lm-bio-text p { font-size:16px; line-height:1.75; color:var(--wpm-text-secondary); margin:0 0 16px; }
.lm-bio-text p strong { color:var(--wpm-text-primary); font-weight:600; }
.lm-bio-text .inline-link { font-size:15px; }

/* ============================================================================
   PONT « VERSION PRO » — réutilise .bridge-grid/.bridge-card (bibliotheque.css)
   + variante featured glow déjà stylée. Ajustements mineurs ici.
   ============================================================================ */
.lm-bridge .bridge-card.featured::after { content:"1 place à la fois"; }
.lm-bridge .bridge-soon { font-family:var(--wpm-font-mono); font-size:12px; color:var(--wpm-accent-text); }

/* ============================================================================
   CTA FINAL — double bouton
   ============================================================================ */
.lm-cta .cta-final-inner { max-width:660px; }
.lm-cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width:980px){
  .lm-hero-grid { grid-template-columns:1fr; gap:40px; }
  .lm-cover-wrap { max-width:440px; margin:0 auto; }
  .lm-deliverables { grid-template-columns:1fr; }
  .lm-phrases { grid-template-columns:1fr; }
  .lm-bio { grid-template-columns:1fr; gap:28px; }
  .lm-bio-photo { max-width:320px; }
}
@media (max-width:680px){
  .lm-optin .row2 { grid-template-columns:1fr; }
  .lm-price-row { grid-template-columns:1fr auto; gap:6px 16px; }
  .lm-price-row .incl { grid-column:1 / -1; order:3; }
  .lm-step { grid-template-columns:44px 1fr; }
  .lm-step-dur { grid-column:2; justify-self:start; margin-top:6px; }
  .lm-timeline-foot { padding-left:0; }
}

/* ============================================================================
   HERO CENTRE — pages ressources (colonne cover supprimee, contenu centre)
   ============================================================================ */
.lm-hero--centered .lm-hero-grid { grid-template-columns:1fr; justify-items:center; text-align:center; }
.lm-hero--centered .lm-hero-left { width:100%; max-width:680px; }
.lm-hero--centered .eyebrow-row { justify-content:center; }
.lm-hero--centered h1 { margin-left:auto; margin-right:auto; }
.lm-hero--centered .lede { margin-left:auto; margin-right:auto; }
.lm-hero--centered .lm-optin { text-align:left; }
.lm-hero--centered .hero-halo::before { left:50%; transform:translateX(-50%); }
