/* DUEL « magazine » (Romain 02/10 10 h 49): only on the duel pages (comparatif.php), after duel.css. No picture, no font.
   body.dzd = both models; body.dzd-a = « Le face-à-face éditorial », body.dzd-b = « Le dossier » (inc/design-duel.php). */

/* ---------- common: plaster page, ink, bronze, thin rules, no rounded card ---------- */
body.dzd { background: var(--platre); }
.dzd .duel > .enveloppe { padding-bottom: clamp(2rem, 4vw, 3rem); }
.dzd .duel > .enveloppe > .ariane { margin: 0.9rem 0 0; }
.dzd-sur { margin: 1.3rem 0 0.7rem; font: 600 0.7rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--feutre); }
.dzd-sur span { color: var(--bleu); }
.dzd .duel__titre { font: 400 clamp(2rem, 1.3rem + 2vw, 3.1rem)/1.06 var(--serif); letter-spacing: -0.026em; color: var(--anthracite); max-width: 23em; margin: 0; text-wrap: balance; }
.dzd-mq { font-style: italic; color: var(--bleu); }
.dzd-verdict { margin: 1.1rem 0 0; max-width: 40em; font: 400 clamp(1.12rem, 1rem + 0.45vw, 1.38rem)/1.45 var(--serif); color: var(--anthracite); }
.dzd-verdict strong { font-weight: 600; }
.dzd-verdict__lab { display: block; margin-bottom: 0.35rem; font: 600 0.7rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bleu); }
.dzd .duel > .enveloppe > .chapeau { margin: 0.6rem 0 0; max-width: 46rem; font: 400 0.98rem/1.55 var(--serif); color: #4a4c51; }
.dzd-chiffres { display: none; }

/* the two columns */
.dzd .duel__face { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); margin: 2rem 0 0; padding-top: 1.8rem; border-top: 1px solid var(--anthracite); }
.dzd .duel__face::before { content: ""; position: absolute; left: 50%; top: 1.8rem; bottom: 0; width: 1px; background: var(--trait); }
.dzd .duel__ou { display: block; top: 0; left: 50%; width: auto; height: auto; transform: translate(-50%, -54%); padding: 0 0.7rem; border-radius: 0; background: var(--platre); box-shadow: none; color: var(--bleu); font: italic 300 clamp(2.4rem, 1.8rem + 2vw, 3.6rem)/1 var(--serif); }
.dzd .duel__carte { gap: 0.55rem; background: none; }
.dzd .duel__photo { aspect-ratio: 3 / 2; border-radius: 0; background: var(--platre-2); }
.dzd .duel__photo img { object-fit: cover; }
.dzd .duel__carte .carte__pastille { display: none; }
.dzd .duel__carte .repere-choix { position: absolute; z-index: 2; top: 0.75rem; left: 0.75rem; padding: 0.38rem 0.6rem; border-radius: 2px; background: var(--moutarde); color: var(--anthracite); box-shadow: none; font: 600 0.64rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.dzd .duel__carte .cote { margin-top: 0.35rem; color: var(--bleu); }
.dzd-tete { display: grid; gap: 0.2rem; margin: 0.5rem 0 0; }
.dzd-tete__marque { font: 600 0.68rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bleu); }
.dzd-tete__nom { font: 300 clamp(2.4rem, 1.5rem + 2.6vw, 4.2rem)/0.95 var(--serif); letter-spacing: -0.035em; color: var(--anthracite); overflow-wrap: anywhere; }
.dzd .duel__nom { margin: 0.15rem 0 0; font: 500 0.86rem/1.35 var(--sans); }
.dzd .duel__nom a { color: var(--feutre); text-decoration: none; }
.dzd .duel__nom a:hover { color: var(--anthracite); text-decoration: underline; }
.dzd .duel__carte .carte__variante { margin: -0.25rem 0 0; font: 400 0.8rem/1.4 var(--sans); color: var(--feutre); }
.dzd .duel__carte .carte__pied { justify-content: flex-start; align-items: baseline; gap: 0; margin-top: 0.5rem; padding: 0.75rem 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.dzd .duel__carte .carte__note { order: -1; padding-right: 1.4rem; margin-right: 1.4rem; border-right: 1px solid var(--trait); font: 400 0.82rem/1 var(--sans); color: var(--feutre); }
.dzd .duel__carte .carte__note b { font: 300 2.5rem/1 var(--serif); letter-spacing: -0.03em; color: var(--anthracite); }
.dzd .duel__carte .carte__prix, .dzd .duel__carte .carte__prix .num { font: 300 2rem/1 var(--serif); letter-spacing: -0.02em; color: var(--anthracite); }
.dzd-releve { margin: -0.2rem 0 0; font: 400 0.74rem/1.3 var(--sans); color: var(--feutre); }
.dzd .duel__limite { font: 400 0.9rem/1.45 var(--sans); color: #3c3e43; }
.dzd .duel__limite span { display: block; margin-bottom: 0.15rem; font: 600 0.64rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--rouge-non); }
.dzd .duel__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }

