
/* v3.359.9 — estrutura unificada para páginas jurídicas e informativas */

:root {
  --legal-surface: rgba(255, 255, 255, 0.88);
  --legal-surface-strong: rgba(255, 255, 255, 0.96);
  --legal-border: rgba(204, 215, 232, 0.78);
  --legal-shadow: 0 22px 70px rgba(7, 23, 59, 0.10);
  --legal-shadow-soft: 0 12px 28px rgba(7, 23, 59, 0.07);
  --legal-muted: #5c6d88;
  --legal-muted-strong: #4d5f7a;
}

html {
  scroll-behavior: smooth;
}

.terms-page,
.policy-page {
  color: var(--ink);
  background:
    radial-gradient(circle at 15% -10%, rgba(0, 213, 232, 0.14), transparent 28%),
    radial-gradient(circle at 92% 10%, rgba(15, 99, 255, 0.10), transparent 30%),
    linear-gradient(180deg, #eff7ff 0%, #f8fbff 48%, #eef5ff 100%);
}

.terms-header,
.policy-header,
.terms-hero-content,
.policy-hero-content,
.terms-summary-card,
.policy-summary-card,
.terms-index-card,
.policy-index-card,
.terms-document,
.policy-document,
.policy-card {
  border-color: var(--legal-border) !important;
  background: var(--legal-surface) !important;
  box-shadow: var(--legal-shadow);
  backdrop-filter: blur(18px);
}

.terms-hero p,
.policy-hero p,
.term-section p,
.policy-section p,
.definition-grid p,
.contact-box,
.contact-policy-grid article,
.contact-policy-grid a,
.policy-card p,
.policy-document-footer span,
.small-note {
  color: var(--legal-muted-strong);
}

.term-section p,
.policy-section p,
.definition-grid p,
.contact-box,
.contact-policy-grid,
.contact-policy-grid a,
.policy-accordion p,
.policy-card p,
.terms-footer,
.policy-footer {
  overflow-wrap: anywhere;
}

.term-section a,
.policy-section a,
.contact-box a,
.contact-policy-grid a,
.policy-document-footer a,
.legal-guide-card a {
  color: var(--blue-600);
  font-weight: 700;
}

.terms-link:focus-visible,
.terms-button:focus-visible,
.policy-link:focus-visible,
.policy-button:focus-visible,
.card-link:focus-visible,
.copy-policy-button:focus-visible,
.print-button:focus-visible,
.back-to-top:focus-visible,
.legal-family-link:focus-visible {
  outline: 3px solid rgba(0, 213, 232, 0.35);
  outline-offset: 3px;
}

.legal-family-nav-wrap {
  margin: 0 0 18px;
}

.legal-family-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.legal-family-link {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--legal-border);
  border-radius: 18px;
  text-decoration: none;
  background: var(--legal-surface-strong);
  box-shadow: var(--legal-shadow-soft);
  color: var(--ink);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

.legal-family-link:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 99, 255, 0.24);
  box-shadow: 0 16px 36px rgba(7, 23, 59, 0.11);
}

.legal-family-link strong {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.legal-family-link small {
  color: var(--legal-muted);
  font-size: 12.4px;
  line-height: 1.45;
  font-weight: 700;
}

.legal-family-link.is-current,
.legal-family-link[aria-current="page"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
  box-shadow: 0 18px 40px rgba(15, 99, 255, 0.22);
}

.legal-family-link.is-current small,
.legal-family-link[aria-current="page"] small {
  color: rgba(255,255,255,0.88);
}

.legal-guide-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}

.legal-guide-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--legal-border);
  border-radius: 18px;
  background: var(--legal-surface-strong);
  box-shadow: var(--legal-shadow-soft);
}

.legal-guide-card span {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--blue-600);
  background: rgba(15, 99, 255, 0.08);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-guide-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.legal-guide-card p {
  margin: 0;
  color: var(--legal-muted-strong);
  font-size: 13.4px;
  line-height: 1.58;
  font-weight: 640;
}

.policy-cards {
  margin-top: 0;
}

.policy-card,
.legal-guide-card,
.terms-summary-card,
.policy-summary-card,
.terms-hero-content,
.policy-hero-content,
.terms-index-card,
.policy-index-card,
.terms-document,
.policy-document {
  border-radius: 22px;
}

.policy-summary-card h2,
.terms-summary-card h2 {
  margin-bottom: 0;
}

.terms-footer,
.policy-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 26px;
  color: #6f7f99;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 650;
  text-align: center;
}

@media (max-width: 980px) {
  .legal-family-nav,
  .legal-guide-strip {
    grid-template-columns: 1fr;
  }

  .legal-family-link {
    padding: 15px 16px;
  }
}

@media (max-width: 760px) {
  .terms-header,
  .policy-header {
    height: auto;
    min-height: 68px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
    padding-bottom: 10px;
  }

  .terms-header::before,
  .policy-header::before {
    border-radius: 24px;
  }

  .terms-actions,
  .policy-actions {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .terms-actions::-webkit-scrollbar,
  .policy-actions::-webkit-scrollbar {
    display: none;
  }

  .terms-link,
  .terms-button,
  .policy-link,
  .policy-button {
    white-space: nowrap;
    min-height: 38px;
  }

  .policy-card,
  .legal-guide-card,
  .terms-hero-content,
  .policy-hero-content,
  .terms-summary-card,
  .policy-summary-card,
  .terms-document,
  .policy-document {
    border-radius: 20px;
  }

  .terms-summary-card,
  .policy-summary-card {
    padding: 22px;
  }

  .terms-footer,
  .policy-footer {
    width: min(100% - 24px, 720px);
  }
}

@media (max-width: 560px) {
  .legal-family-nav-wrap {
    margin-bottom: 14px;
  }

  .legal-family-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .legal-family-nav::-webkit-scrollbar {
    display: none;
  }

  .legal-family-link {
    min-width: 240px;
  }

  .legal-guide-card {
    padding: 16px;
  }

  .legal-guide-card h2 {
    font-size: 17px;
  }

  .terms-hero h1,
  .policy-hero h1 {
    line-height: 1.02;
  }
}

@media print {
  .legal-family-nav-wrap,
  .legal-guide-strip,
  .policy-toast,
  .policy-footer {
    display: none !important;
  }
}
