/* ============================================================
   Pages de contenu « Livrée course » (24/10/2026) — groupe « contenu » : FAQ, outils compatibles, guide de lecture,
   marques et pages marque (scripts/gen-marques.js), nouveautés du catalogue (scripts/catalogue-news.js), résultats,
   avant / après. Chargée seulement par ces pages (body.lv-page.lvc), après style.css : les jetons, l'en-tête, le pied,
   les boutons (.lv-btn), les cartes (.lv-carte, .lv-cadre), les questions (.lv-q), les filets et la réassurance sont
   ceux de l'accueil (public/css/style.css, bloc « Livrée course »). Classes propres : lvc-*.
   Pictogrammes au trait, chiffres en condensé italique (.lv-num), deux thèmes (sombre par défaut, clair :
   html[data-theme="light"]), aucune largeur fixe (320 → 1440 px), cibles d'au moins 44 px.
   ============================================================ */

/* ---------- Commun ---------- */
.lvc main { padding-bottom: 0; }
/* Les traductions (public/js/i18n.js) gardent la classe .grad-text de l'ancien habillage : ici, le souligné de livrée. */
.lvc main .grad-text {   /* main seulement : le « PERF » du logo (en-tête) garde sa couleur */
  -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: inherit;
  background-image: linear-gradient(180deg, var(--lv-r) 0 40%, var(--lv-o) 40% 70%, var(--lv-j) 70% 100%);
  background-repeat: no-repeat; background-size: 100% .15em; background-position: 0 100%;
}
.lvc .lv-souligne { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lvc-ic-txt { display: inline-block; vertical-align: -3px; }
/* Les règles « order » du héros de l'accueil (style.css, < 1008 px) ne jouent pas ici : l'ordre est celui du document. */
.lvc .lv-h1, .lvc .lv-sel, .lvc .lv-badge { order: 0; }
/* Liens dans le texte : la couleur de lien de la livrée, soulignés */
.lvc-prose a, .lvc-phrase a, .lvc-q-corps a, .lvc-note a { color: var(--lv-lien); text-decoration: underline; text-underline-offset: 3px; }
.lvc-prose a:hover, .lvc-phrase a:hover, .lvc-q-corps a:hover, .lvc-note a:hover { color: var(--lv-lien-h); }

/* ---------- Haut de page : surtitre (filet de livrée), titre, phrase ; damier discret à droite ---------- */
.lvc-tete { position: relative; overflow-x: clip; background: var(--lv-bg); }
.lvc-tete::before {
  content: ""; position: absolute; pointer-events: none; top: 0; right: 0; width: 46%; height: 100%;
  background-image: repeating-conic-gradient(var(--lv-damier) 0% 25%, transparent 0% 50%); background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 72%); mask-image: linear-gradient(225deg, #000 0%, transparent 72%);
}
.lvc-tete-in { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 32px; padding-bottom: 24px; }
.lvc-h1 { max-width: 960px; font-size: clamp(2.25rem, 4.2vw, 3.5rem); line-height: 1.02; text-wrap: balance; }
.lvc-phrase { margin: 0; max-width: 780px; font-size: 1.06rem; line-height: 1.55; color: var(--lv-t2); }
.lvc-phrase b, .lvc-phrase strong { color: var(--lv-t); font-weight: 700; }
.lvc-tete .lv-fil { display: flex; flex-wrap: wrap; align-items: center; }
.lvc-tete .lv-fil a { display: inline-flex; align-items: center; min-height: 44px; }
.lvc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }

/* ---------- Sections ---------- */
.lvc-zone { position: relative; background: var(--lv-bg); }
.lvc-zone > .lv-wrap { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; padding-bottom: 48px; }
.lvc-zone-alt { background: var(--lv-faq-bg); border-top: 1px solid var(--lv-ligne-rs); }
/* Colonne de lecture : alignée à gauche sur le titre (le cadre reste celui de la page) */
.lvc-etroit > * { width: 100%; max-width: 900px; box-sizing: border-box; }
.lvc-titre { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin-top: 16px; }
.lvc-titre .lv-h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.lvc-titre .lvc-phrase { font-size: 1rem; }
.lvc-h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 1.125rem; line-height: 1.25; font-weight: 800; color: var(--lv-t); }
.lvc-h3 svg { flex: none; color: var(--lv-coche); }
.lvc-note { margin: 0; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lv-ligne); background: var(--lv-creux); font-size: .88rem; line-height: 1.55; color: var(--lv-t2); }
.lvc-note > svg { flex: none; margin-top: 2px; color: var(--lv-coche); }
.lvc-note b, .lvc-note strong { color: var(--lv-t); }
.lvc-pastille { width: 44px; height: 44px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--lv-creux); border: 1px solid var(--lv-ligne); color: var(--lv-coche); }

