/* =========================
   HERO CVR
   ========================= */

.mlCatFunnelHero{
  position:relative;
  min-height:450px;
  isolation:isolate;
  overflow:visible; /* FIX: permet aux suggestions de dépasser */
  background:#fff;
  z-index:5;
}

.mlCatFunnelHero__bg{
  position:absolute;
  inset:0;
  z-index:-1;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(420px, 44vw);
  overflow:hidden; /* FIX: le background reste propre malgré overflow visible sur la section */
}

.mlCatFunnelHero__bgLeft{
  background:
    radial-gradient(circle at 12% 18%, rgba(246,70,50,.025), transparent 25%),
    radial-gradient(circle at 100% 75%, rgba(255,255,255,.99), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.mlCatFunnelHero__bgRight{
  position:relative;
  overflow:hidden;
}

.mlCatFunnelHero__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.02) contrast(1.02);
}

.mlCatFunnelHero__overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.mlCatFunnelHero__overlay--desktop{
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 7%, rgba(255,255,255,.22) 34%, rgba(255,255,255,0) 100%);
}

.mlCatFunnelHero__overlay--mobile{
  display:none;
}

.mlCatFunnelHero__wrap{
  position:relative;
  z-index:2;
  width:min(1280px, calc(100% - 36px));
  margin:0 auto;
  min-height:450px;
  display:flex;
  align-items:center;
  padding:46px 0;
}

.mlCatFunnelHero__content{
  width:min(660px, 100%);
}

.mlCatFunnelHero__breadcrumbs{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:22px;
  font-size:14px;
  line-height:1.2;
}

.mlCatFunnelHero__crumb{
  color:#64748b;
  text-decoration:none;
  font-weight:400;
}

.mlCatFunnelHero__crumb:hover{
  color:#f64632;
}

.mlCatFunnelHero__sep{
  color:#cbd5e1;
}

.mlCatFunnelHero__here{
  color:#0f172a;
  font-weight:800;
}

.mlCatFunnelHero__badgeLine{
  margin-bottom:16px;
  text-align:left;
}

.mlCatFunnelHero__badge{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:4px 15px 4px 4px;
  border-radius:999px;
  background:rgba(246,70,50,.08);
  color:#f64632;
}

.mlCatFunnelHero__badgeIcon{
  width:26px;
  height:26px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f64632;
  color:#fff;
  box-shadow:0 8px 18px rgba(246,70,50,.08);
  font-size:12px;
}

.mlCatFunnelHero__badgeText{
  margin:0;
  font-size:13px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.01em;
  color:#020419;
}

.mlCatFunnelHero__title{
  margin:0;
  max-width:650px;
  font-size:44px;
  line-height:1.15;
  letter-spacing:-1.4px;
  font-weight:700;
  color:#071a33;
  text-align:left;
}

.mlCatFunnelHero__title strong{
  color:#f64632;
  font-weight:950;
}

.mlCatFunnelHero__lead{
  margin:18px 0 0;
  max-width:590px;
  color:#475569;
  font-size:18px;
  line-height:1.5;
  font-weight:400;
  text-align:left;
}

.mlCatFunnelHero__quoteBox{
  position:relative;
  z-index:50;
  margin-top:20px;
  width:min(630px, 100%);
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:12px;
  align-items:start;
  padding:10px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 12px 30px rgb(15 23 42 / 4%);
}

.mlCatFunnelHero__fieldWrap{
  position:relative;
  min-width:0;
  z-index:60;
}

.mlCatFunnelHero__label{
  position:absolute;
  top:10px;
  left:52px;
  z-index:2;
  font-size:11px;
  line-height:1;
  font-weight:900;
  color:#94a3b8;
  pointer-events:none;
}

.mlCatFunnelHero__field{
  position:relative;
  height:56px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.08);
  display:flex;
  align-items:center;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.mlCatFunnelHero__field:focus-within{
  background:#fff;
  border-color:rgba(246,70,50,.42);
  box-shadow:0 0 0 4px rgba(246,70,50,.10);
}

.mlCatFunnelHero__field i{
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  color:#f64632;
  font-size:22px;
}

.mlCatFunnelHero__cityInput{
  width:100%;
  height:100%;
  border:0;
  background:transparent;
  outline:none;
  padding:20px 16px 4px 50px;
  color:#0f172a;
  font-size:16px;
  font-weight:900;
}

.mlCatFunnelHero__cityInput::placeholder{
  color:#94a3b8;
}

.mlCatFunnelHero__cta{
  height:56px;
  border:0;
  border-radius:16px;
  padding:0 24px;
  cursor:pointer;
  background:#f64632;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:15px;
  font-weight:950;
  white-space:nowrap;
  box-shadow:0 16px 34px rgba(246,70,50,.08);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.mlCatFunnelHero__cta:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 20px 42px rgba(246,70,50,.12);
}

