/*
  Política de Privacidade | Milaine Conceição
  Versão do pacote: v1.1.1
  CSS da página. Os estilos do gerenciador de consentimento ficam embutidos
  em script-source.js para facilitar a reutilização sem criar novas pastas.
*/

:root {
  --bg: #f7f1eb;
  --paper: #fffdfb;
  --ink: #31262a;
  --muted: #716168;
  --wine: #4d1835;
  --wine-deep: #351024;
  --wine-soft: #7b385a;
  --rose: #efe0e2;
  --sand: #ead9c3;
  --gold: #c6904b;
  --green: #44735e;
  --line: #e6d8d2;
  --shadow: 0 18px 48px rgba(63, 34, 45, 0.10);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--wine-soft); text-underline-offset: 3px; }
a:hover { color: var(--wine); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 1000;
  padding: 10px 14px;
  background: #fff;
  color: var(--wine);
  border-radius: 10px;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  background: rgba(255, 253, 251, .94);
  border-bottom: 1px solid rgba(77, 24, 53, .08);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: .08em;
}
.brand-copy { display: grid; line-height: 1.25; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.brand-copy small { color: var(--muted); font-size: 12px; margin-top: 4px; }
.back-link {
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--wine);
  border: 1px solid rgba(77, 24, 53, .18);
  padding: 9px 14px;
  border-radius: 999px;
}

.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(198, 144, 75, .24), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(123, 56, 90, .40), transparent 32%),
    linear-gradient(135deg, var(--wine-deep), var(--wine));
  color: #fff;
  padding: 82px 0 76px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .75fr);
  gap: 54px;
  align-items: center;
}
.eyebrow, .card-kicker, .quick-nav-title, .toc-label {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 12px;
  font-weight: 800;
}
.eyebrow { color: #f1c98f; margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.12; }
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -.035em;
  max-width: 850px;
  margin: 0;
}
.hero-lead {
  max-width: 810px;
  color: rgba(255, 255, 255, .84);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  margin: 24px 0 0;
}
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.meta-row span {
  border: 1px solid rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .06);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
}
.hero-card {
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .08);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
}
.card-kicker { color: #f1c98f; margin: 0 0 8px; }
.hero-card h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 28px; margin: 0 0 18px; }
.hero-card ul { margin: 0; padding-left: 22px; color: rgba(255, 255, 255, .82); }
.hero-card li + li { margin-top: 8px; }