/* ---------- Tableaux : défilent dans leur cadre au téléphone, jamais la page ---------- */
.lvc-defile { max-width: 100%; overflow-x: auto; border: 1px solid var(--lv-carte-ligne); border-radius: 14px; background: var(--lv-carte); box-shadow: var(--lv-carte-ombre); }
.lvc-defile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lvc-tab { width: 100%; border-collapse: collapse; font-size: .92rem; line-height: 1.45; color: var(--lv-t2); }
.lvc-tab th, .lvc-tab td { padding: 10px 14px; text-align: left; vertical-align: middle; border-top: 1px solid var(--lv-carte-ligne); }
.lvc-tab thead th { border-top: 0; font-size: .8rem; font-weight: 800; letter-spacing: .02em; color: var(--lv-t2); background: var(--lv-creux); white-space: nowrap; }
.lvc-tab tbody th, .lvc-tab td.lvc-tab-nom { font-weight: 700; color: var(--lv-t); }
.lvc-tab a { color: var(--lv-t); font-weight: 700; text-decoration: underline; text-decoration-color: var(--lv-lien); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lvc-tab a:hover { text-decoration-color: currentColor; }
.lvc-tab .lvc-n { text-align: center; font-variant-numeric: tabular-nums; }
.lvc-tab .lvc-s1 { color: var(--lv-acc-t); font-weight: 700; white-space: nowrap; }
.lvc-tab .lvc-gain { color: var(--lv-acc-t); font-weight: 800; white-space: nowrap; }
.lvc-tab .lvc-ori { white-space: nowrap; }

/* ---------- Appel final (la carte .lv-cta de l'accueil, sans drapeau : un pictogramme) ---------- */
.lvc-cta { margin-top: 12px; }
.lvc-cta-ic { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: var(--lv-reco-bg); color: var(--lv-reco-t); }
.lvc-cta .lv-cta-txt > p { font-size: 1.06rem; }

/* ---------- Champs : la recherche (loupe), les filtres en pastilles ---------- */
.lvc input.search-input { min-height: 50px; border-radius: 10px; border: 1px solid var(--lv-champ); background-color: var(--lv-champ-bg); color: var(--lv-t); font-size: 1rem; padding-left: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%239097a5' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M12.5 12.5L17 17' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 15px center; }
html[data-theme="light"] .lvc input.search-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235b6170' stroke-width='2'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M12.5 12.5L17 17' stroke-linecap='round'/%3E%3C/svg%3E"); }
.lvc input.search-input::placeholder { color: var(--lv-t2); opacity: 1; }
.lvc input.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); outline: none; }
.lvc-filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.lvc-filtre { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--lv-ligne2); background: var(--lv-surf); color: var(--lv-t2); font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.lvc-filtre svg { flex: none; color: var(--lv-coche); }
.lvc-filtre b { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--lv-creux); color: var(--lv-t); font-family: "Barlow Condensed", Outfit, system-ui, sans-serif; font-style: italic; font-weight: 800; font-size: .95rem; text-align: center; }
.lvc-filtre:hover { border-color: var(--lv-champ); color: var(--lv-t); }
.lvc-filtre.on { background: color-mix(in srgb, var(--accent) 12%, transparent); border-color: var(--accent); color: var(--lv-t); }
.lvc-filtre.on b { background: var(--lv-reco-bg); color: var(--lv-reco-t); }
.lvc-filtre:focus-visible, .lvc-lien-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lvc-lien-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--lv-lien); font: inherit; font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.lvc-lien-btn:hover { color: var(--lv-lien-h); }
.lvc-vide { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; border-radius: 16px; border: 1px dashed var(--lv-ligne2); text-align: center; color: var(--lv-t2); }
.lvc-vide svg { color: var(--lv-coche); }
.lvc-vide b { color: var(--lv-t); }
.lvc-vide p { margin: 0; }

