/* ============================================================
   Política de Privacidade — CSync
   Página standalone — design inspirado em docs corporativos
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Bahnschrift", "Segoe UI Variable Text", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #eef3fa;
  background: #0a0e14;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #45dfad;
  text-decoration: none;
  transition: color 140ms ease;
}

a:hover {
  color: #63e8bf;
  text-decoration: underline;
}

code {
  font-family: "Cascadia Mono", "SF Mono", "Fira Code", Consolas, monospace;
  font-size: 0.82em;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(69, 223, 173, .08);
  border: 1px solid rgba(69, 223, 173, .14);
  color: #63e8bf;
}

/* ── Accent bar (top, like Senior PDF) ── */

.ppAccentBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, #238962 0%, #45dfad 40%, #63e8bf 60%, #238962 100%);
  background-size: 200% 100%;
  animation: ppAccentSlide 4s ease-in-out infinite;
}

@keyframes ppAccentSlide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── Decorative elements ── */

.ppDeco--dots {
  position: fixed;
  top: 80px;
  left: 24px;
  width: 140px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(69, 223, 173, .10) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  opacity: .5;
  z-index: 0;
}

.ppDeco--glow {
  position: fixed;
  top: 20%;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 223, 173, .04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: ppGlowPulse 8s ease-in-out infinite;
}

@keyframes ppGlowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.15); }
}

/* ── Layout ── */

.ppPage {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  z-index: 1;
}

/* ── Header ── */

.ppHeader {
  position: sticky;
  top: 3px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 32px;
  background: rgba(10, 14, 20, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(69, 223, 173, .08);
}

.ppHeader__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #eef3fa;
  min-height: 30px;
  font-family: "Sora", "Segoe UI Variable Text", system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  text-decoration: none;
  flex-shrink: 0;
}

.ppHeader__brand:hover {
  text-decoration: none;
  color: #45dfad;
}

.ppHeader__logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.ppHeader__name {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  letter-spacing: -0.04em;
}

.ppHeader__nav {
  display: flex;
  gap: 6px;
}

.ppHeader__link {
  font-size: 0.78rem;
  font-weight: 600;
  color: #8f9aa8;
  padding: 5px 12px;
  border-radius: 6px;
  transition: all 140ms ease;
}

.ppHeader__link:hover {
  color: #45dfad;
  background: rgba(69, 223, 173, .06);
  text-decoration: none;
}

.ppHeader__back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #8f9aa8;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .06);
  transition: all 140ms ease;
  flex-shrink: 0;
}

.ppHeader__back:hover {
  color: #45dfad;
  border-color: rgba(69, 223, 173, .18);
  background: rgba(69, 223, 173, .06);
  text-decoration: none;
}

.ppHeader__back svg {
  flex-shrink: 0;
}

/* ── Hero banner ── */

.ppHero {
  position: relative;
  padding: 56px 32px 40px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(10, 14, 20, 0) 0%, rgba(10, 14, 20, .6) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(69, 223, 173, .08) 0%, transparent 60%);
}

.ppHero__inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 16px;
}

.ppHero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(69, 223, 173, .10);
  border: 1px solid rgba(69, 223, 173, .16);
  color: #45dfad;
}

.ppHero__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.ppHero__accent {
  width: 100%;
  width: 60px;
  height: 4px;
  margin: 0 auto 16px;
  border-radius: 4px;
  background: linear-gradient(90deg, #238962, #45dfad, #63e8bf);
}

.ppHero__updated {
  width: 100%;
  font-size: 0.8rem;
  color: #6d788b;
  letter-spacing: .02em;
}

/* ── Content ── */

.ppContent {
  flex: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 32px 64px;
  width: 100%;
}

/* ── Sections ── */

.ppContent section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.ppContent section:last-child {
  border-bottom: 0;
}

.ppContent h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #eef3fa;
  margin-bottom: 16px;
  padding-top: 4px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ppSection__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(69, 223, 173, .10);
  border: 1px solid rgba(69, 223, 173, .14);
  color: #45dfad;
  flex-shrink: 0;
}

.ppContent h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #45dfad;
  margin: 20px 0 8px;
  padding-left: 12px;
  border-left: 3px solid rgba(69, 223, 173, .30);
}

.ppContent p {
  margin-bottom: 12px;
  color: #b8c2ce;
}

.ppContent p strong {
  color: #eef3fa;
}

.ppContent ul {
  margin: 8px 0 16px 20px;
  color: #b8c2ce;
}

.ppContent li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.ppContent li::marker {
  color: #45dfad;
}

.ppContent li strong {
  color: #eef3fa;
}

