/* ===== Pages intérieures : catégorie, fiche produit, actualités, blog =====
   S'appuie sur les variables et composants de styles.css. */

/* ----- Fil d'Ariane et en-têtes de page ----- */
.crumbs { padding: 20px 0 0; font-size: .88rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.page-head { padding: 32px 0 64px; }
.page-head__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
.page-head__lead { font-size: 1.1rem; margin-top: 20px; max-width: 56ch; }
.page-head__points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-family: var(--font-ui); font-weight: 500; color: var(--ink); }
.page-head__points li { display: flex; align-items: center; gap: 8px; }
.page-head__points .ic { color: var(--green); stroke-width: 2.6; }
.page-head__media { position: relative; }
.page-head__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.page-head__tape { position: absolute; left: -18px; bottom: 28px; height: 46px; padding: 0 22px; display: flex; align-items: center; background: var(--green); color: #fff; font-family: var(--font-ui); font-weight: 700; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; transform: rotate(-3deg); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .55); }
.page-head--plain { padding-bottom: 48px; }
.page-head--plain .page-head__lead { max-width: 64ch; }

/* ----- Barre de filtres ----- */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-block: 1px solid var(--line); margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: var(--font-ui); font-weight: 500; font-size: .9rem; color: var(--ink); transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--anthracite); border-color: var(--anthracite); color: #fff; }
.chip span { color: var(--muted); margin-left: 4px; }
.chip[aria-pressed="true"] span { color: rgba(255, 255, 255, .6); }
.sort { display: flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-size: .9rem; }
.sort select { min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-btn); font: inherit; background: #fff; color: var(--ink); }
.results-count { font-size: .9rem; color: var(--muted); margin: -16px 0 24px; }

