*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
}

/* textura de fundo: brilho difuso nas cores dos grupos */
body::before {
  content: "";
  position: fixed;
  inset: -20vh -20vw auto;
  height: 70vh;
  background:
    radial-gradient(40% 50% at 15% 30%, color-mix(in srgb, var(--acento) 12%, transparent), transparent 70%),
    radial-gradient(35% 45% at 85% 10%, rgba(185, 140, 255, .10), transparent 70%),
    radial-gradient(30% 40% at 55% 60%, color-mix(in srgb, var(--acento) 6%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
p { margin: 0 0 .8em; }
a { color: inherit; text-decoration-color: var(--linha-2); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; }
small { font-size: .8em; }
b, strong { font-weight: 700; }

:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--acento); color: var(--escuro); }

.ll-sr {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ll-icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.ll-mono { font-family: var(--f-mono); font-weight: 700; letter-spacing: -.02em; }
.ll-muted { color: var(--muted); }
.ll-centro { text-align: center; }
.ll-txt-quente { color: var(--quente); }
.ll-txt-acento { color: var(--acento); }
.ll-txt-frio { color: var(--frio); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

[hidden] { display: none !important; }
.ll-volante--botoes .ll-casa { padding: 0; font-family: var(--f-mono); }
