/* LE PROJET VALOSERA */
.project-section {
  position: relative;
  z-index: 0;
  display: flex;
  height: 612px;
  padding: 65px 0;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  align-self: stretch;
  background-color: var(--color-navy);
  overflow: hidden;
}

.project-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--project-bg-image, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.3;
  pointer-events: none;
}

.project-section .container {
  display: flex;
  max-width: 1402px;
  padding: 0 8px 0 85px;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 40px;
}

.project-left {
  display: flex;
  flex-direction: column;
}

.project-eyebrow {
  color: #D4F4A2;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.project-heading {
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
  margin-top: 12px;
}

.project-text {
  width: 560px;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  margin-top: 20px;
}

.project-checklist {
  list-style: none;
  margin-top: 24px;
}

.project-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: 23.25px;
  margin-bottom: 12px;
}

.project-checklist li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%2374C6A7' stroke-width='2'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9' stroke='%2374C6A7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ---- Diagramme (cercle + bulles) ---- */
.project-diagram {
  position: relative;
  display: flex;
  width: 620px;
  height: 484px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
}

.project-diagram-circle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 380px;
  height: 383px;
  border-radius: 50%;
  background: #FFF;
  overflow: hidden;
  box-sizing: border-box;
}

.project-diagram-artisans {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 130px;
  margin-bottom: 10px;
}

.project-diagram-artisans .artisan {
  height: 100%;
  width: auto;
}

.project-diagram-center {
  color: #1A4870;
  text-align: center;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
}

.diagram-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 131px;
  height: 127px;
  border-radius: 50%;
  text-align: center;
}

.diagram-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 4px;
}

.diagram-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.diagram-title {
  width: 107px;
  color: #1A4870;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 15px;
}

.diagram-item--0 {
  background: #D4F4A2;
  top: 34px;
  left: 110px;
}

.diagram-item--1 {
  width: 137.7px;
  height: 139.037px;
  background: #C7E3FF;
  top: 119px;
  left: 454px;
}

.diagram-item--2 {
  width: 137.7px;
  height: 134.988px;
  top: 250px;
  left: 70px;
  z-index: 1;
  isolation: isolate;
}

.diagram-item--2::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: #E8E5AC;
  transform: rotate(38.614deg);
}

.diagram-item--3 {
  width: 125.771px;
  height: 126.53px;
  background: #74C6A7;
  top: 300px;
  left: 425px;
}

@media (max-width: 1200px) {
  .project-section .container {
    padding: 0 8px 0 48px;
  }
}

@media (max-width: 900px) {
  .project-section {
    height: auto;
    padding: 48px 0;
  }

  .project-section .container {
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    text-align: center;
  }

  .project-left {
    align-items: center;
    width: 100%;
    max-width: 480px;
  }

  .project-text {
    width: 100%;
    max-width: 100%;
  }

  .project-checklist li {
    text-align: left;
  }

  .project-diagram-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 245px;
    overflow: hidden;
  }

  .project-diagram {
    transform: scale(.5);
    transform-origin: top center;
  }
}

@media (max-width: 640px) {
  .project-heading {
    font-size: 28px;
    line-height: 32px;
  }

  .project-eyebrow {
    font-size: 12px;
  }

  .project-text {
    font-size: 15px;
    line-height: 24px;
  }

  .project-checklist li {
    font-size: 13px;
    line-height: 19px;
  }

  .project-diagram-wrap {
    height: 210px;
  }

  .project-diagram {
    transform: scale(.43);
  }
}

@media (max-width: 360px) {
  .project-heading {
    font-size: 24px;
    line-height: 28px;
  }

  .project-text {
    font-size: 13px;
    line-height: 20px;
  }

  .project-diagram-wrap {
    height: 180px;
  }

  .project-diagram {
    transform: scale(.36);
  }
}
