/* Heures perdues et coût (#36) : bandeau de l'accueil et page /heures-perdues/. Palette et polices de css/info.css. */
.hp-band { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.1fr); gap:0; margin-top:22px; background:var(--asphalt); color:var(--asphalt-ink); text-decoration:none; border-left:6px solid var(--yellow) }
.hp-band > span { padding:14px 18px; display:block }
.hp-band > span + span { border-left:1px solid #33373e }
.hp-l { display:block; font-size:13.5px; color:var(--asphalt-muted); line-height:1.35 }
.hp-fig b { font-family:var(--font-display); font-size:32px; font-weight:800; letter-spacing:-.02em; line-height:1.15; color:#fff }
.hp-u { font-family:var(--font-display); font-size:20px; font-weight:700; color:#fff }
.hp-side { display:flex !important; flex-direction:column; justify-content:space-between; gap:6px }
.hp-maj { font-size:13px; color:var(--asphalt-muted); line-height:1.4 }
.hp-plus { font-weight:600; color:var(--yellow); text-decoration:underline; text-underline-offset:3px }
.hp-band:hover .hp-plus { color:#fff }
@media (max-width:800px) {
  .hp-band { grid-template-columns:minmax(0,1fr) minmax(0,1fr) }
  .hp-band .hp-side { grid-column:1 / -1; border-left:0 !important; border-top:1px solid #33373e }
  .hp-fig b { font-size:28px }
}
@media (max-width:420px) { .hp-band > span { padding:12px 14px } .hp-fig b { font-size:25px } .hp-l { font-size:12.5px } }

/* page : compteur */
.hpc { margin-top:22px; background:var(--asphalt); color:var(--asphalt-ink); border-left:6px solid var(--yellow); padding:18px 20px }
.hpc-main { display:flex; flex-wrap:wrap; gap:6px 40px }
.hpc-main p { margin:0 }
.hpc-main b { font-family:var(--font-display); font-weight:800; font-size:clamp(30px,4vw,40px); letter-spacing:-.02em; color:#fff }
.hpc-main span { color:var(--asphalt-muted); font-size:15px; margin-left:4px }
.hpc-since { margin-top:8px; font-size:14px; color:var(--asphalt-muted); max-width:90ch }
.hpc-moy { margin-top:6px; font-size:15.5px; color:#fff }
.hpc-split { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:16px }
.hpc-col { background:#fff; border:1px solid var(--line); padding:14px 16px }
.hpc-col h3 { font-family:var(--font-display); font-size:18px; letter-spacing:-.01em; margin-bottom:4px }
.hpc-col > div { display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:8px 0; border-top:1px solid var(--line); font-size:15px }
.hpc-col > div b { font-family:var(--font-display); font-size:20px; white-space:nowrap }
.hpc-col .d-bienne span { border-left:4px solid var(--down); padding-left:8px }
.hpc-col .d-jura span { border-left:4px solid var(--up); padding-left:8px }
.hp-g { margin-top:16px }
.hp-g svg text { font-size:11px }
.hp-bar { cursor:pointer; outline:none }
.hp-bar.on rect:not([fill="transparent"]), .hp-bar:focus rect:not([fill="transparent"]) { stroke:var(--ink); stroke-width:1.5 }
.hp-g-out { font-size:14px; color:var(--ink); margin:6px 0 4px; min-height:2.6em }
.hp-g .g-leg { margin-top:4px }
.hp-det { margin-top:14px }
.hp-det summary { cursor:pointer; font-weight:600 }
.hp-tabw { overflow-x:auto; margin-top:10px }
.hp-det table { border-collapse:collapse; font-size:14px; min-width:560px; width:100%; background:#fff }
.hp-det th, .hp-det td { border-bottom:1px solid var(--line); padding:6px 8px; text-align:right }
.hp-det th:first-child, .hp-det td:first-child { text-align:left }
.hp-det th { font-size:12.5px; color:var(--muted); font-weight:600 }
@media (max-width:800px) { .hpc-split { grid-template-columns:minmax(0,1fr) } .hp-g svg text { font-size:17px } }

/* calculateur */
.hk { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:20px; margin-top:22px; align-items:start }
.hk-in { background:#fff; border:1px solid var(--line); padding:18px 20px }
.hk-in label { display:block; font-weight:600; margin-top:16px }
.hk-in label:first-child { margin-top:0 }
.hk-in input { display:block; width:100%; max-width:220px; margin-top:6px; font:inherit; font-size:20px; font-weight:600; padding:8px 10px; border:2px solid var(--ink); border-radius:4px; background:#fff; color:var(--ink) }
.hk-in input:focus { outline:3px solid var(--yellow); outline-offset:1px }
.hk-p { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px }
.hk-p button { font:inherit; font-size:14px; font-weight:600; padding:6px 10px; border:1px solid var(--ink); background:#fff; color:var(--ink); border-radius:4px; cursor:pointer }
.hk-p button[aria-pressed="true"] { background:var(--ink); color:#fff }
.hk-h { font-size:13.5px; color:var(--muted); margin-top:6px; max-width:60ch }
.hk-out { background:var(--asphalt); color:var(--asphalt-ink); padding:18px 20px; position:sticky; top:120px }
.hk-out > div { padding:10px 0; border-bottom:1px solid #33373e }
.hk-out > div:first-child { padding-top:0 }
.hk-out span { display:block; font-size:13.5px; color:var(--asphalt-muted); text-transform:uppercase; letter-spacing:.06em; font-weight:600 }
.hk-out b { display:block; font-family:var(--font-display); font-weight:800; font-size:32px; letter-spacing:-.02em; color:#fff; line-height:1.2 }
.hk-out .hk-fin b { color:var(--yellow) }
.hk-out small { display:block; font-size:13.5px; color:var(--asphalt-muted) }
.hk-out p { font-size:13px; color:var(--asphalt-muted); margin-top:10px }
@media (max-width:800px) { .hk { grid-template-columns:minmax(0,1fr) } .hk-out { position:static } .hk-out b { font-size:28px } }

/* méthode */
.hp-m h3 { font-family:var(--font-display); font-size:19px; letter-spacing:-.01em; margin-top:22px }
.hp-m p { margin-top:6px; max-width:76ch; font-size:16px; color:#2c3036 }
.hp-src { margin:8px 0 0 20px; font-size:15px; max-width:90ch }
.hp-src li { margin-top:6px }
.hp-src a { color:var(--ink) }
.hp-data { font-size:14.5px }
