/* La Vigie — instrument de mesure de la neige au toit */
.vg { --glace: #8fc0cf; --fraiche: #f4f8fa; --tassee: #c9dbe3; --gl: #7fb0c4; }
.vg__titre b { color: var(--neige); font-weight: 500; }
.vg__reglages { display: grid; gap: 18px; padding: clamp(16px, 2.2vw, 28px); border-bottom: 1px solid var(--mousse); }
@media (min-width: 1000px) { .vg__reglages { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, .9fr); align-items: start; } }
.vg__reglages .case span { min-height: 38px; font-size: 13.5px; }
.vg__corps { display: grid; gap: 0; border-bottom: 1px solid var(--mousse); }
@media (min-width: 860px) { .vg--complet .vg__corps { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.vg__jauge { padding: clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 8px; }
.vg--complet .vg__jauge { border-right: 1px solid var(--mousse); }
@media (max-width: 859px) { .vg--complet .vg__jauge { border-right: 0; border-bottom: 1px solid var(--mousse); } }
.vg__lbl { color: var(--brume); font-size: 11.5px; min-height: 2.6em; }
.vg__chiffre { display: flex; align-items: baseline; gap: 10px; }
.vg__chiffre b { font: 900 clamp(76px, 9vw, 132px)/.8 var(--f-aff); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.vg__chiffre span { font: 500 15px/1 var(--f-mono); font-stretch: 87.5%; color: var(--brume); }
.vg__sous { color: #c9d1cc; font-size: 11.5px; line-height: 1.7; min-height: 3.4em; }
.vg__sous b { font-weight: 600; }
.vg__sous b.vert { color: var(--ok); } .vg__sous b.orange { color: #ffb067; } .vg__sous b.rouge { color: var(--balise); }
.vg__barre { position: relative; height: 10px; background: rgba(241,243,239,.08); margin-top: 10px; }
.vg__barre i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--glace); transition: width .18s linear; }
.vg__barre i.orange { background: #ffb067; } .vg__barre i.rouge { background: var(--balise); }
.vg__s40, .vg__s60 { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--neige); opacity: .5; }
.vg__s40 { left: 40%; } .vg__s60 { left: 60%; opacity: .9; background: var(--balise); }
.vg__barre-lbl { position: relative; height: 16px; color: var(--brume); font-size: 10px; }
.vg__barre-lbl span { position: absolute; top: 4px; white-space: nowrap; }
.vg__barre-lbl span:nth-child(1) { left: 0; } .vg__barre-lbl span:nth-child(2) { left: 40%; transform: translateX(-50%); } .vg__barre-lbl span:nth-child(3) { left: 60%; transform: translateX(-50%); color: var(--balise); } .vg__barre-lbl span:nth-child(4) { right: 0; }
.vg__ref { color: var(--brume); font-size: 10.5px; line-height: 1.6; margin-top: 8px; max-width: 52ch; }
.vg__coupe { padding: clamp(12px, 2vw, 24px); display: flex; flex-direction: column; gap: 8px; }
.vg__coupe svg { width: 100%; height: auto; }
.vg__legende { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--brume); font-size: 10.5px; }
.vg__legende i { display: inline-block; width: 12px; height: 8px; margin-right: 6px; vertical-align: 0; }
.l-fr { background: var(--fraiche); } .l-ta { background: var(--tassee); } .l-gl { background: var(--gl); }
.cp-sol { fill: #1b2a22; }
.cp-mur { fill: #22332a; stroke: #2f4338; stroke-width: 1; }
.cp-fen { fill: #ffb062; opacity: .85; }
.cp-toit { fill: none; stroke: #0a120e; stroke-width: 3.5; stroke-linejoin: miter; }
.cp-fraiche { fill: var(--fraiche); }
.cp-tassee { fill: var(--tassee); }
.cp-glace { fill: var(--gl); }
.cp-cote { fill: var(--neige); font: 500 12px var(--f-mono); }
.vg__graphe { padding: 16px clamp(14px, 2vw, 26px) 8px; border-bottom: 1px solid var(--mousse); }
.vg__graphe-tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--brume); }
.vg__boutons { display: flex; gap: 8px; flex-wrap: wrap; }
.vg__graphe svg { width: 100%; height: 170px; display: block; touch-action: pan-y; cursor: crosshair; }
.vg--apercu .vg__graphe svg { height: 120px; }
.vg-z60 { fill: rgba(255,90,31,.10); } .vg-z40 { fill: rgba(255,176,103,.06); }
.vg-seuil { stroke: rgba(241,243,239,.25); stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.vg-neige { fill: rgba(143,192,207,.45); }
.vg-futur { fill: url(#hach); fill: rgba(241,243,239,.035); }
.vg-aire { fill: rgba(143,192,207,.18); }
.vg-ligne { fill: none; stroke: var(--glace); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.vg-m-verglas { fill: #c9e4ff; }
.vg-m-pluie { fill: #5aa7ff; }
.vg-m-den { stroke: var(--balise); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.vg-m-den-r { fill: var(--balise); }
.vg-base { stroke: rgba(241,243,239,.25); vector-effect: non-scaling-stroke; }
.vg-auj { stroke: var(--neige); stroke-width: 1; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.vg-curseur { stroke: var(--balise); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.vg-point { fill: var(--balise); stroke: var(--nuit); stroke-width: 2; vector-effect: non-scaling-stroke; }
.vg__axe { position: relative; height: 18px; color: var(--brume); font-size: 10px; }
.vg__axe span { position: absolute; top: 2px; transform: translateX(-2px); text-transform: uppercase; }
.vg__axe span.auj { color: var(--neige); transform: translateX(-50%); top: 2px; background: var(--sapin); padding: 0 4px; }
.vg__bilan { padding: clamp(16px, 2.2vw, 28px); border-bottom: 1px solid var(--mousse); background: rgba(143,192,207,.05); }
.vg__bilan-titre { color: var(--glace); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; font-size: 11px; }
.vg__bilan-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
@media (min-width: 900px) { .vg--complet .vg__bilan-grille { grid-template-columns: repeat(6, minmax(0, 1fr)); } .vg--apercu .vg__bilan-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vg__bilan-grille b { display: block; font: 850 34px/.9 var(--f-aff); text-transform: uppercase; }
.vg__bilan-grille span { display: block; margin-top: 6px; font-size: 13.5px; color: #c9d1cc; line-height: 1.35; }
.vg__bulletin { padding: clamp(18px, 2.4vw, 30px); }
.vg__bulletin ol { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--mousse); }
.vg__bulletin li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--mousse); }
@media (min-width: 760px) { .vg__bulletin li { grid-template-columns: 110px minmax(0, 1fr) auto; align-items: baseline; } }
.vg__bulletin li b { display: block; font: 700 18px/1.25 var(--f-cond); }
.vg__bulletin li div span { color: #c9d1cc; font-size: 15.5px; }
.vg__date { color: var(--brume); font-size: 11.5px; padding-top: 3px; }
.vg__prix { color: var(--balise); font-size: 13px; grid-column: 2; }
@media (min-width: 760px) { .vg__prix { grid-column: auto; text-align: right; } }
.vg__total { color: var(--brume); margin-bottom: 18px; font-size: 12px; }
.vg__note { margin-top: 16px; color: var(--brume); font-size: 13.5px; max-width: 80ch; }
.vg__pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px clamp(14px, 2vw, 26px); }
.vg__pied .mono { color: var(--brume); }
.vg--apercu .vg__corps { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.vg--apercu .vg__chiffre b { font-size: clamp(60px, 6vw, 96px); }
.vg--apercu .vg__jauge { border-right: 1px solid var(--mousse); padding: 18px; }
@media (max-width: 560px) { .vg--apercu .vg__corps { grid-template-columns: 1fr; } .vg--apercu .vg__jauge { border-right: 0; border-bottom: 1px solid var(--mousse); } }
