/* Banner */
.banner {
  position: relative;
  background: url('../images/backgrounds/clinique-dentaire-les-8-laser-background.webp') center/cover no-repeat;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
}

/* ✅ Overlay bleu semi-transparent au-dessus de l'image */
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dark-blue-color);
  opacity: 0.85;
  pointer-events: none;
}

/* Garde ton conteneur flex pour centrer verticalement */
.banner-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Assure que le contenu passe au-dessus de l’overlay */
.banner-content {
  position: relative;
  z-index: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Section services */
.services {
  background: transparent;
  padding: 3rem 2rem;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 2;
  margin-top: -80px;
}

/* Carte service */
.service-card {
  background: white;
  border: 1px solid var(--light-grey-color);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.service-card img {
  max-width: 80px;
  height: auto;
  margin-bottom: 1rem;
}

.service-card .p {
  color: var(--dark-grey-color);
  margin: 0;
}

.service-card .p-bold-caps {
  margin: 0.3rem 0 0 0;
}

/* Hover */
.service-card:hover {
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
  cursor: pointer;
}

.bullet-text {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem; /* espace entre l’icône et le texte */
  margin-bottom: 0.5rem;
}

.bullet-text i {
  color: var(--red-color);
  flex-shrink: 0;      /* empêche l’icône de rétrécir */
  margin-top: 4px;
}

.laser-section {
  padding: 4rem 0;
}

.image-wrapper-laser {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.image-wrapper-laser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  z-index: 1;
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: white;
  padding: 0.8rem 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 2;
}

/* ✅ Pointe type phylactère */
.experience-badge::before {
  content: "";
  position: absolute;
  top: -10px;          /* place la pointe au-dessus du bloc */
  right: 30px;          /* ajuste la position horizontale */
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}

.chiffres{
  background-color: var(--light-grey-color);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* ✅ 2 colonnes */
  }
}

@media (max-width: 768px) {
  .image-wrapper-laser {
    height: 30vh;        /* 1/4 – 1/3 de l’écran */
    aspect-ratio: 1 / 1; /* image carrée */
  }

  .experience-badge {
    bottom: 10px;
    left: 10px;
    padding: 0.5rem;
    z-index: 2;
  }
}
