.espace-client {
  background-color: var(--color-bg-second);
}

.espace-client-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding-bottom: 150px;
}

.heading {
  margin: 100px 0 10px 0;
}

.separator-content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.divider {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: translateY(-50%);
  z-index: 0;
}

.elipse {
  width: 80px;
  height: 80px;
  background-color: var(--color-bg-second);
  border: 2px solid var(--color-accent);
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 1;
}

.elipse img {
  width: 42px;
  height: auto;
}

.espace-client-bento {
  position: relative;
  display: flex;
  place-items: center;
  gap: 40px;
}

.espace-client-card {
  position: relative;
  background-color: var(--color-bg);
  width: 250px;
  height: 250px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform-origin: center;
  transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
  cursor: pointer;
}

.espace-client-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.espace-client-card:focus-visible {
  outline: none;
  transform: scale(1.06);
  box-shadow: 0 0 0 3px var(--color-accent), 0 12px 30px rgba(0, 0, 0, 0.15);
}

.img-container {
  display: flex;
  flex-direction: column;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.espace-client-card .beans {
  height: 50px;
}

.svg {
  position: absolute;
  width: 40px;
  height: 40px;
  right: 5px;
  bottom: 5px;
}

.espace-client-text {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

@media screen and (max-width: 1023px) {
  .espace-client-content {
    gap: 30px;
    padding-bottom: 100px;
  }
  .heading {
    margin: 50px 0 10px 0;
  }
  .espace-client-bento {
    gap: 20px;
  }
  .espace-client-card {
    width: 200px;
    height: 200px;
  }
  .img-container {
    width: 30px;
    height: 30px;
  }

  .svg {
    width: 30px;
    height: 30px;
  }
  .espace-client-text {
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {
  .espace-client-content {
    padding-bottom: 20px;
  }
  .espace-client {
    height: auto;
  }
  .espace-client-bento {
    flex-direction: column;
    margin-bottom: 100px;
  }
}
