:root {
  --accent: #9a4520;
  --accent-fonce: #232b29;
  --accent-clair: #f5ece4;
  --creme: #f8f6f2;
  --papier: #ffffff;
  --encre: #221c19;
  --gris: #6b625c;
  --ligne: #e6ddd2;
  --or: #a86a2c;
  --vert: #2d6a4c;
  --rouge: #a3392f;
  --rayon: 14px;
  --ombre: 0 1px 2px rgba(40, 20, 10, .05), 0 8px 24px rgba(40, 20, 10, .06);
  --titre: 'Fraunces', Georgia, serif;
  --texte: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--encre); font: 16px/1.65 var(--texte); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 1.6em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.etroit { width: min(780px, 100% - 32px); margin-inline: auto; }
.surtitre { font: 600 .75rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: .8em; display: block; }
.muted { color: var(--gris); }
.petit { font-size: .85rem; }

/* ---------- En-tête ---------- */
.bandeau { background: var(--accent-fonce); color: #f1e5da; font-size: .8rem; text-align: center; padding: 6px 16px; }
.entete { background: var(--papier); border-bottom: 1px solid var(--ligne); position: sticky; top: 0; z-index: 50; }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font: 700 1.2rem/1 var(--titre); }
.logo small { display: block; font: 500 .7rem/1.2 var(--texte); color: var(--gris); letter-spacing: .02em; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav > a, .nav details > summary { padding: 10px 12px; border-radius: 8px; color: var(--encre); text-decoration: none; font-size: .92rem; font-weight: 500; cursor: pointer; list-style: none; }
.nav details > summary::-webkit-details-marker { display: none; }
.nav details > summary::after { content: ' ▾'; font-size: .7em; color: var(--gris); }
.nav > a:hover, .nav details > summary:hover { background: var(--accent-clair); }
.nav details { position: relative; }
.nav .menu { position: absolute; top: calc(100% + 6px); left: 0; background: var(--papier); border: 1px solid var(--ligne); border-radius: 12px; box-shadow: var(--ombre); padding: 8px; min-width: 240px; display: grid; }
.nav .menu a { padding: 8px 12px; border-radius: 8px; color: var(--encre); text-decoration: none; font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; }
.nav .menu a:hover { background: var(--accent-clair); }
.nav .menu a span { color: var(--gris); font-size: .8rem; }
.burger { display: none; }

@media (max-width: 900px) {
  .burger { display: block; background: none; border: 1px solid var(--ligne); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--papier); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--ligne); }
  .nav.ouvert { display: flex; }
  .nav .menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; }
}

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; text-decoration: none; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--accent-fonce); }
.btn.secondaire { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn.secondaire:hover { background: var(--accent-clair); }
.btn.bloc { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero .grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero p.lead { font-size: 1.12rem; color: var(--gris); max-width: 540px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.confiance { display: flex; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: var(--gris); }
.confiance b { color: var(--encre); }
.hero-carte { background: var(--papier); border: 1px solid var(--ligne); border-radius: 20px; padding: 28px; box-shadow: var(--ombre); display: grid; grid-template-columns: 140px 1fr; gap: 24px; align-items: center; }
@media (max-width: 860px) { .hero .grille { grid-template-columns: 1fr; } .hero-carte { grid-template-columns: 100px 1fr; } }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section.blanc { background: var(--papier); border-block: 1px solid var(--ligne); }
.section-tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-tete h2 { margin: 0; }

/* ---------- Tuiles de choix ---------- */
.tuiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.tuile { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px 20px; text-decoration: none; color: var(--encre); transition: border-color .15s; display: block; }
.tuile:hover { border-color: var(--accent); }
.tuile b { display: block; font-family: var(--titre); font-size: 1.1rem; margin-bottom: 4px; }
.tuile span { font-size: .85rem; color: var(--gris); }

/* ---------- Cartes produit ---------- */
.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.carte { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, border-color .15s; position: relative; }
.carte:hover { box-shadow: var(--ombre); border-color: var(--accent); }
.carte .visuel { background: #fff; padding: 22px 0 14px; display: flex; justify-content: center; height: 210px; }
.carte .visuel svg { height: 100%; width: auto; }
.carte .corps { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.carte .marque { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gris); font-weight: 600; }
.carte h3 { margin: 0; font-size: 1.08rem; }
.carte h3 a { color: var(--encre); text-decoration: none; }
.carte h3 a::after { content: ''; position: absolute; inset: 0; }
.carte .specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.puce { font-size: .75rem; background: var(--creme); border: 1px solid var(--ligne); border-radius: 99px; padding: 2px 9px; color: var(--gris); }
.carte .pied { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--ligne); }
.prix { font-weight: 700; font-size: 1.15rem; }
.carte .lien { font-size: .85rem; font-weight: 600; color: var(--accent); }
.badge-note { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font: 700 .95rem/1 var(--texte); padding: 8px 9px; border-radius: 10px; z-index: 1; }
.badge-accroche { position: absolute; top: 14px; right: 12px; background: rgba(255,255,255,.9); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; color: var(--accent-fonce); z-index: 1; }
.rang { position: absolute; bottom: 12px; left: 12px; }

/* ---------- Podium ---------- */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 16px; align-items: end; }
.marche { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 20px; text-align: center; text-decoration: none; color: var(--encre); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.marche.premier { border: 2px solid var(--or); padding: 28px 20px; box-shadow: var(--ombre); }
.marche .medaille { font-size: 1.8rem; }
.marche svg { height: 130px; width: auto; margin: 6px 0; }
.marche.premier svg { height: 160px; }
.marche .note-grande { font: 700 1.6rem/1 var(--titre); color: var(--accent); }
@media (max-width: 720px) { .podium { grid-template-columns: 1fr; } .marche.premier { order: -1; } }

/* ---------- Page catégorie ---------- */
.fil { font-size: .82rem; color: var(--gris); padding: 18px 0 0; }
.fil a { color: var(--gris); }
.tete-cat { padding: 24px 0 8px; }
.tete-cat p { max-width: 820px; color: var(--gris); font-size: 1.05rem; }
.ancres { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 8px; }
.ancres a { font-size: .85rem; border: 1px solid var(--ligne); background: var(--papier); padding: 6px 14px; border-radius: 99px; text-decoration: none; color: var(--encre); }
.catalogue { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; margin-top: 20px; }
.filtres { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
.filtres h3 { font-family: var(--texte); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); margin: 16px 0 8px; }
.filtres h3:first-child { margin-top: 0; }
.filtres label { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 3px 0; cursor: pointer; }
.filtres label span { margin-left: auto; color: var(--gris); font-size: .78rem; }
.filtres input[type=range] { width: 100%; accent-color: var(--accent); }
.filtres input[type=checkbox] { accent-color: var(--accent); }
.valeur-range { font-size: .85rem; font-weight: 600; }
.barre-outils { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.barre-outils select { font: inherit; font-size: .9rem; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--ligne); background: var(--papier); }
.reinit { background: none; border: 0; color: var(--accent); font: inherit; font-size: .85rem; cursor: pointer; padding: 0; text-decoration: underline; }
.vide { display: none; padding: 40px; text-align: center; background: var(--papier); border: 1px dashed var(--ligne); border-radius: var(--rayon); }
.toggle-filtres { display: none; }
@media (max-width: 900px) {
  .catalogue { grid-template-columns: 1fr; }
  .filtres { position: static; max-height: none; display: none; }
  .filtres.ouvert { display: block; }
  .toggle-filtres { display: inline-flex; }
}

/* ---------- Contenu éditorial ---------- */
.prose { font-size: 1.02rem; }
.prose h2 { border-top: 1px solid var(--ligne); padding-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.encadre { background: var(--accent-clair); border-left: 4px solid var(--accent); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 1.4em 0; }
.encadre.or { background: #f7f0e1; border-color: var(--or); }
.faq details { background: var(--papier); border: 1px solid var(--ligne); border-radius: 12px; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 20px 16px; color: var(--gris); }

table.tab { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--papier); border-radius: 12px; overflow: hidden; }
.tab th, .tab td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--ligne); }
.tab th { font-weight: 500; color: var(--gris); width: 48%; }
.tab tr:last-child th, .tab tr:last-child td { border-bottom: 0; }
.tab-scroll { overflow-x: auto; border: 1px solid var(--ligne); border-radius: 12px; }

/* ---------- Fiche produit ---------- */
.fiche-tete { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 20px 0 32px; align-items: start; }
.fiche-visuel { background: linear-gradient(180deg, #f4ede4, #e9ddcd); border-radius: 20px; display: flex; justify-content: center; align-items: center; padding: 36px; min-height: 420px; position: relative; }
.fiche-visuel svg { max-height: 380px; width: auto; }
.avert-visuel { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: .72rem; color: var(--gris); }
.bloc-note { display: flex; gap: 20px; align-items: center; background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px 20px; margin: 18px 0; }
.note-cercle { width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; text-align: center; }
.note-cercle b { font: 700 1.7rem/1 var(--titre); display: block; }
.note-cercle small { font-size: .7rem; opacity: .8; }
.offres { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; }
.offres .titre-offres { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); padding: 12px 18px; border-bottom: 1px solid var(--ligne); font-weight: 600; }
.offre { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--ligne); gap: 12px; }
.offre:last-child { border-bottom: 0; }
.offre.meilleure { background: #f3f8f5; }
.offre .m { font-weight: 600; }
.offre .etiquette { font-size: .7rem; color: var(--vert); font-weight: 600; display: block; }
.offre .btn { padding: 8px 14px; font-size: .85rem; }
.mention-aff { font-size: .78rem; color: var(--gris); margin-top: 10px; }
@media (max-width: 860px) { .fiche-tete { grid-template-columns: 1fr; } .fiche-visuel { min-height: 300px; } }

.criteres { display: grid; gap: 14px; }
.critere .ligne { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 5px; }
.critere .ligne b { font-weight: 700; }
.jauge { height: 8px; background: var(--ligne); border-radius: 99px; position: relative; }
.jauge .rempli { position: absolute; inset: 0 auto 0 0; background: var(--accent); border-radius: 99px; }
.jauge .moy { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 2px dashed var(--encre); opacity: .45; }

.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .deux-col { grid-template-columns: 1fr; } }
.liste-pf { list-style: none; padding: 0; margin: 0; }
.liste-pf li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px solid var(--ligne); }
.liste-pf li:last-child { border: 0; }
.liste-pf li::before { position: absolute; left: 0; font-weight: 700; }
.liste-pf.plus li::before { content: '✓'; color: var(--vert); }
.liste-pf.moins li::before { content: '✕'; color: var(--rouge); }
.boite { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 20px 22px; }
.boite h3 { font-family: var(--texte); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); }

