/* ═══════════════════════════════════════════════════════════════════════════
   Você está bem? — Política de Privacidade
   Styles · Conexxio · www.voceestabem.com
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS (mirroring voceestabem.com) ─────────────────────────── */
:root {
  --blue-primary:   #2196f3;
  --blue-dark:      #1565c0;
  --blue-light:     #64b5f6;
  --blue-soft:      #e3f2fd;
  --green-primary:  #4caf50;
  --green-light:    #a5d6a7;
  --green-soft:     #e8f5e9;
  --teal:           #26c6da;
  --gradient-hero:  linear-gradient(135deg, #1e88e5 0%, #26c6da 50%, #66bb6a 100%);
  --gradient-soft:  linear-gradient(135deg, #e3f2fd 0%, #e0f7fa 50%, #e8f5e9 100%);
  --gradient-card:  linear-gradient(145deg, #ffffff 0%, #f0f8ff 100%);

  --text-dark:      #1a2332;
  --text-body:      #445566;
  --text-muted:     #7a8fa6;
  --text-light:     #aabcce;

  --surface:        #ffffff;
  --surface-soft:   #f7fbff;
  --surface-card:   #ffffff;
  --border:         #ddeeff;
  --border-light:   #eef5ff;

  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --radius-xl:      32px;
  --radius-pill:    999px;

  --shadow-sm:      0 2px 8px rgba(33,150,243,.08);
  --shadow-md:      0 4px 24px rgba(33,150,243,.12);
  --shadow-lg:      0 8px 40px rgba(33,150,243,.16);

  --font-display:   'Nunito', sans-serif;
  --font-body:      'Nunito Sans', sans-serif;

  --section-pad:    80px 24px;
  --max-w:          760px;
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--surface-soft);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }

/* ─── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  text-decoration: none;
}
.nav-logo img { width: 34px; height: 34px; border-radius: 8px; }
.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-primary);
  transition: gap .2s;
}
.nav-back:hover { gap: 10px; }
.nav-back svg { width: 16px; height: 16px; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  background: var(--gradient-hero);
  padding: 72px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(255,255,255,.15) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 70%, rgba(255,255,255,.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
  background: white;
  padding: 6px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge::before { content: '🔒'; font-size: .9rem; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  background: rgba(255,255,255,.25);
  padding: 0 8px;
  border-radius: 6px;
}
.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  max-width: 520px;
  margin: 0 auto 28px;
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
  font-weight: 600;
}
.hero-meta-item::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
}

/* ─── MAIN LAYOUT ────────────────────────────────────────────────────────── */
.layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

/* ─── SIDEBAR / TOC ──────────────────────────────────────────────────────── */
.toc {
  position: sticky;
  top: 88px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}
.toc-title {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.toc-list { list-style: none; }
.toc-list li + li { margin-top: 2px; }
.toc-list a {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all .2s;
  line-height: 1.3;
}
.toc-list a:hover,
.toc-list a.active {
  color: var(--blue-primary);
  background: var(--blue-soft);
}
.toc-list a.active { border-left: 3px solid var(--blue-primary); }

/* ─── CONTENT ────────────────────────────────────────────────────────────── */
.content { min-width: 0; }

/* ─── SECTION ────────────────────────────────────────────────────────────── */
.section {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.section:hover { box-shadow: var(--shadow-md); }

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}
.section-number {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--gradient-hero);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
}
.section h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-top: 4px;
}
.section h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section h3::before {
  content: '';
  width: 3px; height: 16px;
  background: var(--gradient-hero);
  border-radius: 2px;
  flex-shrink: 0;
}
.section p {
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 12px;
}
.section p:last-child { margin-bottom: 0; }

/* ─── BULLET LIST ────────────────────────────────────────────────────────── */
.bullet-list {
  list-style: none;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .93rem;
  color: var(--text-body);
  line-height: 1.55;
}
.bullet-list li::before {
  content: '';
  flex-shrink: 0;
  width: 7px; height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--teal));
}

