/* Page « Cartouches d'impression » (catégorie 4) et moteur intégré aux autres pages — 0.4.0 */
.jp-category-hub { max-width: 1180px; margin: 8px auto 56px; font-size: 1rem; }
.jp-finder-placement > h2 { margin: 0 0 12px; color: inherit; font-size: 22px; font-weight: 800; }
.jp-category-hub .jp-finder { margin: 10px 0 32px; max-width: none; color: inherit; }
.jp-category-hub .jp-finder [hidden] { display: none; }
.jp-category-hub .jp-finder-hub { margin: 0 0 8px; }

/* Placements compacts (catégories, marques) : champs et cartes plus serrés */
.jp-finder-placement .jp-finder-embedded .jp-finder-form,
.jp-finder-placement .jp-finder-embedded .jp-reference-form { padding: 20px 22px; }
.jp-finder-placement .jp-finder-embedded .jp-finder-form h2,
.jp-finder-placement .jp-finder-embedded .jp-finder-form h3,
.jp-finder-placement .jp-finder-embedded .jp-reference-form h2,
.jp-finder-placement .jp-finder-embedded .jp-reference-form h3 { font-size: 18px; }
.jp-finder-placement .jp-finder .jp-engine .jp-printer-request summary { padding: 14px 22px; }
.jp-finder-placement .jp-finder .jp-engine .jp-request-form { padding: 4px 22px 22px; }
.jp-finder-placement .jp-finder .jp-results-heading { margin-top: 28px; }
.jp-finder-placement .jp-finder .jp-results-heading h2 { font-size: 26px; }

/* Sections de la page catégorie */
.jp-hub-page h2 { margin: 0; color: var(--jp-navy); font-size: clamp(24px, 3vw, 30px); font-weight: 800; line-height: 1.2; }
.jp-hub-band { margin-top: 56px; padding: 56px 32px; border-radius: 16px; background: #F5F6FB; }
.jp-hub-band-inner { max-width: 1116px; margin: 0 auto; }
.jp-hub-lead { max-width: 720px; margin: 8px 0 32px; color: var(--jp-muted); font-size: 16px; line-height: 1.6; }
.jp-hub-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jp-hub-options article { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 32px; border: 1px solid var(--jp-line); border-radius: 12px; background: #fff; }
.jp-hub-options h3 { margin: 0; color: var(--jp-navy); font-size: 22px; font-weight: 800; line-height: 1.3; }
.jp-hub-options p { margin: 0; color: var(--jp-muted); font-size: 15px; line-height: 1.65; }
.jp-hub-checks { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.jp-hub-checks li { display: flex; align-items: flex-start; gap: 10px; }
.jp-hub-checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232D2C78' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M4 12.5l5 5L20 6.5'/></svg>") no-repeat center; }
.jp-hub-more { margin-top: 6px; color: var(--jp-blue); font-size: 15px; font-weight: 700; text-underline-offset: .18em; }

.jp-hub-section { margin-top: 64px; }
.jp-hub-catalog h2 { margin-bottom: 28px; }
.jp-hub-catalog ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.jp-hub-catalog a { display: flex; flex-direction: column; gap: 16px; min-height: 44px; height: 100%; padding: 24px 20px; border: 1px solid var(--jp-line); border-radius: 12px; color: var(--jp-navy); text-decoration: none; box-sizing: border-box; }
.jp-hub-catalog a:hover { border-color: var(--jp-blue); }
.jp-hub-catalog strong { font-size: 16px; line-height: 1.3; }
.jp-tile-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; }
.jp-tile-navy { background: var(--jp-navy); color: var(--jp-yellow); }
.jp-tile-yellow { background: var(--jp-yellow); color: var(--jp-navy); }
.jp-tile-cta { margin-top: auto; color: var(--jp-blue); font-size: 14px; font-weight: 600; }

.jp-hub-help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 56px; }
.jp-hub-help-intro { display: flex; flex-direction: column; gap: 14px; }
.jp-hub-help-intro p { margin: 0; color: var(--jp-muted); font-size: 16px; line-height: 1.65; }
.jp-hub-faq details { border-bottom: 1px solid var(--jp-line); }
.jp-hub-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 20px 4px; font-size: 17px; font-weight: 700; list-style: none; cursor: pointer; }
.jp-hub-faq summary::-webkit-details-marker { display: none; }
.jp-hub-faq summary::after { content: ""; flex: none; width: 20px; height: 20px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2318183F' stroke-width='2.4' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>") no-repeat center; transition: transform .15s; }
.jp-hub-faq details[open] summary::after { transform: rotate(180deg); }
.jp-hub-faq p { margin: 0; padding: 0 4px 22px; color: var(--jp-muted); font-size: 15px; line-height: 1.65; }

.jp-hub-contact { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 72px; padding: 40px 48px; border-radius: 16px; background: var(--jp-navy); color: #fff; }
.jp-hub-contact h2 { color: #fff; font-size: 26px; }
.jp-hub-contact p { max-width: 640px; margin: 8px 0 0; color: var(--jp-line); font-size: 16px; line-height: 1.6; }
.jp-hub-contact-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.jp-hub-contact-actions a { color: #fff; font-size: 14px; font-weight: 600; }
.jp-hub-contact-actions a.jp-hub-phone { padding: 14px 26px; border-radius: 10px; background: var(--jp-yellow); color: var(--jp-navy); font-size: 18px; font-weight: 800; text-decoration: none; }

@media (max-width: 991px) {
  .jp-hub-catalog ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jp-hub-help { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  .jp-hub-band { padding: 32px 18px; }
  .jp-hub-options { grid-template-columns: 1fr; }
  .jp-hub-options article { padding: 24px; }
  .jp-hub-catalog ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jp-hub-contact { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .jp-hub-contact-actions { align-items: flex-start; }
}
@media (max-width: 480px) {
  .jp-hub-catalog ul { grid-template-columns: 1fr; }
}
