/* Paginas institucionais de leitura: Politica de Privacidade e Termos de Uso.
   Arquivo NOSSO, desde 15/10/2026. Mesmo desenho da pagina do Estatuto
   (web/estatuto.html): barra escura, abertura com ficha, e o texto em papel
   claro, porque texto corrido longo em fundo escuro cansa. */
:root {
  --noite: #060e1a;
  --azul-escuro: #0a1628;
  --azul: #1e6fbf;
  --ouro: #f5c518;
  --verde: #1b7a3b;
  --tinta: #16232f;
  --tinta-fraca: #5a6b7d;
  --papel: #ffffff;
  --papel-frio: #f4f7fb;
  --risco: #dde5ee;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--papel-frio);
  color: var(--tinta);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--azul); }
/* O e-mail da Liga e mais largo que a tela de um celular: quebra onde precisar. */
.texto a, .abertura .ficha b { overflow-wrap: anywhere; }

.salto {
  position: absolute; left: .75rem; top: -100px; z-index: 100;
  padding: .7rem 1.1rem; background: var(--ouro); color: var(--azul-escuro);
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border-radius: 0 0 4px 4px; transition: top .15s ease-out;
}
.salto:focus { top: 0; outline: 3px solid #fff; outline-offset: 2px; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--ouro); outline-offset: 2px; border-radius: 2px;
}
main:focus { outline: none; }

/* ------------------------------------------------------------ barra */
.barra {
  position: sticky; top: 0; z-index: 20;
  background: rgba(6, 14, 26, .97);
  border-bottom: 1px solid rgba(245, 197, 24, .18);
  backdrop-filter: blur(12px);
}
.barra .dentro {
  max-width: 1180px; margin: 0 auto; padding: .75rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
}
.barra a.marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.barra img { width: 44px; height: 44px; object-fit: contain; }
.barra .nome {
  width: 150px; height: 51px;
  background: url("/midia/lfa-logotipo.png") left center / contain no-repeat;
  overflow: hidden; text-indent: 100%; white-space: nowrap;
}
.barra nav { margin-left: auto; display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: flex-end; }
.barra nav a {
  font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: .9rem;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: rgba(232, 237, 245, .8);
}
.barra nav a:hover, .barra nav a[aria-current="page"] { color: var(--ouro); }

/* ------------------------------------------------------------ abertura */
.abertura {
  background: linear-gradient(160deg, var(--noite), var(--azul-escuro) 60%, #0d2136);
  color: #e8edf5; padding: 3rem 1.25rem 2.5rem;
}
.abertura .dentro { max-width: 1180px; margin: 0 auto; }
.abertura .etiqueta {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ouro); border: 1px solid rgba(245, 197, 24, .35);
  padding: .3rem .7rem; border-radius: 2px; margin-bottom: 1.1rem;
}
.abertura h1 {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: .04em;
  text-transform: uppercase; margin: 0; line-height: 1.1;
  text-wrap: balance;
}
.abertura .linha-fina { margin: .8rem 0 0; max-width: 62ch; color: rgba(232, 237, 245, .78); }
.abertura .ficha {
  margin-top: 1.6rem; padding-top: 1.1rem;
  border-top: 1px solid rgba(245, 197, 24, .25);
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem;
  font-size: .84rem; color: rgba(232, 237, 245, .72);
}
.abertura .ficha b {
  display: block; color: #fff; font-weight: 600; font-size: .95rem; margin-top: .15rem;
}
.abertura .ficha .rotulo {
  font-family: 'Rajdhani', sans-serif; letter-spacing: .16em;
  text-transform: uppercase; font-size: .68rem; color: rgba(232, 237, 245, .45);
}

/* ------------------------------------------------------------ corpo */
.pagina {
  max-width: 1180px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem;
  display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem;
  align-items: start;
}
.sumario {
  position: sticky; top: 5.2rem;
  max-height: calc(100vh - 7rem); overflow-y: auto;
  background: var(--papel); border: 1px solid var(--risco);
  border-radius: 4px; padding: 1.1rem 1rem;
}
.sumario h2 {
  font-family: 'Rajdhani', sans-serif; font-size: .8rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--tinta-fraca); margin: 0 0 .8rem;
  padding-bottom: .55rem; border-bottom: 2px solid var(--ouro);
}
.sumario ol { list-style: none; margin: 0; padding: 0; counter-reset: item; }
.sumario a {
  display: block; padding: .3rem 0; text-decoration: none;
  color: var(--tinta); font-size: .86rem; line-height: 1.35;
}
.sumario a:hover { color: var(--azul); }

.texto {
  background: var(--papel); border: 1px solid var(--risco);
  border-radius: 4px; padding: 2.2rem 2.4rem 2.8rem;
  min-width: 0; max-width: 820px;
}
.texto h2 {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--azul-escuro); margin: 2.4rem 0 .9rem;
  padding-bottom: .4rem; border-bottom: 2px solid var(--ouro);
  scroll-margin-top: 5.5rem; text-wrap: balance;
}
.texto h2:first-child { margin-top: 0; }
.texto h3 {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 1.05rem; letter-spacing: .05em; color: var(--azul);
  margin: 1.6rem 0 .6rem;
}
.texto p { margin: 0 0 .95rem; max-width: 70ch; }
.texto ul, .texto ol { margin: 0 0 1rem; padding-left: 1.4rem; max-width: 70ch; }
.texto li { margin: 0 0 .45rem; }
.texto .destaque {
  border-left: 3px solid var(--ouro); background: rgba(245, 197, 24, .08);
  padding: .8rem 1rem; border-radius: 0 4px 4px 0; margin: 0 0 1.1rem;
}
.rolagem { overflow-x: auto; margin: 0 0 1.1rem; }
.texto table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.texto th, .texto td { text-align: left; vertical-align: top; padding: .55rem .7rem; border-bottom: 1px solid var(--risco); }
.texto th {
  font-family: 'Rajdhani', sans-serif; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tinta-fraca); background: var(--papel-frio);
}
.texto .versao {
  margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid var(--risco);
  font-size: .86rem; color: var(--tinta-fraca);
}

/* ------------------------------------------------------------ rodapé */
.rodape {
  background: #0a0f16; color: rgba(232, 237, 245, .6);
  padding: 2.2rem 1.25rem; font-size: .85rem;
}
.rodape .dentro {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center;
}
.rodape a { color: rgba(232, 237, 245, .85); }
.rodape .links { margin-left: auto; display: flex; gap: 1.4rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .pagina { grid-template-columns: 1fr; gap: 1.4rem; }
  .sumario { position: static; max-height: none; }
  .texto { padding: 1.4rem 1.2rem 2rem; }
  .barra .nome { width: 116px; height: 40px; }
  .barra nav { gap: .8rem; }
  .barra nav a { font-size: .8rem; letter-spacing: .06em; }
  .rodape .links { margin-left: 0; }
}
@media (max-width: 480px) {
  .barra .nome { display: none; }
}
@media print {
  .barra, .sumario, .rodape { display: none; }
  body { background: #fff; }
  .pagina { display: block; padding: 0; }
  .texto { border: none; padding: 0; max-width: none; }
  .abertura { background: #fff; color: #000; padding: 0 0 1rem; }
  .abertura .ficha, .abertura .linha-fina { color: #333; }
  .abertura .ficha b { color: #000; }
}
