/*
 * Páginas legais públicas do BoatGo (/privacidade, /termos, /excluir-conta) — dono, 25/10/2026 (Google Play).
 * HTML estático fora da SPA: não recebe o bundle do painel, então declara aqui os tokens que usa, com os MESMOS
 * valores de src/styles/marina-tokens.css (marca BoatGo, D-149). Guard: src/app/core/legal-pages.spec.ts compara
 * cada valor — mude lá e copie aqui.
 */
:root {
  --brand-navy: #0B2438;
  --brand-orange: #FF6A00;
  --brand-sky: #E6F2FF;
  --brand-sand: #F6EAD7;
  --background: #FFFFFF;
  --surface: #F4F7FA;
  --foreground: #1F2937;
  --muted-foreground: #5E6A7F;
  --link: #1A6BAB;
  --border: #D9E2EA;
  --ring: #1E7DC8;
  --radius-card: 18px;
  --font-sans: 'Poppins', 'Inter', system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
}

a {
  color: var(--link);
  text-underline-offset: 2px;
}

a:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.top {
  background: var(--brand-navy);
  color: var(--background);
  border-bottom: 4px solid var(--brand-orange);
}

.top-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--background);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.brand img {
  width: 40px;
  height: 40px;
  display: block;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nav a {
  color: var(--background);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav a:hover {
  border-color: var(--brand-sky);
}

.nav a[aria-current='page'] {
  background: var(--brand-orange);
  color: var(--brand-navy);
  font-weight: 600;
}

main {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.doc {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}

h1 {
  margin: 0 0 4px;
  color: var(--brand-navy);
  font-size: 28px;
  line-height: 1.25;
}

.updated {
  margin: 0 0 20px;
  color: var(--muted-foreground);
  font-size: 13px;
}

h2 {
  margin: 32px 0 8px;
  color: var(--brand-navy);
  font-size: 19px;
  line-height: 1.35;
}

h3 {
  margin: 20px 0 4px;
  color: var(--brand-navy);
  font-size: 16px;
}

p,
ul,
ol {
  margin: 0 0 12px;
}

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

li {
  margin-bottom: 6px;
}

.lead {
  background: var(--brand-sky);
  border-radius: 12px;
  padding: 14px 16px;
}

.note {
  background: var(--brand-sand);
  border-radius: 12px;
  padding: 14px 16px;
}

.table-wrap {
  overflow-x: auto;
  margin: 8px 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--surface);
  color: var(--brand-navy);
  font-weight: 600;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

td:first-child {
  font-weight: 600;
  color: var(--brand-navy);
}

.steps li::marker {
  color: var(--brand-orange);
  font-weight: 700;
}

.contact {
  font-style: normal;
}

footer {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px 32px;
  color: var(--muted-foreground);
  font-size: 13px;
}

footer p {
  margin: 0 0 4px;
}

@media (max-width: 560px) {
  .doc {
    padding: 20px 16px;
  }

  h1 {
    font-size: 24px;
  }
}
