.hero-image-solutions {
  position: relative;
  background: url('../images/main_image_solutions.jpg') no-repeat center center;
  background-size: cover;
  height: 500px;
  width: 100%;
  color: white;
}
.hero-image-solutions::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.hero-image-solutions::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.5) 70%,
        rgba(0, 0, 0, 0) 100%  
    );
    z-index: 2;
}
.hero-image-solutions .container {
    position: relative;
    z-index: 3;
}

/* ====== Card de solution ====== */
.solution-card{
  --tint: rgba(13,110,253,.55);     /* teinte par défaut */
  --radius: .8rem;
  --shadow: 0 6px 20px rgba(0,0,0,.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: grid;
  grid-template-rows: 150px auto;   /* image 150px + contenu */
}

.solution-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  border-color: rgba(0,0,0,.08);
}

/* Media (image + overlay) */
.solution-media{
  position: relative;
  height: 150px;
  overflow: hidden;
  background: #f3f5f8;
}

.solution-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .35s ease;
}
.solution-card:hover .solution-img{ transform: scale(1.06); }

/* Overlay dégradé teinté (haut -> bas) */
.solution-overlay{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.55) 100%),
    radial-gradient(80% 100% at 50% 30%, var(--tint), transparent 70%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* Badge en coin */
.solution-badge{
  position: absolute; top: .6rem; left: .6rem;
  background: rgba(255,255,255,.9);
  color: #0d1525;
  font-size: .75rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(0,0,0,.06);
}

/* Contenu */
.solution-content{
  padding: .9rem 1rem 1.1rem;
}

.solution-title{
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .25rem;
  color: #0d1525;
  letter-spacing: .2px;
}

.solution-excerpt{
  color: #6b7280;           /* gris lisible */
  font-size: .9rem;
  line-height: 1.35;
  margin: 0 0 .6rem;
  min-height: 2.4em;        /* 2 lignes max visuellement */
}

/* Lien CTA */
.solution-link{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  text-decoration: none;
  color: #0d6efd;
}
.solution-link:hover{ text-decoration: underline; }

/* Variantes de teinte par catégorie (change --tint) */
.solution-card.is-erp{      --tint: rgba(13,110,253,.55); }  /* bleu */
.solution-card.is-pos{      --tint: rgba(220,53,69,.55); }   /* rouge */
.solution-card.is-esl{      --tint: rgba(200,173,127,.55); } /* or / étiquettes */
.solution-card.is-central { --tint: rgba(25, 135, 84, .55); } /* vert Bootstrap */
.solution-card.is-sales { --tint: rgba(255, 193, 7, .55); } /* jaune/orangé vif - dynamique et visible */
.solution-card.is-delivery { --tint: rgba(13, 202, 240, .55);} /* turquoise / bleu clair */
.solution-card.is-pro { --tint: rgba(0, 153, 102, .55);} /* un vert doux / teal pour B2B mobile */
.solution-card.is-woper { --tint: rgba(108, 117, 125, .55);}  /* gris / anthracite pour la logistique */
.solution-card.is-shelf {--tint: rgba(255, 87, 34, .55);}  /* orange vif → pratique, retail, rayon */
.solution-card.is-boss { --tint: rgba(155, 89, 182, .55);} /* violet / mauve, couleur “haut niveau / direction” */
.solution-card.is-promo { --tint: rgba(255, 111, 97, .55);} /* rouge-orangé vif, pour promotions / offres spéciales */
.solution-card.is-control {--tint: rgba(0, 123, 255, .55);} /* bleu vif → surveillance, contrôle, fiabilité */
.solution-card.is-loyalty{  --tint: rgba(32,56,100,.55); }   /* bleu foncé */