/* HADS V52 — hero compact fit + catalogue product-only patch. */
#hadsHomeV47{display:block!important;position:relative!important;width:100%!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important;isolation:isolate!important}
#hadsHomeV47::before,#hadsHomeV47::after{content:none!important;display:none!important}
#hadsHomeV47 .hads-home-v47-stage{position:relative!important;width:100%!important;height:calc(100svh - 285px)!important;min-height:525px!important;max-height:760px!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;border-radius:0 0 26px 26px!important}
#hadsHomeV47 .hads-home-v47-image{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;object-fit:fill!important;object-position:center!important;filter:none!important;opacity:1!important;transform:none!important;mix-blend-mode:normal!important}
#hadsHomeV47 .hads-home-v47-actions{position:absolute!important;z-index:30!important;left:50%!important;bottom:3.6%!important;transform:translateX(-50%)!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;width:min(760px,46vw)!important;margin:0!important;padding:0!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
#hadsHomeV47 .hads-home-v47-cta{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;min-height:48px!important;padding:0 18px!important;border-radius:999px!important;text-decoration:none!important;font-family:Manrope,Arial,sans-serif!important;font-size:clamp(10px,.76vw,13px)!important;font-weight:900!important;line-height:1.05!important;white-space:nowrap!important;box-shadow:0 9px 20px rgba(55,22,78,.20)!important}
#hadsHomeV47 .hads-home-v47-primary{color:#fff!important;background:linear-gradient(135deg,#8c27d8,#5520b0)!important;border:1px solid #ad5be1!important}
#hadsHomeV47 .hads-home-v47-secondary{color:#6b20b5!important;background:#fff!important;border:2px solid #9b45d0!important}
#hadsHomeV47 .hads-home-v47-nav{display:block!important;position:relative!important;width:100%!important;margin:0!important;padding:6px 3.2% 5px!important;background:#fff!important;z-index:10!important}
#hadsHomeV47 .hads-home-v47-nav-inner{display:grid!important;width:100%!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important;margin:0!important;padding:0!important}
#hadsHomeV47 .hads-home-v47-nav-inner>a{position:relative!important;display:flex!important;align-items:center!important;min-width:0!important;min-height:52px!important;padding:8px 46px 8px 14px!important;color:#403746!important;text-decoration:none!important;background:linear-gradient(145deg,#fff,#f8f2fa)!important;border:1px solid #e9dcef!important;border-radius:17px!important;box-shadow:0 6px 0 rgba(121,70,158,.10),0 10px 20px rgba(82,50,98,.07)!important;overflow:hidden!important}
#hadsHomeV47 .hads-home-v47-nav-inner>a span{display:block!important;font:800 12px/1.08 Manrope,Arial,sans-serif!important;white-space:normal!important}
#hadsHomeV47 .hads-home-v47-nav-inner>a b{position:absolute!important;right:10px!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:11px!important;background:#9148b5!important;color:#fff!important;font:900 11px/1 Manrope,Arial,sans-serif!important;box-shadow:0 6px 0 rgba(94,44,119,.14)!important}
#hadsHomeV47 .hads-home-v47-slogan{display:flex!important;align-items:center!important;justify-content:center!important;gap:18px!important;width:100%!important;margin:0!important;padding:5px 20px 7px!important;background:#fff!important;color:#7226bd!important;text-align:center!important;font:900 clamp(10px,.78vw,14px)/1.25 Manrope,Arial,sans-serif!important;letter-spacing:.20em!important}
#hadsHomeV47 .hads-home-v47-slogan i{display:block!important;width:54px!important;height:2px!important;background:#8b3ed0!important;border-radius:999px!important;flex:0 0 auto!important}
@media (min-width:701px) and (max-height:850px){#hadsHomeV47 .hads-home-v47-stage{height:calc(100svh - 270px)!important;min-height:490px!important}#hadsHomeV47 .hads-home-v47-actions{bottom:5%!important}#hadsHomeV47 .hads-home-v47-nav-inner>a{min-height:52px!important}}
@media (max-width:1100px) and (min-width:701px){#hadsHomeV47 .hads-home-v47-nav-inner{grid-template-columns:repeat(3,minmax(0,1fr))!important}#hadsHomeV47 .hads-home-v47-stage{height:auto!important;aspect-ratio:1672/940!important}#hadsHomeV47 .hads-home-v47-image{object-fit:fill!important}}
@media (max-width:700px){#hadsHomeV47 .hads-home-v47-stage{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1672/940!important;border-radius:0 0 16px 16px!important}#hadsHomeV47 .hads-home-v47-image{object-fit:fill!important}#hadsHomeV47 .hads-home-v47-actions{width:78%!important;bottom:5%!important;gap:6px!important}#hadsHomeV47 .hads-home-v47-cta{min-height:32px!important;padding:0 7px!important;font-size:7px!important;white-space:normal!important;text-align:center!important}#hadsHomeV47 .hads-home-v47-nav{padding:6px 0 7px!important}#hadsHomeV47 .hads-home-v47-nav-inner{display:flex!important;overflow-x:auto!important;gap:8px!important;padding:0 12px 9px!important;scroll-snap-type:x proximity!important}#hadsHomeV47 .hads-home-v47-nav-inner>a{flex:0 0 158px!important;min-height:58px!important;scroll-snap-align:start!important}#hadsHomeV47 .hads-home-v47-slogan{font-size:8px!important;letter-spacing:.09em!important;gap:6px!important;padding:7px 8px 10px!important}#hadsHomeV47 .hads-home-v47-slogan i{width:18px!important}}

/* V52: keep the hero visually continuous while deliberately trimming only the low-value bottom table strip. */
@media (min-width:1101px){
 #hadsHomeV47 .hads-home-v47-image{height:calc(100% + 34px)!important;top:-2px!important;bottom:auto!important;}
 #hadsHomeV47 .hads-home-v47-actions{bottom:18px!important;width:min(820px,48vw)!important;}
 #hadsHomeV47 .hads-home-v47-nav-inner>a{min-height:50px!important;}
}


/* HADS V53 — final first-screen fit. The hero image remains full-width; CTAs sit in the lower worktable zone without covering the printed slogan. */
@media (min-width:1101px){
  #hadsHomeV47 .hads-home-v47-stage{height:calc(100svh - 248px)!important;min-height:500px!important;max-height:690px!important;overflow:hidden!important;}
  #hadsHomeV47 .hads-home-v47-image{inset:0!important;width:100%!important;height:100%!important;object-fit:fill!important;object-position:center center!important;transform:none!important;}
  #hadsHomeV47 .hads-home-v47-actions{left:50%!important;bottom:8.5%!important;transform:translateX(-50%)!important;width:min(860px,50vw)!important;gap:18px!important;}
  #hadsHomeV47 .hads-home-v47-cta{min-height:50px!important;font-size:clamp(11px,.78vw,14px)!important;}
  #hadsHomeV47 .hads-home-v47-nav{padding-top:7px!important;padding-bottom:4px!important;}
  #hadsHomeV47 .hads-home-v47-nav-inner>a{min-height:48px!important;}
  #hadsHomeV47 .hads-home-v47-slogan{padding-top:4px!important;padding-bottom:5px!important;}
}
@media (min-width:1101px) and (max-height:760px){
  #hadsHomeV47 .hads-home-v47-stage{height:calc(100svh - 225px)!important;min-height:455px!important;}
  #hadsHomeV47 .hads-home-v47-actions{bottom:8%!important;}
}

/* HADS V54 — HOME: use more of the first screen without cropping the artwork. */
@media (min-width:1101px){
  #hadsHomeV47 .hads-home-v47-stage{
    height:calc(100svh - 205px)!important;
    min-height:540px!important;
    max-height:735px!important;
  }
  #hadsHomeV47 .hads-home-v47-actions{
    bottom:6.2%!important;
    width:min(900px,51vw)!important;
    gap:20px!important;
  }
  #hadsHomeV47 .hads-home-v47-cta{min-height:52px!important;}
  #hadsHomeV47 .hads-home-v47-nav{padding-top:6px!important;padding-bottom:3px!important;}
  #hadsHomeV47 .hads-home-v47-nav-inner>a{min-height:47px!important;}
  #hadsHomeV47 .hads-home-v47-slogan{padding-top:3px!important;padding-bottom:4px!important;}
}
@media (min-width:1101px) and (max-height:820px){
  #hadsHomeV47 .hads-home-v47-stage{height:calc(100svh - 188px)!important;min-height:510px!important;}
  #hadsHomeV47 .hads-home-v47-actions{bottom:5.8%!important;}
}

/* HADS V55 — final HOME geometry + merged Idea→Production / industrial capability. */
@media (min-width:1101px){
  #hadsHomeV47 .hads-home-v47-stage{
    height:calc(100svh - 178px)!important;
    min-height:555px!important;
    max-height:770px!important;
  }
  #hadsHomeV47 .hads-home-v47-actions{
    bottom:5.2%!important;
    width:min(920px,52vw)!important;
    gap:20px!important;
  }
  #hadsHomeV47 .hads-home-v47-cta{min-height:50px!important;}
}
@media (min-width:1101px) and (max-height:820px){
  #hadsHomeV47 .hads-home-v47-stage{height:calc(100svh - 165px)!important;min-height:520px!important;}
  #hadsHomeV47 .hads-home-v47-actions{bottom:5%!important;}
}