/* ============================================================
   FAQ (public/faq.html) : recherche, filtres, questions dépliables (.lv-q) avec leur pictogramme
   ============================================================ */
.lvc-faq-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin-top: -6px; }
.lvc-faq-outils > span { margin-right: auto; font-size: .9rem; font-weight: 700; color: var(--lv-t2); }
.lvc-faq { display: flex; flex-direction: column; gap: 10px; }
.lvc-q { scroll-margin-top: calc(var(--header-h, 64px) + 12px); }   /* arrivée par ancre (/faq.html#qui-calibre) : sous l'en-tête fixe */
.lvc-q summary { justify-content: flex-start; padding-left: 12px; }
.lvc-q summary > svg { margin-left: auto; }
.lvc-q-t { min-width: 0; flex: 1 1 auto; line-height: 1.35; }
.lvc-q-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--lv-creux); border: 1px solid var(--lv-ligne); color: var(--lv-coche); transition: background-color .2s, color .2s; }
.lvc-q summary .lvc-q-ic svg { color: inherit; }
.lvc-q[open] { border-color: color-mix(in srgb, var(--accent) 55%, var(--lv-carte-ligne)); }
.lvc-q[open] .lvc-q-ic { background: var(--lv-reco-bg); border-color: transparent; color: var(--lv-reco-t); }
.lvc-q summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lvc-q-corps { display: flex; flex-direction: column; gap: 10px; padding: 0 20px 20px 64px; }
.lvc-q .lvc-q-corps p { margin: 0; padding: 0; }
.lvc-etapes { display: flex; flex-direction: column; gap: 8px; }
.lvc-etapes > span { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--lv-creux); border: 1px solid var(--lv-ligne); font-size: .94rem; line-height: 1.45; color: var(--lv-t); }
.lvc-etapes b { flex: none; min-width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--lv-reco-bg); color: var(--lv-reco-t); font-family: "Barlow Condensed", Outfit, system-ui, sans-serif; font-style: italic; font-weight: 800; font-size: 1.05rem; transform: skewX(-8deg); }

/* ============================================================
   Outils compatibles (public/outils.html) : chiffres, cartes des outils (rendues par le script de la page), matrice,
   les trois méthodes de lecture
   ============================================================ */
