.header-phone { display: flex; align-items: center; margin-left: auto; white-space: nowrap; font-size: 15px; color: inherit; text-decoration: none; }
.mobile-call { display: none; }
#building-details[hidden] { display: none !important; }
.cookie-settings { padding: 0; border: 0; background: none; color: inherit; text-align: left; }
@media (max-width: 767px) {
    .header-phone { font-size: 12px; }
    .mobile-call { display: block; position: fixed; bottom: 10px; left: 15px; right: 15px; z-index: 999; text-align: center; }
    #cookie-banner { bottom: 45px; }
    body { padding-bottom: 3.5rem; }
}
@media (max-width: 374px) {
    .nav-logo-wrap .logo { max-width: 115px; }
    .nav-logo-wrap .logo img { max-width: 100%; }
}

.energy-figure { margin: 0 auto 20px; max-width: 26rem; }
.label-compare { display: block; width: 100%; height: auto; aspect-ratio: 300 / 250; overflow: visible; }
.label-compare text { font-weight: 700; font-size: 13px; fill: #151a29; }
.label-compare text.on-dark { fill: #faf6f1; }
.fill-label-a { fill: #008853; }
.fill-label-b { fill: #4ea253; }
.fill-label-c { fill: #97c25b; }
.fill-label-d { fill: #ebd652; }
.fill-label-e { fill: #f4b34b; }
.fill-label-f { fill: #ee7f37; }
.fill-label-g { fill: #e24942; }
.label-compare .label-marker text { font-family: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace; font-weight: 500; font-size: 10.5px; letter-spacing: 0.06em; fill: #faf6f1; }
.label-marker--before path { fill: #60697e; }
.label-marker--after path { fill: #151a29; }
.label-marker--evaluated path { fill: #faf6f1; stroke: #151a29; stroke-width: 1.5; stroke-dasharray: 4 3; }
.label-compare .label-marker--evaluated text { fill: #151a29; }
.label-path { fill: none; stroke: #454f68; stroke-width: 1.5; stroke-dasharray: 4 4; }
.figure-note { margin-top: 12px; font-size: 13px; line-height: 1.5; color: #60697e; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
    /* CECB : l'échelle se construit, puis le marqueur descend jusqu'à la classe évaluée */
    .js-energy .energy-figure--cecb:not(.is-visible) .label-row { opacity: 0; translate: -12px 0; }
    .js-energy .energy-figure--cecb .label-row { transition: opacity 400ms ease calc(var(--row) * 90ms), translate 400ms ease calc(var(--row) * 90ms); }
    .js-energy .energy-figure--cecb:not(.is-visible) .label-marker--evaluated { opacity: 0; translate: 0 -128px; }
    .js-energy .energy-figure--cecb .label-marker--evaluated { transition: opacity 300ms ease 700ms, translate 1000ms cubic-bezier(0.25, 1, 0.5, 1) 700ms; }

    /* CECB Plus : le marqueur « après » monte de F vers C */
    .js-energy .energy-figure--plus:not(.is-visible) .label-path { opacity: 0; }
    .js-energy .energy-figure--plus .label-path { transition: opacity 400ms ease 300ms; }
    .js-energy .energy-figure--plus:not(.is-visible) .label-marker--after { opacity: 0; translate: 0 96px; }
    .js-energy .energy-figure--plus .label-marker--after { transition: opacity 300ms ease 400ms, translate 900ms cubic-bezier(0.25, 1, 0.5, 1) 400ms; }
}

.delivery-note { font-size: 12px; line-height: 1.5; }
