/* ══════════════════════════════════════════════════════
   DATACODEBR — páginas legais (Termos de Uso / Política de Privacidade)
   Reaproveita a paleta e os componentes do site principal
   ══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #141414;
  --bg2:     #161616;
  --card:    #212429;
  --card2:   #1d2025;
  --border:  rgba(170,255,0,0.13);
  --border2: rgba(255,255,255,0.11);
  --primary: #aaff00;
  --accent:  #c8ff00;
  --dim:     #6baa00;
  --text:    #ffffff;
  --muted:   #9ba1a8;
  --subtle:  #444;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text); line-height: 1.6; overflow-x: hidden;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.022) 0px, rgba(255,255,255,0.022) 1px, transparent 1px, transparent 14px);
}
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 40%, rgba(0,0,0,0.55) 100%);
}
nav, main, footer { position: relative; z-index: 1; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: .9rem 4vw;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(170,255,0,0.1);
}
.nav-logo { display:flex; align-items:center; gap:.65rem; text-decoration:none; }
.nav-logo img { height:34px; width:auto; }
.nav-logo-text { font-size:1.05rem; font-weight:800; letter-spacing:.04em; color:var(--text); }
.nav-logo-text span { color:var(--primary); }
.nav-links { display:flex; gap:2.25rem; list-style:none; }
.nav-links a { color:var(--muted); text-decoration:none; font-size:.88rem; font-weight:500; transition:color .2s; }
.nav-links a:hover { color:var(--primary); }
.nav-cta {
  padding:.55rem 1.4rem;
  background:var(--primary); color:#000;
  border:none; border-radius:7px;
  font-size:.85rem; font-weight:800;
  cursor:pointer; text-decoration:none;
  transition:background .2s, transform .15s, box-shadow .2s;
}
.nav-cta:hover { background:var(--accent); transform:translateY(-1px); box-shadow:0 0 20px rgba(170,255,0,0.35); }
@media(max-width:900px){ .nav-links { display:none; } }

/* ── SECTION UTILITY ── */
.eyebrow {
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.72rem; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--primary);
  margin-bottom:.75rem;
}

/* ── LEGAL PAGE ── */
.legal-hero { padding:9rem 4vw 2.5rem; text-align:center; }
.legal-hero .eyebrow { justify-content:center; }
.legal-hero h1 { font-size:clamp(1.8rem,3.4vw,2.5rem); font-weight:800; margin-bottom:.75rem; }
.legal-hero p { color:var(--muted); font-size:.9rem; }
.legal-body { max-width:820px; margin:0 auto; padding:1rem 4vw 6rem; }
.legal-card {
  position:relative; overflow:hidden;
  background:var(--card); border:1px solid var(--border2); border-radius:20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  padding:clamp(1.75rem,4vw,3.5rem);
}
.legal-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg, var(--primary), var(--accent));
}
.legal-info-box {
  background:rgba(170,255,0,0.05); border:1px solid rgba(170,255,0,0.18); border-radius:14px;
  padding:1.5rem 1.75rem; margin-bottom:2rem;
}
.legal-info-box p { color:var(--text); font-size:.87rem; margin-bottom:.35rem; }
.legal-info-box p:last-child { margin-bottom:0; }
.legal-info-box b { color:var(--primary); }
.back-link {
  display:inline-flex; align-items:center; gap:.4rem;
  color:var(--muted); text-decoration:none; font-size:.85rem; font-weight:600;
  margin-bottom:1.5rem; transition:color .2s;
}
.back-link:hover { color:var(--primary); }
.legal-body h2 {
  font-size:1.15rem; font-weight:800; color:var(--text);
  margin:2.25rem 0 .9rem; padding-top:1.5rem; border-top:1px solid var(--border2);
  display:flex; align-items:center; gap:.6rem;
}
.legal-body h2::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--primary); box-shadow:0 0 10px var(--primary); flex-shrink:0; }
.legal-body section:first-of-type h2 { border-top:none; padding-top:0; margin-top:0; }
.legal-body p, .legal-body li { color:var(--muted); font-size:.92rem; line-height:1.85; margin-bottom:.85rem; }
.legal-body ul, .legal-body ol { padding-left:1.4rem; margin-bottom:.85rem; }
.legal-body strong { color:var(--text); font-weight:700; }
.legal-body a { color:var(--primary); text-decoration:underline; text-decoration-color:rgba(170,255,0,0.35); }

/* ── FOOTER ── */
footer { border-top:1px solid var(--border); color:var(--subtle); font-size:.83rem; }
.footer-legal {
  padding:2.25rem 2rem; text-align:center; max-width:700px; margin:0 auto;
  border-bottom:1px solid var(--border);
}
.footer-legal p { font-size:.76rem; color:var(--subtle); line-height:1.8; }
.footer-legal b { color:var(--muted); }
.footer-bottom { padding:2rem; text-align:center; background:var(--bg); }
.footer-logo { font-size:.95rem; font-weight:800; color:var(--text); margin-bottom:.5rem; }
.footer-logo span { color:var(--primary); }
.footer-links { display:flex; justify-content:center; gap:1.5rem; margin-bottom:.75rem; flex-wrap:wrap; }
footer a { color:var(--subtle); text-decoration:none; transition:color .2s; }
footer a:hover { color:var(--primary); }