.quick-nav { background: var(--paper); border-bottom: 1px solid var(--line); padding: 28px 0; }
.quick-nav-title { margin: 0 0 12px; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pills a {
  text-decoration: none;
  color: var(--wine);
  background: #f5eceb;
  border: 1px solid #ead8dc;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
}

.policy-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  padding-top: 52px;
  padding-bottom: 70px;
  align-items: start;
}
.toc { position: sticky; top: 108px; }
.toc-box {
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.toc-label { color: var(--wine); margin: 0 0 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: item; }
.toc li { counter-increment: item; display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 6px; }
.toc li::before { content: counter(item, decimal-leading-zero); color: #b79f96; font-size: 10px; font-weight: 800; padding-top: 6px; }
.toc li + li { margin-top: 5px; }
.toc a { text-decoration: none; color: var(--muted); font-size: 12px; line-height: 1.45; padding: 4px 0; }
.toc a:hover { color: var(--wine); }

.policy-card {
  background: var(--paper);
  border: 1px solid rgba(77, 24, 53, .08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.policy-section { padding: 54px 62px; scroll-margin-top: 110px; }
.policy-section + .policy-section { border-top: 1px solid var(--line); }
.section-number {
  color: var(--gold);
  display: block;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .16em;
  margin-bottom: 8px;
}
.policy-section h2, .references h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  color: var(--wine-deep);
}
.policy-section h3 { font-size: 18px; margin: 0 0 10px; color: var(--wine); }
.policy-section p { margin: 0; }
.policy-section p + p, .policy-section p + ul, .policy-section ul + p, .policy-section .table-wrap + p, .policy-section .notice + p { margin-top: 18px; }
.policy-section ul { margin-bottom: 0; }

.identity-card {
  background: #f7efef;
  border-left: 4px solid var(--wine-soft);
  padding: 20px 22px;
  border-radius: 0 14px 14px 0;
  margin-bottom: 20px;
}
.identity-card p + p { margin-top: 3px; }

.table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; min-width: 700px; font-size: 14px; line-height: 1.55; }
th, td { padding: 15px 17px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #f6eded; color: var(--wine); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 800; color: var(--ink); }

.notice {
  margin-top: 24px;
  padding: 18px 20px;
  background: #f5f1e8;
  border: 1px solid #e6dac4;
  border-radius: 14px;
  font-size: 14px;
}
.notice-important { background: #f8eaea; border-color: #ecd0d5; }

.check-list { list-style: none; padding: 0; margin-top: 22px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li + li { margin-top: 12px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--green);
  font-weight: 900;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.purpose-item {
  background: #faf6f2;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 6px;
}
.purpose-item strong { color: var(--wine); }
.purpose-item span { color: var(--muted); font-size: 14px; line-height: 1.55; }

.providers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.provider-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: #fff;
}
.provider-card p { color: var(--muted); font-size: 14px; }
.provider-card a { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 800; }

.highlight-box {
  margin-top: 24px;
  background: linear-gradient(145deg, #f8efed, #fff9f5);
  border: 1px solid #ead5d4;
  border-radius: 18px;
  padding: 24px;
}
.highlight-box ul { padding-left: 22px; margin-top: 12px; }
.highlight-box li + li { margin-top: 10px; }

.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}
.rights-grid span {
  background: #f8f2ef;
  border: 1px solid var(--line);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
}

.contact-section { background: var(--wine-deep); color: #fff; }
.contact-section h2 { color: #fff; }
.contact-section .section-number { color: #f1c98f; }
.contact-button {
  display: inline-block;
  margin-top: 22px;
  text-decoration: none;
  color: var(--wine-deep);
  background: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
}
.contact-button:hover { color: var(--wine); }
.small { font-size: 13px; color: rgba(255,255,255,.72); margin-top: 18px !important; }

.references {
  padding: 44px 62px;
  background: #f5eee8;
  border-top: 1px solid var(--line);
}
.references h2 { font-size: 28px; }
.references p { color: var(--muted); }
.reference-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.reference-links a {
  text-decoration: none;
  border: 1px solid #d9c9c2;
  background: rgba(255,255,255,.7);
  color: var(--wine);
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.legal-note { margin-top: 20px !important; font-size: 12px; line-height: 1.6; }

.site-footer { background: #25161d; color: rgba(255,255,255,.76); padding: 36px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.8fr 1fr; gap: 28px; align-items: center; }
.site-footer strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.site-footer p { margin: 3px 0 0; font-size: 12px; }
.footer-center { text-align: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.78); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: #fff; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { max-width: 700px; }
  .policy-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc-box { display: none; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: static; }
  .header-inner { min-height: 70px; }
  .brand-copy small { display: none; }
  .back-link { font-size: 12px; padding: 8px 11px; }
  .hero { padding: 58px 0 50px; }
  .hero-card { padding: 22px; }
  .quick-nav { padding: 22px 0; }
  .policy-layout { padding-top: 24px; gap: 18px; }
  .policy-card { border-radius: 20px; }
  .policy-section { padding: 38px 24px; scroll-margin-top: 20px; }
  .references { padding: 34px 24px; }
  .purpose-grid, .providers, .rights-grid { grid-template-columns: 1fr; }
  .pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .pills a { white-space: nowrap; }
}

@media print {
  .site-header, .quick-nav, .toc, .site-footer, .contact-button { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .container { width: 100%; max-width: none; }
  .hero { background: #fff; color: #000; padding: 20px 0; }
  .eyebrow, .meta-row span, .hero-lead { color: #333; }
  .hero-card { border: 1px solid #ccc; box-shadow: none; background: #fff; color: #000; }
  .hero-card ul { color: #000; }
  .policy-layout { display: block; padding: 0; }
  .policy-card { box-shadow: none; border: 0; }
  .policy-section, .references { padding: 22px 0; break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}

/* v1.1.1 - controles de consentimento */
.inline-consent-button {
  appearance: none;
  margin-top: 18px;
  border: 1px solid #ccb8b2;
  border-radius: 999px;
  background: #fff;
  color: var(--wine);
  padding: 11px 16px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}
.inline-consent-button:hover { background: #f8efed; }
.footer-consent-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  padding: 0;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.footer-consent-link:hover { color: #fff; }
.inline-consent-button:focus-visible,
.footer-consent-link:focus-visible {
  outline: 3px solid rgba(241,201,143,.45);
  outline-offset: 3px;
}
@media print {
  .inline-consent-button, .footer-consent-link { display: none !important; }
}