/* ── Cards (intro highlight, like Senior PDF intro box) ── */

.ppCard {
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
}

.ppCard p:last-child {
  margin-bottom: 0;
}

.ppCard--highlight {
  background: rgba(69, 223, 173, .06);
  border: 1px solid rgba(69, 223, 173, .14);
  border-left: 4px solid #45dfad;
}

.ppCard--highlight p {
  color: #c8d6e0;
}

.ppCard--subtle {
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .06);
}

/* ── Callout boxes (with icon, like Senior PDF notes) ── */

.ppCallout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  margin: 16px 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .06);
}

.ppCallout--info {
  background: rgba(69, 223, 173, .04);
  border-color: rgba(69, 223, 173, .12);
}

.ppCallout__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(69, 223, 173, .10);
  color: #45dfad;
}

.ppCallout p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Badges (table legal basis) ── */

.ppBadge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(69, 223, 173, .08);
  border: 1px solid rgba(69, 223, 173, .16);
  color: #45dfad;
  white-space: nowrap;
}

.ppBadge--alt {
  background: rgba(227, 184, 92, .08);
  border-color: rgba(227, 184, 92, .18);
  color: #e3b85c;
}

.ppBadge--section {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  vertical-align: middle;
}

/* ── Card-style list (compartilhamento / retencao) ── */

.ppList--cards {
  list-style: none;
  margin: 12px 0 16px 0;
  display: grid;
  gap: 10px;
}

.ppList--cards li {
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .06);
  margin-bottom: 0;
  padding-left: 18px;
  position: relative;
  transition: border-color 200ms ease, background 200ms ease;
}

.ppList--cards li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: rgba(69, 223, 173, .30);
}

.ppList--cards li:hover {
  border-color: rgba(69, 223, 173, .14);
  background: rgba(69, 223, 173, .03);
}

/* ── Security grid (cards with icons) ── */

.ppGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.ppGridCard {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.ppGridCard:hover {
  border-color: rgba(69, 223, 173, .18);
  background: rgba(69, 223, 173, .04);
  transform: translateY(-2px);
}

.ppGridCard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(69, 223, 173, .08);
  border: 1px solid rgba(69, 223, 173, .12);
  color: #45dfad;
}

.ppGridCard span {
  font-size: 0.88rem;
  color: #b8c2ce;
  line-height: 1.5;
}

.ppGridCard span strong {
  color: #eef3fa;
}

/* ── Rights grid (checkmark items) ── */

.ppRightsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.ppRightItem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .05);
  transition: border-color 200ms ease;
}

.ppRightItem:hover {
  border-color: rgba(69, 223, 173, .16);
}

.ppRightItem__check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(69, 223, 173, .12);
  color: #45dfad;
  font-size: 0.75rem;
  font-weight: 700;
}

.ppRightItem span {
  font-size: 0.88rem;
  color: #b8c2ce;
  line-height: 1.5;
}

.ppRightItem span strong {
  color: #eef3fa;
}

/* ── Tables ── */

.ppTable {
  overflow-x: auto;
  margin: 14px 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .06);
  background: rgba(255, 255, 255, .01);
}

.ppTable table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.ppTable thead {
  background: rgba(69, 223, 173, .05);
}

.ppTable th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #45dfad;
  border-bottom: 1px solid rgba(69, 223, 173, .12);
}

.ppTable td {
  padding: 12px 16px;
  color: #b8c2ce;
  border-bottom: 1px solid rgba(255, 255, 255, .03);
}

.ppTable tr:last-child td {
  border-bottom: 0;
}

.ppTable tr:hover td {
  background: rgba(69, 223, 173, .03);
}

/* ── Footer ── */

.ppFooter {
  padding: 32px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: rgba(10, 14, 20, .6);
}

.ppFooter__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ppFooter__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: .4;
  margin-bottom: 4px;
}

.ppFooter p {
  font-size: 0.78rem;
  color: #6d788b;
}

.ppFooter__version {
  font-size: 0.7rem !important;
  color: #4a5568 !important;
  letter-spacing: .04em;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .ppHeader__nav {
    display: none;
  }

  .ppDeco--dots,
  .ppDeco--glow {
    display: none;
  }
}

@media (max-width: 600px) {
  .ppHeader {
    padding: 12px 18px;
  }

  .ppHero {
    padding: 40px 20px 28px;
  }

  .ppHero__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .ppContent {
    padding: 28px 18px 48px;
  }

  .ppGrid {
    grid-template-columns: 1fr;
  }

  .ppRightsGrid {
    grid-template-columns: 1fr;
  }

  .ppTable th,
  .ppTable td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .ppCard {
    padding: 16px 18px;
  }
}
