/* Páginas do Apex · duckhouse.com.br
   Estilos próprios (independentes do bundle React) para as páginas públicas exigidas
   pelas lojas de aplicativos: privacidade, termos, conta e suporte. */

:root {
  --bg: #ffffff;
  --fg: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #fcd34d;
  --dark: #030712;
  --to-do: #fde047;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: #111827;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

a:hover {
  color: #000000;
  text-decoration-color: #000000;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 2px;
}

/* ── Cabeçalho ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.site-header__inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 12px 0;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  flex: none;
}

.brand__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #111827;
}

.brand__context {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4b5563;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 8px 0;
}

.site-nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: #111827;
  border-bottom-color: var(--accent);
}

.site-nav a[aria-current="page"] {
  color: #111827;
  font-weight: 600;
  border-bottom-color: #111827;
}

/* ── Conteúdo ── */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 8px;
}

.page__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 40px 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.page__eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.title-rule {
  width: 56px;
  height: 4px;
  background: var(--accent);
  margin: 16px 0 0;
}

.meta {
  margin: 14px 0 8px;
  font-size: 14px;
  color: var(--muted);
}

h2 {
  margin: 38px 0 8px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #111827;
}

h3 {
  margin: 26px 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

p {
  margin: 10px 0;
}

ul,
ol {
  margin: 10px 0;
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

li::marker {
  color: #111827;
}

b,
strong {
  font-weight: 700;
  color: #111827;
}

.card {
  background: #f9fafb;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 6px 20px;
  margin: 20px 0;
}

.contact-list {
  list-style: none;
  padding-left: 0;
}

/* Trechos pendentes de preenchimento: mantidos visíveis e destacados */
.todo {
  background: var(--to-do);
  color: #000000;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 600;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.legal-foot {
  margin: 40px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

/* ── Rodapé ── */
.site-footer {
  background: var(--dark);
  color: #9ca3af;
  margin-top: 56px;
  padding: 44px 24px 40px;
  font-size: 14px;
}

.site-footer__inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer .brand__name {
  color: #ffffff;
}

.site-footer .brand__context {
  color: #9ca3af;
  border-left-color: #374151;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer a {
  color: #9ca3af;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid #1f2937;
  font-size: 12px;
  color: #6b7280;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header__inner {
    padding: 0 16px;
    gap: 4px;
  }

  .page {
    padding: 0 18px 8px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 19px;
  }

  .page__eyebrow {
    margin-top: 28px;
  }

  .site-nav {
    gap: 4px 16px;
    padding-bottom: 12px;
    width: 100%;
  }

  .site-nav a {
    font-size: 13px;
  }

  .site-footer {
    padding: 36px 18px 32px;
  }
}

@media print {
  .site-header,
  .site-footer {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
  }

  .todo {
    border: 1px solid #000;
  }
}