.mlCatFunnelHero__suggestions{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 8px);
  z-index:9999;
  max-height:260px;
  overflow:auto;
  padding:6px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  box-shadow:0 20px 40px rgba(15,23,42,.12);
  scrollbar-width:thin;
  scrollbar-color:#cbd5e1 transparent;
}

.mlCatFunnelHero__suggestions::-webkit-scrollbar{
  width:8px;
}

.mlCatFunnelHero__suggestions::-webkit-scrollbar-track{
  background:transparent;
}

.mlCatFunnelHero__suggestions::-webkit-scrollbar-thumb{
  background:#cbd5e1;
  border-radius:999px;
}

.mlCatFunnelHero__suggestion{
  width:100%;
  min-height:42px;
  border:0;
  border-radius:12px;
  background:#fff;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
  cursor:pointer;
  color:#0f172a;
  font-size:14px;
  font-weight:800;
  text-align:left;
}

.mlCatFunnelHero__suggestion i{
  position:static;
  transform:none;
  color:#94a3b8;
  font-size:13px;
}

.mlCatFunnelHero__suggestion:hover{
  background:rgba(246,70,50,.06);
  color:#f64632;
}

.mlCatFunnelHero__suggestion:hover i{
  color:#f64632;
}

/* FIX: ne réserve plus d'espace quand il n'y a pas d'erreur */
.mlCatFunnelHero__cityError{
  display:none;
  margin:6px 0 0 4px;
  font-size:12px;
  line-height:1.2;
  color:#b91c1c;
  font-weight:800;
  text-align:left;
}

.mlCatFunnelHero__cityError:not(:empty){
  display:block;
}

.mlCatFunnelHero__trust{
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  color:#334155;
  font-size:14px;
  font-weight:850;
  letter-spacing:-0.2px;
}

.mlCatFunnelHero__trust span{
  display:inline-flex;
  align-items:center;
  gap:7px;
}

.mlCatFunnelHero__trust i{
  color:#f64632;
  font-size:11px;
  background: #fff0ef;
  padding: 5px;
  border-radius: 99px;
}

/* =========================
   RESPONSIVE
   ========================= */

/* Mobile/tablette : image catégorie en haut, contenu en dessous */
@media (max-width: 920px){
  .mlCatFunnelHero{
    min-height:auto;
    height:auto;
    overflow:visible;
    background:#f6f8fa;
  }

  .mlCatFunnelHero__bg{
    position:absolute;
    inset:0;
    z-index:-1;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:250px auto;
    overflow:hidden;
  }

  .mlCatFunnelHero__bgRight{
    position:relative;
    grid-row:1;
    height:250px;
    opacity:1;
    overflow:hidden;
  }

  .mlCatFunnelHero__bgLeft{
    position:relative;
    grid-row:2;
    inset:auto;
    background:radial-gradient(circle at 90% 90%, rgba(246,70,50,.04), transparent 25%), linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  }

  .mlCatFunnelHero__img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .mlCatFunnelHero__overlay--desktop{
    display:none;
  }

  .mlCatFunnelHero__overlay--mobile{
    display:block;
    background:linear-gradient(0deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.72) 22%,
      rgba(255,255,255,0) 55%
    );
  }

  .mlCatFunnelHero__wrap{
    position:relative;
    z-index:2;
    width:min(1280px, calc(100% - 36px));
    min-height:auto;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:250px auto;
    align-items:stretch;
    padding:0;
  }

  .mlCatFunnelHero__content{
    grid-row:2;
    width:100%;
    padding:22px 0 34px;
  }

  .mlCatFunnelHero__title{
    max-width:100%;
    font-size:clamp(30px, 10vw, 42px);
  }

  .mlCatFunnelHero__lead{
    max-width:100%;
    font-size:16px;
    line-height:1.58;
  }
}

@media (max-width: 767px){
  .mlCatFunnelHero__wrap{
    width:calc(100% - 28px);
    padding:0;
  }

  .mlCatFunnelHero__breadcrumbs{
    margin-bottom:18px;
    font-size:13px;
  }
  
  .mlCatFunnelHero__badgeLine{
    text-align:left;
  }

  .mlCatFunnelHero__badgeText{
    font-size:12.5px;
  }

  .mlCatFunnelHero__title{
    font-size:clamp(30px, 10vw, 44px);
    text-align:left;
  }

  .mlCatFunnelHero__lead{
    margin-top:14px;
    font-size:15px;
    text-align:left;
  }

  .mlCatFunnelHero__quoteBox{
    margin-top:18px;
    grid-template-columns:1fr;
    gap:10px;
    padding:10px;
    border-radius:20px;
    box-shadow: 0 8px 20px rgb(15 23 42 / 5%);
  }

  .mlCatFunnelHero__cta{
    width:100%;
    height:56px;
  }

  .mlCatFunnelHero__trust{
    font-size:12.5px;
    gap:8px 12px;
    justify-content: center;
  }

}