/* ----- Cartes produits ----- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.pcard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.pcard:hover { border-color: #cfd5cc; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .35); }
.pcard__media { aspect-ratio: 1; background: #fff; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 24px; border-bottom: 1px solid var(--line); overflow: hidden; }
/* Photo toujours dans un carré : une photo plus haute que large ne décale plus le texte de la carte */
.pcard__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.pcard__type { font-family: var(--font-ui); font-size: .78rem; font-weight: 600; color: var(--green); }
.pcard h3 { font-size: 1.02rem; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard__spec { font-size: .88rem; color: var(--muted); }
.pcard__price { margin-top: auto; padding-top: 12px; font-family: var(--font-ui); color: var(--ink); }
.pcard__price small { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; }
.pcard__price strong { font-size: 1.2rem; font-weight: 600; }
.pcard__badge { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-family: var(--font-ui); font-size: .75rem; font-weight: 600; }
.pcard[hidden] { display: none; }

/* ----- Guide d'épaisseur : l'élément signature des pages film ----- */
.guide { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--anthracite); color: var(--on-dark); }
.guide__input { padding: clamp(28px, 4vw, 48px); }
.guide__input h2, .guide__input h3 { color: #fff; }
.guide__input h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.guide__intro { margin: 12px 0 32px; max-width: 46ch; }
.guide__label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-ui); font-weight: 500; color: #fff; }
.guide__weight { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.guide__weight small { font-family: var(--font-ui); font-size: 1rem; color: var(--on-dark); margin-left: 4px; }
.guide input[type="range"] { width: 100%; margin: 18px 0 8px; accent-color: var(--green); height: 28px; cursor: pointer; }
.guide__scale { display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.guide__check { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; padding: 14px 16px; border-radius: var(--radius-btn); background: var(--anthracite-card); cursor: pointer; font-size: .92rem; }
.guide__check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
.guide__check strong { color: #fff; font-family: var(--font-ui); font-weight: 600; }
.guide__result { position: relative; padding: clamp(28px, 4vw, 48px); background: var(--green); color: #fff; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.guide__result::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .08); }
.guide__result p { color: rgba(255, 255, 255, .9); }
.guide__kicker { font-family: var(--font-ui); font-weight: 600; font-size: .9rem; }
.guide__micron { font-family: var(--font-display); font-size: clamp(4rem, 9vw, 6.5rem); line-height: .9; color: #fff; }
.guide__micron span + span { font-size: .4em; margin-left: 6px; }
.guide__why { max-width: 42ch; }
.guide__layers { display: flex; gap: 6px; align-items: flex-end; height: 44px; }
.guide__layers i { width: 34px; border-radius: 3px 3px 0 0; background: rgba(255, 255, 255, .22); transition: background-color .3s, height .3s var(--ease); }
.guide__layers i.is-on { background: #fff; }
.guide__layers-legend { display: flex; gap: 6px; font-family: var(--font-ui); font-size: .72rem; color: rgba(255, 255, 255, .75); }
.guide__layers-legend span { width: 34px; text-align: center; }
.guide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: auto; padding-top: 8px; }
.guide__price { font-family: var(--font-ui); font-size: .95rem; }
.guide__price strong { font-size: 1.15rem; }
.guide__tip { font-size: .85rem; color: rgba(255, 255, 255, .78); border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 14px; }
.guide__source { margin-top: 16px; font-size: .8rem; color: rgba(255, 255, 255, .5); }
.guide__source a { text-decoration: underline; text-underline-offset: 3px; }

/* ----- Comparatif manuel / machine ----- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare__col { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); }
.compare__col h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 6px; }
.compare__for { font-family: var(--font-ui); font-weight: 500; color: var(--green); margin-bottom: 18px; }
.compare__col .checklist { margin-top: 18px; }

/* ----- Encart article lié ----- */
.related-post { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--tint); }
.related-post img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-btn); }
.related-post h3 { font-family: var(--font-display); font-size: 1.6rem; margin: 6px 0 10px; }
.related-post p { margin-bottom: 18px; }

/* ----- Fiche produit ----- */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding: 32px 0 80px; }
.gallery { position: sticky; top: calc(var(--header-h) + 24px); display: grid; grid-template-columns: 76px 1fr; gap: 16px; }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; }
.gallery__thumbs button { aspect-ratio: 1; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius-btn); background: #fff; }
.gallery__thumbs button[aria-pressed="true"] { border-color: var(--green); box-shadow: 0 0 0 2px var(--green); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery__main { aspect-ratio: 1; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.gallery__main:hover img { transform: scale(1.08); }
.product__type { font-family: var(--font-ui); font-weight: 600; color: var(--green); }
.product h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 8px 0 14px; }
.product__sku { font-size: .85rem; color: var(--muted); }
.product__lead { margin: 18px 0 28px; font-size: 1.05rem; }
.product__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 20px 0; border-block: 1px solid var(--line); }
.product__price strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--ink); }
.product__price span { font-size: .85rem; color: var(--muted); }
.product__price .product__tax { font-family: var(--font-ui); font-size: 1rem; font-weight: 600; color: var(--ink); margin-left: -6px; }
.product__price .product__ttc { font-family: var(--font-ui); font-size: .9rem; color: var(--muted); }
.product__price .product__unit { width: 100%; margin-top: -4px; font-family: var(--font-ui); font-size: .9rem; color: var(--ink); }
.buy__note { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.pcard__price small.pcard__ttc { margin-top: 2px; }
.variant { margin: 24px 0; border: 0; padding: 0; }
.variant legend { display: flex; justify-content: space-between; width: 100%; font-family: var(--font-ui); font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.variant legend button { background: none; border: 0; font: inherit; font-weight: 500; font-size: .9rem; color: var(--green); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.variant__options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.variant__options label { position: relative; display: grid; gap: 2px; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius-btn); text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.variant__options input { position: absolute; opacity: 0; pointer-events: none; }
.variant__options strong { font-family: var(--font-ui); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.variant__options span { font-size: .8rem; color: var(--muted); }
.variant__options label:hover { border-color: var(--green); }
.variant__options input:checked + strong, .variant__options label:has(input:checked) strong { color: var(--green); }
.variant__options label:has(input:checked) { border-color: var(--green); background: #f3f9f2; box-shadow: 0 0 0 1px var(--green); }
.variant__options label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.variant__options label.is-recommended::after { content: "Conseillé"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); padding: 1px 8px; border-radius: 999px; background: var(--gold); color: var(--ink); font-family: var(--font-ui); font-size: .68rem; font-weight: 600; white-space: nowrap; }
.buy { display: flex; gap: 12px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-btn); }
.qty button { width: 46px; height: 52px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); }
.qty button:hover { color: var(--green); }
.qty input { width: 48px; height: 52px; border: 0; text-align: center; font: inherit; font-family: var(--font-ui); font-weight: 600; font-size: 1rem; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy .btn { flex: 1; }
.reassure { display: grid; gap: 14px; margin-top: 28px; padding: 22px; border-radius: var(--radius); background: var(--tint); }
.reassure li { display: flex; gap: 12px; font-size: .93rem; }
.reassure .ic { color: var(--green); width: 22px; height: 22px; margin-top: 1px; }
.reassure strong { font-family: var(--font-ui); font-weight: 600; color: var(--ink); }
.guide-inline .guide { margin-top: 20px; grid-template-columns: 1fr; }
.guide-inline .guide__input, .guide-inline .guide__result { padding: 24px; }
.guide-inline .guide__micron { font-size: 3.6rem; }

.specs { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 80px); }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 1.9rem; margin-bottom: 18px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-family: var(--font-ui); font-weight: 600; color: var(--ink); width: 45%; padding-right: 16px; }
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tip { padding-top: 20px; border-top: 3px solid var(--green); }
.tip h3 { margin-bottom: 8px; }
.tip p { font-size: .95rem; }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .4); transform: translateY(110%); transition: transform .3s var(--ease); }
.buybar.is-visible { transform: none; }
.buybar__info { flex: 1; min-width: 0; font-family: var(--font-ui); font-size: .85rem; line-height: 1.3; }
.buybar__info strong { display: block; font-size: 1.05rem; color: var(--ink); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 20px; border-radius: var(--radius); background: var(--anthracite); color: #fff; box-shadow: var(--shadow); transform: translate(-50%, 140%); transition: transform .35s var(--ease); max-width: calc(100% - 32px); }
.toast.is-visible { transform: translate(-50%, 0); }
.toast .ic { color: var(--green-light); width: 22px; height: 22px; }
.toast button { background: none; border: 0; color: var(--gold); font: inherit; font-family: var(--font-ui); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* ----- Actualités : frise par année ----- */
.news-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--anthracite); color: var(--on-dark); margin-bottom: 72px; }
.news-feature img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.news-feature__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.news-feature h2 { color: #fff; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.news-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-family: var(--font-ui); font-size: .78rem; font-weight: 600; background: var(--tint); color: var(--ink); }
.news-tag--sponsor { background: #e6f3e4; color: var(--green-dark); }
.news-tag--rencontre { background: #fbefd6; color: #7a5410; }
.news-feature .news-tag { background: var(--gold); color: var(--ink); }
.timeline { display: grid; gap: 64px; }
.year { display: grid; grid-template-columns: 160px 1fr; gap: 32px; }
.year__label { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: var(--green); }
.year__label span { display: block; font-family: var(--font-ui); font-size: .85rem; color: var(--muted); margin-top: 8px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: #fff; }
.news-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--tint); }
/* Actualité sans photo : couverture aux couleurs du site, en attendant la photo */
/* Affiche verticale : montrée en entier plutôt que recadrée */
.news-card img.is-poster { object-fit: contain; background: #10131a; }
.news-card p.news-card__credit { font-size: .78rem; color: var(--muted); }
/* Photo verticale : on garde le bas de l'image (les personnes) plutôt que le plafond */
.news-card img.is-low { object-position: 50% 70%; }
.news-card__cover { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; aspect-ratio: 1; padding: 24px; background: linear-gradient(150deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; }
.news-card__cover .ic { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.6; opacity: .9; }
.news-card__cover span { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; }
.news-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.news-card h3 { font-family: var(--font-display); font-size: 1.3rem; }
.news-card p { font-size: .93rem; }
.news-card[hidden], .year[hidden] { display: none; }

/* ----- Blog ----- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.post-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.post-card__meta { display: flex; gap: 14px; align-items: center; font-size: .85rem; color: var(--muted); }
.post-card h2, .post-card h3 { font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; }
.post-card h2 a::after, .post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h2, .post-card:hover h3 { color: var(--green); }
.post-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.post-card--lead h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }

/* ----- Article ----- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--green); transform-origin: left; transform: scaleX(0); }
.article-head { max-width: 860px; margin: 0 auto; padding: 32px 0 40px; text-align: left; }
.article-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 14px 0 20px; }
.article-head__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--muted); }
.article-cover { max-width: 1100px; margin: 0 auto 56px; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.article { display: grid; grid-template-columns: 220px minmax(0, 700px); gap: 64px; justify-content: center; padding-bottom: 80px; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .9rem; }
.toc p { font-family: var(--font-ui); font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.toc ol { display: grid; gap: 4px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.toc a.is-current { color: var(--green); border-color: var(--green); }
.article-body { font-size: 1.1rem; line-height: 1.75; color: #444; }
.article-body > p:first-child { font-size: 1.25rem; line-height: 1.6; color: var(--ink); }
.article-body h2 { font-size: 2rem; margin: 56px 0 18px; scroll-margin-top: calc(var(--header-h) + 24px); }
.article-body h3 { font-size: 1.15rem; margin: 32px 0 12px; }
.article-body p + p { margin-top: 18px; }
.article-body ul { margin: 16px 0; display: grid; gap: 10px; }
.article-body ul li { position: relative; padding-left: 26px; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.article-body ul.is-wrong li::before { background: #c0392b; }
.callout { margin: 28px 0; padding: 22px 24px; border-radius: var(--radius); background: var(--tint); border-left: 4px solid var(--gold); font-size: 1rem; }
.callout strong { font-family: var(--font-ui); color: var(--ink); }
.ttable { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .95rem; }
.ttable th, .ttable td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.ttable thead th { font-family: var(--font-ui); font-weight: 600; color: #fff; background: var(--anthracite); }
.ttable tbody th { font-family: var(--font-ui); font-weight: 600; color: var(--ink); }
.article-cta { margin-top: 56px; padding: 32px; border-radius: var(--radius); background: var(--green); color: #fff; }
.article-cta h2 { color: #fff; margin: 0 0 10px; font-size: 1.8rem; }
.article-cta p { color: rgba(255, 255, 255, .9); margin-bottom: 20px; }
.article-cta .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.mt-section { margin-top: clamp(64px, 8vw, 104px); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 28px; }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .page-head__grid, .guide, .specs, .compare, .news-feature, .post-card--lead { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .tips { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: minmax(0, 700px); }
  .toc { display: none; }
  .year { grid-template-columns: 1fr; gap: 16px; }
  .year__label { position: static; font-size: 2.6rem; }
  .news-feature img { aspect-ratio: 16 / 10; }
  .related-post { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .page-head { padding-bottom: 40px; }
  .page-head__tape { left: 12px; }
  .filters { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .chip { flex-shrink: 0; }
  .products { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pcard__media { padding: 14px; }
  .pcard__body { padding: 14px; }
  .pcard h3 { font-size: .95rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; }
  .gallery__main { padding: 24px; }
  .variant__options { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .tips { grid-template-columns: 1fr; }
  .buybar { display: flex; }
  .toast { bottom: 90px; }
  .posts { grid-template-columns: 1fr; }
  .article-body { font-size: 1.04rem; }
  .article-cover img { aspect-ratio: 16 / 10; border-radius: 0; }
  .article-cover { margin-inline: -20px; }
  .ttable { display: block; overflow-x: auto; }
}
.guide-inline .guide__input h2 { font-size: 1.5rem; }
.guide-inline .guide__intro { margin: 8px 0 20px; }
.guide-inline .guide::before { display: none; }
.post-card__product { aspect-ratio: 4 / 3 !important; object-fit: contain !important; background: var(--tint); padding: 24px; }
.post-card--suggest { justify-content: center; padding: 32px; border-radius: var(--radius); background: var(--tint); }
.post-card--suggest .btn { align-self: flex-start; }
.year__count { font-family: var(--font-ui); }
/* Correctifs mobile : les éléments de grille et de flex ne dépassent jamais l'écran */
.filters > *, .product > *, .specs > *, .page-head__grid > * { min-width: 0; }
.gallery { grid-template-columns: 76px minmax(0, 1fr); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .chips { max-width: calc(100% + 40px); }
}
.buy .btn { min-width: 0; white-space: normal; }
@media (max-width: 760px) { .buy .btn { padding-inline: 14px; } }

/* ----- Pages générées (familles, fiches) ----- */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; aspect-ratio: 4 / 3.4; }
.mosaic > span:not(.page-head__tape) { display: grid; place-items: center; padding: 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.mosaic img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mosaic .page-head__tape { position: absolute; }
.filters--simple { justify-content: flex-end; }
.pcard__badge--muted { background: var(--tint); color: var(--muted); }
.pcard__noimg { font-size: .85rem; color: var(--muted); }
.family-note p { max-width: 70ch; font-size: 1.05rem; }
.product__tagline { font-family: var(--font-ui); font-weight: 500; color: var(--text); margin: -6px 0 8px; }
.product__lead p + p { margin-top: 8px; }
.product__price small { width: 100%; font-family: var(--font-ui); font-size: .85rem; color: var(--muted); margin-bottom: -6px; }
.stock { margin-left: auto; padding: 4px 12px; border-radius: 999px; font-family: var(--font-ui); font-size: .82rem; font-weight: 600; }
.stock--in { background: #e6f3e4; color: var(--green-dark); }
.stock--out { background: #fbefd6; color: #7a5410; }
.variant__label { display: block; font-family: var(--font-ui); font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.variant__select { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-btn); font: inherit; background: #fff; color: var(--ink); }
.variant__select:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.variant__options--auto { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.variant__options label.is-unavailable { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.variant__error { color: #b42318; font-size: .92rem; margin: -8px 0 12px; }
.variant__error:empty { display: none; }
.gallery--single { grid-template-columns: minmax(0, 1fr); }
.prose ul { margin: 12px 0; display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.prose h3 { font-size: 1.1rem; margin: 20px 0 8px; }
@media (max-width: 760px) { .mosaic { aspect-ratio: auto; } }
@media (max-width: 760px) { .gallery__thumbs { overflow-x: auto; scrollbar-width: none; padding: 2px; } }

/* ----- Pages univers (Emballages industriels, EPI) ----- */
.univ-head { padding-bottom: 72px; }
.univ-head h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 14ch; }
.univ-head__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 28px; font-family: var(--font-ui); color: var(--text); }
.univ-head__stats strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); margin-right: 4px; }
.univ-head__stats span { width: 1px; height: 22px; background: var(--line); }
.univ-tape { position: relative; height: 0; margin-bottom: 88px; }
.univ-tape .tape__strip { top: -34px; }
.fam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fam-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.fam-card:hover { border-color: #cfd5cc; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .35); }
.fam-card__visual { position: relative; height: 190px; background: var(--tint); display: flex; justify-content: center; align-items: center; }
.fam-card__visual span { width: 34%; aspect-ratio: 1; margin: 0 -4%; display: grid; place-items: center; padding: 10px; background: #fff; border-radius: var(--radius-btn); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); transition: transform .35s var(--ease); }
.fam-card__visual span:nth-child(1) { transform: rotate(-7deg) translateY(8px); }
.fam-card__visual span:nth-child(2) { transform: translateY(-6px); z-index: 1; }
.fam-card__visual span:nth-child(3) { transform: rotate(7deg) translateY(8px); }
.fam-card:hover .fam-card__visual span:nth-child(1) { transform: rotate(-10deg) translate(-8px, 6px); }
.fam-card:hover .fam-card__visual span:nth-child(3) { transform: rotate(10deg) translate(8px, 6px); }
.fam-card__visual img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fam-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.fam-card h2 { font-size: 1.5rem; line-height: 1.2; }
.fam-card h2 a::after { content: ""; position: absolute; inset: 0; }
.fam-card:hover h2 { color: var(--green); }
.fam-card__count { font-family: var(--font-ui); font-weight: 600; font-size: .85rem; color: var(--green); }
.fam-card__blurb { font-size: .93rem; }
.fam-card__subs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.fam-card__subs a { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--tint); font-family: var(--font-ui); font-size: .8rem; color: var(--ink); transition: background-color .2s, color .2s; }
.fam-card__subs a:hover { background: var(--green); color: #fff; }
.fam-grid__feature { display: flex; }
.fam-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; width: 100%; min-height: 320px; padding: 28px; border-radius: var(--radius); background: var(--tint); overflow: hidden; }
.fam-feature .mega__tape { top: 56px; }
.fam-feature strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); }
.fam-feature--dark { background: var(--anthracite); color: var(--on-dark); }
.fam-feature--dark strong { color: #fff; }
.univ-other { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); }
.univ-other h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.univ-other h2 a:hover { color: var(--green); }
.univ-other p:last-child { max-width: 70ch; color: var(--muted); }
.univ-help { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--green); color: rgba(255, 255, 255, .9); }
.univ-help h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.univ-help p { max-width: 52ch; }
.univ-help__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.univ-help .btn--primary { background: var(--anthracite); }
.univ-help .btn--primary:hover { background: var(--anthracite-deep); }
@media (max-width: 1024px) { .fam-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .fam-grid { grid-template-columns: 1fr; }
  .univ-tape { margin-bottom: 64px; }
  .univ-tape .tape__strip { top: -26px; }
  .univ-other, .univ-help { padding: 24px; }
}
/* Options générées : boutons à la largeur de leur texte, sur une ligne (dimensions, formats…) */
.variant__options--auto { display: flex; flex-wrap: wrap; gap: 8px; }
.variant__options--auto label { min-width: 64px; padding: 11px 16px; white-space: nowrap; }
.variant__options--auto strong { font-size: .98rem; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .variant__options--auto label { white-space: normal; max-width: 100%; } }
.related-more { margin-top: 24px; }
.article-cover--products { position: relative; }
.article-cover--products > div { display: flex; justify-content: center; align-items: center; gap: clamp(12px, 3vw, 32px); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--tint); aspect-ratio: 21 / 7; }
.article-cover--products > div span { flex: 0 1 200px; aspect-ratio: 1; display: grid; place-items: center; padding: 16px; border-radius: var(--radius); background: #fff; box-shadow: 0 16px 32px -20px rgba(0, 0, 0, .45); }
.article-cover--products > div span:nth-child(odd) { transform: rotate(-3deg); }
.article-cover--products > div span:nth-child(even) { transform: rotate(3deg) translateY(10px); }
.article-cover--products img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.article-cover--products .page-head__tape { left: 4%; bottom: -14px; }
@media (max-width: 760px) {
  .article-cover--products { margin-inline: 0; }
  .article-cover--products > div { aspect-ratio: auto; gap: 10px; padding: 20px 14px; }
  .article-cover--products > div span { padding: 8px; }
}
.related-post--text { grid-template-columns: 1fr; border-left: 4px solid var(--green); }
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.guides .related-post h3 { font-size: 1.35rem; }
.article-cta .btn { white-space: normal; text-align: center; max-width: 100%; }
/* Option disponible avec d'autres choix : estompée mais cliquable (les options liées s'adaptent) */
.variant__options label.is-unavailable { opacity: .55; cursor: pointer; text-decoration: none; border-style: dashed; }
.variant__options label.is-unavailable:hover { opacity: 1; }

/* Produits de marque : normes, avantages, documents */
.product__brand { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 600; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list span { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; }
.norms__summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px 0 20px; font-size: 1.1rem; color: var(--ink); }
.norms__badge { padding: 6px 14px; border-radius: 6px; background: var(--green); color: #fff; font-family: var(--font-ui); font-weight: 700; letter-spacing: .02em; }
.norms__list + .norms__summary { margin-top: 24px; }
.norms__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 10px; }
.norms__list li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.norms__list .ic { flex: none; width: 20px; height: 20px; margin-top: 2px; stroke: var(--green); stroke-width: 3; fill: none; }
.norms__list div { flex: 1; min-width: 0; }
.norms__list strong { display: block; font-family: var(--font-ui); color: var(--ink); }
.norms__list span { display: block; font-size: .9rem; color: var(--muted); }
.norms__list meter { display: block; width: 100%; height: 8px; margin-top: 6px; }
.norms__list small { flex: none; padding: 2px 6px; border-radius: 4px; background: rgba(12, 128, 3, .08); font-family: var(--font-ui); font-size: .72rem; font-weight: 700; color: var(--green); }
.norms__note { margin-top: 14px; font-size: .85rem; color: var(--muted); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.features-grid li { padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.features-grid h3 { font-size: 1rem; margin-bottom: 6px; }
.features-grid p { font-size: .92rem; }
.docs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.docs-list a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.docs-list a:hover { border-color: var(--green); }
.docs-list .ic { flex: none; width: 22px; height: 22px; color: var(--green); }
.docs-list small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.docs-note { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.pcard__brand { margin-right: 6px; color: var(--ink); font-weight: 700; }
.pcard__brand::after { content: " ·"; font-weight: 400; color: var(--muted); }

.no-results { padding: 32px 0; text-align: center; color: var(--muted); }
.norms__list li.is-off { opacity: .55; }
.norms__list li.is-off .ic { visibility: hidden; }

/* Adhésif personnalisé : aperçu du ruban imprimé sur un carton */
.page-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tape-studio { display: grid; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--tint); }
.tape-studio__box { position: relative; height: 210px; border-radius: 8px; background: linear-gradient(180deg, #d8b98e 0%, #caa577 100%); overflow: hidden; box-shadow: inset 0 -12px 24px -14px rgba(0, 0, 0, .35); }
.tape-studio__flap { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: rgba(0, 0, 0, .18); }
.tape-studio__tape { position: absolute; left: -10%; right: -10%; top: calc(50% - 30px); height: 60px; display: flex; align-items: center; overflow: hidden; transform: rotate(-2deg); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .55); transition: background .2s; }
.tape-studio__tape[data-tape="havane"] { background: #8e5d2c; }
.tape-studio__tape[data-tape="blanc"] { background: #f7f7f4; }
.tape-studio__tape[data-tape="kraft"] { background: repeating-linear-gradient(90deg, #b48650 0 3px, #ad7f4a 3px 6px); }
.tape-studio__print { display: flex; gap: 48px; padding-left: 24px; white-space: nowrap; font-family: var(--font-ui); font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; }
.tape-studio__tape[data-ink="noir"] { color: #1e1e1e; }
.tape-studio__tape[data-ink="rouge"] { color: #c62828; }
.tape-studio__tape[data-ink="bleu"] { color: #1f4fa3; }
.tape-studio__tape[data-ink="vert"] { color: var(--green); }
.tape-studio__controls { display: grid; gap: 14px; }
.tape-studio__text { display: grid; gap: 6px; font-family: var(--font-ui); font-weight: 600; font-size: .9rem; color: var(--ink); }
.tape-studio__text input { min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-btn); background: #fff; font: inherit; font-weight: 400; }
.tape-studio fieldset { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.tape-studio legend { width: 100%; margin-bottom: 6px; font-family: var(--font-ui); font-weight: 600; font-size: .9rem; color: var(--ink); }
.tape-studio fieldset label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .88rem; cursor: pointer; }
.tape-studio fieldset label:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.tape-studio fieldset input { position: absolute; opacity: 0; pointer-events: none; }
.tape-studio fieldset label:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.swatch--havane { background: #8e5d2c; } .swatch--blanc { background: #f7f7f4; } .swatch--kraft { background: #b48650; }
.swatch--noir { background: #1e1e1e; } .swatch--rouge { background: #c62828; } .swatch--bleu { background: #1f4fa3; } .swatch--vert { background: var(--green); }
.tape-studio__note { font-size: .82rem; color: var(--muted); }
.compare--3 { grid-template-columns: repeat(3, 1fr); }
.compare__more { margin-top: 18px; }
@media (max-width: 900px) { .compare--3 { grid-template-columns: 1fr; } }

/* Pages légales (mentions, CGV, livraison, confidentialité) */
.legal-head { padding: 24px 0 40px; max-width: 760px; }
.legal-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.legal-head p { font-size: 1.1rem; color: var(--text); margin-bottom: 20px; }
.legal h2 { font-size: 1.6rem; margin-top: 44px; }
.legal h2:first-child { margin-top: 0; }
.legal-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.legal-list div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal-list dt { font-family: var(--font-ui); font-weight: 600; font-size: .95rem; color: var(--ink); }
.legal-list dd { margin: 0; }
.legal-key { padding: 14px 18px; border-left: 3px solid var(--green); background: var(--tint); color: var(--ink); font-weight: 600; }
.legal-links { margin-top: 48px; font-size: .95rem; color: var(--muted); }
@media (max-width: 560px) { .legal-list div { grid-template-columns: 1fr; gap: 2px; } }
