/* =========================================================
   SRC — PAGE MARQUES
========================================================= */

.src-brands-page,
.src-brands-page * {
  box-sizing: border-box;
}

.src-brands-page {
  width: 100%;

  background: #f3f3f3;

  color: #111;
}

.src-brands-container {
  width: min(
    100% - 48px,
    1250px
  );

  margin: 0 auto;
}


/* =========================================================
   HERO MARQUES — MÊME STYLE QUE LE CATALOGUE
========================================================= */

.src-brands-hero {
  position: relative;

  padding:
    95px
    0
    90px;

  overflow: hidden;

  background: #e6e6e6;

  border-bottom:
    1px
    solid
    #d3d3d3;

  color: #111;
}

.src-brands-hero::before {
  content: "";

  position: absolute;

  top: 0;
  right: 0;

  width: 31%;
  height: 100%;

  background: #dddddd;
}

.src-brands-hero::after {
  content: "";

  position: absolute;

  right: 7%;
  bottom: -140px;

  width: 330px;
  height: 330px;

  border:
    1px
    solid
    rgba(0, 0, 0, .06);

  border-radius: 50%;

  pointer-events: none;
}

.src-brands-hero__content {
  position: relative;

  z-index: 2;

  max-width: 790px;
}

.src-brands-eyebrow {
  margin-bottom: 12px;

  color: #898989;

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .17em;

  text-transform: uppercase;
}

.src-brands-hero__title {
  margin:
    0
    0
    28px;

  color: #111;

  font-size:
    clamp(
      54px,
      5.5vw,
      78px
    );

  font-weight: 750;

  line-height: .98;

  letter-spacing: -3.5px;
}

.src-brands-hero__title span {
  color: #111;
}

.src-brands-hero__title strong {
  display: block;

  color: #777;

  font-weight: inherit;
}

.src-brands-hero__text {
  max-width: 620px;

  margin: 0;

  color: #585858;

  font-size: 15px;

  line-height: 1.75;
}


/* =========================================================
   CATALOGUE
========================================================= */

.src-brands-catalogue {
  padding:
    72px
    0
    100px;
}

.src-brands-heading {
  display: grid;

  grid-template-columns:
    1fr
    320px;

  align-items: end;

  gap: 50px;

  margin-bottom: 30px;
}

.src-brands-heading__eyebrow {
  margin-bottom: 9px;

  color: #858585;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: .15em;

  text-transform: uppercase;
}

.src-brands-heading h2 {
  margin: 0;

  color: #111;

  font-size:
    clamp(
      34px,
      4vw,
      48px
    );

  font-weight: 800;

  line-height: 1;

  letter-spacing: -2px;
}

.src-brands-heading p {
  margin: 0;

  color: #666;

  font-size: 14px;

  line-height: 1.55;
}


/* =========================================================
   FILTERS
========================================================= */

.src-brands-filters {
  display: flex;

  flex-wrap: wrap;

  gap: 9px;

  margin-bottom: 35px;
}

