/* ══════════════════════════════════════════════════════════════════
   PÁGINAS LEGAIS — política de privacidade e afins

   Documento, não vitrine: uma coluna, medida de leitura curta, nenhum
   floreio. A única cor além da tinta é o filete dourado que separa as
   seções — e ele é fino de propósito.
══════════════════════════════════════════════════════════════════ */

.legal__top {
  padding: 1.5rem var(--gutter) 0;
  max-width: 46rem;
  margin-inline: auto;
}
.legal__back {
  font-size: var(--t--2);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cream-45);
  transition: color .25s ease;
}
.legal__back:hover { color: var(--gold-bright); }

.legal {
  max-width: 46rem;
  margin-inline: auto;
  padding: 2.5rem var(--gutter) 6rem;
}

.legal__eyebrow {
  font-size: var(--t--4);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.legal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.16;          /* o Ç de "cookies" não encosta na linha de cima */
  letter-spacing: -.006em;
  text-wrap: balance;
  margin-bottom: 1.2rem;
}

.legal__lead {
  font-size: 1.05rem;
  color: var(--cream-70);
  max-width: 38rem;
  text-wrap: pretty;
}

.legal__stamp {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: var(--t--2);
  color: var(--cream-45);
  font-variant-numeric: lining-nums tabular-nums;
}

.legal section { margin-top: 2.75rem; }

.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 4.6vw, 1.7rem);
  line-height: 1.2;
  margin-bottom: .8rem;
  text-wrap: balance;
}
.legal h2::before {
  content: '';
  display: block;
  width: 2.2rem;
  height: 2px;
  background: var(--gold);
  opacity: .8;
  margin-bottom: .9rem;
}

.legal h3 {
  font-family: var(--font-body);
  font-size: var(--t--2);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-45);
  margin: 1.7rem 0 .55rem;
}

.legal p {
  margin-bottom: .95rem;
  color: var(--cream-70);
  max-width: 38rem;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
.legal strong { color: var(--cream); font-weight: 600; }

.legal a {
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(213, 190, 147, .35);
  transition: border-color .25s ease;
}
.legal a:hover { border-bottom-color: var(--gold-bright); }

.legal__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  max-width: 38rem;
}
.legal__list li {
  position: relative;
  padding: .5rem 0 .5rem 1.5rem;
  color: var(--cream-70);
  border-top: 1px solid var(--line-soft);
}
.legal__list li:first-child { border-top: 0; }
.legal__list li::before {
  content: '';
  position: absolute;
  left: .15rem;
  top: 1.15rem;
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

/* Bloco que marca o que ainda falta — some quando o dono preencher */
.legal__todo {
  border-left: 2px solid var(--danger);
  background: rgba(226, 122, 114, .07);
  padding: .85rem 1rem;
  border-radius: 0 2px 2px 0;
  font-size: var(--t--1);
}
.legal__todo strong { color: var(--danger); }

/* Tabelas rolam dentro da própria caixa: a página nunca anda de lado */
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t--1);
  margin-bottom: 1rem;
  display: block;
  overflow-x: auto;
}
.legal__table th {
  text-align: left;
  font-size: var(--t--4);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream-25);
  padding: 0 1.2rem .6rem 0;
  white-space: nowrap;
}
.legal__table td {
  padding: .6rem 1.2rem .6rem 0;
  border-top: 1px solid var(--line-soft);
  color: var(--cream-70);
  vertical-align: top;
}
.legal__table code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
  color: var(--gold-bright);
  background: var(--surface-2);
  padding: .1em .4em;
  border-radius: 2px;
  white-space: nowrap;
}

.legal__foot {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--t--2);
  color: var(--cream-45);
  letter-spacing: .02em;
}
