/* ProPrint Conseils — mêmes tokens que le configurateur ProPrint (configurator.css) */
.ppc-wrap {
  --ppq-accent: #0f766e;
  --ppq-accent-strong: #0b5c55;
  --ppq-border: #e2e8f0;
  --ppq-bg: #ffffff;
  --ppq-muted: #64748b;
  --ppc-text: #0f172a;
  --ppc-soft: #f8fafc;
}
.ppc-wrap { max-width: 860px; margin: 0 auto; padding: 2rem 1.25rem 3rem; color: var(--ppc-text); line-height: 1.6; }
.ppc-breadcrumb { font-size: 0.85rem; color: var(--ppq-muted); margin-bottom: 1.25rem; }
.ppc-breadcrumb a { color: var(--ppq-muted); text-decoration: none; }
.ppc-breadcrumb a:hover, .ppc-breadcrumb a:focus-visible { color: var(--ppq-accent); text-decoration: underline; }
.ppc-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.2; margin: 0 0 0.6rem; }
.ppc-question { font-size: 1.1rem; color: var(--ppq-muted); margin: 0 0 0.4rem; }
.ppc-meta { font-size: 0.85rem; color: var(--ppq-muted); margin: 0 0 1.5rem; }
.ppc-hero img { width: 100%; height: auto; border-radius: 14px; display: block; }
.ppc-hero { margin: 0 0 1.5rem; }
.ppc-content h2 { font-size: 1.45rem; margin: 2.2rem 0 0.8rem; line-height: 1.25; }
.ppc-content h3 { font-size: 1.15rem; margin: 1.6rem 0 0.6rem; }
.ppc-content p, .ppc-content ul, .ppc-content ol { margin: 0 0 1rem; }
.ppc-content a { color: var(--ppq-accent); }
.ppc-content a:hover, .ppc-content a:focus-visible { color: var(--ppq-accent-strong); }
.ppc-content img { max-width: 100%; height: auto; }

/* Encadré conseil (hors blocs dynamiques) */
.ppc-content .ppc-note { background: var(--ppc-soft); border-left: 4px solid var(--ppq-accent); padding: 0.9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.2rem 0; }

/* Tableaux */
.ppc-table { width: 100%; border-collapse: collapse; margin: 1rem 0 0.4rem; font-size: 0.95rem; background: var(--ppq-bg); }
.ppc-table caption { caption-side: top; text-align: left; font-weight: 600; margin-bottom: 0.5rem; }
.ppc-table th, .ppc-table td { border: 1px solid var(--ppq-border); padding: 0.6rem 0.7rem; text-align: left; vertical-align: top; }
.ppc-table thead th { background: var(--ppc-soft); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ppq-muted); }
.ppc-table tbody th { font-weight: 600; }
.ppc-price-table td { text-align: right; white-space: nowrap; }
.ppc-price-table thead th:not(:first-child) { text-align: right; }
.ppc-prices { overflow-x: auto; margin: 1.2rem 0; }
.ppc-price { color: var(--ppq-accent-strong); font-weight: 700; text-decoration: none; }
.ppc-price:hover, .ppc-price:focus-visible { text-decoration: underline; }
.ppc-cell-stale .ppc-price::after { content: ' *'; color: var(--ppq-muted); font-weight: 400; }
.ppc-cell-empty { color: var(--ppq-muted); }
.ppc-prices-note { font-size: 0.82rem; color: var(--ppq-muted); margin: 0.3rem 0 0; }
.ppc-link { color: var(--ppq-accent); font-weight: 600; text-decoration: none; }
.ppc-link:hover, .ppc-link:focus-visible { text-decoration: underline; }

