/* Puce et Vis : l'établi de réparation.
   Vert vernis de circuit imprimé, cuivre des pistes, gris du tapis de démontage. */
:root {
  --primary: #145943;
  --primary-light: #2E7D62;
  --primary-pale: #DDEBE4;
  --cuivre: #A9531F;
  --cuivre-pale: #F6E6DA;
  --dark: #0E2A21;
  --text: #17201C;
  --text-light: #45524C;
  --bg: #E8ECEA;
  --bg-alt: #FFFFFF;
  --bac: #D9DFDC;
  --border: rgba(20, 89, 67, 0.18);
  --shadow: rgba(14, 42, 33, 0.14);
  --radius: 3px;
  --radius-bac: 10px;
  --max-width: 1240px;
  --titres: 'Gabarito', 'Segoe UI', sans-serif;
  --corps: 'Golos Text', 'Segoe UI', Arial, sans-serif;
  --main: 'Caveat', 'Segoe Print', cursive;
  --quadrillage: rgba(20, 89, 67, 0.055);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background-color: var(--bg); background-image: linear-gradient(var(--quadrillage) 1px, transparent 1px), linear-gradient(90deg, var(--quadrillage) 1px, transparent 1px); background-size: 24px 24px; color: var(--text); font-family: var(--corps); font-weight: 400; line-height: 1.75; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cuivre); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--cuivre); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--titres); color: var(--dark); line-height: 1.2; text-wrap: pretty; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; margin: 2em 0 .6em; }
