/* Política de Privacidade e Cookies — independente de styles.css. */
:root {
  --gold: #C5A059;
  --champagne: #E3D2B0;
  --nude-deep: #855A2D;
  --bg: #FBF9F5;
  --bg-alt: #F3EDE4;
  --ink: #2E2A25;
  --muted: #6D645B;
  --line: #E8E1D6;
  --white: #FFFFFF;
  --radius-sm: 4px;
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: 240ms;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Karla", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--nude-deep); text-underline-offset: 3px; -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--nude-deep); outline-offset: 3px; }
code {
  padding: 1px 5px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: .9em;
  overflow-wrap: anywhere;
}

/* Cabeçalho */
.pol-header { border-bottom: 1px solid var(--line); background: var(--white); }
.pol-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 14px 20px;
}
.pol-logo { display: block; width: min(150px, 40vw); border-radius: var(--radius-sm); }
.pol-back {
  padding: 8px 0;
  color: var(--nude-deep);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}
.pol-back:hover { text-decoration: underline; text-decoration-color: var(--gold); }

/* Conteúdo */
.pol {
  flex: 1;
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 44px 20px 56px;
}
h1, h2, h3 {
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--ink);
}
h1 {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 5.5vw, 2.6rem);
  line-height: 1.2;
  text-wrap: balance;
}
h2 {
  margin: 0 0 14px;
  padding-top: 8px;
  font-size: clamp(1.4rem, 4vw, 1.75rem);
  line-height: 1.25;
}
h3 { margin: 26px 0 8px; font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 14px; }
.pol-updated {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .06em;
}
.pol-lead { color: var(--muted); }
.pol section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
ul, ol { margin: 0 0 16px; padding-left: 1.3em; }
li { margin-bottom: 8px; }
li::marker { color: var(--gold); }
strong { font-weight: 500; }

/* Sumário */
.pol-toc {
  margin: 28px 0 0;
  padding: 20px 22px 10px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.pol-toc-title {
  margin: 0 0 10px;
  padding: 0;
  font-family: "Karla", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.pol-toc ol { margin: 0; padding-left: 1.6em; }
.pol-toc li { margin-bottom: 4px; }
.pol-toc a { display: inline-block; padding: 3px 0; font-weight: 500; text-decoration: none; }
.pol-toc a:hover { text-decoration: underline; text-decoration-color: var(--gold); }

/* Tabela */
.pol-table-wrap {
  margin: 20px 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.pol-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
}
.pol-table th,
.pol-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.pol-table th {
  background: var(--bg-alt);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.pol-table tbody tr:last-child td { border-bottom: 0; }

/* Botão */
.pol-btn-row { margin-top: 18px; }
.policy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.policy-btn:hover { background: var(--nude-deep); border-color: var(--nude-deep); color: var(--white); }

/* Rodapé */
.pol-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  padding: 20px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.pol-footer a { color: var(--nude-deep); font-weight: 500; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .pol { padding-top: 32px; }
  .pol-toc { padding: 16px 16px 6px; }
  .policy-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
