/* Rastro do Java — base: reset, tokens, tipografia, utilitários */

:root {
  --preto: #0B0B0B;
  --painel: #141312;
  --painel-2: #1A1815;
  --linha: #2A2724;
  --linha-2: #3D3833;
  --creme: #F7EFC8;
  --texto: #F2EFE6;
  --cinza: #B8B0A5;
  --cinza-2: #8E877D;
  --cinza-3: #6E675E;
  --laranja: #F26A21;
  --laranja-esc: #C4501A;
  --marrom: #4A2C17;
  --pessego: #F7C79E;
  --verde: #1F3D22;
  --verde-cl: #2C5730;

  --fonte-titulo: 'Bebas Neue', Impact, sans-serif;
  --fonte-texto: 'Barlow', system-ui, sans-serif;
  --fonte-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --largura: 1320px;
  --gutter: 16px;
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--preto);
  color: var(--texto);
  font-family: var(--fonte-texto);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 70px;
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
}

a { color: var(--laranja); text-decoration: none; }
a:hover { color: var(--laranja-esc); }

img { display: block; max-width: 100%; }

::selection { background: var(--laranja); color: var(--preto); }

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  letter-spacing: 0.02em;
  color: var(--creme);
  margin: 0;
  line-height: 0.96;
}

h1 { font-size: 50px; }
h2 { font-size: 32px; }
h3 { font-size: 28px; }

@media (min-width: 900px) {
  h1 { font-size: 86px; }
  h2 { font-size: 42px; }
  h3 { font-size: 32px; }
}

p { line-height: 1.55; color: var(--cinza); margin: 0; text-wrap: pretty; }

input { font-family: var(--fonte-texto); }
input::placeholder { color: var(--cinza-3); }
input:focus { outline: none; }

/* utilitários */

.wrap {
  max-width: var(--largura);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.mono {
  font-family: var(--fonte-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 10.5px;
  color: var(--cinza-2);
}

.rolagem {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rolagem::-webkit-scrollbar { display: none; }

.so-desktop { display: none !important; }
.so-mobile { display: block; }

[hidden] { display: none !important; }

@media (min-width: 900px) {
  .so-desktop { display: block !important; }
  .so-mobile { display: none !important; }
}

/* botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--fonte-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 140ms, border-color 140ms;
}

.btn img { width: 18px; height: 18px; }

.btn--laranja { background: var(--laranja); color: var(--preto); }
.btn--laranja:hover { background: var(--laranja-esc); color: var(--preto); }

.btn--creme { background: var(--creme); color: var(--preto); }
.btn--creme:hover { background: var(--laranja); color: var(--preto); }

.btn--verde { background: var(--verde); color: var(--texto); }
.btn--verde:hover { background: var(--verde-cl); color: var(--texto); }

.btn--linha {
  background: transparent;
  border: 1px solid var(--linha-2);
  color: var(--texto);
}
.btn--linha:hover { border-color: var(--laranja); color: var(--texto); }

.btn--bloco { width: 100%; }

/* chips de filtro e ordenação */

.chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 15px;
  border: 1px solid var(--linha);
  background: var(--painel);
  color: var(--cinza);
  font-family: var(--fonte-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
  transition: border-color 140ms;
}
.chip:hover { border-color: var(--laranja); }

.chip[aria-pressed="true"] {
  background: var(--creme);
  border-color: var(--creme);
  color: var(--preto);
  font-weight: 600;
}

.chip--sm { padding: 8px 12px; font-size: 10.5px; }
.chip--sm[aria-pressed="true"] { background: var(--laranja); border-color: var(--laranja); }

.etiqueta {
  display: inline-block;
  background: var(--marrom);
  color: var(--pessego);
  font-family: var(--fonte-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
}
