/* Base */
Button.item-style{
all: unset;   
}

.hsw{
  --hsw-radius: 16px;
  --hsw-minh: 420px;
  --hsw-gap: 28px;

  display: grid;
  gap: var(--hsw-gap);
  align-items: start;
  width: 100%;
}

/* Layouts */
.hsw--list{
  grid-template-columns: 1fr 1.2fr; /* liste à gauche / image à droite */
}

.hsw--hero{
  position: relative;
  grid-template-columns: 1fr;
}

/* Target (carte/image) */
.hsw__target{
  position: relative;
  border-radius: var(--hsw-radius);
  overflow: hidden;
  min-height: var(--hsw-minh);
  background: #111;
  transition: transform 0.3s ease;
}

.hsw__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  transition: background-image .25s ease;
  transform: scale(1.02);
}

/*.hsw__overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,1.68), rgba(0,0,0,.12));
}*/

.hsw__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(60deg,
    rgba(0,0,0,0.8) 30%,
    rgba(0,0,0,0.5) 46%,
    rgba(0,0,0,0.15) 100%
  );
}
.hsw__content{
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 22px;
  max-width: 520px;
}

button.hsw__item.hsw-item{
border-radius: 10px;
    border: 5px solid #FAFAFA;
    background-color: #fff;
    color: #000;
    Padding:10px;
}
button.hsw__item.hsw-item span.hsw__label{
font-family:'Urbanist';
Font-size:15px;
Font-weight:500;

}
button.hsw__item.hsw-item.is-active{
color:#fff;
background-color:#252014;
}

.hsw__chip{
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 14px;
}

.hsw__title{ margin: 150px 0 10px 0; font-size: 20px; line-height: 1.2; color:#FFF !important;}
.hsw__text{ opacity: .9; font-size: 13px; line-height: 1.45; }

.hsw__points ul{ margin: 14px 0 0 18px; padding: 0; }
.hsw__points li{ margin: 8px 0; opacity: .92; font-size: 13px; }

/* Controls */
.hsw__controls{
  display: grid;
  gap: 10px;
}

/* list layout: items look like a left menu */
.hsw--list .hsw__controls{
  align-content: start;
}

.hsw__item{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
  border-radius: 12px;
  padding: 20px 14px;
  cursor: pointer;
  text-align: left;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.hsw__item:hover{
  background: rgba(0,0,0,.04);
  transform: translateY(-1px);
}

.hsw__item.is-active{
  background: #1f1b12;
  color: #fff;
  border-color: rgba(31,27,18,.7);
}

.hsw__itemRow{
  display:flex; align-items:center; gap: 10px;
  Font-family: "Archivo";
  font-weight: 300;
  font-size: 20px;
}

.hsw__icon{
  width: 64px; height: 64px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 8px;
  background: rgba(0,0,0,.06);
color:#000;

}

/* ✅ Icon PNG/SVG (url) */
.hsw__icon img{
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

.hsw__iconFallback{
  font-size: 14px;
  opacity: .6;
}

.hsw__item.is-active .hsw__itemRow .hsw__icon{
  background: rgba(255,255,255,.12);
  color:#DBA73D;
}

/* hero layout: controls as bottom bar */
.hsw--hero{
  border-radius: var(--hsw-radius);
  overflow: hidden;
}
.hsw--hero .hsw__target{ min-height: var(--hsw-minh); }
.hsw--hero .hsw__controls{
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 10px;
  margin-top: -96px; /* remonte sur l'image */
  padding: 0 16px 16px;
  position: relative;
  z-index: 3;
}

.hsw--hero .hsw__item{
  background: rgba(0,0,0,.55);
  border-color: rgba(255,255,255,.12);
  color: #fff;
  min-height: 74px;
}

.hsw--hero .hsw__item:hover,
.hsw--hero .hsw__item.is-active{
  background: rgba(0,0,0,.68);
  border-color: rgba(255,255,255,.22);
}

.hsw__desc{
  display:block;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.35;
  opacity: .86;
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}

.hsw--hero .hsw__item.is-active .hsw__desc,
.hsw--hero .hsw__item:hover .hsw__desc{
  max-height: 60px;
}

/* Responsive */
@media (max-width: 1024px){
  /* 1 colonne : image puis liste */
  .hsw--list{ grid-template-columns: 1fr; }

  .hsw--hero .hsw__controls{
    grid-template-columns: repeat(2, minmax(0,1fr));
    margin-top: -120px;
  }
  .hsw__target{
   display:none;
  }
}

@media (max-width: 640px){
  .hsw__content{ padding: 18px; }
  .hsw--hero .hsw__controls{ padding: 0 12px 12px; gap: 8px; }
   .hsw__target{
   display:none;
   }
}