/* reminder bar */
.dzd-rappel { position: fixed; z-index: 40; left: 0; right: 0; top: 0; display: flex; justify-content: center; align-items: baseline; gap: 1.2rem; padding: 0.6rem var(--gutter); background: var(--platre); color: var(--anthracite); border-bottom: 1px solid var(--anthracite); font: 400 0.88rem/1.3 var(--sans); transform: translateY(-110%); visibility: hidden; transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.1, 1), visibility 0.3s; }
.dzd-rappel.est-visible { transform: none; visibility: visible; }
.dzd-rappel b { font: 400 1.05rem var(--serif); }
.dzd-rappel i { font: italic 400 1.1rem var(--serif); color: var(--bleu); }
.dzd-rappel .num { color: var(--feutre); }

/* sections: plaster, thin rules, serif titles */
.dzd .duel > .enveloppe + .bloc { border-top: 1px solid var(--trait); }
.dzd .duel .bloc h2 { font: 400 clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem)/1.08 var(--serif); letter-spacing: -0.02em; color: var(--anthracite); text-wrap: balance; }
.dzd .duel .bloc h3 { font: 400 1.35rem/1.15 var(--serif); letter-spacing: -0.01em; color: var(--anthracite); }

/* verdict: no coloured band, the sentence is already the standfirst of the cover */
.dzd .duel-verdict { background: none; color: var(--anthracite); }
.dzd .duel-verdict h2 { color: var(--anthracite); }
.dzd .duel-verdict__score { display: none; }
.dzd .duel-verdict__texte { max-width: 44rem; margin: 0.4rem 0 0; font: 400 1.06rem/1.65 var(--serif); color: #3c3e43; }
.dzd .duel-verdict__profils, .dzd-pourqui__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(2rem, 5vw, 4.5rem); margin-top: 2rem; }
.dzd .duel-verdict__profil, .dzd-pourqui__col { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.2rem 0 0; border: 0; border-top: 2px solid var(--anthracite); border-radius: 0; background: none; }
.dzd .duel-verdict__profil h3, .dzd-pourqui__col h3 { margin: 0; color: var(--anthracite); font: 400 1.45rem/1.15 var(--serif); }
.dzd .duel-verdict__profil ul, .dzd-pourqui__col ul { flex: 1; display: grid; align-content: start; gap: 0.55rem; margin: 0; padding: 0; list-style: none; font: 400 0.95rem/1.5 var(--sans); color: #3c3e43; }
.dzd .duel-verdict__profil li, .dzd-pourqui__col li { position: relative; padding-left: 1.1rem; list-style: none; }
.dzd .duel-verdict__profil li::before, .dzd-pourqui__col li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; background: var(--moutarde); }
.dzd .duel-verdict__profil li.duel-verdict__redige::before, .dzd-pourqui__col li.duel-verdict__redige::before { background: none; box-shadow: inset 0 0 0 1px var(--bleu); }
.dzd .duel-verdict__profil .bouton, .dzd-pourqui__col .bouton { align-self: flex-start; }

