/* Encart « À propos de PhytoQuant » — CSS autonome, zéro dépendance Creative Elements.
 * Extrait du rendu CE initial (post 8010000 + frontend.min.css), classes renommées
 * pour un composant réutilisable. Points de rupture CE conservés : 1024px / 767px.
 * Markup porteur : templates/_partials/home/about-phytoquant.tpl */

.pq-about {
  margin: 140px 0 0;
}

.pq-about__container {
  max-width: 1280px;
  margin: 0 auto;
}

.pq-about__row {
  display: flex;
  flex-wrap: wrap;
}

/* colonnes décoratives (masquées tablette + mobile, comme les colonnes CE) */
.pq-about__deco {
  display: none;
}

.pq-about__deco img {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

.pq-about__deco--left img {
  margin-top: 100px;
}

/* colonne centrale : eyebrow → H1 → texte → CTA (rythme 20px = gap CE) */
.pq-about__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.pq-about__eyebrow {
  margin: 0;
  line-height: 1;
  color: rgba(32, 32, 32, 0.7);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.pq-about__title {
  margin: 0;
  line-height: 1;
  width: 100%;
  color: #202020;
  font-family: "Inter", sans-serif;
  font-size: 50px;
  font-weight: 400;
}

.pq-about__text {
  margin: 0;
  width: 70%;
  color: #202020;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.pq-about__cta {
  display: inline-block;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  background-color: #B5BD00;
  border-radius: 0;
  padding: 12px 100px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

/* galerie « tablette + mobile » (ex section CE b5ebbf4, masquée desktop) */
.pq-about__gallery--inline {
  display: none;
  width: 100%;
}

.pq-about__gallery--inline img {
  width: 50%;
  height: 200px;
  object-fit: cover;
}

.pq-about__shot--tablet,
.pq-about__shot--phone {
  display: none;
}

/* galerie « desktop » (ex section CE 017395b) */
.pq-about__gallery--stacked {
  width: 100%;
  text-align: right;
}

.pq-about__stamp {
  display: inline-block;
  max-width: 100%;
}

.pq-about__stamp--desktop {
  width: 50%;
  height: auto;
  margin-top: 90px;
  background-color: #fff;
}

.pq-about__stamp--phone {
  display: none;
  width: 100%;
}

/* --- desktop --- */
@media (min-width: 768px) {
  .pq-about__deco--left {
    display: block;
    flex: 0 0 25%;
    text-align: left;
  }

  .pq-about__deco--right {
    display: block;
    flex: 0 0 26.332%;
    text-align: right;
  }

  .pq-about__content {
    flex: 0 0 48%;
  }
}

/* --- tablette (768–1024) --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .pq-about {
    padding: 0 20px 110px;
  }

  .pq-about__deco {
    display: none;
  }

  .pq-about__content {
    flex: 1 1 100%;
  }

  .pq-about__gallery--inline {
    display: flex;
    margin-bottom: -23px;
  }

  .pq-about__shot--tablet {
    display: block;
  }

  .pq-about__gallery--stacked {
    text-align: center;
  }

  .pq-about__stamp--desktop {
    width: 50%;
    height: 200px;
    object-fit: cover;
    margin-top: 0;
  }
}

/* --- mobile (<768) --- */
@media (max-width: 767px) {
  .pq-about {
    margin-top: 0;
    padding: 60px 10px 0;
  }

  .pq-about__content {
    margin-top: 10px;
  }

  .pq-about__title {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .pq-about__text {
    width: 100%;
  }

  .pq-about__cta {
    margin-bottom: -10px;
  }

  .pq-about__gallery--inline {
    display: flex;
    margin-bottom: 0;
  }

  .pq-about__gallery--inline img {
    height: 170px;
  }

  .pq-about__gallery--inline .pq-about__shot--phone {
    display: block;
    margin-left: 5px;
  }

  .pq-about__gallery--stacked {
    margin-top: -10px;
    padding-bottom: 60px;
  }

  .pq-about__stamp--desktop {
    display: none;
  }

  .pq-about__stamp--phone {
    display: block;
    height: 170px;
    object-fit: cover;
  }
}
