/* Base compartilhada (site + painel): tokens, gamas de fonte, reset, botões, utilidades */
:root {
  --petroleo: #062129;
  --petroleo-2: #0A2C36;
  --petroleo-3: #12404C;
  --linha-esc: rgba(232, 240, 239, .14);
  --gelo: #EEF3F2;
  --branco: #FFFFFF;
  --tinta: #071B22;
  --texto-esc: #E8F0EF;
  --apoio-esc: #A9C0BF;
  --apoio-cla: #3F5A60;
  --laranja: #FF7A21;
  --laranja-2: #E5600A;
  --laranja-nevoa: rgba(255, 122, 33, .16);
  --linha-cla: rgba(7, 27, 34, .14);
  --sombra: 0 1px 2px rgba(7, 27, 34, .06), 0 8px 24px rgba(7, 27, 34, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* v3 (site): claro, petróleo como tinta, laranja de acento. Os nomes antigos acima seguem valendo pro painel. */
  --fundo: #F4F5F2;
  --fundo-2: #E9ECE7;
  --cartao: #FBFBF9;
  --texto: #23393F;
  --apagado: #5B6E73;
  --linha: rgba(11, 42, 51, .12);
  --linha-forte: rgba(11, 42, 51, .22);
  --escuro: #071F26;
  --escuro-2: #0E2F38;
  --apoio-esc2: #A6BDBD;
  --laranja-3: #D9580F;
  --verde: #1D7F57;
  --tinta-v3: #0B2A33;

  --f-titulo: 'Geologica', 'Segoe UI', system-ui, sans-serif;
  --f-texto: 'Host Grotesk', 'Segoe UI', system-ui, sans-serif;
}
html[data-gama="b"] { --f-titulo: 'Encode Sans Expanded', 'Segoe UI', system-ui, sans-serif; --f-texto: 'Host Grotesk', 'Segoe UI', system-ui, sans-serif; }
html[data-gama="c"] { --f-titulo: 'Chivo', 'Segoe UI', system-ui, sans-serif; --f-texto: 'Radio Canada Big', '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(--tinta); background: var(--gelo);
  -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: -.02em; line-height: 1.08; font-weight: 800; }
.num { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--laranja); 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: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; border: 1px 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(--petroleo); color: var(--laranja);
  transition: transform .35s var(--ease);
}
.btn-seta svg { width: 18px; height: 18px; }
.btn:hover .btn-seta { transform: translateX(4px); }
.btn-primario { background: var(--laranja); color: var(--petroleo); }
.btn-primario:hover { background: var(--laranja-2); }
.btn-pequeno { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-secundario { background: transparent; color: var(--texto-esc); border-color: rgba(232, 240, 239, .24); padding: 0 26px; }
.btn-secundario:hover { border-color: rgba(232, 240, 239, .5); }
.claro .btn-secundario, .btn-secundario.sobre-claro { color: var(--tinta); border-color: rgba(7, 27, 34, .2); }
.claro .btn-secundario:hover, .btn-secundario.sobre-claro:hover { border-color: rgba(7, 27, 34, .5); }
.btn-escuro { background: var(--petroleo); color: var(--texto-esc); }
.btn-escuro:hover { background: var(--petroleo-2); }
.btn-escuro .btn-seta { background: var(--laranja); color: var(--petroleo); }
.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; }
}
