.projet-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 80px 40px 40px;
}

.projet-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.projet-title {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 40px;
  color: var(--color-text-primary);
}

.projet-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 510px;
  max-width: 100%;
}

.projet-block__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-text-primary);
}

.projet-block__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-text-secondary);
}

.projet-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 510px;
  max-width: 100%;
  padding: 24px;
  background: var(--color-card-bg);
}

.projet-meta span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: var(--color-text-secondary);
}

.projet-meta--credits {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.projet-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 1360px;
  max-width: 100%;
}

.projet-grid img {
  display: block;
  width: 100%;
  height: auto;
}

.projet-grid__row {
  display: flex;
  gap: 24px;
}

.projet-grid__row picture {
  display: block;
  width: calc(50% - 12px);
}

.projet-grid__row img {
  width: 100%;
  object-fit: cover;
}

.projet-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 140px;
  padding: 40px;
}

.projet-nav__link {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-text-primary);
}

.projet-nav__pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 3px;
  border-radius: 60px;
  background: var(--color-text-primary);
  flex-shrink: 0;
}

.projet-nav__pill img {
  width: 18px;
  height: 18px;
}

.projet-nav__link--prev .projet-nav__pill img {
  transform: scaleX(-1);
}

.projet-nav__label--short {
  display: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .projet-intro {
    padding: 60px 40px 40px;
  }

  .projet-nav {
    gap: 80px;
    padding: 32px 40px;
  }
}

@media (max-width: 767px) {
  .projet-nav__label--full {
    display: none;
  }

  .projet-nav__label--short {
    display: inline;
  }

  .projet-intro {
    padding: 48px 16px;
    gap: 32px;
  }

  .projet-title {
    font-size: 32px;
  }

  .projet-block {
    width: 100%;
  }

  .projet-meta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 16px;
  }

  .projet-grid {
    width: 100%;
    gap: 16px;
  }

  .projet-grid__row {
    flex-direction: column;
    gap: 16px;
  }

  .projet-grid__row picture {
    width: 100%;
  }

  .projet-grid__row img {
    width: 100%;
  }

  .projet-nav {
    justify-content: space-between;
    gap: 0;
    padding: 32px 16px 48px;
  }
}
