.legal-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 0%, rgba(201, 154, 96, .11), transparent 30%),
    #f6f1e9;
  color: #2b2119;
}

.legal-header {
  border-bottom: 1px solid rgba(123, 91, 58, .18);
  background: #17120e;
}

.legal-header__inner {
  width: min(1100px, calc(100% - 40px));
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.legal-header__logo img { display: block; width: min(210px, 48vw); height: auto; }
.legal-header__back { color: #d8bc91; font-size: 12px; font-weight: 700; text-decoration: none; }
.legal-header__back:hover, .legal-header__back:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.legal-main {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 100px) 0;
}

.legal-eyebrow {
  margin: 0 0 12px;
  color: #9c6d38;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.legal-main h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display, Cinzel, serif);
  font-size: clamp(35px, 6vw, 62px);
  font-weight: 500;
  line-height: 1.07;
}

.legal-updated { margin: 18px 0 0; color: #75685c; font-size: 12px; }
.legal-lead { margin: 34px 0 0; color: #594b3f; font-size: clamp(16px, 2vw, 19px); line-height: 1.75; }

.legal-content {
  display: grid;
  gap: 18px;
  margin-top: 45px;
}

.legal-section {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(123, 91, 58, .18);
  border-radius: 18px;
  background: rgba(255, 253, 249, .78);
  box-shadow: 0 14px 38px rgba(58, 39, 22, .045);
}

.legal-section h2 { margin: 0 0 14px; font: 500 clamp(20px, 3vw, 27px) var(--font-display, Cinzel, serif); }
.legal-section h3 { margin: 22px 0 8px; font-size: 14px; }
.legal-section p, .legal-section li { color: #625449; font-size: 14px; line-height: 1.75; }
.legal-section p { margin: 10px 0 0; }
.legal-section ul { margin: 10px 0 0; padding-left: 21px; }
.legal-section li + li { margin-top: 7px; }
.legal-section a { color: #855b2f; font-weight: 700; text-underline-offset: 3px; }
.legal-section strong { color: #35291f; }

.legal-footer {
  border-top: 1px solid rgba(201, 154, 96, .16);
  background: #17120e;
  color: #a99c8c;
}

.legal-footer__inner {
  width: min(1100px, calc(100% - 40px));
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  font-size: 11px;
}

.legal-footer nav { display: flex; gap: 18px; }
.legal-footer a { color: #d4b889; text-decoration: none; }
.legal-footer a:hover, .legal-footer a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 620px) {
  .legal-header__inner { width: min(100% - 28px, 1100px); min-height: 74px; }
  .legal-main { width: min(100% - 28px, 860px); }
  .legal-header__back { font-size: 0; }
  .legal-header__back::after { content: "Voltar"; font-size: 11px; }
  .legal-footer__inner { width: min(100% - 28px, 1100px); flex-direction: column; align-items: flex-start; padding: 24px 0; }
}
