/* =========================================
   Shared styles — pages: privacidade, termos, lgpd, ajuda
   ========================================= */
:root {
  --iris-50:  #F4F1FF;
  --iris-100: #E8E2FF;
  --iris-200: #D2C6FF;
  --iris-300: #B6A4FF;
  --iris-400: #9A82FF;
  --iris-500: #7F6CFF;
  --iris-600: #6B57F2;
  --iris-700: #5641D6;
  --iris-800: #3F2EA6;
  --iris-900: #261A6E;
  --iris-deep:#15103A;

  --ink-900: #14121F;
  --ink-700: #2B2940;
  --ink-500: #5E5C76;
  --ink-400: #8B89A3;
  --ink-300: #B5B3CA;
  --ink-200: #DBD9EA;
  --ink-100: #ECEAF5;
  --ink-50:  #F7F6FB;
  --paper:   #FFFFFF;

  --success: #00D670;
  --warn:    #FFDA00;
  --error:   #FF3A3A;
  --info:    #2D8CFF;

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

  --shadow-sm: 0 1px 2px rgba(38, 26, 110, 0.06), 0 1px 3px rgba(38, 26, 110, 0.04);
  --shadow-md: 0 8px 24px rgba(38, 26, 110, 0.08), 0 2px 4px rgba(38, 26, 110, 0.04);
  --shadow-lg: 0 24px 60px rgba(38, 26, 110, 0.14), 0 6px 14px rgba(38, 26, 110, 0.06);

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--iris-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--iris-700); }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 32px; }
.wrap--wide { max-width: 1240px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--ink-100);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-900); font-weight: 800; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink-900); }
.brand__mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--iris-500); display: grid; place-items: center;
  overflow: hidden;
}
.brand__mark img { width: 22px; height: 22px; }
.brand__name { font-size: 20px; }
.topbar__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-500);
  padding: 8px 14px; border-radius: var(--radius-pill);
  transition: all .15s ease;
}
.topbar__back:hover { background: var(--ink-50); color: var(--ink-900); }

/* Page hero */
.page-hero {
  padding: 80px 0 56px;
  background: linear-gradient(180deg, var(--iris-50), white);
  border-bottom: 1px solid var(--ink-100);
}
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--iris-600);
}
.page-hero__eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--iris-500);
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.06; letter-spacing: -0.025em;
  font-weight: 800; margin: 16px 0 16px;
}
.page-hero p {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--ink-500); max-width: 640px; margin: 0;
}
.page-hero__meta {
  margin-top: 24px; font-size: 13px; color: var(--ink-400);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: white;
  border: 1px solid var(--ink-200); border-radius: var(--radius-pill);
}

/* Content */
.content { padding: 64px 0 96px; }
.content h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.015em; font-weight: 700;
  margin: 56px 0 16px; scroll-margin-top: 100px;
}
.content h2:first-child { margin-top: 0; }
.content h3 {
  font-size: 18px; font-weight: 700;
  margin: 32px 0 12px;
  letter-spacing: -0.01em;
}
.content p, .content li {
  color: var(--ink-700); font-size: 16px;
  line-height: 1.7;
}
.content ul, .content ol { padding-left: 22px; margin: 12px 0 16px; }
.content li { margin-bottom: 8px; }
.content strong { color: var(--ink-900); font-weight: 700; }

/* Table of Contents */
.toc {
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 48px;
}
.toc__title {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-400); margin: 0 0 14px;
}
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.toc li { margin: 0; }
.toc a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--ink-700); font-weight: 500;
}
.toc a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--iris-300);
}
.toc a:hover { color: var(--iris-700); }

/* Callout boxes */
.callout {
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 24px 0;
  border: 1px solid var(--iris-200);
  background: var(--iris-50);
}
.callout__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; color: var(--iris-700);
  margin: 0 0 8px;
}
.callout p { margin: 0; color: var(--ink-700); }
.callout--warn { border-color: #FFE9A3; background: #FFFAEB; }
.callout--warn .callout__title { color: #946C00; }
.callout--dark {
  background: var(--ink-900); border-color: var(--ink-900);
  background-image:
    radial-gradient(40% 40% at 90% 10%, rgba(127,108,255,0.35), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(246, 51, 154, 0.15), transparent 70%);
  color: white;
}
.callout--dark .callout__title { color: var(--iris-200); }
.callout--dark p { color: rgba(255,255,255,0.85); }

/* Steps */
.steps {
  display: grid; gap: 14px; margin: 20px 0 28px;
  counter-reset: step;
  padding: 0;
}
.steps li {
  list-style: none;
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 18px 22px 18px 60px;
  position: relative;
  counter-increment: step;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 18px; top: 18px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--iris-500); color: white;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.steps li strong { display: block; margin-bottom: 4px; }
.steps li p { margin: 0; font-size: 14.5px; color: var(--ink-500); }

/* Cards grid (used in ajuda) */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 24px 0 48px;
}
@media (max-width: 800px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none; color: var(--ink-900);
  display: flex; flex-direction: column; gap: 8px;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--ink-900);
}
.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--iris-100); color: var(--iris-600);
  display: grid; place-items: center;
  margin-bottom: 8px;
}
.card h3 {
  font-size: 17px; font-weight: 700;
  margin: 0; letter-spacing: -0.01em;
}
.card p {
  font-size: 14px; color: var(--ink-500);
  margin: 0; line-height: 1.55;
}
.card__cta {
  margin-top: auto; padding-top: 12px;
  font-size: 13px; font-weight: 600; color: var(--iris-600);
}

/* FAQ accordion */
.faq { display: grid; gap: 12px; margin: 16px 0 32px; }
.faq details {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq details[open] {
  border-color: var(--iris-200);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-size: 16px; font-weight: 600;
  color: var(--ink-900);
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px; font-weight: 400; color: var(--ink-400);
  transition: transform .2s ease;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; color: var(--iris-600); }
.faq details > div {
  padding: 0 22px 20px;
}
.faq details p { margin: 0; color: var(--ink-500); font-size: 15px; }
.faq details p + p { margin-top: 10px; }

/* Contact block */
.contact-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin: 32px 0 48px;
}
@media (max-width: 640px) { .contact-block { grid-template-columns: 1fr; } }
.contact-card {
  background: white;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-card__label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-400); margin: 0 0 8px;
}
.contact-card__value {
  font-size: 17px; font-weight: 700; color: var(--ink-900);
}
.contact-card a { color: var(--iris-600); }

/* Footer (compact reused) */
footer.legal-foot {
  padding: 48px 0 32px;
  background: var(--ink-50);
  border-top: 1px solid var(--ink-100);
}
.legal-foot__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-500);
}
.legal-foot__links { display: flex; gap: 22px; flex-wrap: wrap; }
.legal-foot__links a { color: var(--ink-500); }
.legal-foot__links a:hover { color: var(--ink-900); }
.legal-foot__social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: white; border: 1px solid var(--ink-200);
  color: var(--ink-700); transition: all .15s ease;
}
.legal-foot__social:hover {
  background: var(--iris-500); border-color: var(--iris-500);
  color: white;
}
