/* ==========================================================================
   catalogue.css : le catalogue « Deuxième vie » (/nos-pc et les fiches /nos-pc/<modele>)
   Direction choisie par Toni le 24/11/2026 : l'étagère de l'atelier, l'étiquette de
   prix, le trajet de la machine jusqu'au client. Chargé APRÈS style.css, par ces pages
   seulement : il complète sa section 23 et réutilise .statut, .puces, .pc-filtre*,
   .specs-table, .config-note, .parcours et .btn. Le lien et son ?v= sont posés par
   outils/catalogue.py (empreinte du fichier : relancer le script après toute modification).
   Tout le balisage vient de outils/catalogue.py (sans <header> ni <footer> dans le contenu : le site
   les style globalement, collant pour l'un, fond noir pour l'autre). Téléphone d'abord ; deux colonnes
   dès 1000 px. Une seule couleur ajoutée : le fond exact des photos du catalogue.
   ========================================================================== */
:root { --dv-tapis: #f5f8ff; }

/* -- Statut « sur commande » : pastille creuse, pour ne pas la confondre avec le stock -- */
.statut--commande::before { background: var(--color-white); box-shadow: inset 0 0 0 2px var(--color-gray); }
.statut { align-items: baseline; line-height: 1.3; }
.statut::before { flex: none; transform: translateY(-1px); }

/* -- En-tête du catalogue -- */
.dv-hero { background: var(--color-primary-light); padding: 2.2rem 1rem 2.4rem; border-radius: 0 0 28px 28px; }
.dv-hero h1 { font-size: clamp(1.85rem, 6.2vw, 2.9rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.dv-chapo { margin-top: 0.9rem; font-size: 1.05rem; color: var(--color-gray-dark); max-width: 58ch; }
.dv-toni { margin-top: 1.4rem; display: grid; grid-template-columns: 60px 1fr; gap: 0.9rem; align-items: center; }
.dv-toni img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--color-white); }
.dv-toni figcaption { font-size: 0.95rem; line-height: 1.4; }
.dv-toni b { display: block; font-size: 0.86rem; color: var(--color-gray-dark); margin-top: 0.2rem; }
.dv-titre { font-size: clamp(1.45rem, 4.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; text-wrap: balance; }

/* -- Photo posée et étiquette de prix -- */
.dv-ph { display: block; position: relative; background: var(--dv-tapis); aspect-ratio: 1; border-radius: 20px; }
.dv-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; transition: transform 0.3s cubic-bezier(.2,.7,.2,1); }
.dv-lien { display: block; color: inherit; }
.dv-lien:hover { color: inherit; }
.dv-lien:hover h3 { color: var(--color-primary-dark); }
.dv-lien:hover .dv-ph img { transform: scale(1.04); }
.dv-lien h3 { font-size: 1rem; line-height: 1.25; margin-top: 0.55rem; color: var(--color-black); transition: color 0.2s; }
.dv-sp { display: block; font-size: 0.85rem; color: var(--color-gray); line-height: 1.35; margin: 0.15rem 0 0.35rem; }
.dv-etq { position: absolute; right: -4px; top: 10px; z-index: 1; filter: drop-shadow(0 2px 3px rgba(15,20,25,0.22)); transform: rotate(-4deg); transform-origin: 100% 50%; }
.dv-etq span { display: block; position: relative; padding: 0.4rem 0.6rem 0.4rem 1.45rem; background: var(--color-white); color: var(--color-black); font-size: 0.95rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%); }
.dv-etq span::before { content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--dv-tapis); box-shadow: inset 0 0 0 1.5px var(--color-gray); }
.dv-etq small { font-size: 0.7rem; font-weight: 600; margin-right: 0.3em; }
.dv-etq--stock span { background: var(--color-primary); color: var(--color-white); }
.dv-etq--stock span::before { background: var(--color-white); box-shadow: none; }

