/* Lih Carvalho · páginas legais (privacidade, termos) e 404. */
.lg-topo { padding-bottom: clamp(20px, 3vw, 40px); }
.lg-topo .wrap-estreito { display: grid; gap: 16px; justify-items: start; }
.lg-aviso { color: var(--aviso); border-color: color-mix(in srgb, var(--aviso) 40%, transparent); background: color-mix(in srgb, var(--aviso) 6%, transparent); }
.lg-corpo { padding-bottom: clamp(56px, 7vw, 110px); }
.lg-grade { display: grid; gap: 28px; align-items: start; }
.lg-indice { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-indice a { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: border-color .25s, color .25s; }
.lg-indice a:hover, .lg-indice a:focus-visible { border-color: var(--line-2); color: var(--ink); }
@media (min-width: 1000px) {
  .lg-grade { grid-template-columns: 240px minmax(0, 760px); gap: 64px; justify-content: center; }
  .lg-indice { position: sticky; top: calc(var(--topo-h) + 28px); flex-direction: column; flex-wrap: nowrap; gap: 2px; border-left: 1px solid var(--line); padding-left: 2px; }
  .lg-indice a { border: 0; border-radius: 0; padding: 7px 14px; border-left: 2px solid transparent; margin-left: -3px; }
  .lg-indice a:hover { border-left-color: var(--gold); }
}
.texto-longo > h2:first-child { margin-top: 0; }

/* ---------- 404: o furo que não existe ---------- */
.nf { position: relative; min-height: calc(100svh - var(--topo-h)); display: grid; place-items: center; padding: 48px 0 72px; overflow: hidden; }
.nf-in { display: grid; gap: 18px; justify-items: center; text-align: center; }
.nf-num { display: flex; align-items: center; gap: clamp(4px, 1.5vw, 14px); font-size: clamp(110px, 24vw, 240px); font-weight: 800; letter-spacing: -.06em; line-height: .9; }
.nf-num > span { background: var(--metal); background-size: 240% 100%; background-position: calc(8% + var(--luz-x) * 56%) 50%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-joia { width: clamp(100px, 21vw, 210px); height: auto; overflow: visible; }
.nf-aro { fill: none; stroke: url(#lih-metal); stroke-width: 15; }
.nf-sombra { fill: none; stroke: rgba(0, 0, 0, .55); stroke-width: 17; }
.nf-gira { transform-origin: 100px 100px; transform: rotate(var(--nf-ang, -90deg)); transition: transform .6s var(--ease); }
.nf-bead { fill: url(#lih-perola); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .55)); }
.nf-agulha { fill: none; stroke: var(--gold-2); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: nf-traco 1.6s .3s var(--ease) forwards; }
@keyframes nf-traco { to { stroke-dashoffset: 0; } }
.nf-in h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.8rem); max-width: 18ch; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .nf-agulha { stroke-dashoffset: 0; animation: none; } .nf-gira { transition: none; } }
