/*!***********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/documentos/documentos.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************************/
.legal-page {
  min-height: 100vh;
  padding: 48px 20px;
  background: #f7f8fb;
  color: #111827;
}

.legal-hero,
.legal-document-header {
  max-width: 960px;
  margin: 0 auto 32px;
}

.legal-hero span,
.legal-document-header span {
  display: inline-block;
  margin-bottom: 12px;
  color: #f97316;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.legal-hero h1,
.legal-document-header h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
}

.legal-hero p,
.legal-document-header p {
  max-width: 720px;
  margin-top: 16px;
  color: #4b5563;
  font-size: 18px;
}

.legal-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 18px;
  gap: 18px;
}

.legal-card {
  display: block;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  color: inherit;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.legal-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.legal-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 10px;
}

.legal-card p {
  margin: 0 0 18px;
  color: #6b7280;
}

.legal-card small {
  color: #f97316;
  font-weight: 700;
}

.legal-document-header a {
  display: inline-block;
  margin-bottom: 24px;
  color: #f97316;
  text-decoration: none;
  font-weight: 700;
}

.legal-document-header a:hover {
  text-decoration: underline;
}

.legal-document-header div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.legal-document-header small {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
  border-radius: 999px;
  color: #4b5563;
}

.legal-document {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.legal-document p {
  margin: 0 0 14px;
  color: #1f2937;
  line-height: 1.75;
  font-size: 16px;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 32px 16px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .legal-document {
    padding: 24px;
    border-radius: 18px;
  }
}
.legal-page.webview {
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  touch-action: pan-y;
  text-size-adjust: 100%;
}

.legal-page.webview * {
  max-width: 100%;
  box-sizing: border-box;
  touch-action: pan-y;
}

.legal-page.webview .legal-document-header {
  max-width: none;
  margin: 0;
  padding: 22px 18px 14px;
}

.legal-page.webview .legal-document-header a {
  display: none;
}

.legal-page.webview .legal-document-header span {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 11px;
}

.legal-page.webview .legal-document-header h1 {
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.legal-page.webview .legal-document-header p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.legal-page.webview .legal-document-header div {
  gap: 8px;
  margin-top: 12px;
}

.legal-page.webview .legal-document-header small {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border-color: var(--border);
  font-size: 11px;
}

.legal-page.webview .legal-document {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 16px 18px 32px;
  overflow-x: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.legal-page.webview .legal-document p {
  max-width: 100%;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
  word-break: normal;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