/* -- L'étagère : les machines en stock, posées sur une planche -- */
.dv-rayon { padding: 2rem 0 0.4rem; }
.dv-rayon-tete { padding: 0 1rem; }
.dv-rayon-tete p { color: var(--color-gray); margin-top: 0.25rem; }
.dv-rail { list-style: none; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 1rem; padding: 1.1rem 1rem 0.6rem; scrollbar-width: none; max-width: var(--max-width); margin: 0 auto; }
.dv-rail::-webkit-scrollbar { display: none; }
.dv-pose { flex: 0 0 min(68vw, 258px); scroll-snap-align: start; min-width: 0; }
.dv-pose .dv-ph { aspect-ratio: 1 / 0.9; border-radius: 22px 22px 4px 4px; margin-bottom: 22px; }
.dv-pose .dv-ph::after { content: ""; position: absolute; left: -7px; right: -7px; bottom: -10px; height: 10px; background: var(--color-black); } /* les segments se touchent : une seule planche */
.dv-pose:first-child .dv-ph::after { border-radius: 5px 0 0 5px; }
.dv-pose:last-child .dv-ph::after { border-radius: 0 5px 5px 0; }
.dv-pose .dv-etq span { font-size: 1.05rem; }
.dv-voir { display: inline-block; margin: 0.4rem 1rem 0; font-weight: 600; }

