.projects-sector-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;              /* mobile (was 676px) */
  padding: 28px 0;           /* mobile (was 48px) */
  flex-direction: column;
  border-radius: 20px;       /* mobile (was 30px) */
  gap: 16px;                 /* mobile (was 24px) */
  overflow: hidden;
  height: auto;
  align-content: stretch;
  max-height: 840px;
  position: relative;
}
.projects-sector-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.projects-sector-item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}
.projects-sector-item__link,
.projects-sector-item__link:hover,
.projects-sector-item__link:focus {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.projects-sector-item__link * {
  text-decoration: none;
}
.projects-sector-item__title p {
  margin: 0 auto;
  color: var(--color-neutral--6);
  text-align: center;
  font-family: var(--font-fraunces);
  font-size: 28px;           /* mobile (was 54px) */
  font-style: normal;
  font-weight: 400;
  line-height: 130%;         /* mobile (was 150%) */
}
.projects-sector-item__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.projects-sector-item__image {
  min-width: 100%;
}
.projects-sector-item__image > img {
  width: 100%;               /* mobile : l'image scale dans la carte au lieu de déborder */
  height: auto;
  min-width: 0;
}

/* ==================================================
   Tablette / Desktop : on restaure tes valeurs d'origine
   (rien ne change au-dessus de 768px)
================================================== */
@media (min-width: 768px) {
  .projects-sector-item {
    width: 676px;
    padding: 48px 0;
    border-radius: 30px;
    gap: 24px;
  }
  .projects-sector-item__title p {
    font-size: 54px;
    line-height: 150%;
  }
  .projects-sector-item__image > img {
    width: auto;
    min-width: 100%;
  }
}