/* ───────────────────────────────────────────────────────────────
   Páginas legais (Termos de Serviço e Política de Privacidade).
   Folha independente do restante do site de propósito: a landing carrega
   GSAP, canvas e estilos de seção que não fazem sentido aqui. A identidade
   (paleta, Metropolis, botões) é a mesma.
   ─────────────────────────────────────────────────────────────── */

@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-Medium.otf') format('opentype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-SemiBold.otf') format('opentype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-ExtraBold.otf') format('opentype'); font-weight: 800; font-display: swap; }

:root {
  --bg:      #110F14;
  --violet:  #9A8AFB;
  --pink:    #CC3366;
  --text:    #EAEAF0;
  --muted:   #A49DB5;
  --muted-2: #C2BCD2;
  --line:    rgba(234, 234, 240, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Metropolis', 'Segoe UI', sans-serif;
  background:
    radial-gradient(60% 34% at 50% -6%, rgba(154, 138, 251, .14) 0%, rgba(154, 138, 251, 0) 70%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ─── nav ─── */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 48px);
  background: rgba(17, 15, 20, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.nav-logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-back { font-size: 13px; color: var(--muted-2); transition: color .3s; }
.nav-back:hover { color: var(--text); }
.nav-cta {
  position: relative; overflow: hidden;
  font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
  padding: 10px 22px; border-radius: 100px;
  background: linear-gradient(120deg, var(--violet), var(--pink) 52%);
  background-size: 170% 100%; background-position: 0% 0;
  box-shadow: 0 6px 20px rgba(204, 51, 102, .35);
  transition: transform .3s, box-shadow .3s, background-position .45s;
}
.nav-cta:hover {
  background-position: 65% 0; transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(204, 51, 102, .55);
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .08) 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  pointer-events: none;
}

/* ─── conteúdo ─── */
.wrap { max-width: 780px; margin: 0 auto; padding: clamp(48px, 8vh, 90px) 24px 80px; }
.kicker {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
h1 {
  font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; letter-spacing: -.02em;
  line-height: 1.12; margin-bottom: 10px;
}
.updated { font-size: 13px; color: var(--muted); margin-bottom: 40px; }

.doc h2 {
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; letter-spacing: -.01em;
  margin: 44px 0 12px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.doc h3 { font-size: 16px; font-weight: 600; margin: 22px 0 8px; }
.doc p { color: var(--muted-2); font-size: 15px; margin-bottom: 12px; }
.doc ul { margin: 0 0 14px 20px; }
.doc li { color: var(--muted-2); font-size: 15px; margin-bottom: 8px; }
.doc li::marker { color: var(--violet); }
.doc strong { color: var(--text); font-weight: 600; }
.doc a { color: var(--violet); }
.doc a:hover { text-decoration: underline; }

/* caixa de destaque — pontos que o leitor não pode perder */
.destaque {
  margin: 18px 0; padding: 16px 18px; border-radius: 14px;
  background: rgba(154, 138, 251, .07);
  box-shadow: inset 0 0 0 1px rgba(154, 138, 251, .22);
}
.destaque p { margin: 0; color: var(--muted-2); }

/* ─── rodapé ─── */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 24px 44px; text-align: center;
  color: var(--muted); font-size: 13px;
}
.footer img { width: 40px; height: 40px; border-radius: 10px; margin-bottom: 12px; }
.footer-links { display: flex; gap: 10px; justify-content: center; margin-bottom: 10px; }
.footer-links a { color: var(--muted-2); transition: color .3s; }
.footer-links a:hover { color: var(--text); }
