/* Projeto advertorial: tokens da marca (ESPECIFICACAO.md), base e componentes.
   A fonte Plus Jakarta Sans vem do Google Fonts por <link> no <head> do index.html
   (mais rápido que @import aqui). Tema claro único, sem dark. */
:root {
  --background: #FAF8F5;
  --foreground: #1A1714;
  --card: #FFFFFF;
  --muted: #F3EFEA;
  --muted-foreground: #6E665E;
  --border: #ECE6DF;

  --primary: #5D6F9D;
  --primary-hover: #4A5A82;
  --primary-soft: #E8EEF5;
  --primary-foreground: #FFFFFF;
  --primary-deep: #3D4A6B; /* textos azul sobre branco */

  --success: #16A34A;
  --success-soft: #E8F7EE;
  --warning: #D97706;
  --warning-soft: #FEF3E2;
  --destructive: #DC2626;
  --destructive-soft: #FDECEC;

  --gold: #F2B705;
  --silver: #A8B0BA;
  --bronze: #C7834A;

  --radius: 12px;      /* controles */
  --radius-card: 20px; /* cartões */
  --shadow: 0 1px 2px #1a17140d, 0 8px 24px -12px #1a171426;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 16px;
  --max: 1120px;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

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

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--foreground); color: #fff; padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__sub { font-weight: 600; color: var(--muted-foreground); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--primary); color: var(--primary-foreground);
  font-family: var(--font); font-weight: 800; font-size: 17px; line-height: 1.1; letter-spacing: -0.01em;
  text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 1px 2px #3d4a6b33, 0 10px 24px -12px #5d6f9dcc;
  transition: background-color .15s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--primary-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.btn--lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { background: var(--card); color: var(--foreground); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn--ghost:hover { background: var(--muted); }

/* ---------- Aviso de prévia (depoimentos de exemplo) ---------- */
.draft-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--warning-soft); color: #7A4304;
  font-size: 14px; line-height: 1.5;
  border: 1px dashed #E9B46A;
}
.draft-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Ícones em traço (24x24) */
.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

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