@use "../variables";

.realisation {

  &__accroche {
    margin-top: 12px;
    max-width: 640px;
  }

  &__fiche {
    list-style: none;
    padding: 28px;
    margin: 0;

    li {
      padding: 12px 0;
      border-bottom: 1px solid rgba(0, 0, 0, .08);

      &:last-child {
        border-bottom: 0;
      }
    }

    li > span:first-child {
      display: block;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: .05em;
      color: variables.$tertiary-color;
    }
  }

  &__technos {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
  }

  &__techno {
    padding: 3px 10px;
    border-radius: 20px;
    background: variables.$secondary-color;
    color: #fff;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
  }

  &__liste {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      position: relative;
      padding: 8px 0 8px 28px;
    }

    li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 17px;
      width: 14px;
      height: 2px;
      background: variables.$primary-color;
    }

    &--check li::before {
      content: "✓";
      top: 8px;
      width: auto;
      height: auto;
      background: none;
      color: variables.$primary-color;
      font-weight: bold;
    }
  }

  &__ecran {
    margin-top: 40px;

    & + & {
      margin-top: 80px;
    }
  }

  &__capture {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
    transition: transform .2s;

    &:hover {
      transform: translateY(-4px);
    }

    img {
      display: block;
      width: 100%;
    }
  }

  &__numero {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    color: variables.$primary-color;
  }

  &__ecran-titre {
    margin: 12px 0 16px;
  }

  &__chiffre {
    font-size: 40px;
    font-weight: 700;
    color: variables.$primary-color;
  }
}
