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

:root {
  --ventania-100: #e6f9f7;
  --ventania-400: #33d4d8;
  --ventania-500: #00c7cc;
  --ventania-600: #00a6ab;
  --ventania-700: #008589;
  --tempestade-100: #eeecfe;
  --tempestade-500: #6b3bff;
  --tempestade-600: #5a2be8;
  --tempestade-700: #4318b8;
  --temporal-500: #343466;
  --temporal-700: #222247;
  --temporal-800: #181833;
  --neutral-0: #ffffff;
  --neutral-50: #f8f8f7;
  --neutral-100: #efefef;
  --neutral-200: #eaeaea;
  --neutral-300: #e8e8e8;
  --neutral-500: #adadad;
  --neutral-600: #8c8c8c;
  --neutral-700: #7f7e7c;
  --neutral-800: #666666;
  --neutral-900: #34322d;
  --fg-heading: #343466;
  --fg-body: #7f7e7c;
  --fg-muted: #adadad;
  --border-subtle: #e8e8e8;
  --shadow-sm: 0 4px 12px rgba(52, 52, 102, 0.06);
  --danger-600: #dc2626;
  --pill: 999px;
  --font-body: "Poppins", sans-serif;
  --font-heading: "Montserrat", sans-serif;
}

html,
body {
  font-family: var(--font-body);
  background: var(--neutral-50);
  color: var(--fg-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--fg-heading);
}

/* header */
.hd {
  background: var(--temporal-500);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(52, 52, 102, 0.18);
}

.hd-in {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.hd-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hd-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  white-space: nowrap;
}

.hd-link:hover {
  color: var(--ventania-500);
}

/* hero */
.hero {
  background: var(--temporal-500);
  padding: 52px 0 44px;
}

.hero-in {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-logo {
  display: block;
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--pill);
  margin-bottom: 18px;
}

.page-privacidade .badge {
  background: rgba(0, 199, 204, 0.14);
  border: 1px solid rgba(0, 199, 204, 0.28);
  color: rgba(0, 199, 204, 0.9);
}

.page-termos .badge {
  background: rgba(107, 59, 255, 0.18);
  border: 1px solid rgba(107, 59, 255, 0.3);
  color: rgba(196, 180, 255, 0.95);
}

.hero h1 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.hero p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.55;
  max-width: 600px;
}

.meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-i {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.meta-i strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

/* layout */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 24px 88px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 44px;
  align-items: start;
}

/* toc */
.toc {
  position: sticky;
  top: 82px;
  background: var(--neutral-0);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.toc-t {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--temporal-500);
  margin-bottom: 14px;
}

.toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc a {
  display: block;
  color: var(--neutral-800);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 8px;
  line-height: 1.35;
  transition: all 0.2s;
}

.page-privacidade .toc a:hover {
  background: var(--ventania-100);
  color: var(--temporal-500);
}

.page-termos .toc a:hover {
  background: var(--tempestade-100);
  color: var(--temporal-500);
}

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

.sec {
  background: var(--neutral-0);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 34px 38px;
  margin-bottom: 18px;
  scroll-margin-top: 82px;
  box-shadow: var(--shadow-sm);
}

.sec-num {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-privacidade .sec-num {
  color: var(--ventania-600);
}

.page-privacidade .sec-num::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--ventania-500);
  display: inline-block;
}

.page-termos .sec-num {
  color: var(--tempestade-600);
}

.page-termos .sec-num::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--tempestade-500);
  display: inline-block;
}

.sec h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--temporal-500);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 18px;
}

.sec h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--temporal-500);
  letter-spacing: -0.01em;
  margin: 20px 0 8px;
}

.sec h3:first-child {
  margin-top: 0;
}

.sec p {
  font-size: 14.5px;
  color: var(--neutral-800);
  line-height: 1.7;
  margin-bottom: 12px;
}

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

.sec a {
  color: var(--tempestade-500);
  text-decoration: none;
  font-weight: 600;
}

.sec a:hover {
  text-decoration: underline;
}

/* table */
.dt {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13.5px;
}

.dt thead th {
  background: var(--neutral-50);
  padding: 11px 15px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neutral-700);
  border-bottom: 2px solid var(--neutral-300);
}

.dt tbody td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--neutral-200);
  color: var(--neutral-800);
  vertical-align: top;
  line-height: 1.55;
}

.dt tbody tr:last-child td {
  border-bottom: none;
}

.dt tbody tr:hover td {
  background: var(--neutral-50);
}

.dt td strong {
  color: var(--temporal-500);
  font-weight: 700;
}

/* chips */
.chip {
  display: inline-flex;
  align-items: center;
  background: var(--tempestade-100);
  color: var(--tempestade-500);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--pill);
  margin: 2px 0 10px;
  letter-spacing: 0.04em;
}

.chip-v {
  background: var(--ventania-100);
  color: var(--ventania-700);
}

/* highlight box */
.box {
  background: var(--neutral-50);
  border-left: 3px solid var(--tempestade-500);
  border-radius: 0 12px 12px 0;
  padding: 14px 18px;
  margin: 14px 0;
  font-size: 14px;
  color: var(--neutral-800);
  line-height: 1.6;
}

.box-v {
  border-left-color: var(--ventania-500);
}

.box-w {
  background: #fff8e1;
  border-left-color: #f6c557;
}

/* list */
.ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 10px 0 12px;
}

.ul li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--neutral-800);
  line-height: 1.6;
}

.page-privacidade .ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  min-width: 5px;
  background: var(--ventania-500);
  border-radius: 50%;
  margin-top: 8px;
}

.page-termos .ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  min-width: 5px;
  background: var(--tempestade-500);
  border-radius: 50%;
  margin-top: 8px;
}

.ul-danger li::before {
  background: var(--danger-600) !important;
}

/* rights grid */
.rg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

.rc {
  background: var(--neutral-50);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.3s;
}

.page-privacidade .rc:hover {
  border-color: var(--ventania-400);
  background: var(--ventania-100);
}

.rc h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--temporal-500);
  margin-bottom: 5px;
}

.rc p {
  font-size: 12.5px;
  color: var(--neutral-800);
  line-height: 1.5;
  margin: 0;
}

/* contact */
.cc {
  background: var(--temporal-500);
  border-radius: 14px;
  padding: 22px 26px;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cc-body h4 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.cc-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.5;
}

.cc-btn {
  background: var(--ventania-500);
  color: var(--temporal-700);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--pill);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s;
}

.cc-btn:hover {
  background: #fff;
}

/* footer */
footer {
  background: var(--temporal-800);
  padding: 28px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
}

.footer-logo {
  display: block;
  height: 28px;
  width: auto;
  margin: 0 auto 16px;
  object-fit: contain;
}

footer a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin: 0 8px;
}

footer a:hover {
  color: var(--ventania-500);
}

@media (max-width: 768px) {
  .hd-in {
    height: auto;
    min-height: 62px;
    padding: 12px 16px;
  }

  .hd-nav {
    gap: 12px;
  }

  .hd-link {
    font-size: 12px;
  }

  .wrap {
    grid-template-columns: 1fr;
    padding: 24px 16px 64px;
  }

  .toc {
    display: none;
  }

  .sec {
    padding: 22px 18px;
  }

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

  .hero-logo {
    max-width: 160px;
  }
}
