.realisations-hero {
  background-image: url("/images/fond-pompe.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 70px 5%;
  text-align: center;
}

.real-hero-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.realisations-hero h1 {
  margin: 0 0 10px 0;
}

.realisations-hero h2 {
  font-size: 2rem;
}

.real-hero-cta {
  margin-top: 18px;
  gap: 12px;
}

.realisations-hero .btn--line {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.realisations-hero .btn--line:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.real-container {
  padding: 5% 7%;
  background: var(--c-surface-2);
}

.real-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: stretch;
}

.real {
  flex: 0 0 calc((100% - 44px) / 3);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(11, 42, 74, 0.06);
  border: 1px solid rgba(1, 26, 38, 0.08);
  min-width: 0;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

@media (max-width: 1050px) {
  .real {
    flex-basis: calc((100% - 22px) / 2);
  }
}
@media (max-width: 680px) {
  .real {
    flex-basis: 100%;
  }
}

.real-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f2f4f7;
}

.real-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 320ms ease;
}

.real:hover {
  transform: translateY(2px);
  box-shadow: 0 16px 44px rgba(1, 26, 38, 0.12);
}
.real:hover .real-img img {
  transform: scale(1.05);
}

.real-info {
  padding: 14px 14px 16px 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 110px;
}

.real-bulle {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--c-surface-2);
  border: 1px solid rgba(1, 26, 38, 0.12);
  color: rgba(1, 26, 38, 0.72);
  width: fit-content;
  font-size: 0.95rem;
  font-weight: 900;
}

.real-titre {
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.5px;
  margin: 0;
  overflow-wrap: anywhere;
}

.real:focus-visible {
  outline: 3px solid var(--c-ring);
  outline-offset: 3px;
}

.cta {
  background-color: var(--c-surface-2);
  padding: 0 7% 5% 7%;
}

.cta-box {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(11, 42, 74, 0.06);
  border: 1px solid rgba(1, 26, 38, 0.08);
  align-items: center;
  justify-content: center;
  padding: 24px 36px;
  text-align: center;
}

.cta-box .btn {
  margin-top: 12px;
}

@media (max-width: 700px) {
  h1 {
    font-size: 2.5rem;
    line-height: 2.5rem;
    margin: 24px 0;
  }
  .realisations-hero {
    background-attachment: scroll;
  }
  .realisations-hero h2 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
}
.btn:hover {
  transform: translateY(1px);
}