/* notes: thin mirror bars (the radar stays in the page, hidden) */
.dzd .duel-radar .comparateur__radar, .dzd .duel-radar .comparateur__legende { display: none; }
.dzd-miroir__leg { display: flex; justify-content: space-between; gap: 1rem; margin: 0.9rem 0 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--anthracite); font: 500 0.78rem/1.3 var(--sans); color: var(--feutre); }
.dzd-miroir__leg span::before { content: ""; display: inline-block; width: 0.9rem; height: 3px; margin-right: 0.4rem; vertical-align: 0.2rem; }
.dzd-miroir__la::before { background: var(--anthracite); } .dzd-miroir__lb::before { background: var(--moutarde); }
.dzd-miroir__lb { text-align: right; }
.dzd-miroir__l { list-style: none; margin: 0; padding: 0; display: grid; }
.dzd-miroir__l li { display: grid; grid-template-columns: minmax(0, 1fr) 9rem minmax(0, 1fr); gap: 0.8rem; align-items: center; padding: 0.55rem 0; border-bottom: 1px solid var(--trait); }
.dzd-miroir__l li:first-child .dzd-miroir__t { font-weight: 600; }
.dzd-miroir__a, .dzd-miroir__b { position: relative; height: 1.6rem; }
.dzd-miroir__a::before, .dzd-miroir__b::before { content: ""; position: absolute; top: 50%; height: 4px; transform: translateY(-50%); width: calc(var(--w) * 0.78); }
.dzd-miroir__a::before { right: 0; background: var(--anthracite); } .dzd-miroir__b::before { left: 0; background: var(--moutarde); }
.dzd-miroir__a b, .dzd-miroir__b b { position: absolute; top: 50%; transform: translateY(-50%); font: 400 1.15rem/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--anthracite); }
.dzd-miroir__a b { right: calc(var(--w) * 0.78 + 0.5rem); }
.dzd-miroir__b b { left: calc(var(--w) * 0.78 + 0.5rem); color: var(--bleu-2); }
.dzd-miroir__t { text-align: center; font: 500 0.92rem/1.2 var(--sans); color: var(--anthracite); }

/* typographic tables: no card, ink rule on the head, thin rules, the winning value in bronze */
.dzd .duel .comparaison { background: none; border-radius: 0; overflow: visible; font: 400 0.92rem/1.4 var(--sans); }
.dzd .duel .comparaison th, .dzd .duel .comparaison td { background: none; padding: 0.8rem 0.9rem 0.8rem 0; border-bottom: 1px solid var(--trait); }
.dzd .duel .comparaison thead th { padding-bottom: 0.6rem; border-bottom: 1px solid var(--anthracite); font: 600 0.68rem/1.3 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--feutre); }
.dzd .duel .comparaison tbody th { font-weight: 500; color: var(--anthracite); }
.dzd .duel .comparaison td { font-variant-numeric: tabular-nums; }
.dzd .duel .comparaison .est-gagnant, .dzd .duel .duel-formats tr.est-gagnant th, .dzd .duel .duel-formats tr.est-gagnant td { background: none; color: var(--bleu-2); font-weight: 650; }
.dzd .duel .comparaison__total th, .dzd .duel .comparaison__total td { background: none; font-weight: 700; }
.dzd .duel .duel-tableau tfoot th, .dzd .duel .duel-tableau tfoot td { border-top: 1px solid var(--anthracite); border-bottom: 0; }
.dzd .duel .barre-duel { height: 2px; border-radius: 0; max-width: 120px; margin-bottom: 0.45rem; background: linear-gradient(90deg, var(--moutarde) var(--v), var(--trait) 0); }
.dzd .duel .est-gagnant .barre-duel { background: linear-gradient(90deg, var(--bleu) var(--v), var(--trait) 0); }
.dzd .duel .duel-tableau__avantage { font: 500 0.88rem/1.3 var(--sans); }
.dzd .duel .duel-tableau__note { font-size: 0.76rem; }

