/* Landing e páginas legais. Identidade visual do kit de design (docs/design/tokens.json).
 * Sem frameworks, sem fontes externas (Manrope embarcada em /assets/fonts, SIL OFL 1.1), sem JS.
 *
 * NOME DO PRODUTO: fica em um único lugar, a variável --brand-name abaixo.
 * Todo <span class="brand"> (cabeçalho, textos, rodapé) é preenchido por CSS a partir dela.
 * Os <title> e as metatags das páginas são genéricos de propósito (não citam o nome).
 * Exceção inevitável: o texto alternativo do logotipo em imagem na landing.
 */
:root {
  --brand-name: "OnQi";

  /* Tokens claros (tokens.json > colors.light) */
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-alt: #f0f5fa;
  --primary: #173149;
  --text: #14263a;
  --muted: #55697e;
  --line: #d5e0ea;
  --soft-line: #e5ecf3;
  --secondary: #0d7894;
  --accent: #315cd7;
  --accent-ink: #ffffff;
  --accent-soft: #eaf0fd;
  --preview: #027e88;
  --preview-soft: #e8f7f8;
  --bar-bg: #e6edf4;
  --warn-bg: #fff5e5;
  --warn-line: #f0d4a8;
  --warn-ink: #8e5403;

  /* Hero escuro, igual nos dois temas (referência visual aprovada) */
  --hero-bg: #0b1523;
  --hero-bg-2: #142b47;
  --hero-text: #f2f7ff;
  --hero-muted: #b1c4d7;
  --hero-cyan: #45d8e8;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-card: 0 8px 26px rgba(17, 43, 70, 0.055);
  --shadow-float: 0 14px 42px rgba(17, 43, 70, 0.12);
  --maxw: 70rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1523;
    --surface: #142337;
    --surface-alt: #1b3047;
    --primary: #d7e8f7;
    --text: #f2f7ff;
    --muted: #b1c4d7;
    --line: #41576a;
    --soft-line: #2b4256;
    --secondary: #70d8ed;
    --accent: #8dabff;
    --accent-ink: #0b1523;
    --accent-soft: #1f3150;
    --preview: #6ccbd3;
    --preview-soft: #143340;
    --bar-bg: #263c52;
    --warn-bg: #4a3921;
    --warn-line: #6e5634;
    --warn-ink: #ffd28e;
    --hero-bg: #08111c;
    --shadow-card: 0 8px 26px rgba(0, 0, 0, 0.25);
    --shadow-float: 0 14px 42px rgba(0, 0, 0, 0.35);
  }
}

/* Manrope (SIL Open Font License 1.1, texto em /assets/fonts/OFL.txt) */
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

/* Nome do produto, em um único lugar (ver topo do arquivo). */
.brand::before {
  content: var(--brand-name);
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 48rem) {
  .wrap {
    padding: 0 32px;
  }
}

