/* ===== HL Hub/Metier – RESET TOTAL ===== */

/* 1. Zone page hub */
.hl-hm{
  background: #ffffff !important;
}

/* 2. Hero */
.hl-hm .hl-hero{
  background: #ffffff !important;
  background-image: none !important;
}

/* 3. Sécurité : si un pseudo-element injecte un fond */
.hl-hm::before,
.hl-hm::after,
.hl-hm .hl-hero::before,
.hl-hm .hl-hero::after{
  content: none !important;
  background: none !important;
}

/* 4. Sécurité : si un overlay / blur traîne */
.hl-hm *{
  backdrop-filter: none !important;
  filter: none !important;
}

/* =========================
   HL Hub/Metier – HERO (screen modèle)
   Texte centré + CTA + visuel panoramique dessous
========================= */

.hl-hm .hl-hero{
  padding: 72px 0 56px;
  background: #fff;
}

.hl-hm .hl-hero-inner{
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  display: block;              /* on force le mode “stack” */
  text-align: center;
}

.hl-hm .hl-hero-title{
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-Top: 50px;
}

.hl-hm .hl-hero-subtitle{
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto 18px;
  max-width: 70ch;             /* subtitle “riche” mais lisible */
  opacity: .78;
}

.hl-hm .hl-hero-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 0 0 28px;            /* espace avant l’image */
}

.hl-hm .hl-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 14px;
  text-decoration: none;
  border: 0;
}

/* CTA bleu nuit HeyLisa (ajuste si tu as une variable officielle) */
.hl-hm .hl-btn-primary{
  background: #0B1030;         /* bleu nuit */
  color: #fff;
}

/* Visuel panoramique dessous (1312x511) */
.hl-hm .hl-hero-media{
  width: min(1312px, calc(100% - 48px));
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 1312 / 511;    /* garantit le format */
  box-shadow: 0 16px 40px rgba(0,0,0,.10);
}

/* si image */
.hl-hm .hl-hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* si placeholder (pas d’image encore) */
.hl-hm .hl-hero-placeholder{
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11,16,48,.10), rgba(91,80,232,.08));
}

/* Mobile */
@media (max-width: 700px){
  .hl-hm .hl-hero{
    padding: 56px 0 40px;
  }
  .hl-hm .hl-hero-inner{
    width: calc(100% - 32px);
  }
  .hl-hm .hl-hero-media{
    width: calc(100% - 32px);
    border-radius: 16px;
  }
}

/* ===== HERO media : ratio 1312 x 511 ===== */
/* ===== HERO IMAGE – pleine largeur maîtrisée ===== */
.hl-hm .hl-hero-media{
  width: 100%;
  max-width: 1312px;      /* largeur cible Ramp */
  margin: 32px auto 0;   /* espace sous le CTA */
  border-radius: 18px;
  overflow: hidden;

  aspect-ratio: 1312 / 511;

  background: rgba(0,0,0,.04);
  box-shadow: none;
}

.hl-hm .hl-hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* au cas où un style global ajoute une ombre */
  box-shadow: none !important;
  filter: none !important;
}

.hl-hm .hl-hero-media,
.hl-hm .hl-hero-media *{
  box-shadow: none !important;
}

/* marge de respiration sous le header */
.hl-hm .hl-hero{
  padding: 96px 0 32px; /* augmente si besoin */
}