/* same scale: open figures, a thin frame, no white card */
.dzd .duel .mesures { background: none; }
.dzd .duel .duel-echelle figure { padding: 1.2rem; border: 1px solid var(--trait); border-radius: 0; background: none; }
.dzd .duel .duel-echelle figcaption, .dzd .duel .duel__legende { font: 500 0.8rem/1.3 var(--sans); color: var(--feutre); }

/* strengths and weaknesses: 2 columns with a centre rule */
.dzd .duel .duel__pc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(2rem, 5vw, 4.5rem); }
.dzd .duel .duel__pc-col { padding-top: 1rem; border-top: 2px solid var(--anthracite); }
.dzd .duel .duel__pc-col h3 { margin: 0 0 0.8rem; }
.dzd .duel .duel__pc-titre { margin: 0 0 0.5rem; font: 600 0.68rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bleu); }
.dzd .duel .pour-contre ul { font: 400 0.95rem/1.45 var(--sans); }

/* other duels: rows between thin rules (over the « Éditorial » pills of design-boutons) */
body.dzd .duel .duels-liens { gap: 0; border-top: 1px solid var(--anthracite); column-gap: clamp(2rem, 5vw, 4.5rem); }
body.dzd .duel .duels-liens a { display: block; min-height: 0; padding: 0.95rem 0; border: 0; border-bottom: 1px solid var(--trait); border-radius: 0; background: none; box-shadow: none; font: 400 1.08rem/1.35 var(--serif); color: var(--anthracite); transform: none; }
body.dzd .duel .duels-liens a:hover { color: var(--bleu-2); }
body.dzd .duel .duels-liens span { font: italic 400 1em/1 var(--serif); color: var(--bleu); }
.dzd .duel .duel-famille a { color: var(--anthracite); text-decoration-color: var(--moutarde); text-underline-offset: 0.25em; }

/* ---------- model b « Le dossier » ---------- */
/* band like the brand pages T1: text on the left, the 2 sofas on the right, key figures between rules */
.dzd-b .duel > .enveloppe { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: repeat(6, auto) 1fr; column-gap: clamp(2rem, 4.5vw, 4rem); }
.dzd-b .duel > .enveloppe > * { grid-column: 1; }
.dzd-b .duel > .enveloppe > .duel__face { grid-column: 2; grid-row: 1 / 8; align-self: start; gap: 1.6rem; margin-top: 1.3rem; padding-top: 1.2rem; }
.dzd-b .duel__face::before { top: 1.2rem; }
.dzd-b .duel__ou { font-size: 2.2rem; }
.dzd-b .duel__titre { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.75rem); }
.dzd-b .dzd-chiffres { display: flex; margin: 1.4rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--anthracite); }
.dzd-b .dzd-chiffres > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 0.3rem; padding: 0 1.4rem; border-left: 1px solid var(--trait); }
.dzd-b .dzd-chiffres > div:first-child { padding-left: 0; border-left: 0; }
.dzd-b .dzd-chiffres dt { font: 400 0.74rem/1.3 var(--sans); color: var(--feutre); }
.dzd-b .dzd-chiffres dd { margin: 0; font: 300 2rem/1 var(--serif); letter-spacing: -0.02em; color: var(--anthracite); }
.dzd-b .dzd-chiffres dd small { font: 400 0.8rem var(--sans); color: var(--feutre); margin-left: 0.1rem; }
.dzd-b .dzd-chiffres dd i { font: italic 300 1.1rem var(--serif); color: var(--bleu); }
.dzd-b .dzd-tete__nom { font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.4rem); }
.dzd-b .duel__carte .carte__note b { font-size: 1.9rem; }
.dzd-b .duel__carte .carte__prix, .dzd-b .duel__carte .carte__prix .num { font-size: 1.5rem; }
.dzd-b .duel__photo { aspect-ratio: 4 / 3; }
body.dzd-b .duel__face .dbt-m .cta__texte { white-space: normal; overflow: visible; text-overflow: clip; padding-block: 0.45rem; padding-right: 0.6rem; line-height: 1.2; }
.dzd-b .duel__carte .carte__note { padding-right: 0.9rem; margin-right: 0.9rem; }
.dzd-b .duel__limite { font-size: 0.84rem; }
.dzd-b .duel__actions { flex-direction: column; align-items: stretch; }
.dzd-b .duel__actions .bouton { width: 100%; justify-content: center; }
/* numbered sections of the file */
.dzd-b .duel { counter-reset: dzd; }
.dzd-b .duel > section.bloc:not(:has(.faq, .duels-liens, .duel-famille)) { counter-increment: dzd; }
.dzd-b .duel > section.bloc:not(:has(.faq, .duels-liens, .duel-famille)) > .enveloppe > h2:first-child::before,
.dzd-b .duel > section.bloc:not(:has(.faq, .duels-liens, .duel-famille)) > .duel__grille > div:first-child > h2:first-child::before {
  content: counter(dzd, decimal-leading-zero); display: block; width: max-content; margin-bottom: 0.7rem; padding-top: 0.55rem; border-top: 2px solid var(--moutarde); font: 600 0.74rem/1 var(--sans); letter-spacing: 0.14em; color: var(--bleu);
}
.dzd-b .duel-verdict__profils { display: none; }

