/* ═══════════════════════════════════════════════════════════════════
   ZÉTO Workspace — Logiciels Métiers
   ═══════════════════════════════════════════════════════════════════ */

.lm-page {
  --lm-max: 1200px;
  --lm-r: 16px;
  --lm-r-l: 22px;
}

.lm-w {
  width: min(var(--lm-max), calc(100% - 40px));
  margin: 0 auto;
}

/* ══ HERO ══
   Le header est position:absolute, logo 288px, bandeau bêta ~37px.
   Total occupé en haut : ~37 + 8 + 288 = ~333px.
   On prend 340px de padding-top pour être propre.
*/
.lm-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0b1220 0%, #0c1e38 60%, #081a10 100%);
  padding: 240px 0 60px;
}

.lm-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.lm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .28;
  pointer-events: none;
}

.lm-orb-1 {
  width: 520px; height: 520px;
  top: -80px; right: -120px;
  background: radial-gradient(circle, #1c52f0, transparent 70%);
}

.lm-orb-2 {
  width: 380px; height: 380px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, #00bfa0, transparent 70%);
}

.lm-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.lm-eyebrow { margin-bottom: 18px; }

.lm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(28, 82, 240, .15);
  border: 1px solid rgba(28, 82, 240, .3);
  color: #7ba7ff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lm-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #ffffff;
  margin-bottom: 20px;
}

.lm-hero-title em {
  font-style: normal;
  background: linear-gradient(110deg, #1c52f0 20%, #00bfa0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lm-hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .65);
  max-width: 560px;
}

/* ══ GRILLE ══ */
.lm-grid-section {
  padding: 64px 0 80px;
  background: #f4f7fc;
}

.lm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Carte ── */
.lm-card {
  background: #ffffff;
  border-radius: var(--lm-r-l);
  border: 1.5px solid #dce7f5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(7, 17, 30, .06);
}

.lm-card--active:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(7, 17, 30, .12);
  border-color: rgba(28, 82, 240, .25);
}

.lm-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 24px 0;
}

.lm-card-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}

.lm-icon--prevention {
  background: linear-gradient(135deg, rgba(28,82,240,.12), rgba(28,82,240,.06));
  border: 1px solid rgba(28,82,240,.2);
  color: #1c52f0;
}

.lm-icon--formation {
  background: linear-gradient(135deg, rgba(0,191,160,.12), rgba(0,191,160,.06));
  border: 1px solid rgba(0,191,160,.25);
  color: #009a83;
}

.lm-card-meta { flex: 1; min-width: 0; }

.lm-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.lm-badge--live {
  background: rgba(0,191,160,.1);
  border: 1px solid rgba(0,191,160,.25);
  color: #009a83;
}

.lm-live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #00bfa0;
  animation: lm-ping 2s infinite;
  flex-shrink: 0;
}

@keyframes lm-ping {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,191,160,.5); }
  60%     { box-shadow: 0 0 0 5px rgba(0,191,160,0); }
}

.lm-badge--dev {
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.25);
  color: #b45309;
}

.lm-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #07111e;
  line-height: 1.2;
  margin-bottom: 3px;
}

.lm-card-subtitle { font-size: .78rem; color: #607090; font-weight: 500; }

.lm-card-desc {
  padding: 16px 24px 0;
  font-size: .875rem;
  line-height: 1.6;
  color: #3a4a60;
  flex: 1;
}

.lm-card-features {
  list-style: none;
  padding: 16px 24px 0;
  display: grid;
  gap: 7px;
}

.lm-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: #607090;
  font-weight: 500;
}

.lm-card-features li svg { color: #00bfa0; flex-shrink: 0; }

/* ── Vidéo ── */
.lm-card-video {
  margin: 20px 24px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #dce7f5;
  background: #07111e;
}

.lm-video-label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(7,17,30,.85);
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.lm-video-label svg { color: #1c52f0; }
.lm-video-wrap { width: 100%; background: #07111e; }

.lm-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
}

.lm-card-footer { padding: 20px 24px 24px; }

.lm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: .875rem;
  transition: transform .14s, box-shadow .14s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.lm-btn:hover { transform: translateY(-1px); }
.lm-btn:active { transform: translateY(0); }

.lm-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #1c52f0, #3467f5);
  box-shadow: 0 6px 18px rgba(28,82,240,.28);
  width: 100%;
}

.lm-btn--primary:hover { box-shadow: 0 10px 26px rgba(28,82,240,.38); }

.lm-btn--outline {
  color: #1c52f0;
  background: #ebf0fe;
  border: 1.5px solid rgba(28,82,240,.2);
  width: 100%;
}

.lm-btn--outline:hover { background: #dce7ff; border-color: rgba(28,82,240,.4); }

.lm-card--empty {
  background: #f9fbfd;
  border: 1.5px dashed #c8d8ec;
  min-height: 200px;
  cursor: default;
}

.lm-empty-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 24px;
  text-align: center;
}

.lm-empty-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #edf2fb;
  border: 1px solid #dce7f5;
  display: grid;
  place-items: center;
  color: #8fa3c0;
  margin-bottom: 4px;
}

.lm-empty-label { font-size: .9rem; font-weight: 700; color: #8fa3c0; }
.lm-empty-sub   { font-size: .75rem; color: #b0bfd4; }

/* ══ CTA BAS ══ */
.lm-cta {
  background: linear-gradient(135deg, #07111e 0%, #0e2240 100%);
  padding: 64px 0;
}

.lm-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.lm-cta-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.lm-cta-text p {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  max-width: 520px;
}

.lm-btn--cta {
  color: #fff;
  background: linear-gradient(135deg, #1c52f0, #3467f5);
  box-shadow: 0 8px 24px rgba(28,82,240,.4);
  padding: 13px 26px;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .lm-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .lm-hero { padding: 200px 0 36px; }
  .lm-grid-section { padding: 40px 0 56px; }
  .lm-grid { grid-template-columns: 1fr; gap: 16px; }
  .lm-cta-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .lm-btn--cta { width: 100%; }
}