/* Options (papiers, finitions) */
.ppc-options { margin: 1.2rem 0; }
.ppc-options-title { font-size: 1.15rem; margin: 0 0 0.8rem; }
.ppc-options-cards .ppc-options-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.9rem; }
.ppc-option { border: 1px solid var(--ppq-border); border-radius: 12px; padding: 1rem 1.1rem; background: var(--ppq-bg); }
.ppc-option-name { font-size: 1rem; margin: 0 0 0.5rem; }
.ppc-option-info { font-size: 0.9rem; color: #334155; }
.ppc-option-info p { margin: 0 0 0.6rem; }
.ppc-option-chars { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.ppc-option-chars li { font-size: 0.75rem; background: var(--ppc-soft); border: 1px solid var(--ppq-border); border-radius: 999px; padding: 0.15rem 0.6rem; color: var(--ppq-muted); }
.ppc-options-list .ppc-options-items { padding-left: 1.2rem; }
.ppc-options-list .ppc-option { border: 0; padding: 0 0 0.6rem; }

/* CTA */
.ppc-cta { margin: 1.6rem 0; text-align: center; }
.ppc-button { display: inline-block; background: var(--ppq-accent); color: #fff !important; font-weight: 600; padding: 0.8rem 1.4rem; border-radius: 10px; text-decoration: none !important; transition: background-color .18s ease, box-shadow .18s ease; }
.ppc-button:hover { background: var(--ppq-accent-strong); }
.ppc-button:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.3); }
.ppc-button.ppc-disabled { background: var(--ppq-muted); cursor: not-allowed; }
.ppc-cta-sub { font-size: 0.85rem; color: var(--ppq-muted); margin: 0.5rem 0 0; }

/* FAQ */
.ppc-faq { margin: 2.2rem 0 1rem; }
.ppc-faq-title { font-size: 1.45rem; margin: 0 0 0.8rem; }
.ppc-faq-item { border: 1px solid var(--ppq-border); border-radius: 10px; padding: 0.4rem 1rem; margin: 0 0 0.6rem; background: var(--ppq-bg); }
.ppc-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ppc-faq-item summary::-webkit-details-marker { display: none; }
.ppc-faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--ppq-accent); flex: none; }
.ppc-faq-item[open] summary::after { content: '–'; }
.ppc-faq-q { font-size: 1rem; margin: 0.4rem 0; font-weight: 600; }
.ppc-faq-a { padding: 0.2rem 0 0.6rem; font-size: 0.95rem; }

/* Produits */
.ppc-products { margin: 1.5rem 0; }
.ppc-products-title { font-size: 1.15rem; margin: 0 0 0.8rem; }
.ppc-products-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.9rem; }
.ppc-product a { display: block; border: 1px solid var(--ppq-border); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; background: var(--ppq-bg); transition: box-shadow .18s ease; }
.ppc-product a:hover, .ppc-product a:focus-visible { box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08); }
.ppc-product img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ppc-product-title { display: block; padding: 0.7rem 0.8rem; font-weight: 600; font-size: 0.92rem; }
.ppc-product-note { display: block; padding: 0 0.8rem 0.7rem; font-size: 0.8rem; color: var(--ppq-muted); }

/* Autres conseils / archive */
.ppc-more { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--ppq-border); }
.ppc-more h2 { font-size: 1.15rem; margin: 0 0 0.6rem; }
.ppc-archive-header { margin-bottom: 1.5rem; }
.ppc-archive-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.ppc-card a { display: block; border: 1px solid var(--ppq-border); border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; background: var(--ppq-bg); height: 100%; transition: box-shadow .18s ease; }
.ppc-card a:hover, .ppc-card a:focus-visible { box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08); }
.ppc-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.ppc-card-title { font-size: 1.1rem; margin: 0.9rem 1rem 0.3rem; line-height: 1.3; }
.ppc-card-question, .ppc-card-excerpt { margin: 0 1rem 1rem; font-size: 0.9rem; color: var(--ppq-muted); }
.ppc-pagination { margin-top: 1.5rem; }

/* Lien-guide dans le résumé produit */
.ppc-guide { --ppq-accent: #0f766e; --ppq-accent-strong: #0b5c55; --ppq-border: #e2e8f0; --ppq-muted: #64748b; margin: 0.6rem 0 1rem; font-size: 0.92rem; line-height: 1.4; }
.ppc-guide-link { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem; border: 1px solid var(--ppq-border); border-radius: 10px; background: #f8fafc; color: #0f172a; text-decoration: none; transition: border-color .18s ease, background-color .18s ease; }
.ppc-guide-link:hover, .ppc-guide-link:focus-visible { border-color: var(--ppq-accent); background: #f0fdfa; color: #0f172a; text-decoration: none; }
.ppc-guide-icon { flex: none; color: var(--ppq-accent); }
.ppc-guide-text { flex: 1; min-width: 0; }
.ppc-guide-kicker { color: var(--ppq-muted); }
.ppc-guide-arrow { flex: none; color: var(--ppq-accent); font-weight: 700; transition: transform .18s ease; }
.ppc-guide-link:hover .ppc-guide-arrow { transform: translateX(3px); }
.ppc-guide-more { margin: 0.35rem 0 0 0.9rem; font-size: 0.85rem; color: var(--ppq-muted); }
.ppc-guide-more summary { cursor: pointer; }
.ppc-guide-more ul { margin: 0.3rem 0 0; padding-left: 1.1rem; }
.ppc-guide-more a { color: var(--ppq-accent); }

@media (max-width: 600px) {
  .ppc-wrap { padding: 1.2rem 0.9rem 2rem; }
  .ppc-table { font-size: 0.88rem; }
  .ppc-table th, .ppc-table td { padding: 0.5rem; }
}
@media (prefers-color-scheme: dark) {
  .ppc-wrap { --ppq-bg: #0b1220; --ppq-border: #1e293b; --ppc-text: #e2e8f0; --ppc-soft: #111a2b; --ppq-muted: #94a3b8; }
  .ppc-option-info { color: #cbd5e1; }
}
