/*
 * Level Fishing — estilo do site.
 *
 * Pilha de fonte do sistema, de proposito: renderiza no primeiro frame, nao
 * pede DNS de terceiro e mantem a CSP sem dominio de fonte externa.
 *
 * O site nasce escuro porque o app e escuro, e porque a maioria das visitas
 * acontece de madrugada, na vespera da pescaria.
 */

:root {
  --primaria: #7fd14c;
  --primaria-escura: #5fa838;
  --fundo: #0b0f0c;
  --superficie: #141a15;
  --superficie-alta: #1d251e;
  --borda: #2a342b;
  --linha: #222b23;
  --texto: #f2f7f1;
  --texto-fraco: #93a392;
  --perigo: #e5484d;
  --alerta: #f2b21b;
  --ouro: #d4a83c;

  --largura: 62rem;
  --raio: 12px;
  --raio-g: 20px;

  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primaria);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #9ce072;
}

/* Foco visivel apenas para quem navega por teclado, e nunca removido. */
:focus-visible {
  outline: 3px solid var(--primaria);
  outline-offset: 3px;
  border-radius: 4px;
}

.pular {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primaria);
  color: #06210a;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 10;
}

.pular:focus {
  left: 0;
}

.faixa {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ------------------------------------------------------------------ topo */

.topo {
  border-bottom: 1px solid var(--borda);
  background: rgba(11, 15, 12, 0.92);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.topo .faixa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.75rem;
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--texto);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.menu a {
  color: var(--texto-fraco);
  text-decoration: none;
}

.menu a:hover,
.menu a[aria-current='page'] {
  color: var(--primaria);
}

/* --------------------------------------------------------------- secoes */

.secao {
  padding: 2.75rem 0;
  border-top: 1px solid var(--linha);
}

.secao:first-child,
.capa {
  border-top: 0;
}

.capa {
  padding-top: 3.25rem;
}

h1 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.9rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  max-width: 68ch;
}

.chamada {
  font-size: 1.15rem;
  color: var(--texto-fraco);
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.botao {
  display: inline-block;
  background: var(--primaria);
  color: #06210a;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--raio);
  text-decoration: none;
}

.botao:hover {
  background: #9ce072;
  color: #06210a;
}

.botao-vazado {
  background: transparent;
  color: var(--texto);
  border: 1px solid var(--borda);
}

.botao-vazado:hover {
  background: var(--superficie-alta);
  color: var(--texto);
}

.aviso-linha {
  border-left: 3px solid var(--alerta);
  padding-left: 1rem;
  color: var(--texto-fraco);
}

/* -------------------------------------------------------------- tabelas */

/* Tabela larga rola dentro da propria caixa: o corpo da pagina nunca rola
   na horizontal, que e o defeito classico de tabela em tela de celular. */
.rolagem {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 34rem;
}

caption {
  text-align: left;
  padding: 0.85rem 1rem;
  color: var(--texto-fraco);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--borda);
}

th,
td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--linha);
  vertical-align: top;
}

thead th {
  background: var(--superficie-alta);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--texto-fraco);
}

tbody th {
  font-weight: 600;
  color: var(--texto);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

td.sim {
  color: var(--primaria);
}

td.nao {
  color: var(--texto-fraco);
}

.tabela-especies td:nth-child(2) {
  font-style: italic;
  color: var(--texto-fraco);
}

.tabela-fatores td:first-of-type,
.tabela-fatores-longa td:first-of-type {
  font-variant-numeric: tabular-nums;
  color: var(--primaria);
  font-weight: 700;
}

/* ------------------------------------------------------------- destaques */

.destaque {
  border: 1px solid var(--borda);
  border-left-width: 4px;
  background: var(--superficie);
  border-radius: var(--raio);
  padding: 1.15rem 1.25rem 0.35rem;
  margin: 1.5rem 0;
}

.destaque-nota {
  border-left-color: var(--primaria);
}

.destaque-aviso {
  border-left-color: var(--alerta);
}

.destaque-titulo {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.destaque ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.destaque li {
  margin-bottom: 0.4rem;
}

/* ---------------------------------------------------------------- passos */

.passos {
  counter-reset: passo;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.passos > li {
  counter-increment: passo;
  position: relative;
  padding: 0 0 1.4rem 3.2rem;
  border-left: 1px solid var(--borda);
  margin-left: 1.1rem;
}

.passos > li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.passos > li::before {
  content: counter(passo);
  position: absolute;
  left: -1.1rem;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--superficie-alta);
  border: 1px solid var(--borda);
  color: var(--primaria);
  font-weight: 700;
  font-size: 0.95rem;
}

.passo-titulo {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------- cartoes */

.cartoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.cartao {
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: var(--raio-g);
  padding: 1.5rem;
}

.cartao-destaque {
  border-color: var(--primaria-escura);
  background: linear-gradient(180deg, rgba(127, 209, 76, 0.07), transparent 40%),
    var(--superficie);
}

.preco {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.9rem;
  line-height: 1.1;
}

.preco span {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--texto-fraco);
  letter-spacing: 0;
}

.lista-check {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.lista-check li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.lista-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.85rem;
  height: 0.45rem;
  border-left: 2px solid var(--primaria);
  border-bottom: 2px solid var(--primaria);
  transform: rotate(-45deg);
}

.cartao-nota {
  margin: 1.1rem 0 0;
  font-size: 0.9rem;
  color: var(--texto-fraco);
}

/* ------------------------------------------------------- faq e glossario */

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--superficie);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  padding: 1.1rem 1.25rem 0.35rem;
}

.faq-item h3 {
  color: var(--primaria);
}

.glossario {
  margin: 1.5rem 0 0;
}

.verbete {
  padding: 1rem 0;
  border-bottom: 1px solid var(--linha);
}

.verbete:last-child {
  border-bottom: 0;
}

.glossario dt {
  font-weight: 700;
  color: var(--primaria);
  margin-bottom: 0.3rem;
}

.glossario dd {
  margin: 0;
  max-width: 68ch;
  color: var(--texto-fraco);
}

.lista-destinos {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.lista-destinos li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--linha);
}

/* --------------------------------------------------------------- rodape */

.rodape {
  border-top: 1px solid var(--borda);
  background: var(--superficie);
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.92rem;
}

.rodape-grade {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.75rem;
}

.rodape-marca {
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 0.35rem;
}

.rodape p {
  color: var(--texto-fraco);
}

.rodape-titulo {
  font-weight: 700;
  color: var(--texto);
  margin-bottom: 0.5rem;
}

.rodape ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rodape li {
  margin-bottom: 0.35rem;
}

.rodape a {
  color: var(--texto-fraco);
  text-decoration: none;
}

.rodape a:hover {
  color: var(--primaria);
}

.rodape-fim {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--linha);
}

.rodape-fim p {
  font-size: 0.85rem;
  margin: 0;
  max-width: none;
}

/* Movimento e conforto de leitura para quem pediu menos animacao. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --texto-fraco: #c4d2c3;
    --borda: #46564733;
  }
}

@media print {
  .topo,
  .rodape,
  .pular {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

.rodape-legal {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  line-height: 1.5;
}

.lista-dados {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.lista-dados li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--linha);
}

.lista-dados li:last-child {
  border-bottom: 0;
}