.lvc-chiffres { display: flex; flex-wrap: wrap; gap: 8px 28px; min-height: 2.4em; font-size: .95rem; color: var(--lv-t2); }
.lvc-chiffres > span { display: inline-flex; align-items: baseline; gap: 8px; }
.lvc-chiffres b { font-size: 2rem; line-height: 1; color: var(--lv-t); }
.lvc-page .btn.lvc-btn-long, .lvc .btn.lvc-btn-long { height: auto; min-height: 54px; padding-top: 10px; padding-bottom: 10px; white-space: normal; text-align: left; }
.lvc-outils { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
/* Les cartes arrivent avec /api/tools : leur place est gardée tant que la grille est vide (au bureau et à la tablette, la
   matrice qui suit est au premier écran ; au téléphone, la grille est sous la ligne de flottaison) : aucun décalage (CLS). */
@media (min-width: 641px) { .lvc-outils:empty { min-height: 1000px; } }
@media (min-width: 641px) and (max-width: 979px) { .lvc-outils:empty { min-height: 1480px; } }
.lvc-outil { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; border-radius: 16px; background: var(--lv-carte); border: 1px solid var(--lv-carte-ligne); box-shadow: var(--lv-carte-ombre); transition: border-color .2s; }
.lvc-outil:hover { border-color: var(--lv-champ); }
.lvc-outil.full { border-color: color-mix(in srgb, var(--accent) 55%, var(--lv-carte-ligne)); }
.lvc-outil-tete { align-self: stretch; display: flex; align-items: center; gap: 12px; }
.lvc-outil-logo { flex: none; width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--lv-creux); border: 1px solid var(--lv-ligne2); color: var(--lv-t); font-family: "Barlow Condensed", Outfit, system-ui, sans-serif; font-style: italic; font-weight: 800; font-size: 1.25rem; letter-spacing: .02em; }
.lvc-outil-id { min-width: 0; flex: 1 1 auto; }
.lvc-outil-id h3 { margin: 0; font-size: 1.15rem; line-height: 1.2; font-weight: 800; color: var(--lv-t); }
.lvc-outil-id small { font-size: .84rem; color: var(--lv-t2); }
.lvc-outil-ruban { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--lv-reco-bg); color: var(--lv-reco-t); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.lvc-slave { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--lv-ligne2); font-size: .8rem; font-weight: 700; color: var(--lv-t2); }
.lvc-slave.ok { border-color: color-mix(in srgb, var(--green) 50%, transparent); color: var(--lv-t); }
.lvc-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.lvc-mode { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; font-size: .84rem; font-weight: 700; }
.lvc-mode.on { background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); color: var(--lv-t); }
.lvc-mode.on svg { color: var(--lv-coche); }
.lvc-mode.off { border: 1px dashed var(--lv-ligne2); color: var(--lv-t2); text-decoration: line-through; }
.lvc-outil-note { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--lv-t2); }
.lvc-matrice { min-width: 560px; }
.lvc-th-ic { display: inline-flex; align-items: center; gap: 6px; }
.lvc-th-ic svg { color: var(--lv-coche); }
.lvc-mx { font-weight: 800; }
.lvc-mx.oui { color: var(--lv-acc-t); }
.lvc-mx.non { color: var(--lv-t2); }
.lvc-tab tbody tr:hover > * { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.lvc-methodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.lvc-methode { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 16px; background: var(--lv-carte); border: 1px solid var(--lv-carte-ligne); box-shadow: var(--lv-carte-ombre); }
.lvc-methode-tete { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.lvc-methode h3 { margin: 0; font-size: 1.5rem; line-height: 1.1; font-weight: 900; color: var(--lv-t); }
.lvc-methode > p { margin: 0; font-size: .94rem; line-height: 1.55; color: var(--lv-t2); }
.lvc-methode-outils { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; }
.lvc-methode-outils small { flex-basis: 100%; font-size: .8rem; font-weight: 700; color: var(--lv-t2); }
/* Difficulté : trois barres inclinées (le filet de livrée) */
.lvc-diff { display: inline-flex; align-items: center; gap: 3px; font-size: .84rem; font-weight: 700; color: var(--lv-t2); }
.lvc-diff i { width: 6px; height: 12px; border-radius: 1px; background: var(--lv-ligne2); transform: skewX(-20deg); }
.lvc-diff > span { margin-left: 6px; }
.lvc-diff-1 i:nth-child(1), .lvc-diff-2 i:nth-child(-n+2), .lvc-diff-3 i { background: var(--accent); }
.lvc-diff-2 i:nth-child(2), .lvc-diff-3 i:nth-child(2) { background: #ff6b1a; }
.lvc-diff-3 i:nth-child(3) { background: #ffc21a; }
.lvc-note-info { border-color: var(--lv-ligne2); }
.lvc-note p { margin: 0; }

/* ============================================================
   Guide de lecture (public/guide-lecture.html) : le sélecteur de l'accueil (.lv-sel, cinq menus), puis le guide rendu
   par le script de la page — la méthode (OBD / bench / boot, couleur portée par lvc-meth-*), les étapes, le matériel
   ============================================================ */
.lvc-sel { align-self: stretch; margin-top: 6px; }
.lvc-sel .lv-sel-grille { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.lvc-g { display: flex; flex-direction: column; gap: 14px; min-height: 120px; }
.lvc-g-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lvc-g-tags .lv-puce { white-space: normal; min-height: 32px; }
.lvc-note-ok { border-color: color-mix(in srgb, var(--green) 50%, transparent); color: var(--lv-t); }
.lvc-note-ok > svg { color: var(--green); }
.lvc-note-alerte { border-color: color-mix(in srgb, #ff6b1a 60%, transparent); background: color-mix(in srgb, #ff6b1a 8%, var(--lv-creux)); color: var(--lv-t); }
.lvc-note-alerte > svg { color: #ff6b1a; }
html[data-theme="light"] .lvc-note-alerte > svg { color: #b4470c; }
.lvc-g-meth { --meth: var(--green); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--lv-carte-ligne); border-left: 6px solid var(--meth); background: var(--lv-carte); box-shadow: var(--lv-carte-ombre); }
.lvc-meth-bench { --meth: #ff6b1a; }
.lvc-meth-boot { --meth: var(--accent); }
.lvc-g-badge { padding: 6px 14px; border-radius: 10px; background: color-mix(in srgb, var(--meth) 16%, transparent); border: 1px solid color-mix(in srgb, var(--meth) 60%, transparent); color: var(--lv-t); font-size: 1.05rem; font-weight: 800; }
.lvc-g-meth-txt { min-width: 0; flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.lvc-g-meth-txt b { color: var(--lv-t); font-weight: 800; }
.lvc-g-meth-txt span { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; line-height: 1.5; color: var(--lv-t2); }
.lvc-g-meth-txt svg { flex: none; margin-top: 2px; color: var(--lv-coche); }
.lvc-g-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: 16px; align-items: start; }
.lvc-g-etapes { counter-reset: lvcg; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lvc-g-etapes li { position: relative; padding: 12px 14px 12px 52px; border-radius: 12px; border: 1px solid var(--lv-ligne); background: var(--lv-creux); font-size: .92rem; line-height: 1.55; color: var(--lv-t2); }
.lvc-g-etapes li::before { counter-increment: lvcg; content: counter(lvcg); position: absolute; left: 12px; top: 11px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--lv-reco-bg); color: var(--lv-reco-t); font-family: "Barlow Condensed", Outfit, system-ui, sans-serif; font-style: italic; font-weight: 800; font-size: 1.05rem; }
.lvc-g-etapes b { color: var(--lv-t); }
.lvc-g-etapes a, .lvc-g-notool a { color: var(--lv-lien); text-decoration: underline; text-underline-offset: 3px; }
.lvc-g-need { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lvc-g-need li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; line-height: 1.5; color: var(--lv-t2); }
.lvc-g-need svg { flex: none; margin-top: 2px; color: var(--lv-coche); }
.lvc-g-need b { color: var(--lv-t); }
.lvc .btn.lvc-g-cta { align-self: stretch; margin-top: 4px; white-space: normal; text-align: center; }
.lvc-g-notool { margin: 0; text-align: center; font-size: .84rem; color: var(--lv-t2); }
.lvc-g-seo > p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--lv-t2); }
.lvc-g-seo b { color: var(--lv-t); }
.lvc-g-liste { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; font-size: .95rem; line-height: 1.6; color: var(--lv-t2); }
.lvc-g-liste li::marker { color: var(--lv-acc-t); }
@media (max-width: 820px) {
  .lvc-g-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   Marques (public/marques.html, grille écrite par scripts/gen-marques.js) et pages marque (public/marques/*.html, même
   générateur) : vignettes de logo (fichiers -64 / -128 du catalogue), vécu réel, tableaux, FAQ, appel final
   ============================================================ */
.lvc-logo { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #ffffff; border: 1px solid var(--lv-ligne); display: inline-flex; align-items: center; justify-content: center; padding: 5px; box-sizing: border-box; }
.lvc-logo img { width: 100%; height: 100%; object-fit: contain; }
.lvc-logo-mono { background: var(--lv-reco-bg); border-color: transparent; color: var(--lv-reco-t); font-family: "Barlow Condensed", Outfit, system-ui, sans-serif; font-style: italic; font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; }
.lvc-marques { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.lvc-marque { min-width: 0; display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 10px 14px; box-sizing: border-box; border-radius: 14px; background: var(--lv-carte); border: 1px solid var(--lv-carte-ligne); box-shadow: var(--lv-carte-ombre); color: var(--lv-t); text-decoration: none; transition: border-color .2s, transform .2s; }
.lvc-marque:hover { border-color: var(--accent); color: var(--lv-t); transform: translateY(-1px); }
.lvc-marque:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.lvc-marque-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lvc-marque-t h3 { margin: 0; font-size: 1.02rem; line-height: 1.2; font-weight: 800; color: var(--lv-t); overflow-wrap: anywhere; }
.lvc-marque-t small { font-size: .82rem; line-height: 1.35; color: var(--lv-t2); }
/* Page marque : le logo dans le surtitre, le vécu réel, les titres de section */
.lvc-marque-sur { flex-wrap: wrap; row-gap: 8px; }
.lvc-marque-sur .lvc-logo { width: 34px; height: 34px; padding: 3px; border-radius: 9px; }
.lvc-vecu { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 14px 18px; font-size: .95rem; color: var(--lv-t2); }
.lvc-vecu-t { display: inline-flex; align-items: center; gap: 8px; color: var(--lv-t); font-weight: 800; }
.lvc-vecu-t svg { color: var(--lv-coche); }
.lvc-vecu b.lv-num { font-size: 1.5rem; line-height: 1; color: var(--lv-t); }
.lvc-vecu small { flex-basis: 100%; font-size: .8rem; color: var(--lv-t2); }
.lvc-h2-m { margin-top: 18px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lvc-zone > .lv-wrap > .lvc-h2-m:first-child { margin-top: 0; }
.lvc-comment > p { margin: 0; font-size: .95rem; line-height: 1.6; color: var(--lv-t2); }
.lvc-faq-marque { max-width: 900px; }
.lvc-tab .lvc-gain.lv-num { font-size: 1.15rem; }

/* ============================================================
   Nouveautés du catalogue (public/nouveautes.html, écrite par scripts/catalogue-news.js) : totaux, historique daté
   ============================================================ */
.lvc-totaux { display: flex; flex-wrap: wrap; gap: 10px; }
.lvc-total { min-width: 128px; display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: 14px; background: var(--lv-carte); border: 1px solid var(--lv-carte-ligne); box-shadow: var(--lv-carte-ombre); }
.lvc-total b { font-size: 2.25rem; line-height: 1; color: var(--lv-t); white-space: nowrap; }
.lvc-total span { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lv-t2); }
.lvc-maj { margin: 0; font-size: .84rem; color: var(--lv-t2); }
.lvc-nv-liste { display: flex; flex-direction: column; border-radius: 16px; background: var(--lv-carte); border: 1px solid var(--lv-carte-ligne); box-shadow: var(--lv-carte-ombre); overflow: hidden; }
.lvc-nv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 20px; padding: 16px 20px; border-top: 1px solid var(--lv-carte-ligne); }
.lvc-nv:first-child { border-top: 0; }
.lvc-nv-date { padding-top: 2px; font-family: "Barlow Condensed", Outfit, system-ui, sans-serif; font-style: italic; font-weight: 800; font-size: 1rem; letter-spacing: .02em; color: var(--lv-sur-c); }
.lvc-nv-corps { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.lvc-nv-corps h3 { margin: 0; font-size: 1rem; line-height: 1.4; font-weight: 700; color: var(--lv-t); }
.lvc-nv-puces { display: flex; flex-wrap: wrap; gap: 6px; }
.lvc-nv-puces:empty { display: none; }
.lvc-nv-puces .lv-puce { font-size: .8rem; }
.lvc-nv-puces .lvc-nv-mot { border-color: color-mix(in srgb, var(--accent) 55%, var(--lv-ligne2)); color: var(--lv-t); }
.lvc-nv-puces .lvc-nv-marque { background: var(--lv-reco-bg); border-color: transparent; color: var(--lv-reco-t); }

/* ============================================================
   Courbes (résultats, avant / après) : mêmes données, mêmes tracés ; les couleurs passent en classes, lisibles dans les
   deux thèmes (traits à plus de 3:1 sur le fond du graphique) : puissance = orange de livrée, couple = jaune (ambre en
   clair), origine = gris en pointillés.
   ============================================================ */
.lvc { --lvc-puis: #ff6b1a; --lvc-couple: #ffc21a; --lvc-ori: #8a92a2; --lvc-graphe: #0e1016; }
html[data-theme="light"] .lvc { --lvc-puis: #c2410c; --lvc-couple: #8a6200; --lvc-ori: #6b7280; --lvc-graphe: #f4f5f7; }
.lvc-c-puis { stroke: var(--lvc-puis); }
.lvc-c-couple { stroke: var(--lvc-couple); }
.lvc-c-ori { stroke: var(--lvc-ori); }
.lvc-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--lv-t2); }
.lvc-legende span { display: inline-flex; align-items: center; gap: 6px; }
.lvc-legende i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; }
.lvc-l-puis { background: var(--lvc-puis); }
.lvc-l-couple { background: var(--lvc-couple); }
.lvc-l-ori { background: repeating-linear-gradient(90deg, var(--lvc-ori) 0 4px, transparent 4px 7px); }

/* ---------- Résultats (public/resultats.html) : une carte par motorisation, rendue par le script de la page ---------- */
.lvc-res-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lvc-res { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: var(--lv-carte); border: 1px solid var(--lv-carte-ligne); box-shadow: var(--lv-carte-ombre); }
.lvc-res-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.lvc-res-tete h3 { margin: 0; font-size: 1.15rem; line-height: 1.25; font-weight: 800; color: var(--lv-t); }
.lvc-res-note { margin: 0; font-size: .84rem; color: var(--lv-t2); }
.lvc-dyno { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--lv-ligne); background: var(--lvc-graphe); color: var(--lv-t); }
.lvc-res-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.lvc-res-num { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 9px 8px; border-radius: 10px; border: 1px solid var(--lv-ligne); background: var(--lv-creux); text-align: center; }
.lvc-res-num b { font-size: 1.1rem; line-height: 1.15; color: var(--lv-t); }
.lvc-res-num.gain { border-color: color-mix(in srgb, var(--accent) 55%, var(--lv-ligne)); }
.lvc-res-num.gain b { color: var(--lv-acc-t); }
.lvc-res-num span { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lv-t2); }
.lvc-honnete { max-width: 860px; }
.lvc-honnete p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--lv-t2); }
.lvc-honnete p b { color: var(--lv-t); }
.lvc-res-liens .btn svg { color: var(--lv-coche); }
@media (max-width: 900px) {
  .lvc-res-grille { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Avant / après (public/avant-apres.html) : recherche, suggestions, curseur « glisser pour comparer » ----------
   Les classes aa-* sont celles que le script de la page lit ou pose (show, aa-draw) : leur rôle ne change pas. */
.lvc-aa-recherche { position: relative; align-self: stretch; max-width: 640px; margin-top: 6px; }
.lvc-aa-recherche .search-input { width: 100%; box-sizing: border-box; min-height: 54px; font-size: 1.05rem; }
.aa-results { position: absolute; left: 0; right: 0; top: 60px; z-index: 20; display: none; overflow: hidden; border-radius: 12px; background: var(--lv-surf); border: 1px solid var(--lv-ligne2); box-shadow: var(--lv-sel-ombre); }
.aa-results.show { display: block; }
.aa-result { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 8px 15px; box-sizing: border-box; border-top: 1px solid var(--lv-ligne); color: var(--lv-t); cursor: pointer; }
.aa-result:first-child { border-top: 0; }
.aa-result:hover { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.aa-result b { font-size: .95rem; }
.aa-result small { display: block; font-size: .8rem; color: var(--lv-t2); }
.aa-result .g { color: var(--lv-acc-t); font-family: "Barlow Condensed", Outfit, system-ui, sans-serif; font-style: italic; font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.aa-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.aa-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--lv-ligne2); background: var(--lv-surf); color: var(--lv-t2); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s; }
.aa-chip:hover { border-color: var(--accent); color: var(--lv-t); }
.aa-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.aa-stage { display: none; }
.aa-stage.show { display: flex; flex-direction: column; gap: 14px; }
.aa-vhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.aa-vhead h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; color: var(--lv-t); }
.aa-vhead .lv-puce:empty { display: none; }
.aa-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.aa-num { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; border-radius: 14px; background: var(--lv-carte); border: 1px solid var(--lv-carte-ligne); box-shadow: var(--lv-carte-ombre); text-align: center; }
.aa-num b { font-size: 2rem; line-height: 1; color: var(--lv-t); }
.aa-num.gain { border-color: color-mix(in srgb, var(--accent) 55%, var(--lv-carte-ligne)); }
.aa-num.gain b { color: var(--lv-acc-t); }
.aa-num span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lv-t2); }
.aa-compare { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--lv-carte-ligne); background: var(--lvc-graphe); touch-action: none; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.aa-compare svg { display: block; width: 100%; height: auto; }
.lvc-aa-svg { color: var(--lv-t); }
.aa-after { position: absolute; inset: 0; }
.aa-handle { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent); transform: translateX(-1px); pointer-events: none; }
.aa-handle::after { content: "⇄"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--lv-bande); color: var(--accent-ink, #ffffff); font-size: 1.05rem; font-weight: 800; box-shadow: 0 4px 16px rgba(0, 0, 0, .35); }
.aa-tag { position: absolute; top: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-family: "Barlow Condensed", Outfit, system-ui, sans-serif; font-style: italic; font-weight: 800; font-size: .85rem; letter-spacing: .06em; }
.aa-tag.orig { left: 12px; background: var(--lv-surf); border: 1px solid var(--lv-ligne2); color: var(--lv-t2); }
.aa-tag.tuned { right: 12px; background: var(--lv-reco-bg); color: var(--lv-reco-t); }
.aa-draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: aaDraw 1.1s ease forwards; }
@keyframes aaDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .aa-draw { animation: none; stroke-dashoffset: 0; } }
.aa-feel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.aa-feel > div { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--lv-ligne); background: var(--lv-creux); font-size: .92rem; line-height: 1.5; color: var(--lv-t2); }
.aa-feel svg { flex: none; margin-top: 2px; color: var(--lv-coche); }
.aa-feel b { color: var(--lv-t); }
.aa-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.aa-note { margin: 0; font-size: .8rem; line-height: 1.5; color: var(--lv-t2); }

/* ============================================================
   Téléphone
   ============================================================ */
@media (max-width: 640px) {
  .lvc-tete-in { gap: 10px; padding-top: 18px; padding-bottom: 16px; }
  .lvc-h1 { font-size: 1.875rem; line-height: 1.06; }
  .lvc-tete .lv-sur { font-size: .9rem; }
  .lvc-phrase { font-size: .94rem; line-height: 1.5; }
  .lvc-zone > .lv-wrap { gap: 16px; padding-top: 18px; padding-bottom: 32px; }
  .lvc-titre .lv-h2 { font-size: 1.5rem; }
  .lvc-tab th, .lvc-tab td { padding: 8px 10px; }
  .lvc-tab { font-size: .86rem; }
  .lvc-filtre { padding: 0 12px; font-size: .86rem; }
  .lvc-q summary { gap: 10px; padding-left: 8px; }
  .lvc-q-ic { width: 34px; height: 34px; }
  .lvc-q-ic svg { width: 18px; height: 18px; }
  .lvc-q-corps { padding: 0 14px 14px; }
  .lvc-etapes > span { font-size: .86rem; padding: 8px 10px; }
  .lvc-cta-ic { width: 40px; height: 40px; }
  .lvc-chiffres { gap: 6px 18px; }
  .lvc-chiffres b { font-size: 1.6rem; }
  .lvc-outil, .lvc-methode { padding: 14px; }
  .lvc-methode h3 { font-size: 1.25rem; }
  .lvc-g-meth { padding: 12px 14px; }
  .lvc-marques { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .lvc-marque { flex-direction: column; align-items: flex-start; gap: 8px; min-height: 0; padding: 10px 12px; }
  .lvc-logo { width: 40px; height: 40px; }
  .lvc-marque-t h3 { font-size: .95rem; }
  .lvc-marque-t small { font-size: .76rem; }
  .lvc-vecu { padding: 12px 14px; gap: 6px 16px; }
  .lvc-h2-m { font-size: 1.375rem; margin-top: 10px; }
  .lvc-totaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .lvc-total { min-width: 0; padding: 10px 12px; }
  .lvc-total b { font-size: 1.6rem; }
  .lvc-total span { font-size: .68rem; letter-spacing: .04em; }
  .lvc-nv { grid-template-columns: minmax(0, 1fr); padding: 12px 14px; }
  .lvc-res { padding: 14px; }
  .lvc-res-nums { grid-template-columns: minmax(0, 1fr); }
  .lvc-res-num { flex-direction: row; align-items: baseline; justify-content: space-between; text-align: left; padding: 8px 10px; }
  .aa-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .aa-num b { font-size: 1.6rem; }
  .aa-feel { grid-template-columns: minmax(0, 1fr); }
  .aa-cta .btn { flex: 1 1 100%; justify-content: center; }
  .lvc-g-etapes li { padding: 10px 12px 10px 46px; font-size: .88rem; }
  .lvc-g-etapes li::before { left: 10px; top: 9px; width: 26px; height: 26px; }
  .lvc .lv-cta-boutons { align-self: stretch; }
  .lvc .lv-cta-boutons .btn { flex: 1 1 100%; justify-content: center; }
}
