/* =========================================================
   « Autres produits » — refonte 2026 (CGT Alkor)
   Blocs éditoriaux (arguments) + listes de features.
   Réutilise project.css (switcher) et le design system.
   ========================================================= */

/* ---------- Header image (bandeau, texte en dessous — pas de fond derrière le titre) ---------- */
.product-page-header {
  border-bottom: 1px solid rgba(97, 177, 188, 0.22);
}

.product-page-header-media {
  overflow: hidden;
  max-height: clamp(160px, 35vh, 420px);
}

.product-page-header-media img {
  display: block;
  width: 100%;
  height: clamp(160px, 35vh, 420px);
  object-fit: cover;
  object-position: center 40%;
}

.product-page-header-body {
  padding-block: clamp(24px, 4vw, 40px);
}

.product-page-header-grid {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  align-items: start;
}

.product-page-header-title {
  margin: 8px 0 0;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.04;
  max-width: 16ch;
}

.product-page-header-title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-page-header-lede {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
}

@media (min-width: 900px) {
  .product-page-header-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(32px, 5vw, 64px);
  }

  .product-page-header-lede {
    padding-top: clamp(12px, 2vw, 28px);
  }
}

/* ---------- Sélecteur 3 univers : toujours en ligne, cartes compactes ---------- */
.page-product .project-switch {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(4px, 1vw, 12px);
}

.page-product .project-switch-item {
  min-height: 108px;
  padding: 12px 10px;
}

.page-product .project-switch-title {
  font-size: clamp(13px, 1.6vw, 18px);
  line-height: 1.12;
}

.page-product .project-switch-index {
  font-size: 12px;
}

.product-arg {
  padding-block: clamp(36px, 6vw, 64px);
}
.product-arg-title {
  font-size: clamp(28px, 4vw, 48px);
  margin: 8px 0 0;
}
.product-arg-desc {
  margin: 14px 0 0;
  color: var(--text-2);
}

/* Liste de features (sous-arguments avec icône) */
.product-features {
  list-style: none;
  margin: clamp(20px, 3vw, 28px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
    linear-gradient(165deg, rgba(14, 58, 102, 0.18) 0%, rgba(8, 44, 82, 0.34) 100%);
  transition: border-color 0.3s var(--ease-out), transform 0.4s var(--ease-luxe);
}
.product-feature:hover {
  border-color: rgba(97, 177, 188, 0.34);
  transform: translateY(-2px);
}
.product-feature-ic {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(97, 177, 188, 0.12);
  border: 1px solid rgba(97, 177, 188, 0.22);
}
.product-feature-ic img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.product-feature-ic--dot {
  position: relative;
}
.product-feature-ic--dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(97, 177, 188, 0.2);
}
.product-feature-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}
.product-feature-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.product-feature-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-3);
}

/* Sur grand écran, les features peuvent passer en 2 colonnes si nombreuses */
@media (min-width: 1100px) {
  .product-features.is-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 719px) {
  .product-page-header-media,
  .product-page-header-media img {
    max-height: clamp(140px, 28vh, 240px);
    height: clamp(140px, 28vh, 240px);
  }

  .product-page-header-body {
    padding-block: 20px 18px;
  }

  .product-page-header-title {
    font-size: clamp(26px, 7.5vw, 36px);
  }

  .product-page-header-lede {
    font-size: 14px;
    line-height: 1.55;
  }

  .page-product .project-crumb {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .page-product .project-switch {
    gap: 8px;
    margin-top: 14px;
  }

  .page-product .project-switch-item {
    min-height: 76px;
    padding: 10px 8px;
    border-radius: var(--r-sm);
  }

  .page-product .project-switch-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .page-product .project-switch-index {
    display: none;
  }

  .page-product .project-switch-title {
    font-size: 11px;
  }

  .page-product .product-arg {
    padding-block: clamp(28px, 8vw, 40px);
  }

  .page-product .product-arg-media {
    max-height: min(58vw, 280px);
    border-radius: var(--r-md);
    overflow: hidden;
  }

  .page-product .product-arg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .product-arg-title {
    font-size: clamp(24px, 6.5vw, 32px);
  }

  .product-feature-title {
    font-size: 14px;
  }

  .product-feature-desc {
    font-size: 13px;
  }
}

@media (min-width: 760px) {
  .page-product .project-switch-item {
    min-height: 128px;
  }
}