.section-num { display: flex; gap: 16px; align-items: baseline; }
.section-num .num { font: 700 1rem/1 var(--titre); color: #fff; background: var(--accent); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }

.barre-achat { position: fixed; bottom: 0; left: 0; right: 0; background: var(--papier); border-top: 1px solid var(--ligne); padding: 10px 16px; display: none; justify-content: space-between; align-items: center; gap: 12px; z-index: 40; box-shadow: 0 -4px 20px rgba(0,0,0,.06); }
.barre-achat.visible { display: flex; }

/* ---------- Comparateur ---------- */
.comparer-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.comparer-choix select { width: 100%; font: inherit; padding: 12px; border-radius: 10px; border: 1px solid var(--ligne); background: var(--papier); }
.tab-comp td.gagne { font-weight: 700; color: var(--vert); }
.tab-comp th { width: 30%; }

/* ---------- Pied de page ---------- */
.pied-page { background: var(--encre); color: #cfc6bf; margin-top: 64px; padding: 48px 0 28px; font-size: .9rem; }
.pied-page .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.pied-page h4 { color: #fff; font: 600 .78rem/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.pied-page a { color: #cfc6bf; text-decoration: none; display: block; padding: 3px 0; }
.pied-page a:hover { color: #fff; }
.pied-page .legal { border-top: 1px solid #3a322d; margin-top: 36px; padding-top: 20px; font-size: .78rem; color: #968b83; }
@media (max-width: 760px) { .pied-page .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Photos produit ---------- */
.photo-produit { height: 100%; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.fiche-visuel .photo-produit { max-height: 400px; height: auto; }
.marche .photo-produit { height: 130px; margin: 6px 0; }
.marche.premier .photo-produit { height: 160px; }
.hero-carte .photo-produit { max-height: 240px; height: auto; }

/* ---------- Guides ---------- */
.sommaire { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px 22px; margin: 12px 0 8px; }
.sommaire ol { margin: 8px 0 0; padding-left: 1.3em; }
.sommaire li { margin: 4px 0; }
.sommaire a { color: var(--encre); text-decoration: none; }
.sommaire a:hover { color: var(--accent); text-decoration: underline; }
.guide h2 { scroll-margin-top: 90px; }
.guide table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--papier); margin: 1.2em 0; display: block; overflow-x: auto; border: 1px solid var(--ligne); border-radius: 12px; }
.guide th, .guide td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.guide thead th { background: var(--accent-clair); color: var(--accent-fonce); font-weight: 600; white-space: nowrap; }
.guide tr:last-child td { border-bottom: 0; }
.guide blockquote { margin: 1.4em 0; background: #f7f0e1; border-left: 4px solid var(--or); padding: 14px 20px; border-radius: 0 12px 12px 0; }
.guide blockquote p:last-child { margin: 0; }
.sources { margin-top: 32px; font-size: .85rem; color: var(--gris); }
.sources h3 { font-family: var(--texte); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.sources ul { padding-left: 1.2em; }

/* ---------- Comparatifs (duels) ---------- */
.duel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin: 12px 0 8px; }
.duel-carte { background: var(--papier); border: 1px solid var(--ligne); border-radius: 18px; padding: 22px; text-align: center; box-shadow: var(--ombre); }
.duel-carte .marque { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gris); font-weight: 600; }
.duel-visuel { height: 230px; display: flex; justify-content: center; align-items: center; background: linear-gradient(180deg, #f4ede4, #ebe1d4); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.duel-visuel svg, .duel-visuel .photo-produit { height: 100%; width: auto; }
.duel-note { font: 700 2rem/1 var(--titre); color: var(--accent); margin: 10px 0 4px; }
.duel-note small { font-size: .45em; color: var(--gris); }
.vs { font: 700 1.3rem/1 var(--titre); color: #fff; background: var(--accent); width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; }
@media (max-width: 760px) { .duel { grid-template-columns: 1fr; } .vs { margin: 0 auto; } }
.legende-duel { font-size: .85rem; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pastille { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.pastille.pa, .jauge .rempli:not(.rb) { background: var(--accent); }
.pastille.pb, .jauge .rempli.rb { background: var(--or); }
.echelle { display: flex; gap: 48px; justify-content: center; align-items: flex-end; flex-wrap: wrap; }
.echelle > div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.echelle rect.ra { fill: var(--accent); opacity: .85; }
.echelle rect.rb { fill: var(--or); opacity: .85; }
.duel-une { display: flex; gap: 24px; align-items: center; background: var(--papier); border: 1px solid var(--ligne); border-radius: 18px; padding: 24px; text-decoration: none; color: var(--encre); box-shadow: var(--ombre); }
.duel-une:hover { border-color: var(--accent); }
.duel-une .lien { color: var(--accent); font-weight: 600; }
.duel-mini { width: 130px; height: 170px; display: flex; justify-content: center; flex-shrink: 0; }
.duel-mini svg, .duel-mini .photo-produit { height: 100%; width: auto; }
@media (max-width: 760px) { .duel-une { flex-direction: column; text-align: center; } }
.grille-duels { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.carte-duel { background: var(--papier); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px; text-decoration: none; color: var(--encre); display: flex; flex-direction: column; gap: 4px; transition: border-color .15s; }
.carte-duel:hover { border-color: var(--accent); transform: translateY(-2px); }
.carte-duel b { font-family: var(--titre); font-size: 1.05rem; }
.carte-duel-visuels { display: flex; align-items: center; justify-content: center; gap: 10px; height: 150px; background: linear-gradient(180deg, #f4ede4, #ebe1d4); border-radius: 10px; padding: 10px; }
.carte-duel-visuels > div { height: 100%; display: flex; justify-content: center; flex: 1; }
.carte-duel-visuels svg, .carte-duel-visuels .photo-produit { height: 100%; width: auto; max-width: 100%; }
.vs-mini { font: 700 .8rem/1 var(--texte); color: #fff; background: var(--accent); border-radius: 99px; padding: 6px 8px; }

/* ---------- Duel v2 (UX) ---------- */
:root { --coul-a: var(--accent); --coul-b: #9a6b1c; --fond-a: #f6e9ec; --fond-b: #f7efdf; }
.duel-tete { padding: 18px 0 6px; max-width: 860px; }
.duel-tete h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: .4em; }
.duel-tete .ou { color: var(--gris); font-style: italic; font-weight: 500; }
.duel-tete p { color: var(--gris); }

.dl-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 8px; }
.dl-carte { background: var(--papier); border: 1px solid var(--ligne); border-top: 4px solid var(--coul); border-radius: 16px; padding: 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: var(--ombre); }
.dl-a { --coul: var(--coul-a); --fond: var(--fond-a); }
.dl-b { --coul: var(--coul-b); --fond: var(--fond-b); }
.dl-visuel { width: 100%; height: 190px; display: flex; justify-content: center; align-items: center; background: linear-gradient(180deg, #f6f0e8, #ede3d6); border-radius: 10px; padding: 10px; }
.dl-visuel .photo-produit, .dl-visuel svg { height: 100%; width: auto; max-width: 100%; }
.dl-marque { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); font-weight: 600; margin-top: 6px; }
.dl-modele { font-size: 1.25rem; margin: 0; }
.dl-note { font: 700 1.9rem/1 var(--titre); color: var(--coul); }
.dl-note small { font-size: .45em; color: var(--gris); }
.dl-puces { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 6px; }
.dl-puces span { font-size: .75rem; background: var(--fond); color: var(--encre); border-radius: 99px; padding: 2px 9px; }
.dl-carte .btn { background: var(--coul); margin-top: auto; }
.dl-carte .btn:hover { filter: brightness(.9); }
.dl-lien { font-size: .82rem; }
.dl-vs { position: absolute; left: 50%; top: 95px; transform: translate(-50%, 0); width: 46px; height: 46px; border-radius: 50%; background: var(--encre); color: #fff; font: 700 1rem/46px var(--titre); text-align: center; box-shadow: 0 0 0 5px var(--creme); }
@media (max-width: 600px) {
  .dl-hero { gap: 8px; }
  .dl-carte { padding: 10px; }
  .dl-visuel { height: 120px; padding: 6px; }
  .dl-modele { font-size: 1rem; }
  .dl-note { font-size: 1.5rem; }
  .dl-puces span:nth-child(2) { display: none; }
  .dl-vs { top: 62px; width: 38px; height: 38px; line-height: 38px; font-size: .85rem; }
  .cache-mobile { display: none; }
  .dl-carte .btn { padding: 10px 8px; font-size: .85rem; }
}

.dl-bloc { margin: 40px 0; }
.dl-bloc > h2 { margin: 0 0 16px; font-size: 1.5rem; border: 0; padding: 0; }

.dl-bref { background: var(--papier); border: 1px solid var(--ligne); border-radius: 14px; overflow: hidden; }
.dl-bref-ligne { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "q g" "d d"; gap: 2px 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--ligne); }
.dl-bref-ligne:last-child { border-bottom: 0; }
.dl-q { grid-area: q; font-weight: 600; }
.dl-gagnant, .dl-egalite { grid-area: g; justify-self: end; }
.dl-detail { grid-area: d; font-size: .8rem; color: var(--gris); }
.dl-gagnant { display: inline-flex; align-items: center; gap: 8px; background: var(--fond); color: var(--coul); font-weight: 700; font-size: .88rem; border-radius: 99px; padding: 3px 12px 3px 4px; }
.dl-mini { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.dl-mini .photo-produit, .dl-mini svg { height: 22px; width: auto; }
.dl-egalite { font-size: .85rem; color: var(--gris); background: var(--creme); border: 1px solid var(--ligne); border-radius: 99px; padding: 4px 12px; }
@media (min-width: 700px) { .dl-bref-ligne { grid-template-columns: 200px 1fr auto; grid-template-areas: "q d g"; } .dl-detail { font-size: .85rem; } }

.dl-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.dl-choix-col { background: var(--papier); border: 1px solid var(--ligne); border-top: 4px solid var(--coul); border-radius: 12px; padding: 16px 18px; }
.dl-choix-col h3 { font-family: var(--texte); font-size: .95rem; color: var(--coul); margin: 0 0 8px; }
.dl-choix-col ul { margin: 0; padding-left: 1.1em; font-size: .93rem; }
.dl-choix-col ul.liste-pf { padding-left: 0; }
.dl-choix-col li { margin-bottom: 6px; }
@media (max-width: 640px) { .dl-choix { grid-template-columns: 1fr; } }

.dl-miroir-tete { display: grid; grid-template-columns: 1fr 120px 1fr; font-size: .8rem; font-weight: 700; margin-bottom: 6px; }
.dl-miroir-tete .dl-a { color: var(--coul-a); text-align: right; }
.dl-miroir-tete .dl-b { color: var(--coul-b); }
.dl-miroir { background: var(--papier); border: 1px solid var(--ligne); border-radius: 14px; padding: 8px 14px; }
.dl-miroir-ligne { display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--ligne); }
.dl-miroir-ligne:last-child { border-bottom: 0; }
.dl-critere { text-align: center; font-size: .82rem; color: var(--gris); line-height: 1.2; }
.dl-barre-g, .dl-barre-d { display: flex; align-items: center; gap: 8px; }
.dl-barre-g { justify-content: flex-end; }
.dl-barre { height: 10px; border-radius: 99px; background: var(--coul); opacity: .85; max-width: calc(100% - 34px); }
.dl-miroir b { font-size: .9rem; min-width: 26px; color: var(--gris); font-weight: 600; }
.dl-miroir b.gagne { color: var(--encre); font-weight: 800; }
@media (max-width: 520px) { .dl-miroir-tete, .dl-miroir-ligne { grid-template-columns: 1fr 86px 1fr; } .dl-critere { font-size: .72rem; } }

.dl-tab { width: 100%; border-collapse: collapse; background: var(--papier); font-size: .92rem; }
.dl-tab th, .dl-tab td { padding: 10px 12px; border-bottom: 1px solid var(--ligne); text-align: left; vertical-align: top; }
.dl-tab tbody th { font-weight: 500; color: var(--gris); width: 34%; }
.dl-tab thead th { font-size: .85rem; color: var(--coul); border-bottom: 2px solid var(--coul); background: var(--fond); }
.dl-tab thead th:first-child { background: var(--papier); border-bottom: 2px solid var(--ligne); }
.dl-tab td.gagne { font-weight: 700; color: var(--vert); }
.dl-check { display: inline-block; margin-left: 6px; font-size: .75rem; background: #e5f2ea; color: var(--vert); border-radius: 99px; padding: 0 6px; }
.dl-tab tr:last-child th, .dl-tab tr:last-child td { border-bottom: 0; }
.dl-plus { margin-top: 10px; }
.dl-plus summary { cursor: pointer; color: var(--accent); font-weight: 600; padding: 8px 0; }
.dl-plus .tab-scroll { margin-top: 6px; }

.dl-echelle { display: flex; justify-content: center; align-items: flex-end; gap: 56px; background: var(--papier); border: 1px solid var(--ligne); border-radius: 14px; padding: 28px 16px 18px 60px; }
.dl-echelle figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dl-boite { position: relative; border: 2px solid var(--coul); background: var(--fond); border-radius: 6px; }
.dl-cote-h { position: absolute; left: -8px; top: 50%; transform: translate(-100%, -50%); font-size: .75rem; color: var(--gris); white-space: nowrap; }
.dl-cote-l { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-size: .75rem; color: var(--coul); font-weight: 600; }
.dl-echelle figcaption { display: flex; flex-direction: column; align-items: center; font-size: .85rem; }
.dl-echelle figcaption span { color: var(--gris); font-size: .78rem; }

.dl-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--ligne); box-shadow: 0 -6px 20px rgba(0,0,0,.07); transform: translateY(110%); transition: transform .25s; }
.dl-sticky.visible { transform: none; }
.dl-sticky a { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-decoration: none; background: var(--fond); border: 1px solid var(--coul); border-radius: 10px; padding: 8px 12px; color: var(--encre); min-width: 0; }
.dl-sticky span { font-weight: 600; font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-sticky b { background: var(--coul); color: #fff; border-radius: 7px; padding: 6px 10px; font-size: .8rem; white-space: nowrap; }
@media (min-width: 900px) { .dl-sticky { left: 50%; right: auto; transform: translate(-50%, 110%); width: 760px; border-radius: 14px 14px 0 0; } .dl-sticky.visible { transform: translate(-50%, 0); } }

.dl-tab { table-layout: fixed; }
@media (max-width: 600px) {
  .dl-tab { font-size: .8rem; }
  .dl-tab th, .dl-tab td { padding: 8px 6px; word-break: break-word; }
  .dl-tab tbody th { width: 32%; }
  .dl-check { margin-left: 3px; }
  .dl-echelle { gap: 36px; padding-left: 52px; }
}

/* Carte duel entièrement cliquable vers le lien affilié ; « Lire l'analyse » garde son propre lien */
.dl-carte { position: relative; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.dl-carte:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(40,20,10,.06), 0 14px 32px rgba(40,20,10,.12); }
.dl-carte .btn::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.dl-carte .dl-lien { position: relative; z-index: 2; padding: 4px 6px; }

/* Barre d'achat permanente sur les duels */
body:has(.dl-sticky) { padding-bottom: 76px; }
.dl-acheter { background: var(--coul); margin-top: 14px; }
.dl-acheter:hover { filter: brightness(.9); }

.dl-sticky .dl-st-nom { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.dl-sticky .dl-st-nom small { font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--coul); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

a.dl-gagnant { text-decoration: none; transition: filter .15s, box-shadow .15s; }
a.dl-gagnant:hover { filter: brightness(.96); box-shadow: 0 0 0 2px var(--coul); }
.dl-fleche { font-weight: 700; opacity: .7; }

/* ---------- Carte entièrement cliquable ---------- */
a.carte { text-decoration: none; color: var(--encre); }
a.carte h3 { color: var(--encre); }
a.carte:hover h3 { color: var(--accent); }
.visuel-defaut { height: 100%; width: auto; color: var(--accent); opacity: .35; }

/* ---------- Hub entretien ---------- */
.etapes { counter-reset: e; list-style: none; padding: 0; }
.etapes li { counter-increment: e; position: relative; padding: 0 0 14px 44px; }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 .9rem/30px var(--texte); text-align: center; }
.voyants td:first-child { font-weight: 600; white-space: nowrap; }

/* ---------- Visuels d'ambiance ---------- */
.ambiance { margin: 0; border-radius: 20px; overflow: hidden; background: var(--accent-clair); aspect-ratio: 3 / 2; }
.ambiance img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tete-visuel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.tete-visuel .ambiance { box-shadow: var(--ombre); }
@media (max-width: 860px) { .tete-visuel { grid-template-columns: 1fr; gap: 20px; } .tete-visuel .ambiance { order: -1; aspect-ratio: 16 / 9; } }
.hero-visuel { position: relative; }
.hero-visuel .ambiance { aspect-ratio: 4 / 3.4; box-shadow: var(--ombre); }
.hero-visuel .hero-carte { position: absolute; left: -32px; right: 24px; bottom: -28px; padding: 18px 20px; grid-template-columns: 90px 1fr; gap: 16px; }
.hero-visuel .hero-carte h2 { font-size: 1.15rem !important; }
@media (max-width: 860px) { .hero-visuel .hero-carte { position: static; margin-top: -40px; margin-inline: 12px; } }
.bandeau-visuel { margin: 8px 0 28px; }
.bandeau-visuel.ambiance { aspect-ratio: 21 / 9; }
.vignette-visuel { aspect-ratio: 16 / 9; margin-bottom: 14px; border-radius: 12px; }
