/* Section: header-bar */
.header-bar { position: sticky; top: 0; z-index: var(--z-header); background: color-mix(in oklab, var(--color-bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); }
.header-bar__inner { display: flex; align-items: center; gap: var(--space-6); min-height: var(--header-height); }
.header-bar__brand { display: inline-flex; align-items: center; min-height: var(--tap-min); margin-right: auto; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.header-bar__nav { display: flex; gap: var(--space-6); }
.header-bar__nav a { display: inline-flex; align-items: center; min-height: var(--tap-min); text-decoration: none; font-weight: 600; }
.header-bar__nav a { text-decoration: underline 2px transparent; text-underline-offset: 0.45em; transition: color var(--duration-hover) ease, text-decoration-color var(--duration-hover) ease; }
.header-bar__nav a[aria-current="true"] { text-decoration-color: var(--color-brand); }
@media (hover: hover) and (pointer: fine) { .header-bar__nav a:hover { color: var(--color-brand-text); } }
.header-bar__cta { min-height: 2.75rem; padding-inline: var(--space-5); }
.header-bar__toggle { display: none; }
@media (max-width: 48rem) {
  .header-bar__inner { gap: var(--space-3); }
  .header-bar__brand { font-size: 1.0625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  /* Same shape and height as the button beside it, so the pair reads as one set. */
  .header-bar__toggle { display: inline-grid; width: 3rem; height: 3rem; border-radius: var(--radius-sm); }
  /* The menu is a panel that slides in from the right, under the bar; the page behind dims. */
  .header-bar { overflow-x: clip; }
  .header-bar__nav { position: absolute; top: 100%; right: 0; display: flex; flex-direction: column; gap: 0; width: min(20rem, 85vw); height: calc(100dvh - var(--header-height) - 1px); overflow-y: auto; overscroll-behavior: contain; padding: var(--space-2) var(--space-5) var(--space-6); background: var(--color-bg); border-left: 1px solid var(--color-border); translate: 100% 0; visibility: hidden; box-shadow: 0 0 0 100vmax transparent; clip-path: inset(0 0 -100vmax -100vmax); transition: translate var(--duration-drawer) var(--ease-out), box-shadow var(--duration-drawer) ease, visibility 0s linear var(--duration-drawer); }
  .header-bar__nav.is-open { translate: 0 0; visibility: visible; box-shadow: 0 0 0 100vmax var(--color-scrim); transition: translate var(--duration-drawer) var(--ease-out), box-shadow var(--duration-drawer) ease, visibility 0s; }
  :root:has(.header-bar__nav.is-open) { overflow: hidden; }
  :root:has(.header-bar__nav.is-open) .whatsapp-float { visibility: hidden; }
  .header-bar__nav a { min-height: 3rem; border-bottom: 1px solid var(--color-border); }
  .header-bar__nav a[aria-current="true"] { color: var(--color-brand-text); text-decoration: none; }
}
