.home-page {
  overflow: hidden;
  background: var(--main-color-bl);
  color: var(--main-color-text);
}

.home-hero {
  position: relative;
  min-height: 680px;
  margin-top: 50px;
  padding: 86px 0 72px;
  background: var(--main-color-bg) url("../graphique/headerfond4.jpg") center / cover;
  color: #fff;
}

.home-hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(31, 37, 46, 0.98),
    rgba(31, 37, 46, 0.3)
  );
  content: "";
}

.home-hero__inner,
.home-download__inner,
.home-feature__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
}

.home-hero__inner {
  min-height: 520px;
}
.home-hero__copy,
.home-section__copy,
.home-feature__content {
  flex: 1 1 50%;
}
.home-hero__copy {
  max-width: 650px;
}

.home-eyebrow,
.home-kicker {
  margin-bottom: 18px;
  color: var(--main-color-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero__logo {
  display: block;
  width: min(100%, 390px);
  margin-bottom: 28px;
}

.home-hero h1,
.home-section h2,
.home-feature h2 {
  font-family: "BebasNeue", sans-serif;
  font-weight: 400;
  line-height: 0.95;
}

.home-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: 88px;
}
.home-hero__intro {
  max-width: 540px;
  margin: 26px 0 30px;
  color: #e7e3da;
  font-size: 1.15rem;
  line-height: 1.65;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-hero__actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.home-hero__note {
  margin: 20px 0 0;
  color: #c9c3b7;
  font-size: 0.82rem;
}

.home-hero__device {
  position: relative;
  flex: 0 1 350px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-hero__device img {
  width: min(100%, 320px);
  max-height: 490px;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.42));
}
.home-hero__sticker {
  position: absolute;
  z-index: 1;
  top: 13%;
  right: -12px;
  max-width: 180px;
  padding: 12px 15px;
  background: var(--main-color-light);
  color: var(--main-color-text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  transform: rotate(4deg);
}

.home-stats {
  padding: 30px 0;
  background: var(--main-color-bl);
  border-bottom: 1px solid rgba(24, 32, 38, 0.1);
  text-align: center;
}
.home-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.home-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 8px 40px;
  border-right: 1px solid rgba(24, 32, 38, 0.14);
}
.home-stat:first-child {
  padding-left: 0;
}
.home-stat:last-child {
  border-right: 0;
}
.home-stat i {
  grid-row: span 2;
  color: var(--main-color-link);
  font-size: 4rem;
}
.home-stat strong {
  font-family: "BebasNeue", sans-serif;
  font-size: 5rem;
  font-weight: 400;
  line-height: 1;
}
.home-stat span {
  color: var(--main-color-label);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-section {
  padding: 110px 0;
}
.home-download {
  background: var(--main-color-link);
  color: #fff;
}
.home-download__inner {
  justify-content: center;
}
.home-download__badge {
  flex: 0 1 330px;
  text-align: center;
}
.home-download__badge img {
  width: min(100%, 280px);
  filter: drop-shadow(0 14px 20px rgba(60, 34, 14, 0.2));
}
.home-section__copy {
  max-width: 590px;
}
.home-download .home-kicker {
  color: var(--main-color-text);
}
.home-section h2,
.home-feature h2 {
  margin: 0 0 20px;
  font-size: 62px;
}
.home-section p:not(.home-kicker):not(.home-quote p),
.home-feature__content > p:not(.home-kicker) {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--main-color-label);
  font-size: 1.05rem;
  line-height: 1.7;
}
.home-download .home-section__copy p:not(.home-kicker) {
  color: rgba(255, 255, 255, 0.9);
}

.home-quote {
  max-width: 520px;
  margin: 34px 0 30px;
  padding: 18px 24px;
  border-left: 4px solid var(--main-color-link);
  background: rgba(255, 255, 255, 0.55);
}

.home-quote p {
  margin: 0;
  color: var(--main-color-text);
  font-style: italic;
  /*font-family: 'BebasNeue', sans-serif;*/
  /*font-size: 1.65rem;*/
  line-height: 1.05;
}

.home-quote cite {
  color: var(--main-color-link);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-feature {
  background: var(--main-color-bgtitle);
}
.home-feature:nth-of-type(even) {
  background: var(--main-color-bl);
}
.home-feature__inner {
  justify-content: space-between;
}
.home-feature__media {
  flex: 0 1 390px;
  text-align: center;
}
.home-feature__media img {
  width: min(100%, 300px);
  border: 8px solid var(--main-color-bg);
  border-radius: 24px;
  box-shadow: 16px 18px 0 rgba(24, 32, 38, 0.12);
}
.home-feature--map .home-feature__content {
  order: 2;
}
.home-feature--map .home-feature__media {
  order: 1;
}

@media (max-width: 991.98px) {
  .home-hero {
    min-height: auto;
    padding: 72px 0 64px;
  }
  .home-hero__inner,
  .home-download__inner,
  .home-feature__inner {
    gap: 42px;
  }
  .home-hero h1 {
    font-size: 68px;
  }
  .home-hero__device {
    flex-basis: 280px;
  }
  .home-hero__device img {
    max-height: 410px;
  }
  .home-section {
    padding: 82px 0;
  }
  .home-section h2,
  .home-feature h2 {
    font-size: 50px;
  }
  .home-feature__media {
    flex-basis: 300px;
  }

  .home-stats {
    padding: 28px 0;
  }

  .home-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }

  .home-stat {
    min-width: 0;
    padding: 8px 20px;
  }

  .home-stat:nth-child(2) {
    border-right: 0;
  }

  .home-stat:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 280px);
    border-right: 0;
  }
}

@media (max-width: 767.98px) {
  .home-hero {
    padding: 58px 0 48px;
  }
  .home-hero__inner,
  .home-download__inner,
  .home-feature__inner {
    display: block;
  }
  .home-hero__logo {
    width: min(100%, 290px);
  }
  .home-hero h1 {
    font-size: 52px;
  }
  .home-hero__device {
    min-height: 330px;
    margin-top: 30px;
  }
  .home-hero__device img {
    max-height: 330px;
  }
  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }
  .home-hero__actions .btn {
    width: 100%;
    text-align: center;
  }
  .home-hero__sticker {
    top: 4%;
    right: 5%;
  }
  .home-stats__grid {
    grid-template-columns: 1fr;
  }
  .home-stat,
  .home-stat:first-child {
    grid-template-columns: 34px 1fr;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(24, 32, 38, 0.12);
  }
  .home-stat:last-child {
    border-bottom: 0;
  }
  .home-download__badge {
    margin-bottom: 38px;
  }
  .home-feature__media {
    margin-top: 44px;
  }
  .home-feature__media img {
    display: block;
    width: min(100%, 220px);
    margin: 0 auto;
    border-width: 6px;
    border-radius: 18px;
    box-shadow: 10px 12px 0 rgba(24, 32, 38, 0.12);
  }
  .home-quote {
    margin: 28px 0;
    padding: 16px 18px;
  }
  .home-quote p {
    font-size: 1.45rem;
  }
  .home-feature--map .home-feature__content,
  .home-feature--map .home-feature__media {
    order: initial;
  }
  .home-section h2,
  .home-feature h2 {
    font-size: 40px;
  }
}