/* =========================
   HERO CVR END
   ========================= */
  

   
/* ============================================
    Listing sticky CTA Mobile : Demander un devis
   - Hidden by default
   - Appears only after hero is no longer visible
   - Opens listing quote modal
=============================================== */

.listingStickyCta {
  display: none;
}

@media (max-width: 768px) {
  .listingStickyCta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 980;
    display: block;
    padding: 14px 14px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.10);
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform .26s ease, opacity .22s ease;
  }

  .listingStickyCta.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .listingStickyCta__inner {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
  }

  .listingStickyCta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    border-radius: 6px;
    background: #f64632;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
  }

  .listingStickyCta__text {
    display: block;
    margin-top: 9px;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
  }

  body.has-listing-sticky-cta {
    padding-bottom: 92px;
  }

  body.mlListingQuoteModalOpen .listingStickyCta {
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
  }
}

/* ============================================
    Listing sticky CTA Mobile : Demander un devis END
=============================================== */

/* ============================================================
   MAALAM DECISION FUNNEL — CRITICAL BASE
   Required for visible HOW IT WORKS section
   ============================================================ */

.mlDecisionFunnel{
  --ml-red:#F64632;
  --ml-red-dark:#DF3422;
  --ml-red-soft:#FFF4F2;
  --ml-red-soft-2:#FFEBE7;

  --ml-navy:#071A33;
  --ml-text:#101828;
  --ml-muted:#667085;
  --ml-muted-2:#98A2B3;

  --ml-line:#E9EDF2;
  --ml-soft:#F7F9FC;
  --ml-white:#FFFFFF;

  --ml-radius-lg:30px;
  --ml-radius-md:22px;
  --ml-radius-sm:16px;

  color:var(--ml-text);
  background:#fff;
  overflow:hidden;
}


.mlDecisionFunnel *,
.mlDecisionFunnel *::before,
.mlDecisionFunnel *::after{
  box-sizing:border-box;
}


.mlDfContainer{
  width:min(1280px, calc(100% - 40px));
  margin:0 auto;
}


.mlDecisionFunnel h2,
.mlDecisionFunnel h3,
.mlDecisionFunnel p{
  margin-top:0;
}


.mlDecisionFunnel button{
  font-family:inherit;
}


/* ============================================================
   SHARED — KICKER / SECTION HEAD
   ============================================================ */

.mlDfKicker{
  display:inline-flex;
  align-items:center;

  margin-bottom:15px;

  color:var(--ml-red);

  font-size:13px;
  line-height:1;
  font-weight:800;

  letter-spacing:.045em;
  text-transform:uppercase;
}


.mlDfSectionHead{
  max-width:780px;
  margin-bottom:52px;
}


.mlDfSectionHead--center{
  margin-left:auto;
  margin-right:auto;
  text-align:center;
}


.mlDfSectionHead h2{
  margin-bottom:16px;

  color:var(--ml-navy);

  font-size:clamp(34px,4vw,52px);
  line-height:1.06;

  letter-spacing:-1.7px;
  font-weight:800;
}


.mlDfSectionHead h2 span{
  color:var(--ml-red);
}


.mlDfSectionHead p{
  max-width:650px;

  margin:0 auto;

  color:var(--ml-muted);

  font-size:17px;
  line-height:1.7;
}


/* ============================================================
   SHARED — CTA
   ============================================================ */

.mlDfButton{
  min-height:54px;

  padding:0 23px;

  border:0;
  border-radius:14px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  gap:11px;

  cursor:pointer;

  font-size:14px;
  font-weight:800;
  line-height:1;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}


.mlDfButton:hover{
  transform:translateY(-2px);
}


.mlDfButton i{
  font-size:12px;

  transition:
    transform .18s ease;
}


.mlDfButton:hover i{
  transform:translateX(3px);
}


.mlDfButton--primary{
  color:#fff;

  background:var(--ml-red);

  box-shadow:
    0 12px 28px rgba(246,70,50,.20);
}


.mlDfButton--primary:hover{
  background:var(--ml-red-dark);

  box-shadow:
    0 16px 34px rgba(246,70,50,.27);
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */

.mlHow{
  padding:105px 0;

  background:linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F8FAFC 100%
  );
}