/* ─── INFO CARD ──────────────────────────────────────────────────────────── */
.info-card {
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-row {
  display: flex;
  gap: 8px 12px;
  font-size: .9rem;
  align-items: baseline;
  flex-wrap: wrap;
}
.info-label {
  font-weight: 700;
  color: var(--text-dark);
  flex-shrink: 0;
  white-space: nowrap;
}
.info-value {
  color: var(--text-body);
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}
.info-value a { color: var(--blue-primary); font-weight: 600; }
.info-value a:hover { text-decoration: underline; }

/* ─── HIGHLIGHT BOX ──────────────────────────────────────────────────────── */
.highlight-box {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: .92rem;
  color: var(--text-dark);
  line-height: 1.65;
}
.highlight-box.green {
  background: var(--green-soft);
  border-left-color: var(--green-primary);
}

/* ─── RIGHTS GRID ────────────────────────────────────────────────────────── */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.right-item {
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
}
.right-item-icon { font-size: 1.4rem; margin-bottom: 8px; }
.right-item-title {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.right-item-desc { font-size: .78rem; color: var(--text-muted); line-height: 1.4; }

/* ─── VERSION BAR ────────────────────────────────────────────────────────── */
.version-bar {
  background: var(--gradient-hero);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.version-bar-text { font-size: .85rem; color: rgba(255,255,255,.85); }
.version-bar-text strong { color: #fff; font-weight: 700; }
.version-chip {
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
}

/* ─── CONTACT GRID ───────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.contact-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
  color: inherit;
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-card-icon { font-size: 1.6rem; margin-bottom: 8px; }
.contact-card-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-card-value {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-primary);
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--text-dark);
  padding: 40px 24px;
  text-align: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}
.footer-logo img { width: 32px; height: 32px; border-radius: 8px; }
.footer p { font-size: .85rem; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links a {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  transition: color .2s;
}
.footer-links a:hover,
.footer-links a.active { color: var(--blue-light); }

/* ─── ANPD NOTICE ────────────────────────────────────────────────────────── */
.anpd-notice {
  background: linear-gradient(135deg, #e3f2fd, #e8f5e9);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: .88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-top: 16px;
}
.anpd-notice strong { color: var(--text-dark); }

/* ─── SCROLL ANIMATION ───────────────────────────────────────────────────── */
.section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .5s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.section:nth-child(1)  { animation-delay: .05s; }
.section:nth-child(2)  { animation-delay: .10s; }
.section:nth-child(3)  { animation-delay: .15s; }
.section:nth-child(4)  { animation-delay: .18s; }
.section:nth-child(5)  { animation-delay: .21s; }
.section:nth-child(6)  { animation-delay: .24s; }
.section:nth-child(7)  { animation-delay: .27s; }
.section:nth-child(8)  { animation-delay: .30s; }
.section:nth-child(9)  { animation-delay: .33s; }
.section:nth-child(10) { animation-delay: .36s; }
.section:nth-child(11) { animation-delay: .39s; }
.section:nth-child(12) { animation-delay: .42s; }
.section:nth-child(13) { animation-delay: .45s; }
.version-bar { animation-delay: 0s !important; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px 60px; }
  .toc { position: static; display: none; }
  .section { padding: 28px 24px; }
  .info-card { padding: 18px 16px; }
}
@media (max-width: 560px) {
  .info-row { flex-direction: column; gap: 2px; }
  .info-label { font-size: .82rem; color: var(--text-muted); }
  .info-value { font-size: .9rem; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .rights-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 20px 16px; }
  .info-card { padding: 16px 14px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 52px 20px 60px; }
  .hero h1 { font-size: 1.6rem; }
  .contact-card { padding: 14px 10px; }
  .contact-card-value { font-size: .78rem; word-break: break-all; }
}

/* ─── SCROLL TO TOP ──────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 4px 20px rgba(33, 150, 243, .35);
  display: flex;
  align-items: center;
  justify-content: center;

  /* hidden by default */
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, box-shadow .2s ease;
}
.scroll-top svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top:hover {
  box-shadow: 0 6px 28px rgba(33, 150, 243, .5);
  transform: translateY(-3px) scale(1.05);
}
.scroll-top:active {
  transform: translateY(0) scale(.97);
}

@media (max-width: 480px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}