/* v9 lab, round 2 · additions on top of /v7/css/v7.css (loaded first). Same tokens, one family, no gradients, shadows
   or rules. Labels and lines are >= 15 px at every width; the figure scales with its drawing (cqi of the band box). */

/* ---- labels laid over a drawing, positioned in % of its viewBox */
.bl { position: absolute; font-size: max(15px, var(--lab, 17px)); font-weight: 600; line-height: 1.2; color: var(--pedra); white-space: nowrap; pointer-events: none; }

/* ---- Altitude: the band with the house on its crest, two names, one figure. The section grows instead of overprinting
   when the screen is short (min-height, not a fixed height). */
.alto--v9 .alto__ground { aspect-ratio: auto; overflow: hidden; }
.bh { position: relative; width: 100%; container-type: inline-size; }
.bh > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bh--small, .bh--mid, .bh--desk { display: none; }
.bh__n { position: absolute; display: flex; flex-direction: column; align-items: flex-start; color: var(--noite); white-space: nowrap; }
.bh__n .num { font-size: var(--nfs); line-height: 1; font-weight: 700; }
.bh__n .num-u { font-size: .5em; letter-spacing: -0.02em; }
.bh__nl { margin-top: 2px; font-size: max(15px, var(--lab)); font-weight: 600; line-height: 1.25; }
@media (min-width: 1024px) {
  .alto--v9 .alto__grid { height: auto; min-height: var(--H); }
  .alto--v9 .alto__ground { width: 100%; }
  .bh--phone { display: none; } .bh--small { display: block; }
}
@media (min-width: 1280px) { .bh--small { display: none; } .bh--mid { display: block; } }
@media (min-width: 1700px) { .bh--mid { display: none; } .bh--desk { display: block; } }

/* ---- O dia: the stage grows instead of spilling into the next section on short laptops */
@media (min-width: 1024px) { .dia__grid { height: auto; min-height: var(--H); } }

/* ---- vento-1: the breeze strip directly under the sun bar, on the bar's hours (5h–20h), crossed by the bar's own hour
   marker. Dark stone (--mute-p, 5,9:1 on the stone field), never water. The tabs swap the series (data-season). */
.bar--brisa { padding-bottom: 0; }
.bar--brisa .bar__now { height: 47px; }
.brisa { position: relative; margin-top: 2px; height: 24px; }
.brisa__svg { display: block; width: 100%; height: 24px; }
.brisa__svg path { fill: var(--mute-p); }
.bar--brisa .bar__lab { position: relative; top: 0; height: 22px; margin-top: 4px; }
.brisa__l { position: relative; height: 1.3em; margin-top: 2px; font-size: var(--s); line-height: 1.3; color: var(--mute-p); max-width: none; }
.brisa__l span { position: absolute; top: 0; right: calc(100% - var(--x)); white-space: nowrap; }
.brisa__svg .brisa__s { display: none; }
[data-season="dez"] .brisa__svg .brisa__s { display: inline; }
[data-season="dez"] .brisa__svg .brisa__y { display: none; }
.brisa__l .brisa__s { display: none; }
[data-season="dez"] .brisa__l .brisa__s { display: inline; }
[data-season="dez"] .brisa__l .brisa__y { display: none; }

/* ---- chuva: one line under the date tabs, only for the date it speaks about */
.dia__climas { margin-top: 12px; }
.dia__clima { display: none; font-size: var(--s); line-height: 1.4; font-weight: 600; }
[data-season="jun"] .dia__clima[data-for="jun"], [data-season="dez"] .dia__clima[data-for="dez"] { display: block; }
.dia__climas--d { display: none; }
@media (min-width: 1024px) { .dia__climas--p { display: none; } .dia__climas--d { display: block; margin-top: 14px; } .dia__climas--d .dia__clima { color: var(--noite); } }
@media (min-width: 1024px) { .brisa__l { margin-bottom: 4px; } .brisa, .brisa__svg { height: 18px; } .bar--brisa .bar__now { height: 41px; } }
