/* Base compartilhada (site + painel): tokens, gamas de fonte, reset, botões, utilidades */
:root {
  --areia: #EFE8DC;
  --areia-2: #E6DDCD;
  --cartao: #FAF7F1;
  --verde: #0F2E27;
  --verde-2: #17392F;
  --verde-3: #24503F;
  --musgo: #3D6B57;
  --texto: #253A33;
  --apagado: #5E6F67;
  --creme-esc: #EDE6D6;
  --apoio-esc: #B4C2B6;
  --latao: #B8873B;
  --latao-esc: #8F6626;
  --latao-nevoa: #F1E4CA;
  --menta: #8FD3B4;

  --linha: rgba(15, 46, 39, .12);
  --linha-forte: rgba(15, 46, 39, .25);
  --linha-esc: rgba(237, 230, 214, .14);
  --sombra: 0 1px 2px rgba(60, 40, 10, .06), 0 10px 28px rgba(60, 40, 10, .08);
  --sombra-forte: 0 2px 4px rgba(60, 40, 10, .08), 0 22px 48px rgba(40, 30, 10, .16);
  --raio: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --f-titulo: 'Cabinet Grotesk', 'Segoe UI', system-ui, sans-serif;
  --f-texto: 'Fustat', 'Segoe UI', system-ui, sans-serif;
}
html[data-gama="b"] { --f-titulo: 'Plein', 'Segoe UI', system-ui, sans-serif; --f-texto: 'Fustat', 'Segoe UI', system-ui, sans-serif; }
html[data-gama="c"] { --f-titulo: 'Ranade', 'Segoe UI', system-ui, sans-serif; --f-texto: 'Fustat', 'Segoe UI', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f-texto); font-size: 18px; line-height: 1.55;
  color: var(--texto); background: var(--areia);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
.titulo { font-family: var(--f-titulo); letter-spacing: -.03em; line-height: 1.05; font-weight: 800; color: var(--verde); word-spacing: .08em; }
.num { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--latao); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 9px 0 26px; border-radius: 999px;
  font-family: var(--f-texto); font-weight: 600; font-size: 17px; line-height: 1.2;
  text-decoration: none; border: 1.5px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-sem-seta { padding: 0 26px; }
.btn-seta {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: inline-grid; place-items: center; background: var(--latao); color: var(--verde);
  transition: transform .35s var(--ease);
}
.btn-seta svg { width: 18px; height: 18px; }
.btn:hover .btn-seta { transform: translateX(4px); }
.btn-primario { background: var(--verde); color: var(--creme-esc); }
.btn-primario:hover { background: var(--verde-3); }
.btn-pequeno { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-secundario { background: transparent; color: var(--verde); border-color: rgba(15, 46, 39, .25); padding: 0 26px; }
.btn-secundario:hover { border-color: rgba(15, 46, 39, .6); }
/* sobre o verde: principal vira creme com texto verde */
.escuro .btn-primario, .btn-creme { background: var(--creme-esc); color: var(--verde); }
.escuro .btn-primario:hover, .btn-creme:hover { background: #fff; }
.escuro .btn-secundario { color: var(--creme-esc); border-color: rgba(237, 230, 214, .3); }
.escuro .btn-secundario:hover { border-color: rgba(237, 230, 214, .65); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.icone-zap { width: 22px; height: 22px; fill: currentColor; }

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