/* Light Lorem Club identity for the privacy policy and terms pages (PT and EN). */

@font-face {
  font-family: "Gabarito";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("/fonts/gabarito-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/literata-var-latin.woff2") format("woff2");
}

:root {
  --ink: #16232b;
  --ink-soft: #4a555c;
  --muted: #5c5852;
  --cream: #f5ece5;
  --card: #fffdfb;
  --sand: #ede2d9;
  --rust: #943420;
  --rust-dark: #7a2a19;

  --display: "Gabarito", system-ui, sans-serif;
  --serif: "Literata", Georgia, serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
}

a {
  color: var(--rust);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */

.doc-header {
  display: flex;
  justify-content: center;
  padding: 24px 16px 0;
}

.doc-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(760px, 100%);
  height: 60px;
  padding: 0 24px 0 20px;
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 8px 12px rgba(22, 35, 43, 0.12), 0 1px 1px rgba(22, 35, 43, 0.08);
}

.doc-logo img {
  width: 151px;
  height: 38px;
}

.doc-nav {
  display: flex;
  gap: 24px;
}

.doc-nav a {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  text-decoration: none;
}

.doc-nav a[aria-current="page"] {
  color: var(--rust);
}

/* ---------- Document ---------- */

.doc {
  flex: 1;
  width: min(720px, 100% - 40px);
  margin: 64px auto 96px;
}

.doc h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -1.1px;
}

/* "Última atualização" / "Last updated" line right after the title. */
.doc h1 + p {
  margin: 16px 0 40px;
  font-size: 15px;
  color: var(--muted);
}

.doc h2 {
  margin: 48px 0 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.doc h3 {
  margin: 28px 0 8px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.25;
}

.doc p,
.doc ul {
  margin: 0 0 16px;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 8px;
}

.doc li::marker {
  color: var(--rust);
}

.doc strong {
  font-weight: 600;
}

.doc table {
  width: 100%;
  margin: 8px 0 24px;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 6px 6px rgba(60, 32, 20, 0.08), 0 2px 2px rgba(60, 32, 20, 0.06);
  font-size: 15px;
  line-height: 1.45;
}

/* The table keeps its border="1" attribute so it still reads without CSS. */
.doc th,
.doc td {
  padding: 12px 14px;
  border: 0;
  text-align: left;
  vertical-align: top;
}

.doc th {
  background: var(--sand);
  font-family: var(--display);
  font-weight: 700;
}

.doc tr + tr td {
  border-top: 1px solid var(--sand);
}

/* ---------- Footer ---------- */

.doc-footer {
  padding: 28px 0;
  background: var(--rust-dark);
  color: var(--cream);
  font-size: 15px;
  line-height: 22px;
}

.doc-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  width: min(720px, 100% - 40px);
  margin: 0 auto;
}

.doc-footer p {
  margin: 0;
}

.doc-footer a {
  color: var(--cream);
}

/* ---------- Small screens ---------- */

@media (max-width: 600px) {
  .doc-header {
    padding-top: 16px;
  }

  .doc-pill {
    padding: 0 18px 0 16px;
  }

  .doc-logo img {
    width: 113px;
    height: 28.5px;
  }

  .doc-nav {
    gap: 14px;
  }

  .doc-nav a {
    font-size: 14px;
  }

  .doc {
    margin: 40px auto 64px;
  }

  .doc h1 {
    font-size: 40px;
    letter-spacing: -0.8px;
  }

  .doc h2 {
    margin-top: 40px;
    font-size: 24px;
  }

  .doc h3 {
    font-size: 19px;
  }

  body {
    font-size: 17px;
  }

  .doc table {
    font-size: 14px;
  }

  .doc th,
  .doc td {
    padding: 10px;
  }
}