/* Every homepage navigation target starts cleanly below the sticky header. */
#from-idea,#why-tunisia,#why-hads,#quality-compliance,#experience-references,#start-project{scroll-margin-top:92px!important;position:relative!important;}

/* One merged story: concept → industrial execution. */
.hads-idea-v55{padding:72px 0 78px!important;background:linear-gradient(180deg,#fff 0%,#fcf9fd 100%)!important;overflow:hidden!important;}
.hads-idea-v55-head{max-width:1120px!important;margin:0 auto 30px!important;text-align:center!important;}
.hads-idea-v55-head .section-title{margin:8px auto 12px!important;max-width:900px!important;}
.hads-idea-v55-head>p{max-width:900px!important;margin:0 auto!important;color:#6d6870!important;font-size:16px!important;line-height:1.55!important;}
.hads-idea-v55-layout{display:grid!important;grid-template-columns:.78fr 1.22fr!important;gap:24px!important;align-items:stretch!important;}
.hads-idea-v55-visual{position:relative!important;min-height:540px!important;border-radius:32px!important;overflow:hidden!important;box-shadow:0 20px 46px rgba(55,32,68,.14)!important;}
.hads-idea-v55-visual>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;}
.hads-idea-v55-visual:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(180deg,transparent,rgba(25,15,30,.88));}
.hads-idea-v55-caption{position:absolute!important;z-index:2!important;left:30px!important;right:30px!important;bottom:30px!important;color:#fff!important;}
.hads-idea-v55-caption span{display:block;font-size:10px;font-weight:900;letter-spacing:.2em;margin-bottom:12px;color:#e4b8ff;}
.hads-idea-v55-caption strong{display:block;font-family:Syne,Manrope,sans-serif;font-size:clamp(22px,2vw,34px);line-height:1.08;}
.hads-process-v55{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
.hads-process-v55 .process-item{min-height:126px!important;border-radius:24px!important;}
.hads-process-v55 .process-item h3{margin-top:40px!important;font-size:18px!important;}
.hads-process-v55 .process-item p{font-size:11px!important;line-height:1.35!important;}
.hads-process-v55 .process-item small{margin-top:13px!important;}
.hads-process-v55 .process-thumb{opacity:.64!important;}
.hads-process-v55 .process-item:hover .process-thumb{transform:scale(1.045)!important;transition:transform .35s ease!important;}
.hads-idea-v55-proof{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-top:24px!important;}
.hads-idea-v55-proof>div{padding:18px 20px!important;border:1px solid #eadff0!important;border-radius:20px!important;background:#fff!important;box-shadow:0 7px 0 #eadff0,0 15px 28px rgba(70,42,82,.07)!important;}
.hads-idea-v55-proof b{display:block!important;color:#3b303f!important;font-size:12px!important;margin-bottom:5px!important;}
.hads-idea-v55-proof span{display:block!important;color:#817884!important;font-size:10.5px!important;line-height:1.4!important;}
@media(max-width:900px){.hads-idea-v55-layout{grid-template-columns:1fr!important}.hads-idea-v55-visual{min-height:420px!important}.hads-idea-v55-proof{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:560px){.hads-idea-v55{padding:44px 0 52px!important}.hads-process-v55{grid-template-columns:1fr!important}.hads-idea-v55-visual{min-height:360px!important}.hads-idea-v55-proof{grid-template-columns:1fr!important}}


/* V57 — From Idea to Delivery: compact visual journey, 8 photographic clickable steps */
@media (min-width:901px){
  .hads-idea-v55{padding:48px 0 58px!important;overflow:hidden!important;}
  .hads-idea-v55-head{max-width:1180px!important;margin:0 auto 20px!important;}
  .hads-idea-v55-head .tag{font-size:10px!important;letter-spacing:.24em!important;}
  .hads-idea-v55-head .section-title{font-size:clamp(38px,3.5vw,58px)!important;line-height:.96!important;max-width:980px!important;margin:7px auto 12px!important;}
  .hads-idea-v55-head>p{max-width:1040px!important;font-size:14px!important;line-height:1.45!important;}
  .hads-idea-v55-layout{grid-template-columns:.62fr 1.38fr!important;gap:22px!important;align-items:stretch!important;}
  .hads-idea-v55-visual{min-height:456px!important;height:456px!important;border-radius:28px!important;}
  .hads-idea-v55-caption{left:24px!important;right:24px!important;bottom:22px!important;}
  .hads-idea-v55-caption strong{font-size:24px!important;max-width:500px!important;}
  .hads-process-v55{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(4,1fr)!important;gap:10px 12px!important;height:456px!important;}
  .hads-process-v55 .process-item{min-height:0!important;height:auto!important;border-radius:20px!important;display:grid!important;grid-template-columns:118px 1fr!important;grid-template-rows:auto auto!important;align-content:center!important;padding:13px 15px 13px 136px!important;background:#211925!important;overflow:hidden!important;isolation:isolate!important;}
  .hads-process-v55 .process-thumb{display:block!important;position:absolute!important;inset:0 auto 0 0!important;width:122px!important;height:100%!important;object-fit:cover!important;object-position:center center!important;opacity:1!important;filter:saturate(.92) contrast(1.03)!important;transform:none!important;z-index:0!important;}
  .hads-process-v55 .process-item:before{content:""!important;position:absolute!important;left:78px!important;top:0!important;bottom:0!important;width:72px!important;background:linear-gradient(90deg,rgba(33,25,37,0),#211925 82%)!important;z-index:1!important;pointer-events:none!important;}
  .hads-process-v55 .process-item:after{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,transparent 0 23%,rgba(25,18,29,.08) 31%,rgba(25,18,29,.16) 100%)!important;z-index:1!important;pointer-events:none!important;}
  .hads-process-v55 .process-item small,.hads-process-v55 .process-item h3,.hads-process-v55 .process-item p{position:relative!important;z-index:3!important;margin-left:0!important;margin-right:0!important;}
  .hads-process-v55 .process-item small{position:absolute!important;left:94px!important;top:10px!important;margin:0!important;width:34px!important;height:34px!important;border-radius:12px!important;font-size:10px!important;box-shadow:0 5px 14px rgba(121,56,151,.28)!important;}
  .hads-process-v55 .process-item h3{margin:0 0 4px!important;font-size:17px!important;line-height:1.08!important;color:#fff!important;}
  .hads-process-v55 .process-item p{margin:0!important;font-size:10.5px!important;line-height:1.32!important;color:rgba(255,255,255,.78)!important;}
  .hads-process-v55 .process-item:hover{transform:translateY(-2px)!important;}
  .hads-process-v55 .process-item:hover .process-thumb{transform:scale(1.035)!important;}
  .hads-idea-v55-proof{display:none!important;}
}
@media (max-width:900px){
  .hads-idea-v55-proof{display:none!important;}
  .hads-process-v55 .process-thumb{display:block!important;opacity:.72!important;object-position:center!important;}
}

/* V58 — definitive visual journey: visible photos, compact 4×2 sequence, cache-busted in home.html */
@media (min-width:1101px){
  #from-idea.hads-idea-v55{padding:38px 0 48px!important;overflow:hidden!important;}
  #from-idea .hads-idea-v55-head{margin-bottom:18px!important;}
  #from-idea .hads-idea-v55-head .section-title{font-size:clamp(36px,3.1vw,54px)!important;line-height:.98!important;}
  #from-idea .hads-idea-v55-head>p{font-size:13.5px!important;line-height:1.42!important;}
  #from-idea .hads-idea-v55-layout{grid-template-columns:.48fr 1.52fr!important;gap:20px!important;align-items:stretch!important;}
  #from-idea .hads-idea-v55-visual{height:390px!important;min-height:390px!important;border-radius:28px!important;}
  #from-idea .hads-idea-v55-caption{left:22px!important;right:22px!important;bottom:20px!important;}
  #from-idea .hads-idea-v55-caption strong{font-size:21px!important;line-height:1.08!important;}
  #from-idea .hads-process-v55{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,190px)!important;gap:10px!important;height:390px!important;}
  #from-idea .hads-process-v55 .process-item{position:relative!important;display:block!important;height:190px!important;min-height:190px!important;padding:0!important;border:1px solid #e6d9ec!important;border-radius:24px!important;background:#fff!important;box-shadow:0 7px 0 #eadff0,0 16px 30px rgba(68,38,82,.10)!important;overflow:hidden!important;isolation:isolate!important;transform:none!important;}
  #from-idea .hads-process-v55 .process-item:before{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(180deg,rgba(24,17,28,0) 28%,rgba(24,17,28,.08) 45%,rgba(24,17,28,.90) 100%)!important;z-index:2!important;pointer-events:none!important;}
  #from-idea .hads-process-v55 .process-item:after{display:none!important;content:none!important;}
  #from-idea .hads-process-v55 .process-thumb{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center center!important;opacity:1!important;visibility:visible!important;filter:saturate(.94) contrast(1.03)!important;z-index:1!important;transform:scale(1.01)!important;}
  #from-idea .hads-process-v55 .process-item small{position:absolute!important;z-index:4!important;top:12px!important;left:50%!important;transform:translateX(-50%)!important;margin:0!important;width:36px!important;height:36px!important;border-radius:13px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:linear-gradient(135deg,#c36ce4,#8d45b6)!important;color:#fff!important;font-size:10px!important;font-weight:900!important;box-shadow:0 6px 16px rgba(117,50,148,.28)!important;}
  #from-idea .hads-process-v55 .process-item h3{position:absolute!important;z-index:4!important;left:16px!important;right:16px!important;bottom:34px!important;margin:0!important;color:#fff!important;font-size:16px!important;line-height:1.05!important;text-shadow:0 1px 10px rgba(0,0,0,.24)!important;}
  #from-idea .hads-process-v55 .process-item p{position:absolute!important;z-index:4!important;left:16px!important;right:16px!important;bottom:12px!important;margin:0!important;color:rgba(255,255,255,.86)!important;font-size:9px!important;line-height:1.2!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
  #from-idea .hads-process-v55 .process-item:hover{transform:translateY(-3px)!important;box-shadow:0 10px 0 #e2d3e9,0 22px 34px rgba(78,40,95,.16)!important;}
  #from-idea .hads-process-v55 .process-item:hover .process-thumb{transform:scale(1.055)!important;transition:transform .35s ease!important;}
  #from-idea .hads-idea-v55-proof{display:none!important;}
}
@media (min-width:901px) and (max-width:1100px){
  #from-idea .hads-idea-v55-layout{grid-template-columns:.58fr 1.42fr!important;}
  #from-idea .hads-process-v55{grid-template-columns:repeat(2,minmax(0,1fr))!important;height:auto!important;}
  #from-idea .hads-process-v55 .process-item{min-height:112px!important;}
  #from-idea .hads-process-v55 .process-thumb{display:block!important;opacity:1!important;visibility:visible!important;object-position:center!important;}
  #from-idea .hads-idea-v55-proof{display:none!important;}
}
