/* Páginas legais — Termos e Privacidade estilo Netflix */
html:has(body.page-legal-flow) {
  background: #fff;
}

.page-legal-flow {
  background: #fff !important;
  color: #000;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.page-legal-flow #siteHeader,
.page-legal-flow > footer,
.page-legal-flow footer.footer,
.page-legal-flow footer.footer-default,
.page-legal-flow .skip-to-main {
  display: none !important;
}

body.custom-header-relative.page-legal-flow .main-content,
.page-legal-flow .main-content {
  padding-top: 0 !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff !important;
}

.legal-main {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.legal-main-inner {
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
}

.legal-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.legal-title {
  font-size: clamp(1.85rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #000;
  margin: 0;
  flex: 1;
}

.legal-updated {
  margin: 0 0 2rem;
  font-size: 0.9rem;
  color: #737373;
}

.legal-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 9.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #8c8c8c;
  border-radius: 2px;
  background: #fff;
  color: #000;
  font-size: 0.8125rem;
  cursor: default;
}

.legal-lang-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.legal-lang-caret {
  margin-left: auto;
  font-size: 0.65rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 0.85rem;
}

.legal-section p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #000;
}

.legal-section a {
  color: #e50914;
  text-decoration: underline;
}

.legal-section a:hover {
  color: #f40612;
}

.legal-footer-band {
  flex-shrink: 0;
  background: #000;
  color: #737373;
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
}

.legal-footer-inner {
  width: 100%;
  max-width: 62.5rem;
  margin: 0 auto;
}

.legal-footer-contact {
  font-size: 1rem;
  margin: 0 0 1.875rem;
}

.legal-footer-contact a {
  color: #737373;
  text-decoration: underline;
}

.legal-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 740px) {
  .legal-footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem 1.25rem;
  }
}

.legal-footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.legal-footer-col a {
  color: #737373;
  font-size: 0.8125rem;
  text-decoration: underline;
  width: fit-content;
}

.legal-footer-col a:hover {
  color: #a3a3a3;
}

.legal-footer-region {
  margin: 1.25rem 0 0;
  font-size: 0.8125rem;
  color: #737373;
}

@media (max-width: 640px) {
  .legal-top-row {
    flex-direction: column;
  }
}