.mlHow__steps{
  display:grid;

  grid-template-columns:
    1fr
    38px
    1fr
    38px
    1fr;

  align-items:center;

  gap:12px;
}


.mlHowCard{
  min-height:320px;

  padding:27px;

  border:1px solid #E6EBF1;
  border-radius:26px;

  background:#fff;

  box-shadow:
    0 10px 35px rgba(16,24,40,.035);

  text-align:left;

  position:relative;
}


.mlHowCard--featured{
  border-color:
    rgba(246,70,50,.25);

  box-shadow:
    0 22px 48px rgba(246,70,50,.10);
}


.mlHowCard__tag{
  position:absolute;

  top:-14px;
  right:20px;

  padding:7px 11px;

  border-radius:999px;

  color:#fff;
  background:var(--ml-red);

  font-size:10px;
  font-weight:800;

  letter-spacing:.02em;
}


.mlHowCard__top{
  margin-bottom:26px;

  display:flex;

  justify-content:space-between;
  align-items:center;
}


.mlHowCard__number{
  color:#D0D5DD;

  font-size:46px;

  font-weight:800;

  letter-spacing:-.04em;

  line-height:1;
}


.mlHowCard__icon{
  width:54px;
  height:54px;

  border-radius:17px;

  display:grid;
  place-items:center;

  color:var(--ml-red);

  background:var(--ml-red-soft);

  font-size:20px;
}


.mlHowCard h3{
  margin-bottom:11px;

  color:var(--ml-navy);

  font-size:20px;
  line-height:1.25;

  letter-spacing:-.45px;
}


.mlHowCard p{
  margin-bottom:25px;

  color:var(--ml-muted);

  font-size:15px;
  line-height:1.65;
}


.mlHowCard__meta{
  display:inline-flex;

  padding:8px 11px;

  border-radius:999px;

  color:#475467;

  background:#F6F7F9;

  font-size:11px;

  font-weight:700;
}


.mlHow__connector{
  color:#D0D5DD;

  text-align:center;
}


.mlHow__connector i{
  font-size:14px;
}


.mlHow__cta{
  margin-top:42px;

  display:flex;
  flex-direction:column;

  align-items:center;

  text-align:center;
}


/* ============================================================
   MICRO TRUST
   ============================================================ */

.mlDfMicroTrust{
  margin-top:14px;

  display:flex;

  align-items:center;
  justify-content:center;

  gap:20px;

  color:#667085;

  font-size:11px;

  font-weight:600;
}


.mlDfMicroTrust span{
  display:flex;

  align-items:center;

  gap:6px;
}


.mlDfMicroTrust i{
  color:var(--ml-red);

  font-size:9px;
}


/* ============================================================
   HOW IT WORKS — TABLET
   ============================================================ */

@media (max-width:980px){

  .mlHow__steps{
    grid-template-columns:1fr;

    max-width:650px;

    margin:0 auto;

    gap:13px;
  }


  .mlHow__connector{
    height:25px;

    display:grid;
    place-items:center;
  }


  .mlHow__connector i{
    transform:rotate(90deg);
  }


  .mlHowCard{
    min-height:0;
  }

}


/* ============================================================
   HOW IT WORKS — MOBILE
   ============================================================ */

@media (max-width:700px){

  .mlDfContainer{
    width:calc(100% - 34px);
  }


  .mlDfKicker{
    margin-bottom:12px;

    font-size:10px;
  }


  .mlDfSectionHead{
    margin-bottom:34px;
  }


  .mlDfSectionHead--center{
    text-align:left;
  }


  .mlDfSectionHead h2{
    margin-bottom:13px;

    font-size:32px;
    line-height:1.08;

    letter-spacing:-1px;
  }


  .mlDfSectionHead p{
    margin-left:0;

    font-size:14px;
    line-height:1.65;
  }


  .mlDfButton{
    width:100%;

    min-height:55px;
  }


  .mlHow{
    padding:72px 0;
  }


  .mlHowCard{
    padding:23px;

    border-radius:21px;
  }


  .mlHowCard__top{
    margin-bottom:19px;
  }


  .mlHowCard__icon{
    width:48px;
    height:48px;
  }


  .mlHowCard h3{
    font-size:18px;
  }


  .mlHowCard p{
    margin-bottom:18px;

    font-size:14px;
  }


  .mlHow__cta{
    margin-top:31px;

    text-align:center;
  }


  .mlDfMicroTrust{
    gap:14px;
  }

}

/* ============================================================
   MAALAM DECISION FUNNEL — CRITICAL BASE
   Required for visible HOW IT WORKS section END
   ============================================================ */