/* LuiFit · páginas de texto longo (privacidade e termos). Fundo claro para ler com calma. */

@font-face {
  font-family: 'Big Shoulders';
  src: url('../fonts/big-shoulders-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin-ext-wght-normal.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF;
}

:root {
  --iron: #0e1114;
  --chalk: #f1f3f2;
  --white: #ffffff;
  --ink: #111417;
  --ink-2: #57606a;
  --line: #dde1e4;
  --cobalt: #2d5bff;
  --cobalt-text: #2347d6;
  --red: #e8412f;
  --yellow: #f6c324;
  --display: 'Big Shoulders', 'Arial Narrow', sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 400 16px/1.65 var(--body); overflow-x: hidden; }
a { color: var(--cobalt-text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }

.bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px var(--gutter);
  background: var(--iron); color: var(--chalk);
}
.bar-logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 800 22px/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; }
.bar-logo img { width: 34px; height: 34px; border-radius: 9px; }
.bar-cta { color: var(--chalk); font-weight: 700; font-size: 14px; text-decoration: none; padding: 9px 14px; border-radius: 999px; background: var(--cobalt); white-space: nowrap; }

.head { background: var(--iron); color: var(--chalk); padding: 36px var(--gutter) 44px; }
.head-in { max-width: 1080px; margin: 0 auto; }
.eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #a3abb3; }
.head h1 { margin: 0; font: 900 clamp(46px, 13vw, 96px)/0.9 var(--display); text-transform: uppercase; letter-spacing: 0.005em; }
.head h1 span { color: var(--yellow); }
.updated { margin: 16px 0 0; color: #a3abb3; font-size: 14px; }
.swap { margin: 6px 0 0; font-size: 14px; }
.swap a { color: var(--chalk); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 28px var(--gutter) 80px; display: grid; gap: 28px; }
@media (min-width: 900px) {
  .wrap { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 44px; }
}

.toc { font-size: 14px; }
.toc p { margin: 0 0 8px; font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 6px 0; color: var(--ink); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(toc); min-width: 18px; color: var(--ink-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--cobalt-text); }
@media (min-width: 900px) {
  .toc { position: sticky; top: 84px; align-self: start; max-height: calc(100vh - 100px); overflow: auto; }
}
@media (max-width: 899px) {
  .toc { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
}

.doc { max-width: 720px; min-width: 0; }
.summary { background: var(--white); border-radius: 20px; padding: 20px 22px 8px; border-left: 6px solid var(--cobalt); margin-bottom: 36px; box-shadow: 0 1px 0 var(--line); }
.summary h2 { margin: 0 0 8px; font: 800 26px/1.05 var(--display); text-transform: uppercase; }
.summary ul { padding-left: 20px; margin: 0 0 12px; }
.summary li { margin: 6px 0; }

.doc section { padding-top: 8px; margin-bottom: 30px; }
.doc h2 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; font: 800 30px/1.05 var(--display); text-transform: uppercase; letter-spacing: 0.01em; }
.doc h2 .n { flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: var(--white); font: 800 18px/1 var(--display); transform: translateY(-3px); }
.doc h3 { margin: 22px 0 6px; font-size: 17px; font-weight: 800; }
.doc p, .doc li { color: #222830; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 5px 0; }
.doc strong { color: var(--ink); }

.table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 15px; background: var(--white); border-radius: 16px; overflow: hidden; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table th { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); background: #f7f8f8; }
.table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table thead { display: none; }
  .table tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .table tr:last-child { border-bottom: 0; }
  .table td { border: 0; padding: 4px 16px; }
  .table td:first-child { padding-top: 12px; font-weight: 800; color: var(--ink); }
  .table td:last-child { padding-bottom: 12px; }
}

.note { background: #fff6d6; border-radius: 16px; padding: 14px 18px; margin: 14px 0; }
.note p { margin: 0; }

/* Dados que o dono ainda precisa informar. Somem quando forem preenchidos. */
.falta { background: #ffe1dc; color: #a3200f; padding: 1px 6px; border-radius: 6px; font-weight: 700; }

.foot { background: var(--iron); color: #a3abb3; padding: 30px var(--gutter) 40px; font-size: 14px; }
.foot-in { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { color: var(--chalk); }

@media print {
  .bar, .toc, .foot, .bar-cta { display: none !important; }
  .head { background: none; color: var(--ink); padding: 0 0 12px; }
  .head h1 span { color: var(--ink); }
  body { background: #fff; }
  .wrap { display: block; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
