/* ============================================================
   FLUXIA — pop-up « Guide des 15 automatisations »
   Sobre : typographie, numéros, filets. Aucune icône décorative.
   ============================================================ */
.lm { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: clamp(12px, 3vw, 32px); visibility: hidden; pointer-events: none; }
.lm.is-open { visibility: visible; pointer-events: auto; }
.lm__ov { position: absolute; inset: 0; background: rgba(5, 5, 6, 0.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lm__box { position: relative; width: min(1020px, 100%); max-height: min(94vh, 800px); overflow: auto; display: grid; grid-template-columns: 1.05fr 0.95fr; background: #0c0c0d; color: #f2f2f3; border: 1px solid rgba(255,255,255,0.14); border-top: 3px solid #e0343a; border-radius: 4px; box-shadow: 0 50px 120px -30px rgba(0,0,0,0.8); outline: none; }
.lm__x { all: unset; box-sizing: border-box; position: absolute; top: 14px; right: 14px; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.22); cursor: pointer; color: #f2f2f3; transition: background .3s, color .3s; }
.lm__x svg { width: 17px; height: 17px; }
.lm__x:hover, .lm__x:focus-visible { background: #f2f2f3; color: #0c0c0d; }

/* colonne gauche : titre, trois automatisations offertes, douze à débloquer */
.lm__left { padding: clamp(24px, 3vw, 42px); border-right: 1px solid rgba(255,255,255,0.1); }
.lm__k { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e0343a; }
.lm__k::before { content: ""; width: 24px; height: 2px; background: #e0343a; }
.lm__left h2 { font-size: clamp(26px, 2.6vw, 37px); line-height: 1.05; font-weight: 700; }
.lm__left h2 em { color: #e0343a; font-style: normal; }
.lm__head { margin: 20px 0 6px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8f8f98; }
.lm__free, .lm__locked { list-style: none; margin: 0; padding: 0; }
.lm__free li { display: flex; gap: 16px; align-items: baseline; padding: 11px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.lm__free li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.lm__num { flex: 0 0 auto; min-width: 26px; font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: .04em; color: #e0343a; }
.lm__free b { display: block; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.12; }
.lm__free p { margin: 4px 0 0; color: #bdbdc4; font-size: 14.5px; line-height: 1.4; }
.lm__locked { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.lm__locked li { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 13.5px; color: #d3d3d8; min-width: 0; }
.lm__locked .lm__num { color: #8f8f98; font-size: 13px; min-width: 22px; }
.lm__lt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; filter: blur(4.5px); user-select: none; transition: filter .8s var(--ease); }
.lm.is-unlocked .lm__lt { filter: none; user-select: auto; }
.lm.is-unlocked .lm__locked .lm__num { color: #e0343a; }

/* colonne droite : formulaire puis WhatsApp en petit */
.lm__right { padding: clamp(24px, 3vw, 42px); display: flex; flex-direction: column; justify-content: flex-start; background: #111113; }
.lm__state[hidden] { display: none; }
.lm__state h3 { font-size: clamp(25px, 2.3vw, 33px); font-weight: 700; line-height: 1.05; padding-right: 36px; }
.lm__lead { margin: 10px 0 0; color: #bdbdc4; font-size: 15.5px; line-height: 1.45; }
.lm form { margin-top: 18px; display: grid; gap: 10px; }
.lm__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lm label { display: grid; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8f8f98; }
.lm input[type="text"], .lm input[type="email"], .lm input[type="tel"] { all: unset; box-sizing: border-box; width: 100%; padding: 11px 13px; border: 1px solid rgba(255,255,255,0.18); border-radius: 3px; background: #0c0c0d; color: #f2f2f3; font-family: var(--sans); font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 400; transition: border-color .3s, box-shadow .3s; }
.lm input:focus-visible { border-color: #e0343a; box-shadow: 0 0 0 3px rgba(224,52,58,0.25); }
.lm input.is-bad { border-color: #ff6a70; }
.lm__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lm__check { display: flex !important; gap: 12px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-family: var(--sans) !important; font-weight: 400 !important; font-size: 13px !important; color: #bdbdc4 !important; line-height: 1.45; cursor: pointer; }
.lm__check input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; accent-color: #e0343a; }
.lm__err { margin: 0; padding: 10px 12px; border-radius: 3px; background: rgba(224,52,58,0.14); color: #ffb3b6; font-size: 14px; }
.lm__go { width: 100%; justify-content: center; margin-top: 2px; }
.lm__go[disabled] { opacity: .6; pointer-events: none; }
.lm__fine { margin: 12px 0 0; font-size: 12.5px; color: #8f8f98; line-height: 1.45; }
/* WhatsApp : discret, sous le formulaire */
.lm__wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.1); width: 100%; font-size: 13.5px; color: #bdbdc4; transition: color .3s; }
.lm__wa:hover { color: #fff; }
.lm__walogo { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #25d366; flex: 0 0 auto; }
.lm__walogo svg { width: 13px; height: 13px; fill: #fff; }
.lm__wa:hover .lm__walogo { background: #1fb457; }

/* confirmation */
.lm__state--done .lm__go { margin-top: 22px; }
.lm__ok { display: block; position: relative; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: #e0343a; }
.lm__ok::after { content: ""; position: absolute; left: 18px; top: 10px; width: 10px; height: 20px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }
.lm__alt { display: inline-block; margin-top: 16px; color: #f2f2f3; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.lm__alt:hover { color: #e0343a; border-color: #e0343a; }
body.lm-lock { overflow: hidden; }
.demos__cta { margin-top: clamp(28px, 4vh, 48px); }

@media (max-width: 860px) {
  .lm__box { grid-template-columns: 1fr; max-height: 94vh; }
  .lm__left { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .lm__locked li { font-size: 13.5px; }
}
@media (max-width: 480px) { .lm__row { grid-template-columns: 1fr; } .lm__locked { grid-template-columns: 1fr; } }
