/* ==========================================================================
   AN&PLAST SAS — SUBPAGES EDITORIAL SYSTEM (Industrial Premium)
   ========================================================================== */

.subpage-hero {
  background: var(--ip-smoke);
  border-bottom: 1px solid var(--ip-line);
  padding: 7.5rem 0 3.75rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ip-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--ip-navy);
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--ip-red);
}

.breadcrumb-sep {
  color: var(--ip-line);
}

.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: var(--ip-navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.subpage-lead {
  font-size: 1.02rem;
  color: var(--ip-muted);
  line-height: 1.65;
  max-width: 58ch;
  margin-bottom: 1.75rem;
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.subpage-photo-frame {
  background: var(--ip-white);
  border: 1px solid var(--ip-line);
  border-radius: var(--ip-radius);
  overflow: hidden;
}

.subpage-photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.subpage-photo-caption {
  padding: 0.85rem 1.15rem;
  background: var(--ip-navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  border-top: 2px solid var(--ip-red);
}

.subpage-section {
  padding: clamp(3rem, 5vw, 4.25rem) 0;
  border-bottom: 1px solid var(--ip-line);
}

.subpage-section.alt {
  background: var(--ip-smoke);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ip-line);
  border-left: 1px solid var(--ip-line);
  background: var(--ip-white);
  margin-top: 2rem;
}

.spec-cell {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--ip-line);
  border-bottom: 1px solid var(--ip-line);
}

.spec-cell h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ip-navy);
  margin-bottom: 0.5rem;
}

.spec-cell p {
  font-size: 0.9rem;
  color: var(--ip-muted);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 78ch;
}

.faq-item {
  background: var(--ip-white);
  border: 1px solid var(--ip-line);
  border-left: 3px solid var(--ip-navy);
  padding: 1.35rem 1.5rem;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ip-navy);
  margin-bottom: 0.45rem;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--ip-muted);
  line-height: 1.6;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ip-white);
  border: 1px solid var(--ip-line);
  padding: 1.5rem;
  transition: border-color 0.2s var(--ip-ease), background-color 0.2s var(--ip-ease);
}

.related-card:hover {
  border-color: var(--ip-navy);
  background: var(--ip-smoke);
}

.related-card strong {
  font-family: var(--font-display);
  color: var(--ip-navy);
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
  display: block;
}

.related-card span {
  font-size: 0.86rem;
  color: var(--ip-muted);
  line-height: 1.5;
  display: block;
  margin-bottom: 1rem;
}

.related-card em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ip-red);
}

@media (max-width: 968px) {
  .subpage-hero-grid,
  .spec-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}
