/* ============================================================
   /policies.css
   Shared stylesheet for site-wide legal surfaces (privacidade,
   cookies). Consumes design-system/ui-kit/tokens.css for tokens +
   fonts + body baseline. Local declarations cover page-specific
   layout: single column, comfortable reading width, header / footer
   chrome matching the webinar landing page.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { color: inherit; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ============================================================
   Header
   ============================================================ */
.hdr {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  background: hsla(198, 31%, 6%, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border) / 0.25);
}
@media (min-width: 768px) { .hdr { padding: 18px 40px; } }
.hdr__brand { display: inline-flex; align-items: center; }
.hdr__brand img { height: 22px; width: auto; }
.hdr__link {
  font-size: 13px; font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .15s;
}
.hdr__link:hover { color: hsl(var(--foreground)); }
.hdr__link svg { width: 12px; height: 12px; opacity: .7; }

/* ============================================================
   Policy content — single column, comfortable reading width
   ============================================================ */
.policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px;
}
@media (min-width: 768px) { .policy { padding: 88px 32px; } }

.policy__h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: hsl(var(--foreground));
}
.policy__updated {
  margin: 0 0 48px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: hsl(var(--muted-foreground));
}

.policy h2 {
  margin: 40px 0 14px;
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}
.policy p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  max-width: 62ch;
  text-wrap: pretty;
}
.policy p strong { color: hsl(var(--foreground)); font-weight: 600; }
.policy p a {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-decoration-color: hsl(var(--secondary) / 0.55);
  text-underline-offset: 3px;
  transition: text-decoration-color .15s;
}
.policy p a:hover { text-decoration-color: hsl(var(--secondary)); }

/* ============================================================
   Footer — matches webinar page pattern
   ============================================================ */
.ftr {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding: 32px 24px;
  border-top: 1px solid hsl(var(--border) / 0.25);
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .ftr {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 40px;
  }
}
.ftr__brand { display: inline-flex; align-items: center; }
.ftr__brand img { height: 18px; width: auto; }
.ftr__copy { white-space: nowrap; }
.ftr__links { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr__links a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color .15s;
}
.ftr__links a:hover { color: hsl(var(--foreground)); }

/* ============================================================
   Focus ring (kit's :focus-visible covers most; keep this here
   in case kit cascade changes)
   ============================================================ */
:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
