/*------------------------------------------------------------
TYPO
Title, list, links, label
====================================*/

/* Tailles Titles */
%h1 {
  font-size: 2.6rem;
  @include media-breakpoint-up(md) {
    font-size: 3rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $h1-font-size;
  }
}
%h2 {
  font-size: 2.4rem;
  @include media-breakpoint-up(md) {
    font-size: 2.8rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $h2-font-size;
  }
}
%h3 {
  font-size: 1.8rem;
  @include media-breakpoint-up(lg) {
    font-size: $h3-font-size;
  }
}
%h4 {
  font-size: 1.8rem;
  @include media-breakpoint-up(lg) {
    font-size: $h4-font-size;
  }
}
%h5 {
  font-size: 1.8rem;
  @include media-breakpoint-up(lg) {
    font-size: $h5-font-size;
  }
}
%h6 {
  font-size: 1.4rem;
  @include media-breakpoint-up(lg) {
    font-size: $h6-font-size;
  }
}

%display-1 {
  font-size: 3rem;
  @include media-breakpoint-up(md) {
    font-size: 4rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $display1-size;
  }
}
%display-2 {
  font-size: 2.8rem;
  @include media-breakpoint-up(md) {
    font-size: 3.6rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $display2-size;
  }
}
%display-3 {
  font-size: 2rem;
  @include media-breakpoint-up(md) {
    font-size: 2.8rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $display3-size;
  }
}
%display-4 {
  font-size: 1.8rem;
  @include media-breakpoint-up(md) {
    font-size: 2.4rem;
  }
  @include media-breakpoint-up(lg) {
    font-size: $display4-size;
  }
}

%title-label {
  font-weight: $font-weight-medium;
  font-size: 1.4rem;
  color: $black;
}

/* Paragraphe */
%text {
  font-size: $font-size-base-sm;
  font-weight: $font-weight-base;
  @include media-breakpoint-up(md) {
    font-size: $font-size-base;
  }
}
%text-lead {
  font-size: 1.6rem;
  @include media-breakpoint-up(md) {
    font-size: $lead-font-size;
  }
}
%text-small {
  font-size: $small-font-size;
}

/* Label */
%label {
  font-size: 1.2rem;
  font-weight: $font-weight-sbold;
}

/* Placeholder */
%placeholder {
  font-style: italic;
  font-size: 1.3rem;
  color: $input-placeholder-color;
}

/* Price */
%price {
  font-size: 1.1rem;
  font-weight: $price-font-weight;
  color: $price-color;
  span {
    font-size: 1.5rem;
  }

  &.promo {
    color: $price-promo-color;
  }

  @include media-breakpoint-up(md) {
    font-size: $price-font-size;
    span {
      font-size: $price-unit-font-size;
    }
  }
}
%price-old {
  font-size: 1.1rem;
  font-weight: $price-old-font-weight;
  text-decoration: line-through;
  color: $price-old-color;

  @include media-breakpoint-up(md) {
    font-size: $price-old-font-size;
  }
}
