/* GRID */
.projet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width:768px) {
  .projet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1100px) {
  .projet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CARD */
.projet-item {
  background: #f7f7f7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .25s ease;
}

.projet-item:hover {
  transform: translateY(-4px);
}

.projet-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* IMAGE ZONE (CRITIQUE) */
.projet-media {
  position: relative;
  height: 260px;          /* 👈 hauteur visible */
  overflow: hidden;
  background: #f3f3f3;
}

/* IMAGE (SCROLLABLE) */
.projet-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: unset;      /* ❌ JAMAIS cover */
  transform: translateY(0);
  will-change: transform;
}

/* BADGE */
.projet-cat {
  position: absolute;
  top: 6px;
  left: 6px;
  background: linear-gradient(135deg,#00d0ab,#00c5e0);
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 40px;
  z-index: 2;
}

/* CONTENT */
.projet-content {
  padding: 18px 20px 22px;
  text-align: center;
}

.projet-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.projet-desc {
  font-size: 15px;
  line-height: 1.5;
  opacity: .9;
}

.projet-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  opacity: .65;
  transition: transform .25s ease, opacity .25s ease;
}

.projet-item:hover .projet-more {
  opacity: 1;
  transform: translateX(4px);
  color:#0059ff;
}

.realisation {
 background: linear-gradient(150deg, #084a7c 0%, #4495cf 100%);
}
.ttlblanco {
  margin: 0 0 10px;
  line-height: 2.5;
  color: #fff;
  font-size: clamp(28px, 3.2vw, 40px);
}
.parablanco {
  color: #fff;
  line-height: 1.65;
  width: 95%;
  margin: auto;
  padding-bottom: 2rem;
  
}