/* ============================================================
   PRIVACY POLICY PAGE
   Document-focused styling that inherits the SAYNET.NG
   navy / blue / white design system.
   ============================================================ */

/* ---------- Hero ---------- */
.pp-hero { padding-bottom: clamp(20px, 3vw, 36px); }
.pp-hero .page-hero-inner { max-width: 860px; }
.pp-hero .lead { max-width: 66ch; }

.pp-updated {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(7, 91, 255, .22);
  box-shadow: 0 10px 24px -16px rgba(7, 91, 255, .4);
  border-radius: 999px;
  padding: 9px 18px;
}
.pp-updated .icon { width: 15px; height: 15px; color: var(--saynet); }
.pp-updated code { font-family: inherit; color: var(--saynet); }

/* ---------- Layout ---------- */
.pp-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  max-width: 1200px;
  margin-inline: auto;
  padding-block: clamp(36px, 5vw, 64px);
}

/* ---------- Sticky sidebar ---------- */
.pp-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  padding: 16px 12px;
}
.pp-sidebar-label {
  display: block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--saynet);
  padding: 2px 8px 12px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 12px;
}
.pp-toc { display: flex; flex-direction: column; gap: 2px; }
.pp-toc a {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
  padding: 6px 8px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.pp-toc a:hover { color: var(--saynet); background: var(--soft); }
.pp-toc a.is-active {
  color: var(--saynet);
  font-weight: 600;
  border-left-color: var(--saynet);
  background: rgba(7, 91, 255, .08);
}

/* ---------- Mobile "On this page" dropdown ---------- */
.pp-dropdown { display: none; margin-bottom: 20px; }
.pp-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--white);
  transition: border-color .25s;
}
.pp-dropdown summary::-webkit-details-marker { display: none; }
.pp-dropdown summary:hover { border-color: rgba(7, 91, 255, .4); }
.pp-dropdown summary .icon {
  width: 18px; height: 18px;
  color: var(--saynet);
  transition: transform .3s var(--ease);
  transform: rotate(180deg);
}
.pp-dropdown[open] summary .icon { transform: rotate(0deg); }
.pp-dropdown .pp-toc {
  margin-top: 10px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 8px;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: var(--shadow-card);
}

/* ---------- Document ---------- */
.pp-doc { min-width: 0; }

.pp-section {
  border-top: 1px solid var(--line);
  padding-block: clamp(26px, 3.4vw, 44px);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.pp-section:first-of-type { border-top: 0; padding-top: 0; }

.pp-h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -.015em;
  margin-bottom: 16px;
}
.pp-num {
  font-size: .72em;
  font-weight: 700;
  color: var(--saynet);
  opacity: .9;
}
.pp-h3 { font-size: 1.14rem; margin: 24px 0 10px; }

.pp-doc p {
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 74ch;
  line-height: 1.8;
}
.pp-doc p:last-child { margin-bottom: 0; }
.pp-doc strong { color: var(--navy); font-weight: 600; }

.pp-list { margin: 14px 0 18px; display: grid; gap: 8px; }
.pp-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
  max-width: 72ch;
}
.pp-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bright);
  opacity: .5;
}
.pp-list--check li::before { background: #22C55E; opacity: .7; }
.pp-list--cols { grid-template-columns: 1fr 1fr; gap: 8px 24px; }

.pp-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--navy);
  background: var(--light);
  border: 1px solid rgba(7, 91, 255, .22);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  margin: 18px 0;
  line-height: 1.65;
  max-width: 82ch;
}
.pp-note .icon { width: 19px; height: 19px; color: var(--saynet); flex: none; margin-top: 2px; }

.pp-statement {
  background: var(--grad-navy);
  color: #CFE2FF;
  border: 1px solid rgba(143, 193, 255, .3);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin: 18px 0 24px;
  font-size: .98rem;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.5;
  max-width: 82ch;
}

/* ---------- Cards ---------- */
.pp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
}
.pp-card {
  background: linear-gradient(180deg, var(--soft) 0%, var(--white) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 20px 18px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.pp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(7, 91, 255, .32);
  box-shadow: var(--shadow-card);
}
.pp-card h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .98rem;
  margin-bottom: 8px;
}
.pp-card h4 .icon { width: 18px; height: 18px; color: var(--saynet); flex: none; }
.pp-card p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  max-width: none;
}

/* ---------- Contact ---------- */
.pp-contact {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(22, 135, 255, .22), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(7, 91, 255, .2), transparent 60%),
    var(--grad-navy);
}
.pp-contact::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(143, 193, 255, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.pp-contact > * { position: relative; }
.pp-contact .pp-h2 { color: var(--white); }
.pp-contact .pp-num { color: #9CC9FF; }
.pp-contact p { color: #B9C7DE; }

.pp-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin: 26px 0;
}
.pp-info { display: grid; gap: 12px; }
.pp-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #CFE2FF;
  font-size: .94rem;
  line-height: 1.5;
}
.pp-info .pp-info-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8FA6C4;
  min-width: 92px;
  padding-top: 3px;
}
.pp-info .icon { width: 18px; height: 18px; color: #9CC9FF; flex: none; margin-top: 3px; }
.pp-info a { color: #CFE2FF; transition: color .25s; }
.pp-info a:hover { color: var(--white); }
.pp-info code { font-family: var(--font-body); font-size: .92rem; color: #9CC9FF; }

.pp-contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Privacy request form ---------- */
.pp-form-card { margin-top: 36px; }
.pp-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 16px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.5;
}
.pp-check input {
  width: 18px; height: 18px;
  flex: none;
  margin-top: 3px;
  accent-color: var(--saynet);
  cursor: pointer;
}
.pp-form-note { font-size: .82rem; color: var(--muted-soft); margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pp-layout { grid-template-columns: 1fr; }
  .pp-sidebar { display: none; }
  .pp-dropdown { display: block; }
}

@media (max-width: 640px) {
  .pp-cards, .pp-contact-grid, .pp-list--cols { grid-template-columns: 1fr; }
  .pp-h2 { flex-wrap: wrap; }
  .pp-contact { padding: 24px 20px; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .pp-sidebar, .pp-dropdown, .whatsapp-float, .to-top,
  .footer, .pp-form-card, .pp-contact-actions { display: none !important; }
  .pp-hero { padding-top: 0; }
  .pp-layout { padding-block: 0; }
  .pp-section { break-inside: avoid; }
}