h3 { font-size: 1.15rem; font-weight: 700; margin: 1.6em 0 .4em; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

/* ---------- En-tête ---------- */
.pv-entete { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 20; }
.pv-entete-ligne { max-width: var(--max-width); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 24px; }
.pv-marque { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex-shrink: 0; }
.pv-marque:hover { color: #fff; }
.pv-marque-signe { color: #CFE3D8; }
.pv-marque-cuivre { stroke: #E08A50; }
.pv-marque-nom { font-family: var(--titres); font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; }
.pv-marque-nom em { font-style: normal; font-weight: 500; color: #E08A50; }
.pv-menu { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-left: auto; align-items: center; }
.pv-menu a { color: #E4EEE9; text-decoration: none; font-size: .92rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.pv-menu a:hover, .pv-menu a[aria-current="page"] { color: #fff; border-bottom-color: #E08A50; }
.pv-menu .pv-menu-outil { color: #fff; border: 1.5px solid #E08A50; padding: 5px 12px; border-radius: var(--radius); }
.pv-menu .pv-menu-outil:hover { background: #E08A50; color: var(--dark); }
.pv-burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.pv-burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s; }

/* ---------- Fil d'Ariane ---------- */
.pv-fil { max-width: var(--max-width); margin: 0 auto; padding: 18px 20px 0; font-size: .85rem; color: var(--text-light); }
.pv-fil ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.pv-fil li + li::before { content: "›"; margin: 0 6px 0 2px; color: var(--cuivre); }
.pv-fil a { color: var(--text-light); }

/* ---------- Accueil ---------- */
.pv-etabli { max-width: var(--max-width); margin: 0 auto; padding: 40px 20px 20px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.pv-etabli h1 { font-size: clamp(2.1rem, 4.8vw, 3.3rem); }
.pv-etabli h1 span { color: var(--cuivre); }
.pv-etabli-chapo { font-size: 1.15rem; color: var(--text); }
.pv-question { background: var(--bg-alt); border: 1px solid var(--border); border-left: 6px solid var(--primary); padding: 18px 20px; margin-top: 24px; border-radius: var(--radius); }
.pv-question label { display: block; font-family: var(--titres); font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.pv-question-champ { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-question select { flex: 1 1 220px; min-width: 0; max-width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); background: #fff; color: var(--text); min-height: 48px; }
.pv-question button { font: inherit; font-weight: 700; background: var(--primary); color: #fff; border: 0; border-radius: var(--radius); padding: 10px 20px; min-height: 48px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.pv-question button:hover { background: var(--dark); color: #fff; }

/* Le bac à vis : compartiments en creux */
.pv-bac { background: var(--bac); border-radius: 18px; padding: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; box-shadow: inset 0 2px 6px var(--shadow); }
.pv-bac-case { background: var(--bg); border-radius: var(--radius-bac); padding: 18px 16px 16px; box-shadow: inset 0 3px 8px var(--shadow), inset 0 -1px 0 rgba(255,255,255,.7); text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 6px; min-height: 150px; transition: background .15s; }
.pv-bac-case:hover { background: #F3F6F4; color: var(--text); }
.pv-bac-case .pv-empreinte { color: var(--cuivre); }
.pv-bac-case strong { font-family: var(--titres); font-size: 1.15rem; color: var(--dark); }
.pv-bac-case span { font-size: .92rem; color: var(--text-light); line-height: 1.5; }
.pv-bac-case-large { background: var(--primary); color: #fff; box-shadow: inset 0 3px 8px rgba(0,0,0,.25); }
.pv-bac-case-large span { display: block; margin-top: 6px; }
.pv-bac-case-large:hover { background: var(--dark); color: #fff; }
.pv-bac-case-large strong { color: #fff; }
.pv-bac-case-large span { color: #D7E8DF; }
.pv-bac-case-large .pv-empreinte { color: #E08A50; flex-shrink: 0; }

.pv-plan-travail { max-width: var(--max-width); margin: 0 auto; padding: 20px 20px 50px; }
.pv-plan-travail > h2 { border-top: 2px solid var(--dark); padding-top: 18px; }
.pv-colonnes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
.pv-colonne h3 { display: flex; align-items: center; gap: 10px; margin-top: 1.2em; }
.pv-colonne h3 a { color: var(--dark); text-decoration: none; }
.pv-colonne h3 .pv-empreinte { color: var(--cuivre); }
.pv-colonne ul { list-style: none; margin: 0; padding: 0; }
.pv-colonne li { border-bottom: 1px solid var(--border); }
.pv-colonne li a { display: block; padding: 9px 0; text-decoration: none; color: var(--text); }
.pv-colonne li a:hover { color: var(--cuivre); }
.pv-methode { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; background: var(--bg-alt); padding: 28px; border-radius: var(--radius); margin-top: 40px; border: 1px solid var(--border); }
.pv-methode h2 { margin-top: 0; }

/* ---------- Pages de rubrique ---------- */
.pv-rubrique { max-width: var(--max-width); margin: 0 auto; padding: 24px 20px 50px; }
.pv-rubrique-tete { display: flex; gap: 18px; align-items: flex-start; }
.pv-rubrique-tete .pv-empreinte { color: var(--cuivre); flex-shrink: 0; margin-top: 8px; }
.pv-rubrique-chapo { font-size: 1.1rem; }
.pv-liste-pannes { list-style: none; padding: 0; margin: 18px 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pv-liste-pannes a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; height: 100%; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.pv-liste-pannes a:hover { border-color: var(--cuivre); transform: translateY(-2px); color: var(--text); }
.pv-liste-pannes .pv-dessin { width: 64px; height: 64px; color: var(--dark); }
.pv-ligne-texte strong { display: block; font-family: var(--titres); font-weight: 700; font-size: 1.15rem; color: var(--dark); line-height: 1.25; margin-bottom: 4px; }
.pv-liste-pannes a:hover strong { color: var(--cuivre); }
.pv-ligne-texte > span { display: block; color: var(--text-light); font-size: .95rem; line-height: 1.5; }
.pv-ligne-fiche { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 10px; font-size: .85rem !important; color: var(--text) !important; }
.pv-ligne-fiche .pv-niveau-vis { width: 13px; height: 13px; }
.pv-ligne-fiche .pv-niveau-vis::after { top: 4px; height: 1.5px; }
.pv-ligne-duree { padding-left: 10px; border-left: 1px solid var(--border); }

/* ---------- Articles ---------- */
.pv-intervention { max-width: var(--max-width); margin: 0 auto; padding: 20px 20px 50px; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 44px; align-items: start; }
.pv-intervention-tete { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; }
.pv-intervention-tete > .pv-dessin { width: 88px; height: 88px; margin-top: 4px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-bac); padding: 10px; box-shadow: inset 0 2px 5px var(--shadow); }
.pv-chapo { font-size: 1.15rem; }
.pv-maj { font-size: .85rem; color: var(--text-light); }
.pv-fiche { position: sticky; top: 84px; background: var(--bg-alt); border-top: 6px solid var(--primary); padding: 16px 18px 6px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 1px 3px var(--shadow); }
.pv-fiche-titre { font-family: var(--titres); font-weight: 700; color: var(--dark); font-size: 1.05rem; margin-bottom: 8px; }
.pv-fiche dl { margin: 0; }
.pv-fiche dt { font-weight: 700; font-size: .85rem; color: var(--primary); margin-top: 10px; }
.pv-fiche dd { margin: 2px 0 10px; font-size: .95rem; line-height: 1.5; padding-bottom: 10px; border-bottom: 1px dashed var(--border); }
.pv-fiche dd:last-of-type { border-bottom: 0; }
.pv-niveau { display: inline-flex; gap: 5px; vertical-align: middle; }
.pv-niveau-vis { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--cuivre); position: relative; }
.pv-niveau-vis::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 2px; background: var(--cuivre); }
.pv-niveau-pleine { background: var(--cuivre); }
.pv-niveau-pleine::after { background: #fff; }
.pv-texte { min-width: 0; }
.pv-texte > h2:first-child { margin-top: 0; }
.pv-texte ul, .pv-texte ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.pv-texte li { margin-bottom: .45em; }
.pv-texte li::marker { color: var(--cuivre); font-weight: 700; }
.pv-reponse { background: var(--primary-pale); padding: 16px 20px; border-radius: var(--radius); margin: 0 0 1.4em; }
.pv-reponse p:last-child { margin-bottom: 0; }
.pv-attention { background: var(--cuivre-pale); padding: 14px 20px; border-radius: var(--radius); margin: 1.2em 0; border-top: 3px solid var(--cuivre); }
.pv-attention p:last-child { margin-bottom: 0; }
.pv-etapes { counter-reset: etape; list-style: none; padding-left: 0 !important; }
.pv-etapes { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px 18px !important; }
.pv-etapes > li { counter-increment: etape; position: relative; padding: 16px 0 16px 62px; margin: 0 !important; }
.pv-etapes > li + li { border-top: 1px dashed var(--border); }
.pv-etapes > li::before { content: counter(etape); position: absolute; left: 0; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--cuivre); background: var(--cuivre-pale); color: var(--cuivre); font-family: var(--main); font-weight: 700; font-size: 1.75rem; line-height: 1; display: flex; align-items: center; justify-content: center; padding-bottom: 3px; }
.pv-etapes > li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 60px; bottom: -12px; border-left: 2px dotted var(--cuivre); opacity: .5; }
.pv-etapes > li strong:first-child { color: var(--dark); }
.pv-tableau { overflow-x: auto; margin: 0 0 1.4em; }
.pv-tableau table { width: 100%; border-collapse: collapse; background: var(--bg-alt); font-size: .97rem; }
.pv-tableau th, .pv-tableau td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.pv-tableau th { background: var(--dark); color: #fff; font-family: var(--titres); font-weight: 700; }
.pv-tableau tr:nth-child(even) td { background: #F4F7F5; }
.pv-questions details { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; }
.pv-questions summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--dark); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.pv-questions summary::-webkit-details-marker { display: none; }
.pv-questions summary::after { content: "+"; color: var(--cuivre); font-family: var(--titres); font-size: 1.3rem; line-height: 1; }
.pv-questions details[open] summary::after { content: "−"; }
.pv-questions details > div { padding: 0 16px 12px; }
.pv-sources ul { font-size: .92rem; padding-left: 1.2em; }
.pv-voisins { margin-top: 40px; border-top: 2px solid var(--dark); }
.pv-voisins ul { list-style: none; padding: 0 !important; margin: 0; }
.pv-voisins li { border-bottom: 1px solid var(--border); margin: 0 !important; }
.pv-voisins a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; text-decoration: none; color: var(--text); }
.pv-voisins a:hover strong { color: var(--cuivre); }
.pv-voisins .pv-dessin { color: var(--dark); }
.pv-voisins strong { display: block; color: var(--primary); }
.pv-voisins a span span { display: block; color: var(--text-light); font-size: .92rem; line-height: 1.5; }

/* ---------- Outil réparer ou remplacer ---------- */
.pv-calcul { background: var(--bg-alt); border: 1px solid var(--border); border-top: 6px solid var(--cuivre); padding: 22px; border-radius: var(--radius); margin: 0 0 1.6em; }
.pv-calcul-champs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.pv-calcul label { display: block; font-weight: 700; color: var(--dark); margin-bottom: 4px; font-size: .95rem; }
.pv-calcul input, .pv-calcul select { width: 100%; font: inherit; font-size: 1rem; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius); background: #fff; min-height: 48px; color: var(--text); }
.pv-calcul small { display: block; color: var(--text-light); font-size: .85rem; line-height: 1.4; margin-top: 4px; }
.pv-verdict { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); background: var(--primary-pale); display: none; }
.pv-verdict.pv-verdict-visible { display: block; }
.pv-verdict-titre { font-family: var(--titres); font-weight: 800; font-size: 1.4rem; color: var(--dark); margin-bottom: 6px; }
.pv-verdict-remplacer { background: var(--cuivre-pale); }
.pv-jauge { height: 14px; background: #fff; border-radius: 7px; overflow: hidden; margin: 10px 0 6px; border: 1px solid var(--border); }
.pv-jauge span { display: block; height: 100%; background: var(--primary); width: 0; transition: width .3s; }
.pv-verdict-remplacer .pv-jauge span { background: var(--cuivre); }

/* ---------- Pages simples ---------- */
.pv-page { max-width: var(--max-width); margin: 0 auto; padding: 24px 20px 50px; }
.pv-plan h2 { font-size: 1.2rem; }
.pv-plan ul { columns: 2; column-gap: 36px; padding-left: 1.2em; }
.pv-perdu { text-align: left; padding-top: 50px; }
.pv-perdu-code { font-family: var(--titres); font-weight: 800; font-size: 5rem; color: var(--cuivre); line-height: 1; display: block; }

/* ---------- Pied de page ---------- */
.pv-pied { background: var(--dark); color: #DCE8E2; margin-top: 20px; }
.pv-pied-haut { max-width: var(--max-width); margin: 0 auto; padding: 30px 20px 20px; display: flex; flex-wrap: wrap; gap: 16px 30px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); }
.pv-pied-devise { margin: 0; font-family: var(--titres); font-size: 1.15rem; color: #fff; }
.pv-pied-outil { color: #fff; border-bottom: 2px solid #E08A50; text-decoration: none; font-weight: 700; padding: 4px 0; }
.pv-pied-outil:hover { color: #E08A50; }
.pv-pied-liens { max-width: var(--max-width); margin: 0 auto; padding: 16px 20px 26px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9rem; }
.pv-pied-liens a { color: #DCE8E2; text-decoration: none; padding: 6px 0; }
.pv-pied-liens a:hover { color: #E08A50; }

/* ---------- Dessins au trait ---------- */
.pv-dessin { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.pv-dessin .c { stroke: var(--cuivre); }
.pv-visuel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: normal; max-width: 100%; }
.pv-niveau-mot { font-size: .9rem; color: var(--text-light); margin-left: 6px; }

/* ---------- Chemins dans les menus : une suite de boutons ---------- */
.pv-chemin { display: inline; line-height: 2.1; }
.pv-chemin-bouton { display: inline-block; background: var(--bg-alt); border: 1px solid #B9C7C0; border-bottom-width: 2.5px; border-radius: 5px; padding: 0 9px; font-size: .9em; font-weight: 700; color: var(--dark); line-height: 1.6; white-space: normal; max-width: 100%; }
.pv-chemin-sep { color: var(--cuivre); font-weight: 700; margin: 0 1px; }
.pv-reponse .pv-chemin-bouton { background: #fff; }

/* ---------- Photos et schémas ---------- */
.pv-photo, .pv-schema { margin: 1.4em 0 1.8em; }
.pv-photo img { display: block; width: 100%; border-radius: var(--radius); background: var(--bac); }
.pv-photo figcaption, .pv-schema figcaption { font-size: .92rem; color: var(--text-light); line-height: 1.5; margin-top: 8px; padding-left: 12px; border-left: 3px solid var(--cuivre); }
.pv-photo-etroite img { max-height: 520px; width: auto; max-width: 100%; }
.pv-schema-dessin { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.pv-schema-dessin > svg { display: block; width: 100%; height: auto; font-family: var(--main); }
.pv-schema svg .t { fill: none; stroke: var(--dark); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pv-schema svg .c { fill: none; stroke: var(--cuivre); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pv-schema svg .v { fill: none; stroke: var(--primary); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pv-schema svg .pointille { stroke-dasharray: 5 6; }
.pv-schema svg .fond { fill: var(--primary-pale); stroke: none; }
.pv-schema svg .fond-c { fill: var(--cuivre-pale); stroke: none; }
.pv-schema svg text { font-family: var(--main); font-weight: 700; font-size: 22px; fill: var(--dark); }
.pv-schema svg text.c { fill: var(--cuivre); stroke: none; }
.pv-schema svg text.v { fill: var(--primary); stroke: none; }
.pv-schema svg text.petit { font-size: 18px; }
.pv-credits { font-size: .82rem; color: var(--text-light); margin-top: 1.2em; }
.pv-credits a { color: var(--text-light); }

/* ---------- Parcours de lecture (construit en JS) ---------- */
.pv-parcours { margin-top: 18px; background: var(--bg-alt); border-top: 6px solid var(--cuivre); padding: 14px 18px 10px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 1px 3px var(--shadow); }
.pv-parcours-titre { font-family: var(--titres); font-weight: 700; color: var(--dark); font-size: 1.05rem; margin: 0 0 6px; }
.pv-parcours ol { list-style: none; margin: 0; padding: 0; counter-reset: parcours; }
.pv-parcours li { counter-increment: parcours; }
.pv-parcours a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; padding: 6px 0; font-size: .92rem; line-height: 1.4; color: var(--text); text-decoration: none; }
.pv-parcours a::before { content: counter(parcours); font-family: var(--main); font-weight: 700; font-size: 1.3rem; line-height: 1; color: var(--text-light); }
.pv-parcours a:hover { color: var(--cuivre); }
.pv-parcours a.pv-ici { color: var(--dark); font-weight: 700; }
.pv-parcours a.pv-ici::before { color: var(--cuivre); }
.pv-parcours-mobile { margin: 0 0 1.4em; position: static; }
.pv-parcours-mobile ol { columns: 1; }

/* ---------- Rubriques : par où commencer, avant toute réparation ---------- */
.pv-rubrique-compte { font-family: var(--main); font-size: 1.45rem; color: var(--cuivre); line-height: 1.3; margin: -.2em 0 0; }
.pv-commencer { margin-top: 30px; background: var(--bg-alt); border: 1px solid var(--border); border-left: 6px solid var(--primary); border-radius: var(--radius); padding: 6px 24px 18px; }
.pv-commencer h2 { margin-top: .8em; }
.pv-commencer-liste { list-style: none; margin: 0; padding: 0; }
.pv-commencer-liste li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 14px 0; border-top: 1px dashed var(--border); }
.pv-commencer-symptome { display: flex; align-items: center; gap: 12px; font-family: var(--titres); font-weight: 700; color: var(--dark); line-height: 1.3; }
.pv-commencer-symptome .pv-dessin { color: var(--dark); }
.pv-commencer-geste { font-size: .97rem; line-height: 1.55; }
.pv-commencer-lien { font-weight: 700; font-size: .92rem; white-space: normal; max-width: 100%; }
.pv-commencer-lien::after { content: " →"; color: var(--cuivre); }
.pv-legende-niveau { font-size: .88rem; color: var(--text-light); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.pv-legende-niveau .pv-niveau-vis { width: 12px; height: 12px; }
.pv-legende-niveau .pv-niveau-vis::after { top: 3.5px; height: 1.5px; }
.pv-avant { margin-top: 36px; }
.pv-avant-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; background: var(--bac); border-radius: 18px; padding: 14px; box-shadow: inset 0 2px 6px var(--shadow); }
.pv-avant-case { background: var(--bg); border-radius: var(--radius-bac); padding: 18px 18px 16px; box-shadow: inset 0 3px 8px var(--shadow), inset 0 -1px 0 rgba(255,255,255,.7); }
.pv-avant-case .pv-dessin { color: var(--dark); }
.pv-avant-case h3 { margin: .5em 0 .3em; }
.pv-avant-case p { font-size: .95rem; line-height: 1.6; }
.pv-avant-case a { font-weight: 700; }
.pv-avant-outil { margin-top: 16px; }

/* ---------- Accueil : listes avec dessins ---------- */
.pv-colonne li a { display: flex; align-items: center; gap: 12px; }
.pv-colonne li .pv-dessin { width: 34px; height: 34px; color: var(--dark); }
.pv-colonne li a:hover .pv-dessin { color: var(--cuivre); }
.pv-etapes-accueil { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pv-etapes-accueil li { position: relative; padding-left: 58px; }
.pv-etapes-accueil li::before { content: attr(data-n); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%; border: 2.5px solid var(--cuivre); background: var(--cuivre-pale); color: var(--cuivre); font-family: var(--main); font-weight: 700; font-size: 1.75rem; display: flex; align-items: center; justify-content: center; padding-bottom: 3px; }
.pv-etapes-accueil strong { display: block; font-family: var(--titres); color: var(--dark); font-size: 1.1rem; }
.pv-etapes-accueil span { font-size: .95rem; color: var(--text-light); line-height: 1.55; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pv-burger { display: block; }
  .pv-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--dark); flex-direction: column; align-items: stretch; padding: 8px 20px 18px; gap: 0; }
  .pv-menu.pv-menu-ouvert { display: flex; }
  .pv-menu a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .pv-menu .pv-menu-outil { margin-top: 10px; text-align: center; }
  .pv-entete-ligne { position: relative; }
  .pv-etabli { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pv-colonnes { grid-template-columns: 1fr 1fr; }
  .pv-intervention { grid-template-columns: 1fr; gap: 24px; }
  .pv-fiche { position: static; }
  .pv-commencer-liste li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pv-commencer-lien { white-space: normal; }
  .pv-avant-grille { grid-template-columns: minmax(0, 1fr); }
  .pv-etapes-accueil { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .pv-bac { grid-template-columns: 1fr; }
  .pv-bac-case { min-height: 0; }
  .pv-colonnes, .pv-liste-pannes, .pv-methode, .pv-calcul-champs { grid-template-columns: minmax(0, 1fr); }
  .pv-liste-pannes a { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .pv-liste-pannes .pv-dessin { width: 48px; height: 48px; }
  .pv-intervention-tete { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pv-intervention-tete > .pv-dessin { width: 64px; height: 64px; padding: 7px; }
  .pv-commencer { padding: 4px 16px 14px; }
  .pv-etapes { padding: 4px 12px !important; }
  .pv-etapes > li { padding-left: 54px; }
  .pv-rubrique-tete { flex-direction: column; gap: 6px; }
  .pv-rubrique-tete .pv-empreinte { width: 44px; height: 44px; margin-top: 0; }
  .pv-methode { padding: 20px; gap: 0; }
  .pv-plan ul { columns: 1; }
  .pv-entete-ligne { padding: 8px 16px; }
  .pv-etabli, .pv-plan-travail, .pv-rubrique, .pv-intervention, .pv-page, .pv-fil { padding-left: 16px; padding-right: 16px; }
}

/* Colonne de gauche des articles (ordinateur) : la fiche défile, le parcours reste visible */
.pv-colonne-gauche { align-self: stretch; min-width: 0; }
.pv-colonne-gauche .pv-fiche { position: static; }
.pv-colonne-gauche .pv-parcours { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; }

/* ---------- Schémas en HTML : arbre de décision, têtes de vis, disque ---------- */
.pv-arbre-question { display: flex; align-items: center; gap: 14px; font-family: var(--titres); font-weight: 700; font-size: 1.1rem; color: var(--dark); margin: 0 0 14px; }
.pv-arbre-question .pv-dessin { color: var(--dark); }
.pv-arbre-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; position: relative; }
.pv-arbre-branche { border: 2px dashed var(--primary); border-radius: var(--radius-bac); padding: 12px 16px; background: var(--bg); }
.pv-arbre-branche-c { border-color: var(--cuivre); }
.pv-arbre-branche p { margin: 0 0 8px; font-size: .95rem; line-height: 1.55; }
.pv-arbre-branche a { font-weight: 700; font-size: .92rem; }
.pv-arbre-branche a::after { content: " ↓"; color: var(--cuivre); }
.pv-arbre-reponse { font-family: var(--main); font-size: 1.45rem !important; line-height: 1.1 !important; color: var(--primary); }
.pv-arbre-branche-c .pv-arbre-reponse { color: var(--cuivre); }
.pv-arbre-suite { list-style: none; counter-reset: arbre; margin: 0 0 14px !important; padding: 0 !important; }
.pv-arbre-suite li { counter-increment: arbre; position: relative; padding: 4px 0 14px 46px; margin: 0 !important; font-size: .97rem; line-height: 1.55; }
.pv-arbre-suite li::before { content: counter(arbre); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--primary); color: var(--primary); font-family: var(--main); font-weight: 700; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; padding-bottom: 2px; }
.pv-arbre-suite li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; border-left: 2px dotted var(--primary); opacity: .5; }
.pv-vis-grandes { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; text-align: center; }
.pv-vis-grandes li { margin: 0 !important; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pv-vis-grandes .pv-empreinte { color: var(--dark); width: 72px; height: 72px; }
.pv-vis-grandes strong { font-family: var(--titres); color: var(--dark); }
.pv-vis-grandes span { font-family: var(--main); font-size: 1.25rem; line-height: 1.1; color: var(--cuivre); }
.pv-disque-titre { font-family: var(--titres); font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.pv-disque { display: flex; height: 46px; border: 2px solid var(--dark); border-radius: 6px; overflow: hidden; font-family: var(--main); font-size: 1.3rem; }
.pv-disque-plein { flex: 0 0 87%; background: var(--primary); color: #fff; display: flex; align-items: center; padding-left: 14px; }
.pv-disque-marge { flex: 1; background: repeating-linear-gradient(45deg, var(--cuivre-pale) 0 8px, #fff 8px 16px); color: var(--cuivre); display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1; font-size: 1rem; padding: 0 4px; }
.pv-disque-note { font-family: var(--main); font-size: 1.45rem; color: var(--cuivre); text-align: right; margin: 6px 0 0; line-height: 1.2; }
@media (max-width: 640px) {
  .pv-arbre-branches { grid-template-columns: minmax(0, 1fr); }
  .pv-vis-grandes { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .pv-disque-plein { flex-basis: 75%; }
  .pv-schema-dessin { padding: 12px; }
}
.pv-credits-liste { list-style: none; padding: 0 !important; }
.pv-credits-liste li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); margin: 0 !important; }
.pv-credits-liste img { width: 160px; height: 110px; object-fit: cover; border-radius: var(--radius); }
.pv-credits-liste span { display: block; font-size: .92rem; color: var(--text-light); }
@media (max-width: 640px) { .pv-credits-liste li { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; } .pv-credits-liste img { width: 96px; height: 70px; } }
.pv-verdict-attente { margin: 20px 0 0; padding: 16px 20px; border: 2px dashed var(--border); border-radius: var(--radius); font-family: var(--main); font-size: 1.4rem; line-height: 1.3; color: var(--text-light); }
.pv-verdict-attente[hidden] { display: none; }
.pv-jauge { position: relative; background: linear-gradient(90deg, #fff 33.3%, #F4F7F5 33.3% 60%, #FBF1EA 60%); }
.pv-jauge::before, .pv-jauge::after { content: ""; position: absolute; top: 0; bottom: 0; border-left: 2px dashed var(--text-light); opacity: .5; }
.pv-jauge::before { left: 33.3%; }
.pv-jauge::after { left: 60%; }
.pv-jauge span { position: relative; z-index: 1; opacity: .85; }
.pv-echelle { display: grid; grid-template-columns: 33.3% 26.7% 40%; font-family: var(--main); font-size: 1.15rem; line-height: 1.1; color: var(--text-light); margin-bottom: 8px; }
.pv-echelle span:nth-child(2) { text-align: center; }
.pv-echelle span:last-child { text-align: right; }