/* -- Le parcours guidé : trois questions, des règles affichées -- */
.dv-guide-zone { padding: 1.6rem 1rem 0; }
.dv-guide { max-width: var(--max-width); margin: 0 auto; background: var(--color-primary-light); border-radius: 28px; padding: 1.4rem 1.1rem; display: grid; gap: 1rem; }
.dv-guide[hidden] { display: none; }
.dv-guide-tete { display: grid; grid-template-columns: 46px 1fr; gap: 0.1rem 0.8rem; align-items: center; }
.dv-guide-tete img { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--color-white); }
.dv-guide-tete p { color: var(--color-gray-dark); font-size: 0.95rem; }
.dv-q { border: 0; min-width: 0; }
.dv-q[hidden] { display: none; }
.dv-q legend { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.55rem; }
.dv-q-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.dv-o { position: relative; cursor: pointer; }
.dv-o input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.dv-o span { display: block; height: 100%; padding: 0.8rem 0.9rem; background: var(--color-white); border: 2px solid var(--color-white); border-radius: 16px; line-height: 1.25; transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s; }
.dv-o b { font-weight: 650; }
.dv-o small { display: block; margin-top: 0.2rem; font-size: 0.8rem; color: var(--color-gray); line-height: 1.3; }
.dv-o:active span { transform: scale(0.97); }
.dv-o input:checked + span { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(0,102,255,0.16); }
.dv-o input:focus-visible + span { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.dv-regle { font-size: 0.9rem; color: var(--color-gray-dark); }
.dv-top { list-style: none; display: grid; gap: 0.5rem; margin: 0.7rem 0; }
.dv-top a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 0.1rem 0.75rem; align-items: center; color: inherit; background: var(--color-white); border-radius: 16px; padding: 0.5rem 0.8rem 0.5rem 0.5rem; }
.dv-top img { grid-row: 1 / 4; width: 64px; height: 64px; object-fit: contain; background: var(--dv-tapis); border-radius: 10px; }
.dv-top b { line-height: 1.2; }
.dv-top small { font-size: 0.82rem; color: var(--color-gray); line-height: 1.3; }
.dv-top strong { grid-row: 1 / 4; grid-column: 3; font-size: 1.15rem; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dv-top .statut { font-size: 0.8rem; }
.dv-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dv-actions .btn { white-space: normal; text-align: center; }

/* -- Tout le catalogue : filtres et tuiles -- */
.dv-tout { padding: 2.4rem 1rem 3rem; }
.dv-tout .pc-filtres { margin-top: 1rem; }
.dv-tout .pc-filtre-ligne { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -1rem; padding: 2px 1rem; }
.dv-tout .pc-filtre-ligne::-webkit-scrollbar { display: none; }
.dv-tout .pc-filtre-label { min-width: 0; margin: 0 0.2rem 0 0; flex: none; }
.dv-tout .pc-filtre { flex: none; }
.dv-tout .pc-filtre:active { transform: scale(0.95); }
.dv-tout .pc-filtre-compte { margin: 0.9rem 0 1rem; }
.dv-grille { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.7rem 0.75rem; }
.dv-tuile { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.dv-tuile[hidden] { display: none; }
.dv-tuile .dv-lien { width: 100%; }
.dv-tuile .statut { font-size: 0.8rem; }
@keyframes dv-entre { from { opacity: 0; transform: translateY(8px); } }
.dv-entre > .dv-tuile { animation: dv-entre 0.34s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(min(var(--i, 0), 10) * 28ms); }
.dv-cmp { display: none; }
.js-filtres .dv-cmp { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; padding: 0.3rem 0.75rem 0.3rem 0.5rem; font-size: 0.84rem; font-weight: 600; color: var(--color-gray-dark); border: 1.5px solid var(--color-border); border-radius: var(--radius-full); cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.dv-cmp input { width: 1.05rem; height: 1.05rem; accent-color: var(--color-primary); }
.dv-cmp:has(:checked) { border-color: var(--color-primary); background: var(--color-primary-light); }
.dv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dv-note { font-size: 0.85rem; color: var(--color-gray); line-height: 1.5; margin-top: 1.6rem; }

/* -- Barre du bas : comparateur (catalogue) ou récapitulatif (fiche) -- */
.dv-barre { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 900; background: var(--color-white); border-radius: 24px; padding: 0.6rem 0.75rem; box-shadow: 0 6px 28px rgba(15,20,25,0.2), 0 0 0 1px var(--color-border); }
.dv-barre[hidden] { display: none; }
.dv-barre-in { display: grid; gap: 0.45rem; }
.dv-barre-in > * { min-width: 0; }
.dv-barre-t { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; font-size: 0.85rem; line-height: 1.2; }
.dv-barre-t > span { color: var(--color-gray-dark); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dv-barre-t strong { font-size: 1.12rem; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dv-barre-t small { font-size: 0.75rem; font-weight: 600; color: var(--color-gray); }
.dv-barre-b { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem; }
.dv-barre .btn { padding: 0.72rem 1rem; font-size: 0.95rem; }
.dv-barre .btn:hover { transform: none; }
.dv-barre .btn[disabled] { background: var(--color-border); color: var(--color-gray); box-shadow: none; cursor: not-allowed; }
.dv-tel { display: none; }
body:has(.dv-barre:not([hidden])) { padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px)); }
html:has(.dv-barre:not([hidden])) { scroll-padding-bottom: 140px; } /* le focus clavier ne passe pas sous la barre */

/* -- Feuille du comparateur -- */
.dv-feuille { border: 0; padding: 0 0 calc(1.1rem + env(safe-area-inset-bottom, 0px)); width: min(100%, 940px); max-width: 100%; max-height: 92dvh; margin: auto auto 0; border-radius: 28px 28px 0 0; background: var(--color-white); color: var(--color-black); overflow: auto; }
.dv-feuille::backdrop { background: rgba(15,20,25,0.5); }
@keyframes dv-monte { from { transform: translateY(40px); opacity: 0; } }
.dv-feuille[open] { animation: dv-monte 0.3s cubic-bezier(.2,.7,.2,1); }
.dv-feuille-tete { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; padding: 0.9rem 1.1rem; background: var(--color-white); border-bottom: 1px solid var(--color-border); }
.dv-feuille-tete .btn { padding: 0.5rem 0.9rem; font-size: 0.9rem; }
.dv-feuille-corps { padding: 1rem 1.1rem 0; overflow-x: auto; }
.dv-cmp-t { width: 100%; border-collapse: collapse; font-size: 0.88rem; table-layout: fixed; }
.dv-cmp-t th, .dv-cmp-t td { padding: 0.5rem 0.5rem 0.65rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); overflow-wrap: break-word; }
.dv-cmp-t thead th { vertical-align: bottom; line-height: 1.2; }
.dv-cmp-t thead img { width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: contain; background: var(--dv-tapis); border-radius: 12px; margin-bottom: 0.4rem; }
.dv-cmp-t tbody th { font-size: 0.78rem; font-weight: 600; color: var(--color-gray); border: 0; padding: 0.55rem 0.5rem 0; }
.dv-cmp-t tr.dv-diff td { font-weight: 700; }
.dv-cmp-t tfoot td { border: 0; padding-top: 0.8rem; }
.dv-cmp-t .btn { width: 100%; padding: 0.6rem 0.5rem; font-size: 0.85rem; white-space: normal; text-align: center; }

/* -- Fiche produit -- */
.dv-scene { background: var(--dv-tapis); padding: 0.8rem 1rem 1rem; }
.dv-gal { position: relative; }
.dv-gal-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1; border-radius: 22px; }
.dv-gal-rail::-webkit-scrollbar { display: none; }
.dv-vue { display: block; flex: 0 0 100%; scroll-snap-align: center; overflow: hidden; }
.dv-vue img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; transition: transform 0.38s cubic-bezier(.2,.7,.2,1); }
#pdt-photo-img { view-transition-name: dv-photo; }
.dv-gal.is-zoom .dv-gal-rail { overflow: hidden; touch-action: none; }
.dv-gal.is-zoom .dv-vue img { transform: scale(2.4); cursor: zoom-out; }
.dv-zoom { position: absolute; right: 10px; top: 10px; font: 600 0.82rem/1 var(--font-main); color: var(--color-black); background: rgba(255,255,255,0.92); border: 0; border-radius: var(--radius-full); padding: 0.5rem 0.8rem; box-shadow: 0 1px 4px rgba(15,20,25,0.2); cursor: pointer; }
.dv-zoom[hidden] { display: none; }
.dv-vignettes { display: flex; gap: 0.5rem; margin-top: 0.6rem; }
.dv-vig { flex: 0 1 76px; background: var(--color-white); border: 2px solid transparent; border-radius: 14px; overflow: hidden; transition: border-color 0.15s; }
.dv-vig img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.dv-vig:hover, .dv-vig.is-active { border-color: var(--color-primary); }
.dv-scene .dv-note { margin-top: 0.6rem; }
.dv-corps { padding: 1.4rem 1rem 0; display: grid; gap: 2.2rem; }
.dv-corps > * { min-width: 0; }
.dv-tete h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin: 0.45rem 0 0.3rem; text-wrap: balance; }
.dv-tete .pdt-accroche { margin-bottom: 0; }
.dv-prix { display: inline-block; margin-top: 0.6rem; filter: drop-shadow(0 3px 6px rgba(15,20,25,0.16)); transform: rotate(-2deg); transform-origin: 0 50%; }
.dv-prix-in { position: relative; background: var(--color-white); padding: 0.7rem 1.3rem 0.7rem 2.6rem; clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%); }
.dv-prix-in::before { content: ""; position: absolute; left: 18px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--color-primary-light); box-shadow: inset 0 0 0 1.5px var(--color-gray); }
.dv-prix .prix-grand { font-variant-numeric: tabular-nums; }
@keyframes dv-pulse { 40% { color: var(--color-primary); } }
.dv-pulse { animation: dv-pulse 0.5s; }
.dv-bloc .dv-titre { margin-bottom: 0.9rem; }

