/* 01-base.css — Tokens de cor e tipografia, reset, cabeçalho.
   Os arquivos css/ são carregados em ordem numérica pelo index.html: a ordem importa (cascata). */
:root {
  --green-950: #0e3a26;
  --green-800: #175335;
  --green-700: #1f6b43;
  --green-100: #e3efe3;
  --green-050: #f1f7f0;
  --paper: #fbfaf6;
  --kraft: #eadcc0;
  --kraft-deep: #d9c49c;
  --ink: #182420;
  --ink-soft: #4a5b52;
  --accent: #2a4a8c;
  --accent-deep: #1e3870;
  --red: #93242f;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(14, 58, 38, 0.18);
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* tema claro (padrão) */
  --bg: var(--paper);
  --surface: #ffffff;
  --surface-alt: var(--green-050);
  --heading: var(--green-950);
  --line: rgba(14, 58, 38, 0.09);
  --line-strong: rgba(14, 58, 38, 0.25);
  --chip-bg: var(--green-100);
  --chip-text: var(--green-800);
  --kicker: var(--accent-deep);
  --header-bg: rgba(251, 250, 246, 0.85);
  --stripe: rgba(14, 58, 38, 0.045);
  --red-soft: #f5e3e1;
  --status-ok-bg: #e3efe3;
  --status-ok-tx: #175335;
  --status-wait-bg: #e8eefb;
  --status-wait-tx: #1e3870;
  --status-back-bg: #fbe9e7;
  --status-back-tx: #93242f;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
#parceria,
#como-funciona,
#rastreio,
#sistema,
#estrutura,
#vantagens,
#fornecedores,
#para-quem,
#depoimentos,
#cobertura,
#faq,
#contato {
  scroll-margin-top: 76px;
}
html {
  /* impede o Android/iOS de aumentar sozinho textos pequenos ("font boosting"):
     sem isso as telas do sistema em miniatura ficam com o texto sobreposto */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  transition: background-color 0.3s ease;
}
body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.header.scrolled {
  box-shadow: 0 4px 20px -8px rgba(14, 58, 38, 0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--heading);
}
.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}
.logo span em {
  font-style: normal;
  color: var(--accent);
}
.header .container {
  width: min(1240px, 94%);
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav a {
  white-space: nowrap;
}
.nav a {
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.18s;
}
.nav a:hover {
  color: var(--heading);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.22s ease;
}
.nav a:hover::after {
  width: 100%;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}
.btn-primary {
  background: var(--green-950);
  color: var(--paper);
  box-shadow: 0 6px 18px -6px rgba(14, 58, 38, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(14, 58, 38, 0.5);
  background: var(--green-800);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(30, 56, 112, 0.5);
}
.btn-accent:hover {
  transform: translateY(-2px);
  background: var(--accent-deep);
}
.btn-ghost {
  color: var(--heading);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--heading);
  transform: translateY(-2px);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--heading);
  border-radius: 2px;
  transition: 0.25s;
}