/* ---------- phone and tablet ---------- */
@media (max-width: 800px) {
  .dzd .duel__face { gap: 1.4rem; margin-top: 1.6rem; padding-top: 1.4rem; }
  .dzd .duel__face::before { top: 1.4rem; }
  .dzd .duel__ou { display: block; font-size: 2.2rem; }
  .dzd-tete__nom { font-size: clamp(1.7rem, 1rem + 4vw, 2.4rem); }
  .dzd .duel__titre { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.1rem); }
  .dzd .duel__carte .cote { font-size: 0.7rem; }
  .dzd .duel__carte .carte__pied { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .dzd .duel__carte .carte__note { padding: 0; margin: 0; border: 0; }
  .dzd .duel__carte .carte__note b { font-size: 1.9rem; }
  .dzd .duel__carte .carte__prix, .dzd .duel__carte .carte__prix .num { font-size: 1.45rem; }
  .dzd .duel__photo { aspect-ratio: 4 / 3; }
  body.dzd .duel .dbt-m .cta__texte { white-space: normal; overflow: visible; text-overflow: clip; padding-block: 0.45rem; padding-right: 0.6rem; line-height: 1.2; }
  .dzd .duel__limite { font-size: 0.8rem; }
  .dzd .duel__actions { flex-direction: column; align-items: stretch; }
  .dzd .duel__actions .bouton { width: 100%; justify-content: center; padding-inline: 0.6rem; font-size: 0.84rem; text-align: center; }
  .dzd .duel__carte .repere-choix { top: 0.45rem; left: 0.45rem; font-size: 0.56rem; padding: 0.3rem 0.45rem; }
  .dzd .duel-verdict__profils, .dzd-pourqui__cols, .dzd .duel .duel__pc { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .dzd-rappel { gap: 0.6rem; font-size: 0.8rem; }
  .dzd-miroir__l li { grid-template-columns: minmax(0, 1fr) 6.2rem minmax(0, 1fr); gap: 0.4rem; }
  .dzd-miroir__t { font-size: 0.8rem; }
  .dzd-miroir__a b, .dzd-miroir__b b { font-size: 1rem; }
  .dzd-b .duel > .enveloppe { display: block; }
  .dzd-b .dzd-chiffres > div { padding: 0 0.9rem; }
  .dzd-b .dzd-chiffres dd { font-size: 1.6rem; }
}
@media (max-width: 420px) {
  .dzd .duel__face { gap: 1rem; }
  .dzd .duel .comparaison th, .dzd .duel .comparaison td { padding-right: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) { .dzd-rappel { transition: none; } }