/* le trajet de la machine : le composant .parcours, toujours en colonne */
.parcours--colonne { grid-template-columns: 1fr; gap: 1.4rem; max-width: none; margin: 0; }
.parcours--colonne::before { top: 27px; bottom: 27px; left: 26px; right: auto; width: 2px; height: auto; }
.parcours--colonne .parcours-etape { display: grid; grid-template-columns: 54px 1fr; gap: 0.15rem 1.1rem; text-align: left; align-items: start; }
.parcours--colonne .parcours-num { grid-row: span 2; margin-bottom: 0; }
.parcours--colonne .parcours-etape h3 { margin: 0.2rem 0 0; }
.parcours--colonne .parcours-etape p { line-height: 1.55; }

/* le configurateur */
.dv-config { background: var(--dv-tapis); border-radius: 28px; padding: 1.4rem 1rem; margin: 0 -0.4rem; }
.dv-config fieldset { border: 0; min-width: 0; margin-bottom: 1.1rem; }
.dv-config legend { font-weight: 700; margin-bottom: 0.5rem; }
.dv-opt { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 0.1rem 0.65rem; align-items: start; background: var(--color-white); border: 2px solid var(--color-white); border-radius: 16px; padding: 0.8rem 0.9rem; margin-bottom: 0.5rem; cursor: pointer; transition: border-color 0.15s, transform 0.12s; }
.dv-opt:active { transform: scale(0.985); }
.dv-opt:has(:checked) { border-color: var(--color-primary); }
.dv-opt:has(:focus-visible) { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.dv-opt input { width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; accent-color: var(--color-primary); grid-row: 1 / 3; }
.dv-opt-n { font-weight: 650; line-height: 1.3; }
.dv-opt-p { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dv-opt-d, .dv-opt .statut { grid-column: 2 / 4; font-size: 0.83rem; color: var(--color-gray); line-height: 1.4; }
.dv-opt .statut { color: var(--color-gray-dark); }
.dv-pack { font-size: 0.86rem; color: var(--color-gray-dark); padding: 0.1rem 0.2rem 0; }
.dv-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 0.8rem; padding: 0.2rem 0.3rem 0; }
.dv-total > span { font-weight: 700; }
.dv-total strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dv-eco { flex: 0 0 100%; text-align: right; font-size: 0.86rem; font-weight: 600; color: var(--color-primary-dark); }
.dv-eco[hidden] { display: none; }
.dv-cta { display: grid; gap: 0.6rem; margin-top: 1rem; }
.dv-cta .btn { white-space: normal; text-align: center; }
.dv-num { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.3rem 0.9rem; font-size: 0.95rem; color: var(--color-gray-dark); }
.dv-num a { font-size: 1.25rem; font-weight: 800; color: var(--color-black); font-variant-numeric: tabular-nums; user-select: all; }
.dv-copier { font: 600 0.85rem/1 var(--font-main); color: var(--color-primary-dark); background: none; border: 0; border-bottom: 2px solid currentColor; padding: 0 0 2px; cursor: pointer; }
.dv-copier[hidden] { display: none; }
.dv-suite { list-style: none; counter-reset: dv; display: grid; gap: 0.55rem; margin-top: 1.1rem; font-size: 0.92rem; }
.dv-suite li { counter-increment: dv; position: relative; padding-left: 2rem; line-height: 1.45; color: var(--color-gray-dark); }
.dv-suite li::before { content: counter(dv); position: absolute; left: 0; top: 0.05rem; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; color: var(--color-white); background: var(--color-black); border-radius: 50%; }
.dv-config .config-prix { margin-top: 0.8rem; }

/* ce qui est inclus, l'état */
.dv-inclus { list-style: none; display: grid; gap: 0.5rem; }
.dv-inclus li { position: relative; padding-left: 1.8rem; line-height: 1.4; }
.dv-inclus li::before { content: ""; position: absolute; left: 0; top: 0.15rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--color-primary); }
.dv-inclus li::after { content: ""; position: absolute; left: 0.4rem; top: 0.32rem; width: 0.28rem; height: 0.56rem; border: solid var(--color-white); border-width: 0 2px 2px 0; transform: rotate(42deg); }
.dv-echelle { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; font-size: 0.82rem; font-weight: 600; text-align: center; color: var(--color-gray); }
.dv-echelle li { padding: 0.5rem 0.25rem; background: var(--dv-tapis); border-radius: var(--radius-full); line-height: 1.2; }
.dv-echelle .is-on { background: var(--color-primary); color: var(--color-white); }
.dv-etats > p { margin-top: 0.8rem; }
.dv-etats details { margin-top: 0.7rem; font-size: 0.93rem; }
.dv-etats summary { cursor: pointer; font-weight: 600; color: var(--color-primary-dark); }
.dv-etats details p { margin-top: 0.5rem; color: var(--color-gray-dark); }
.dv-etats .dv-note { margin-top: 0.7rem; }

