:root {
  color-scheme: light;
  --black: #000000;
  --white: #ffffff;
  --paper: var(--white);
  --surface: var(--paper);
  --soft: rgb(0 0 0 / 2%);
  --faint-line: rgb(0 0 0 / 5%);
  --empty-bar: rgb(0 0 0 / 6%);
  --ink: #000000;
  --muted: rgb(0 0 0 / 68%);
  --accent: #079aa3;
  --line: rgb(0 0 0 / 14%);
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-synthesis: none;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --paper: #0b0e11;
  --surface: #151a20;
  --ink: #f5f7fa;
  --muted: rgb(245 247 250 / 75%);
  --accent: #24d5dd;
  --line: rgb(245 247 250 / 20%);
  --soft: rgb(255 255 255 / 4%);
  --faint-line: rgb(255 255 255 / 8%);
  --empty-bar: rgb(255 255 255 / 9%);
}

* {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
}
html {
  scroll-padding-top: calc(var(--altura-cabecalho, 0px) + 2rem);
}
body > header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
}
.container {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.brand > span:last-child {
  font-weight: 400;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: 10px;
  border-radius: 10px;
  color: var(--accent);
  background: var(--black);
  font-size: 1.75rem;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--surface);
  z-index: 31;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}

.floating-tooltip {
  position: fixed;
  z-index: 20;
  max-width: min(280px, calc(100vw - 24px));
  padding: 8px 12px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
  pointer-events: none;
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
}
