/* Scope strict à la section simulateurs */
#hf-acc-s5 {
  /* ex-:root —> localisé à la section uniquement */
  --hf-surface-2: #f1f2ff;
  --hf-border:    #eef0fb;
  --hf-text:      #234881;
  padding: 0;
  margin: 0;
  background: #fff;
}

/* Carte conteneur */
#hf-acc-s5 .hf-s5-card{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

#hf-acc-s5 .hf-s5-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 18px !important;
}

/* Item */
#hf-acc-s5 .hf-s5-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  min-height: 150px;
  padding: 18px 14px;
  background: var(--hf-surface-2);
  border: 1px solid var(--hf-border);
  border-radius: 16px;

  text-decoration: none;
  color: var(--hf-text);
  font-weight: 400;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;

  gap: 10px;
}

/* Hover */
#hf-acc-s5 .hf-s5-item:hover,
#hf-acc-s5 .hf-s5-item:focus-visible{
  transform: translateY(-2px);
  background: #eef0ff;
  box-shadow: 0 8px 18px rgba(20,35,80,.08);
  outline: none;
}

#hf-acc-s5 .hf-s5-img{
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
#hf-acc-s5 .hf-s5-text{
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.35;
  letter-spacing: .2px;
  font-weight: 400;
  color: var(--hf-text);
}

@media (max-width: 767.98px){
  #hf-acc-s5 .hf-s5-grid{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  #hf-acc-s5 .hf-s5-item{ min-height: 130px; }
}