h1,
h2,
h3 {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

p,
li {
  max-width: 70ch;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--secondary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Cabeçalho */
.site-header {
  border-bottom: 1px solid var(--soft-line);
  background: var(--surface);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  min-height: 4.25rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  min-height: 48px;
}

.logo img {
  width: 32px;
  height: 32px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

.site-nav .nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* Botões (alvo mínimo 48 px) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 18px rgba(49, 92, 215, 0.25);
}

.btn:hover {
  filter: brightness(1.08);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(60rem 30rem at 110% 110%, rgba(34, 212, 219, 0.18), transparent 60%),
    radial-gradient(40rem 25rem at -10% -20%, rgba(55, 102, 232, 0.22), transparent 60%),
    linear-gradient(160deg, var(--hero-bg) 0%, var(--hero-bg-2) 100%);
  color: var(--hero-text);
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -9rem;
  height: 14rem;
  border-top: 1px solid rgba(69, 216, 232, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
  }
}

.hero-logo {
  display: block;
  width: min(15rem, 70%);
  margin: 0 0 0.5rem -0.6rem;
}

.tagline {
  margin: 0 0 1.5rem;
  color: var(--hero-cyan);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--hero-text);
  font-size: clamp(2.1rem, 5.2vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 20ch;
}

.hero .lead {
  font-size: 1.1875rem;
  color: var(--hero-muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero .actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero .btn-primary {
  background: #315cd7;
  border-color: #315cd7;
  color: #ffffff;
}

.btn-ghost,
.hero .btn-ghost {
  border-color: rgba(242, 247, 255, 0.35);
  color: var(--hero-text);
}

.hero .btn-ghost:hover {
  border-color: var(--hero-text);
}

.hero a:focus-visible {
  outline-color: var(--hero-cyan);
}

.hero .fineprint {
  color: var(--hero-muted);
  font-size: 0.9375rem;
  margin: 1.25rem 0 0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.hero-card-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.125rem;
}

.hero-card-sub {
  margin: 0 0 1.25rem;
  color: var(--hero-muted);
  font-size: 0.875rem;
}

.bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.bars li {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.bars i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.bars i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, #3667ed, #2d9ff0 55%, #22d4db);
}

/* Desafio relâmpago (hero) */
.hero-card .hero-card-sub {
  margin: 0 0 0.25rem;
  color: var(--hero-cyan);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero-card .hero-card-title {
  margin: 0 0 1rem;
}

.puzzle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  max-width: 19rem;
  margin: 0 auto 1rem;
}

.puzzle span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  border-radius: 9px;
  background: #ffffff;
  color: #173149;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.puzzle .puzzle-empty {
  background: rgba(69, 216, 232, 0.12);
  border: 2px dashed var(--hero-cyan);
  color: var(--hero-cyan);
  font-weight: 700;
  font-size: 1.5rem;
}

.hero-chips {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-chips li {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(69, 216, 232, 0.35);
  background: rgba(69, 216, 232, 0.08);
  color: var(--hero-text);
  font-size: 0.875rem;
  font-weight: 700;
}

.hero .actions {
  margin-bottom: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.puzzle-quiz {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.puzzle-quiz input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.puzzle-quiz label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 56px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.puzzle-quiz label b {
  color: var(--hero-cyan);
  font-size: 0.75rem;
}

.puzzle-quiz input:focus-visible + label {
  outline: 2px solid var(--hero-cyan);
  outline-offset: 2px;
}

.puzzle-quiz input:checked + label {
  border-color: #f0abb2;
  background: rgba(240, 171, 178, 0.14);
}

.puzzle-quiz input.pz-ok:checked + label {
  border-color: #62b995;
  background: rgba(98, 185, 149, 0.2);
}

.pz-msg {
  display: none;
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  color: var(--hero-muted);
}

.pz-msg strong {
  color: var(--hero-text);
}

.puzzle-quiz:has(input.pz-ok:checked) .pz-msg-ok {
  display: block;
}

.puzzle-quiz:has(input:not(.pz-ok):checked) .pz-msg-no {
  display: block;
}

.puzzle-cta {
  margin: 0;
}

.result-sample {
  background: var(--surface);
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.result-sample-tag {
  margin: 0 0 1rem;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sample-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.sample-bars li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 0.75rem;
  align-items: center;
  font-weight: 700;
  font-size: 0.9375rem;
}

.sample-bars em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--secondary);
  background: var(--surface-alt);
  border-radius: 7px;
  padding: 0.25rem 0.5rem;
}

.sample-bars i {
  grid-column: 1 / -1;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--bar-bg);
  position: relative;
  overflow: hidden;
}

.sample-bars i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  border-radius: inherit;
  background: linear-gradient(90deg, #1f9bad, #3768d9);
}

.result-sample-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.price-points {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.faq-wrap {
  max-width: 48rem;
}

.faq {
  border-bottom: 1px solid var(--soft-line);
}

.faq summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  padding: 0.75rem 0;
}

.faq p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.puzzle-options {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.puzzle-options li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.puzzle-options b {
  color: var(--hero-cyan);
  font-size: 0.75rem;
}

.puzzle-answer summary {
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  list-style: none;
}

.puzzle-answer summary::-webkit-details-marker {
  display: none;
}

.puzzle-answer summary:focus-visible {
  outline: 2px solid var(--hero-cyan);
  outline-offset: 2px;
}

.puzzle-answer p {
  color: var(--hero-muted);
  margin: 0.9rem 0 0;
}

.puzzle-answer strong {
  color: var(--hero-text);
}

.disclaimer-lead {
  font-size: 1.0625rem;
  margin: 0 0 1rem;
}

/* Seções */
main > section {
  padding: 4rem 0;
}

.band {
  background: var(--surface);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.features {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.features li {
  max-width: none;
  padding: 1.25rem 1.25rem 0.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
  border-left: 4px solid var(--secondary);
}

.features p {
  color: var(--muted);
  margin-top: 0;
}

/* Baterias (estilo da tela 04-home-desktop) */
.batteries {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: start;
}

@media (min-width: 56rem) {
  .batteries {
    grid-template-columns: 1fr 1.15fr;
  }
}

.battery {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.battery-preview {
  background: linear-gradient(160deg, var(--preview-soft), var(--surface) 70%);
}

.battery-full {
  background: linear-gradient(160deg, var(--accent-soft), var(--surface) 55%);
}

.battery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.battery-head h3 {
  font-size: 1.5rem;
  margin: 0;
}

.battery > p {
  color: var(--muted);
  margin: 0.5rem 0 1rem;
}

.pill {
  flex: none;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
}

.battery-preview .pill {
  color: var(--preview);
}

.battery-full .pill {
  color: var(--accent);
}

.chips,
.axes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.chips li,
.axes li {
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9375rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}

.tasks {
  list-style: none;
  counter-reset: task;
  margin: 0;
  padding: 0;
}

.tasks li {
  counter-increment: task;
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--soft-line);
  max-width: none;
}

.tasks li:last-child {
  border-bottom: 0;
}

.tasks li::before {
  content: counter(task);
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.tasks b {
  color: var(--primary);
}

.tasks span {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.875rem;
}

.tasks em {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Passos */
.cards {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.cards > li {
  background: var(--surface);
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: none;
  box-shadow: var(--shadow-card);
}

.cards p {
  color: var(--muted);
}

.cards .step {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.axes li {
  background: var(--accent-soft);
  border-color: transparent;
  font-size: 0.875rem;
}

/* Relatório e preço */
.split {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 60rem) {
  .split {
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.checklist li {
  position: relative;
  padding: 0 0 0 2rem;
  margin: 0 0 0.85rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.35em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 5px var(--accent-soft), inset 0 0 0 9px var(--secondary);
}

.checklist strong {
  color: var(--primary);
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-float);
}

.price-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.price {
  font-size: 1.6rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem;
}

.price-card p {
  color: var(--muted);
}

.price-card .price {
  color: var(--accent);
}

/* CTA final */
.cta-band {
  text-align: center;
  background: linear-gradient(160deg, var(--hero-bg), var(--hero-bg-2));
  color: var(--hero-text);
}

.cta-band h2 {
  color: var(--hero-text);
}

.cta-band p {
  color: var(--hero-muted);
  margin: 0 auto 1.5rem;
}

.cta-band .btn-primary {
  background: #315cd7;
  border-color: #315cd7;
  color: #ffffff;
}

.cta-band a:focus-visible {
  outline-color: var(--hero-cyan);
}

/* Bloco "O que isto não é": tudo que nega termos proibidos fica dentro dele. */
.disclaimer-card,
.doc .disclaimer {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-left: 5px solid var(--warn-ink);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1rem;
}

.disclaimer h2 {
  color: var(--warn-ink);
}

.disclaimer a {
  color: inherit;
}

.disclaimer ul {
  padding-left: 1.25rem;
}

.disclaimer li {
  margin-bottom: 0.5rem;
}

.landing .disclaimer {
  padding-top: 3rem;
  padding-bottom: 0;
}

.notice {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  color: var(--warn-ink);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
}

/* Páginas de texto (privacidade, termos, licenças) */
.doc {
  padding: 2.5rem 0 4rem;
}

.doc .wrap {
  max-width: 52rem;
}

.doc h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.doc .meta {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.doc h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
}

.doc section {
  padding: 0;
  border: 0;
}

.doc section.disclaimer {
  margin-top: 2rem;
}

.doc .disclaimer h2 {
  margin-top: 0;
}

.doc nav[aria-label="Sumário"] {
  background: var(--surface);
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-card);
}

.doc table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
  font-size: 0.9375rem;
  display: block;
  overflow-x: auto;
}

.doc th,
.doc td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.doc th {
  background: var(--surface-alt);
  color: var(--primary);
}

.doc td {
  background: var(--surface);
}

.doc dl {
  margin: 1rem 0;
}

.doc dt {
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.75rem;
}

.doc dd {
  margin: 0.25rem 0 0 1rem;
  max-width: 70ch;
}

.placeholder {
  background: var(--accent-soft);
  padding: 0 0.3em;
  border-radius: 4px;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
}

pre {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.45;
}

/* Rodapé: texto legal obrigatório e links */
.site-footer {
  border-top: 1px solid var(--soft-line);
  background: var(--surface);
  padding: 2.5rem 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-footer .legal {
  max-width: 80ch;
  margin: 0 0 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-footer ul a {
  display: inline-block;
  padding: 0.35rem 0;
}

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

@media (max-width: 40rem) {
  body {
    font-size: 1rem;
  }

  main > section {
    padding: 3rem 0;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .site-nav .nav-anchor {
    display: none;
  }

  .hero .btn,
  .cta-band .btn {
    width: 100%;
  }

  .battery,
  .cards > li,
  .price-card,
  .disclaimer-card {
    padding: 1.25rem;
  }

  .tasks li {
    grid-template-columns: 1.5rem 1fr auto;
  }
}