/* la réassurance : Toni, la garantie locale, un vrai avis */
.dv-conf { background: var(--color-primary-light); padding: 2.2rem 1rem; margin-top: 2.6rem; border-radius: 28px 28px 0 0; }
.dv-conf-in { display: grid; gap: 1.4rem; }
.dv-conf-in > * { min-width: 0; }
.dv-conf .dv-toni { margin-top: 0; grid-template-columns: 72px 1fr; }
.dv-conf .dv-toni img { width: 72px; height: 72px; }
.dv-conf .dv-toni strong { display: block; font-size: 1.05rem; }
.dv-conf h2 { font-size: 1.25rem; line-height: 1.25; margin: 1rem 0 0.3rem; }
.dv-conf p { color: var(--color-gray-dark); max-width: 60ch; }
.dv-conf .dv-ademe { margin-top: 0.9rem; font-size: 0.92rem; }
.dv-avis { background: var(--color-white); border-radius: 20px; padding: 1.1rem 1.2rem; }
.dv-avis p { color: var(--color-black); font-size: 0.97rem; line-height: 1.55; max-width: none; }
.dv-avis .dv-avis-qui { margin-top: 0.7rem; font-size: 0.86rem; color: var(--color-gray-dark); }
.dv-avis-qui b { color: var(--color-primary); letter-spacing: 1px; }
.dv-avis a { display: inline-block; margin-top: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.dv-specs { padding: 2.6rem 1rem 0; }
.dv-specs .dv-titre { max-width: 820px; margin: 0 auto 1rem; }

@media (min-width: 760px) {
  .dv-hero { padding: 3.2rem var(--spacing-md) 3.4rem; border-radius: 0 0 44px 44px; }
  .dv-rayon-tete, .dv-tout, .dv-guide-zone { padding-left: var(--spacing-md); padding-right: var(--spacing-md); }
  .dv-rail { padding-left: var(--spacing-md); padding-right: var(--spacing-md); scroll-padding-left: var(--spacing-md); }
  .dv-rayon .container, .dv-rail { max-width: calc(var(--max-width) + 2 * var(--spacing-md)); }
  .dv-voir { margin-left: var(--spacing-md); }
  .dv-guide { padding: 1.9rem; }
  .dv-q-opts { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .dv-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dv-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.1rem 1.4rem; }
  .dv-tout .pc-filtre-ligne { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .dv-tout .pc-filtre-label { min-width: 68px; }
  .dv-barre { left: 50%; right: auto; transform: translateX(-50%); width: min(780px, calc(100% - 32px)); padding: 0.6rem 0.9rem; }
  .dv-barre-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .dv-barre-t { justify-content: flex-start; gap: 1rem; font-size: 0.95rem; }
  .dv-barre-b { grid-template-columns: auto auto; }
  .dv-tel { display: inline; font-weight: 700; color: var(--color-black); white-space: nowrap; }
  .dv-feuille { margin: auto; border-radius: 28px; }
  body:has(.dv-barre:not([hidden])) { padding-bottom: 84px; }
  .dv-conf { padding: 3rem var(--spacing-md); }
  .dv-specs { padding: 3.2rem var(--spacing-md) 0; }
}
@media (min-width: 1000px) {
  .dv-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; row-gap: 1.2rem; }
  .dv-pose:first-child .dv-ph::after, .dv-pose:last-child .dv-ph::after { border-radius: 0; }
  .dv-pose:nth-child(4n+1) .dv-ph::after { border-radius: 5px 0 0 5px; }
  .dv-pose:nth-child(4n) .dv-ph::after { border-radius: 0 5px 5px 0; }
  .dv-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dv-fiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; max-width: var(--max-width); margin: 0 auto; }
  .dv-scene { position: sticky; top: 74px; border-radius: 0 0 36px 36px; padding: 1.2rem 1.4rem 1.6rem; }
  .dv-corps { padding: 2.4rem 0 0 2.6rem; }
  .dv-config { margin: 0; padding: 1.6rem 1.4rem; }
  .dv-conf-in { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 2.4rem; }
}
/* la photo glisse du catalogue vers la fiche (navigateurs qui gèrent les transitions de vue) */
::view-transition-group(dv-photo) { animation-duration: 0.42s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .dv-entre > .dv-tuile, .dv-feuille[open], .dv-pulse { animation: none; }
  .dv-lien:hover .dv-ph img { transform: none; }
}
