:root {
  color-scheme: dark;
  --orange: #ff6a00;
  --ink: #080808;
  --panel: #11110f;
  --paper: #fffaf6;
  --muted: #aaa6a2;
  --line: rgba(255, 255, 255, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 106, 0, 0.13), transparent 28rem),
    var(--ink);
  color: var(--paper);
}

a { color: inherit; }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(22px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(16px);
}

.legal-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.legal-brand img {
  width: 24px;
  height: 29px;
  object-fit: contain;
}

.legal-brand strong { color: var(--orange); }

.back-link {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible { color: var(--paper); }

.legal-main {
  width: min(920px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 126px) 0 96px;
}

.legal-kicker {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.legal-main h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.legal-intro {
  max-width: 720px;
  margin: 28px 0 0;
  color: #d0ccc7;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.legal-updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

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

.legal-section,
.support-card {
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.legal-section h2,
.support-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.28rem, 3vw, 1.65rem);
  letter-spacing: -0.03em;
}

.legal-section h3 {
  margin: 26px 0 10px;
  font-size: 1rem;
}

.legal-section p,
.legal-section li,
.support-card p,
.support-card li {
  color: #c6c1bc;
  line-height: 1.75;
}

.legal-section p:last-child,
.support-card p:last-child { margin-bottom: 0; }

.legal-section ul,
.support-card ul {
  margin: 14px 0 0;
  padding-left: 21px;
}

.legal-section li + li,
.support-card li + li { margin-top: 9px; }

.legal-section a,
.support-card a {
  color: #ff9a4f;
  text-underline-offset: 3px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.support-card:first-child { grid-column: 1 / -1; }

.support-label {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--orange);
  color: #080808 !important;
  font-weight: 900;
  text-decoration: none;
}

.legal-footer {
  padding: 32px clamp(22px, 5vw, 76px);
  border-top: 1px solid var(--line);
  background: #050505;
}

.legal-footer-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, 100%);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-footer a { text-decoration: none; }
.legal-footer a:hover { color: var(--paper); }

@media (max-width: 680px) {
  .legal-header { min-height: 68px; }
  .back-link { font-size: 0; }
  .back-link::after { content: "VOLTAR"; font-size: 0.72rem; }
  .support-grid { grid-template-columns: 1fr; }
  .support-card:first-child { grid-column: auto; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; }
}