.src-brand-filter {
  display: inline-flex;

  min-height: 39px;

  align-items: center;
  justify-content: center;

  padding:
    0
    17px;

  border:
    1px
    solid
    #d8d8d8;

  border-radius: 999px;

  background: #fff;

  color: #111;

  font-family: inherit;
  font-size: 12px;
  font-weight: 600;

  cursor: pointer;

  transition:
    color .18s ease,
    background .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.src-brand-filter:hover {
  border-color: #111;

  transform:
    translateY(-1px);
}

.src-brand-filter.is-active {
  border-color: #111;

  background: #111;

  color: #fff;
}


/* =========================================================
   GRID
========================================================= */

.src-brands-grid {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 14px;
}


/* =========================================================
   CARD
========================================================= */

.src-brand-card {
  position: relative;

  display: flex;

  min-width: 0;

  overflow: hidden;

  flex-direction: column;

  background: #fff;

  border:
    1px
    solid
    #dedede;

  border-radius: 13px;

  color: #111;

  cursor: default;

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.src-brand-card[hidden] {
  display: none !important;
}

.src-brand-card:hover {
  border-color: #c8c8c8;

  transform:
    translateY(-3px);

  box-shadow:
    0
    14px
    35px
    rgba(0,0,0,.05);
}


/* =========================================================
   LOGO
========================================================= */

.src-brand-card__media {
  display: flex;

  height: 205px;

  align-items: center;
  justify-content: center;

  padding: 40px;

  background: #fafafa;

  border-bottom:
    1px
    solid
    #ececec;
}

.src-brand-card__media img {
  display: block;

  width: auto;
  max-width: 80%;

  height: auto;
  max-height: 92px;

  object-fit: contain;

  transition:
    transform .25s ease;
}

.src-brand-card:hover
.src-brand-card__media img {
  transform:
    scale(1.045);
}


/* =========================================================
   CARD BOTTOM
========================================================= */

.src-brand-card__bottom {
  display: flex;

  min-height: 78px;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding:
    16px
    16px
    16px
    18px;
}

.src-brand-card__bottom h3 {
  margin:
    0
    0
    4px;

  color: #111;

  font-size: 14px;
  font-weight: 700;

  line-height: 1.2;
}

.src-brand-card__bottom span:not(
  .src-brand-card__arrow
) {
  display: block;

  color: #888;

  font-size: 10px;
}


/* =========================================================
   TABLETTE
========================================================= */

@media screen and (max-width: 1000px) {

  .src-brands-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 749px) {

  .src-brands-container {
    width:
      calc(
        100% - 30px
      );
  }


  /* HERO */

  .src-brands-hero {
    min-height: 0;

    padding:
      52px
      0
      48px;
  }

  .src-brands-hero::before,
  .src-brands-hero::after {
    display: none;
  }

  .src-brands-eyebrow {
    margin-bottom: 14px;
  }

  .src-brands-hero__title {
    margin-bottom: 20px;

    font-size: 40px;

    line-height: 1;

    letter-spacing: -2px;
  }

  .src-brands-hero__text {
    font-size: 14px;
  }


  /* CATALOGUE */

  .src-brands-catalogue {
    padding:
      45px
      0
      70px;
  }

  .src-brands-heading {
    display: block;

    margin-bottom: 25px;
  }

  .src-brands-heading h2 {
    font-size: 34px;
  }

  .src-brands-heading p {
    max-width: 400px;

    margin-top: 16px;
  }


  /* FILTERS */

  .src-brands-filters {
    flex-wrap: nowrap;

    width:
      calc(
        100% + 15px
      );

    margin-right: -15px;
    margin-bottom: 28px;

    padding-right: 15px;

    overflow-x: auto;

    scrollbar-width: none;

    -webkit-overflow-scrolling: touch;
  }

  .src-brands-filters::-webkit-scrollbar {
    display: none;
  }

  .src-brand-filter {
    flex:
      0
      0
      auto;
  }


  /* GRID */

  .src-brands-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap: 9px;
  }


  /* CARD */

  .src-brand-card {
    border-radius: 10px;
  }

  .src-brand-card__media {
    height: 145px;

    padding:
      24px
      18px;
  }

  .src-brand-card__media img {
    max-width: 88%;
    max-height: 70px;
  }

  .src-brand-card__bottom {
    min-height: 72px;

    gap: 8px;

    padding: 13px;
  }

  .src-brand-card__bottom h3 {
    font-size: 12px;
  }

  .src-brand-card__arrow {
    width: 29px;
    height: 29px;

    flex-basis: 29px;

    font-size: 13px;
  }

}


/* =========================================================
   PETIT MOBILE
========================================================= */

@media screen and (max-width: 390px) {

  .src-brands-hero__title {
    font-size: 36px;
  }

  .src-brand-card__media {
    height: 130px;
  }

  .src-brand-card__bottom {
    padding:
      12px
      10px;
  }

  .src-brand-card__arrow {
    width: 27px;
    height: 27px;

    flex-basis: 27px;
  }

}