@font-face {
  font-family: "Manrope CarVital";
  src: url("/assets/manrope-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* Titres plus fins, plus contemporains et moins massifs. */
#view h1,
#view h2,
#view h3 {
  color: #edf3ee !important;
  font-family: "Manrope CarVital", "Avenir Next", "Segoe UI Variable Display",
    "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.018em !important;
  text-shadow: none !important;
}

#view h3 {
  font-size: 15px !important;
  line-height: 1.28 !important;
}

/* Les nouvelles pièces réalistes remplacent entièrement les anciens pictos. */
.cv-organ-card-v2 .part-icon {
  display: none !important;
}

.cv-organ-card-v2 > .row {
  justify-content: flex-end !important;
  min-height: 22px;
}

/* Score compact sous l’aiguille, avec appréciation dynamique en dessous. */
svg.cv-gauge-v3 .cv-score-readout-v4 {
  transform: translateY(5px) scale(.72);
  transform-box: fill-box;
  transform-origin: center;
}

svg.cv-gauge-v3 .cv-score-state-v4 {
  fill: #b8ff48 !important;
  font-family: "Manrope CarVital", "Avenir Next", "Segoe UI", sans-serif !important;
  font-size: 8.8px !important;
  font-weight: 600 !important;
  letter-spacing: 0.035em;
  text-anchor: middle;
  text-transform: uppercase;
  filter: none;
}



/* Ajustements accueil, badge Premium et lisibilité du score. */
.brand-tools > .space-pill.client {
  display: none !important;
}

#view .cv-home-title-via,
#view .cv-home-vehicle-via {
  font-family: "Manrope CarVital", "Avenir Next", "Segoe UI Variable Display", sans-serif !important;
  font-style: normal !important;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

#view .cv-home-title-via {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.22 !important;
  letter-spacing: 0.018em !important;
}

#view .cv-home-vehicle-via {
  font-size: 22px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.028em !important;
}

svg.cv-gauge-v3 .cv-score-state-v4 {
  font-size: 8.2px !important;
  letter-spacing: 0.055em !important;
}

.cv-organ-card-v2 .cv-organ-rating-v4 {
  font-weight: 600 !important;
  letter-spacing: 0.015em;
}


/* Cartes organes compactes v5 */
.cv-organ-card-v2 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "image image" "name score" "rating rating" "track track";
  align-items: center;
  padding: 10px 11px 9px !important;
  min-height: 0 !important;
}
.cv-organ-card-v2 > .cv-organ-image-v2 {
  grid-area: image;
  width: clamp(82px, 23vw, 96px);
  height: clamp(82px, 23vw, 96px);
  margin: 0 auto 5px;
}
.cv-organ-card-v2 > .row {
  grid-area: score;
  justify-content: flex-end !important;
  align-items: center;
  min-height: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
}
.cv-organ-card-v2 > .row .part-score {
  line-height: 1 !important;
}
.cv-organ-card-v2 > .row + div {
  grid-area: name;
  min-width: 0;
  margin: 0 !important;
  color: #edf3ee !important;
  font-family: "Manrope CarVital", "Avenir Next", "Segoe UI Variable Display", sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.018em !important;
}
.cv-organ-card-v2 > .cv-organ-rating-v4 {
  grid-area: rating;
  margin: 3px 0 0 !important;
  font-size: 9.5px !important;
  line-height: 1.25 !important;
}
.cv-organ-card-v2 > .part-track {
  grid-area: track;
  height: 4px !important;
  margin: 7px 0 0 !important;
}
