@import url('./tokens.css');
@import url('./landing.css');

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ============ TEMA NOITE DE PESCA ============ */
:root {
  /* Ouro */
  --ouro: #d4a843;
  --ouro-brilho: #f0c866;
  --ouro-escuro: #8a6520;
  --ouro-glow: rgba(212, 168, 67, 0.28);

  /* Superfícies escuras */
  --carvao: #0d0f12;
  --vidro-card: rgba(14, 17, 24, 0.90);
  --vidro-header: rgba(8, 10, 15, 0.74);
  --vidro-locked: rgba(10, 12, 18, 0.65);

  /* Texto */
  --texto-principal: #f5f5f0;
  --texto-secundario: rgba(190, 183, 170, 0.80);
  --texto-claro: rgba(180, 172, 158, 0.50);
  --borda-sutil: rgba(255, 255, 255, 0.08);

  /* Raridades */
  --raridade-comum:        rgba(148, 163, 184, 0.40);
  --raridade-comum-fg:     rgba(200, 194, 182, 0.80);
  --raridade-incomum:      #3a9e5f;
  --raridade-incomum-fg:   #5dbe7e;
  --raridade-incomum-bg:   rgba(58, 158, 95, 0.12);
  --raridade-raro:         #8060c8;
  --raridade-raro-fg:      #a884f0;
  --raridade-raro-bg:      rgba(128, 96, 200, 0.12);
  --raridade-lendario:     var(--ouro);
  --raridade-lendario-fg:  var(--ouro-brilho);
  --raridade-lendario-bg:  rgba(212, 168, 67, 0.12);
  --raridade-lendario-glow: var(--ouro-glow);

  /* Ação */
  --acao:          var(--ouro);
  --acao-hover:    var(--ouro-brilho);
  --acao-gradient: linear-gradient(135deg, var(--ouro-escuro), var(--ouro));
  --perigo:        #ef4444;
  --sucesso:       #3a9e5f;

  /* Fontes */
  --font-sans:    'Nunito', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --font-titulo:  'Cinzel', Georgia, serif;

  /* Escala tipográfica */
  --fs-xs:  11px;
  --fs-sm:  13px;
  --fs-base: 15px;
  --fs-md:  16px;
  --fs-lg:  18px;
  --fs-xl:  20px;
  --fs-2xl: 28px;
  --fs-3xl: 32px;

  /* Espaçamento */
  --gap-xs: 4px;  --gap-sm: 8px;  --gap-md: 12px;
  --gap-lg: 16px; --gap-xl: 24px; --gap-2xl: 32px;

  /* Raio */
  --raio-sm: 8px; --raio-md: 12px; --raio-lg: 18px; --raio-full: 999px;

  /* Sombras */
  --sombra-sm:       0 2px 6px  rgba(0, 0, 0, 0.45);
  --sombra-md:       0 4px 14px rgba(0, 0, 0, 0.55);
  --sombra-lg:       0 8px 28px rgba(0, 0, 0, 0.65);
  --sombra-lendario: 0 4px 22px var(--ouro-glow);
}

/* ============ FUNDO FOTOGRÁFICO ============ */
body {
  font-family: var(--font-sans);
  color: var(--texto-principal);
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--carvao);
}

/* Foto de fundo fixa */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: image-set(
    url('../img/fishing-background-1920.avif') type('image/avif'),
    url('../img/fishing-background-1920.webp') type('image/webp'),
    url('../img/fishing-background-1920.jpg')  type('image/jpeg')
  );
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
}

@media (max-width: 1280px) {
  body::before { background-image: image-set(
    url('../img/fishing-background-1280.avif') type('image/avif'),
    url('../img/fishing-background-1280.webp') type('image/webp'),
    url('../img/fishing-background-1280.jpg')  type('image/jpeg')
  ); }
}

@media (max-width: 768px) {
  body::before { background-image: image-set(
    url('../img/fishing-background-768.avif') type('image/avif'),
    url('../img/fishing-background-768.webp') type('image/webp'),
    url('../img/fishing-background-768.jpg')  type('image/jpeg')
  ); }
}

@media (max-width: 480px) {
  body::before { background-image: image-set(
    url('../img/fishing-background-480.avif') type('image/avif'),
    url('../img/fishing-background-480.webp') type('image/webp'),
    url('../img/fishing-background-480.jpg')  type('image/jpeg')
  ); }
}

/* Overlay escuro sobre a foto */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(5, 7, 12, 0.90) 0%,
    rgba(8, 10, 18, 0.93) 50%,
    rgba(5,  6, 10, 0.96) 100%
  );
  z-index: -1;
}

#app {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--gap-lg) var(--gap-md);
  padding-bottom: 100px;
}

/* ============ HEADER ============ */
.header {
  background: var(--vidro-header);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--raio-lg);
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: var(--sombra-lg);
  border: 1px solid rgba(212, 168, 67, 0.22);
  margin-bottom: var(--gap-xl);
  position: relative;
  overflow: hidden;
}

/* Linha dourada decorativa no topo do header */
.header::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ouro), transparent);
}

.header h1 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--texto-principal);
  letter-spacing: -0.2px;
  line-height: 1.1;
}

/* nome em dourado com gradiente */
.header h1 .nome-destaque {
  background: linear-gradient(135deg, var(--ouro-brilho), var(--ouro));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header .subtitle {
  font-size: var(--fs-xs);
  color: var(--texto-secundario);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-top: 10px;
  margin-bottom: 14px;
}

/* ============ BACK LINK ============ */
.back-link {
  color: var(--ouro);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: var(--gap-lg);
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
}
.back-link:hover { color: var(--ouro-brilho); }

/* ============ PROGRESSO ============ */
.progress-wrap { margin-top: 0; }
.progress-bar {
  height: 7px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: var(--raio-full);
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ouro-escuro), var(--ouro-brilho));
  border-radius: var(--raio-full);
  transition: width 0.6s ease;
  box-shadow: 0 0 8px var(--ouro-glow);
}

/* ============ SEÇÃO DE RARIDADE ============ */
.secao-titulo {
  font-family: var(--font-titulo);
  font-size: 11px;
  font-weight: 700;
  color: var(--ouro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 24px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.secao-titulo::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 168, 67, 0.35), transparent);
}

/* ============ GRID DO CATÁLOGO ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}
@media (min-width: 600px) { .grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(5, 1fr); } }

/* ============ SLOT DO CATÁLOGO ============ */
.slot {
  background: var(--vidro-card);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--raio-lg);
  padding: var(--gap-md) var(--gap-sm);
  text-align: center;
  box-shadow: var(--sombra-md);
  border: 1px solid var(--borda-sutil);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--gap-xs);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.slot:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--sombra-lg);
  border-color: rgba(212, 168, 67, 0.35);
}
.slot:active { transform: scale(0.97); }

/* Raridades */
.slot.comum   { border-color: rgba(148, 163, 184, 0.30); }
.slot.incomum { border-color: var(--raridade-incomum); background: linear-gradient(180deg, var(--vidro-card), var(--raridade-incomum-bg)); }
.slot.raro    { border-color: var(--raridade-raro);    background: linear-gradient(180deg, var(--vidro-card), var(--raridade-raro-bg)); }
.slot.lendario {
  border-color: var(--ouro);
  background: linear-gradient(180deg, rgba(18, 14, 5, 0.92), var(--raridade-lendario-bg));
  box-shadow: var(--sombra-lendario);
}
.slot.lendario:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7), 0 0 28px var(--ouro-glow);
}

/* Slot bloqueado */
.slot.locked {
  background: var(--vidro-locked);
  border: 1px dashed rgba(255, 255, 255, 0.18);
}
.slot.locked:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: none;
}

.slot-illus { width: 60px; height: 40px; }
.slot-illus.locked { opacity: 0.15; filter: grayscale(1); }

.slot-name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--texto-principal);
}
.slot.locked .slot-name { color: var(--texto-claro); opacity: 1; }
.slot.locked .slot-meta { color: rgba(180, 172, 158, 0.35); }

.slot-meta {
  font-size: var(--fs-xs);
  color: var(--texto-secundario);
  font-weight: 700;
}

/* Tags de raridade (slots bloqueados) */
.slot-rarity-tag {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 7px;
  border-radius: var(--raio-full);
}
.slot-rarity-tag.comum   { background: rgba(148, 163, 184, 0.20); color: var(--raridade-comum-fg); }
.slot-rarity-tag.incomum { background: var(--raridade-incomum-bg); color: var(--raridade-incomum-fg); }
.slot-rarity-tag.raro    { background: var(--raridade-raro-bg);    color: var(--raridade-raro-fg); }
.slot-rarity-tag.lendario{ background: var(--raridade-lendario-bg); color: var(--raridade-lendario-fg); }

/* ============ FAB ============ */
.fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--acao-gradient);
  color: var(--carvao);
  padding: 14px 22px;
  border-radius: var(--raio-full);
  font-size: var(--fs-base);
  font-weight: 800;
  box-shadow: 0 4px 20px var(--ouro-glow), var(--sombra-md);
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  text-decoration: none;
  z-index: 100;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.02em;
}
.fab:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 168, 67, 0.5), var(--sombra-md);
}
.fab:active { transform: scale(0.97); }

/* ============ CARD GENÉRICO ============ */
.card {
  background: var(--vidro-card);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--raio-lg);
  padding: var(--gap-lg);
  box-shadow: var(--sombra-md);
  border: 1px solid var(--borda-sutil);
  margin-bottom: var(--gap-md);
}

/* ============ DETALHE DO PEIXE ============ */
.detalhe-header { text-align: center; padding: var(--gap-xl) 0; }
.detalhe-illus-grande { width: 180px; height: 120px; margin: 0 auto var(--gap-md); }

.detalhe-nome {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--texto-principal);
  letter-spacing: -0.3px;
}
.detalhe-cientifico {
  font-size: 14px;
  font-style: italic;
  color: var(--texto-secundario);
  margin-top: 2px;
}

.badge-raridade {
  display: inline-block;
  margin-top: var(--gap-sm);
  padding: 4px 12px;
  border-radius: var(--raio-full);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-raridade.comum   { background: rgba(148, 163, 184, 0.20); color: var(--raridade-comum-fg); }
.badge-raridade.incomum { background: var(--raridade-incomum-bg); color: var(--raridade-incomum-fg); }
.badge-raridade.raro    { background: var(--raridade-raro-bg);    color: var(--raridade-raro-fg); }
.badge-raridade.lendario{ background: var(--raridade-lendario-bg); color: var(--raridade-lendario-fg); border: 1px solid rgba(212,168,67,0.4); }

/* ── Badge de habitat aquático ── */
.badge-agua {
  display: inline-block;
  margin-top: var(--gap-sm);
  margin-left: var(--gap-xs);
  padding: 4px 12px;
  border-radius: var(--raio-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.4px;
}
.badge-agua.doce    { background: rgba(56, 142, 200, 0.18); color: #7ec8f0; border: 1px solid rgba(56,142,200,0.35); }
.badge-agua.salgada { background: rgba(30, 110, 160, 0.18); color: #5aaddc; border: 1px solid rgba(30,110,160,0.35); }
.badge-agua.ambas   { background: rgba(43, 126, 180, 0.18); color: #6dbce8; border: 1px solid rgba(43,126,180,0.35); }

.curiosidade {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--texto-secundario);
  font-style: italic;
  border-left: 3px solid var(--ouro);
  padding-left: var(--gap-md);
}

.stats { display: flex; justify-content: space-around; text-align: center; }
.stat-item .stat-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--texto-secundario);
  letter-spacing: 0.5px;
  font-weight: 700;
}
.stat-item .stat-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--ouro-brilho);
  margin-top: 2px;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-sm);
  margin-top: var(--gap-md);
}
.galeria-item {
  border-radius: var(--raio-md);
  overflow: hidden;
  box-shadow: var(--sombra-sm);
  background: rgba(14, 17, 24, 0.60);
  border: 1px solid var(--borda-sutil);
}
.galeria-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.galeria-caption { padding: 6px 8px; background: rgba(10, 12, 18, 0.80); }
.galeria-data { font-size: var(--fs-xs); color: var(--texto-secundario); font-weight: 600; }
.galeria-pesqueiro {
  font-size: 12px;
  color: var(--ouro);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============ FORMULÁRIO ============ */
.form-field { margin-bottom: var(--gap-lg); }
.form-field label {
  display: block;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--texto-principal);
  margin-bottom: var(--gap-xs);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--raio-md);
  background: rgba(14, 17, 24, 0.80);
  font-size: var(--fs-md);
  color: var(--texto-principal);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(180, 172, 158, 0.55); }

/* Impede o browser de sobrescrever o fundo com branco no autofill */
.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #f5f5f0;
  -webkit-box-shadow: 0 0 0 1000px rgba(14, 17, 24, 0.95) inset;
  caret-color: #f5f5f0;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--ouro);
  outline-offset: 2px;
  border-color: var(--ouro);
}
.form-field textarea { resize: vertical; min-height: 80px; }

.slot:focus-visible,
.fab:focus-visible,
.btn-primary:focus-visible,
.modal-close:focus-visible {
  outline: 2px solid var(--ouro);
  outline-offset: 2px;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--acao-gradient);
  color: var(--carvao);
  border-radius: var(--raio-md);
  font-size: var(--fs-md);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-sm);
  min-height: 44px;
  box-shadow: 0 4px 14px var(--ouro-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.02em;
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(212, 168, 67, 0.45); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: var(--gap-md);
}
.modal {
  background: rgba(14, 17, 24, 0.96);
  border: 1px solid rgba(212, 168, 67, 0.25);
  border-radius: var(--raio-lg);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.modal-close {
  position: absolute;
  top: 8px; right: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--texto-principal);
  border-radius: var(--raio-full);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.18); }

/* ============ LOADING ============ */
.loading { text-align: center; padding: var(--gap-2xl); color: var(--texto-secundario); }
.spinner {
  width: 32px; height: 32px;
  margin: 0 auto var(--gap-md);
  border: 3px solid rgba(212, 168, 67, 0.20);
  border-top-color: var(--ouro);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ UTILITÁRIOS ============ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.empty-state { text-align: center; padding: var(--gap-2xl) var(--gap-lg); color: var(--texto-secundario); }
.empty-state .emoji { font-size: 48px; margin-bottom: var(--gap-md); }

/* ============ ACESSIBILIDADE ============ */
button, .fab, .form-field input, .form-field textarea { min-height: 44px; }

/* ============ MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Barra de filtros ── */
.filtros-bar {
  margin: var(--gap-md) 0 var(--gap-sm);
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.filtros-busca {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--raio-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--fs-base);
  font-family: inherit;
}
.filtros-busca::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.filtros-busca:focus {
  outline: none;
  border-color: rgba(56, 142, 200, 0.6);
  background: rgba(255, 255, 255, 0.09);
}
.filtros-contador {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
  padding: 0 2px;
}

/* ── Chips de filtro ── */
.filtros-chips-wrap {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
}
.filtros-chips {
  display: flex;
  gap: var(--gap-xs);
  overflow-x: auto;
  flex: 1;
  scrollbar-width: none;
}
.filtros-chips::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--raio-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.09);
}
.chip.ativo {
  background: rgba(56, 142, 200, 0.22);
  border-color: rgba(56, 142, 200, 0.55);
  color: #bfe0f5;
}
.chip-arrow {
  opacity: 0.5;
  font-size: 10px;
}
.chip-x {
  font-size: 16px;
  line-height: 1;
  padding: 0 2px;
  opacity: 0.7;
}
.chip-x:hover { opacity: 1; }

.filtros-limpar {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-xs);
  cursor: pointer;
  padding: 6px 10px;
  white-space: nowrap;
  font-family: inherit;
}
.filtros-limpar:hover { color: #fff; }

/* ── Bottom sheet ── */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  transition: opacity 180ms ease;
}
.sheet-backdrop.aberto { opacity: 1; }
.sheet {
  background: var(--vidro-card);
  width: 100%;
  max-width: 520px;
  border-radius: var(--raio-lg) var(--raio-lg) 0 0;
  padding: var(--gap-lg) var(--gap-md) calc(var(--gap-lg) + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 220ms ease;
  max-height: 75vh;
  overflow-y: auto;
}
.sheet-backdrop.aberto .sheet { transform: translateY(0); }

.sheet-titulo {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--gap-md);
}
.sheet-lista {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sheet-option {
  text-align: left;
  padding: 12px 14px;
  background: transparent;
  border: none;
  border-radius: var(--raio-md);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-base);
  cursor: pointer;
  font-family: inherit;
}
.sheet-option:hover { background: rgba(255, 255, 255, 0.06); }
.sheet-option.selecionado {
  background: rgba(56, 142, 200, 0.2);
  color: #bfe0f5;
  font-weight: 700;
}
.sheet-limpar {
  margin-top: var(--gap-md);
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--raio-md);
  cursor: pointer;
  font-family: inherit;
  font-size: var(--fs-sm);
}
.sheet-busca {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--raio-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-base);
  font-family: inherit;
  margin-bottom: var(--gap-sm);
}
.sheet-vazio {
  padding: var(--gap-md);
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  font-style: italic;
}
.sheet-data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-md);
}
.sheet-data-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sheet-data-col span {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}
.sheet-data-col select {
  padding: 10px 12px;
  border-radius: var(--raio-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--fs-base);
  font-family: inherit;
}
.sheet-aplicar {
  width: 100%;
  padding: 12px;
  background: rgba(56, 142, 200, 0.6);
  border: 1px solid rgba(56, 142, 200, 0.9);
  color: #fff;
  border-radius: var(--raio-md);
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: var(--fs-base);
}
.sheet-aplicar:hover { background: rgba(56, 142, 200, 0.78); }

/* ── Empty state (filtros sem resultado) ── */
.filtros-empty {
  text-align: center;
  padding: calc(var(--gap-lg) * 2) var(--gap-md);
  color: rgba(255, 255, 255, 0.7);
}
.filtros-empty-emoji {
  font-size: 56px;
  margin-bottom: var(--gap-sm);
  opacity: 0.7;
}
.filtros-empty p {
  font-size: var(--fs-base);
  margin: 0 0 var(--gap-md);
}
.filtros-empty-limpar {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 18px;
  border-radius: var(--raio-full);
  cursor: pointer;
  font-family: inherit;
  font-size: var(--fs-sm);
}
.filtros-empty-limpar:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ── Filtros: ajuste desktop ── */
@media (min-width: 640px) {
  .filtros-bar {
    align-items: center;
  }
  .filtros-busca {
    max-width: 480px;
  }
  .filtros-chips {
    overflow-x: visible;
    flex-wrap: wrap;
    justify-content: center;
  }
  .filtros-chips-wrap {
    justify-content: center;
    gap: var(--gap-md);
  }
  .filtros-contador {
    text-align: center;
  }
}

/* ── Rodapé de ações do modal de captura ── */
.modal-acoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-sm);
  padding: 0 var(--gap-lg) var(--gap-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--gap-md);
  margin-top: calc(-1 * var(--gap-md));
}
.modal-btn-editar,
.modal-btn-excluir {
  padding: 10px 14px;
  border-radius: var(--raio-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--texto-principal);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.modal-btn-editar:hover {
  background: rgba(212, 168, 67, 0.12);
  border-color: rgba(212, 168, 67, 0.35);
}
.modal-btn-excluir:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f5a3a3;
}

/* ── Botões do modal em modo edição / confirmação ── */
.modal-btn-primario {
  padding: 10px 14px;
  border-radius: var(--raio-md);
  border: 1px solid rgba(212, 168, 67, 0.55);
  background: linear-gradient(135deg, var(--ouro-escuro), var(--ouro));
  color: #1a1209;
  font-size: var(--fs-sm);
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.modal-btn-primario:hover { filter: brightness(1.08); }
.modal-btn-primario:disabled { opacity: 0.6; cursor: default; }

.modal-btn-secundario {
  padding: 10px 14px;
  border-radius: var(--raio-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--texto-principal);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.modal-btn-secundario:hover { background: rgba(255, 255, 255, 0.06); }
.modal-btn-secundario:disabled { opacity: 0.6; cursor: default; }

.modal-btn-perigo {
  padding: 10px 14px;
  border-radius: var(--raio-md);
  border: 1px solid rgba(239, 68, 68, 0.55);
  background: rgba(239, 68, 68, 0.18);
  color: #ffb4b4;
  font-size: var(--fs-sm);
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.modal-btn-perigo:hover { background: rgba(239, 68, 68, 0.28); }
.modal-btn-perigo:disabled { opacity: 0.6; cursor: default; }

/* Banner de erro no topo do modal */
.modal-erro {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ffb4b4;
  padding: var(--gap-sm) var(--gap-md);
  border-radius: var(--raio-md);
  font-size: var(--fs-sm);
  margin-bottom: var(--gap-md);
}

/* Bloco de confirmação de exclusão */
.modal-confirma-excluir {
  padding: 0 var(--gap-lg) var(--gap-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--gap-md);
}
.modal-confirma-excluir p {
  color: var(--texto-principal);
  font-size: var(--fs-sm);
  margin-bottom: var(--gap-md);
  line-height: 1.5;
}

/* Inputs dentro do modal */
.modal .form-field input,
.modal .form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--raio-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--texto-principal);
  font-size: var(--fs-base);
  font-family: inherit;
}
.modal .form-field textarea { min-height: 70px; resize: vertical; }
.modal .form-field label {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.modal .form-field { margin-bottom: var(--gap-md); }

/* ── Botão de compartilhar no WhatsApp ── */
.modal-acoes-share {
  padding: 0 var(--gap-lg);
  margin-bottom: var(--gap-sm);
}
.modal-btn-whatsapp {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--raio-md);
  background: #25D366;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.15s ease;
}
.modal-btn-whatsapp:hover { filter: brightness(1.08); }

/* ============ CATÁLOGO ENRIQUECIDO — FASE 1 ============ */

/* --- Bloco: Dicas de pesca --- */
.bloco-dicas .dica-row {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-md);
  padding: var(--gap-sm) 0;
  border-bottom: 1px solid var(--borda-sutil);
}
.bloco-dicas .dica-row:last-child { border-bottom: none; }
.bloco-dicas .dica-icone {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.bloco-dicas .dica-texto {}
.bloco-dicas .dica-label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.6;
  margin-bottom: 2px;
  font-family: var(--font-sans);
}
.bloco-dicas .dica-valor {
  font-size: var(--fs-base);
  color: var(--texto-principal);
  font-family: var(--font-sans);
}

/* --- Bloco: Onde vive (mapa) --- */
.bloco-mapa .mapa-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--gap-lg);
  align-items: start;
}
.mapa-br {
  width: 110px;
  height: auto;
  display: block;
}
.mapa-br .regiao {
  fill: #2a3441;
  stroke: #3a4656;
  stroke-width: 1;
  transition: fill .3s ease;
}
.mapa-br .regiao.ativa      { fill: var(--ouro);   stroke: var(--ouro); }
.mapa-br .regiao.ativa-salgada { fill: #4a9bb5; stroke: #4a9bb5; }
.mapa-regioes-lista {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.mapa-regiao-item {
  font-size: var(--fs-base);
  color: var(--texto-claro);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mapa-regiao-item::before {
  content: '○';
  font-size: 12px;
}
.mapa-regiao-item.ativa {
  color: var(--texto-principal);
  font-weight: 700;
}
.mapa-regiao-item.ativa::before { content: '●'; }
.mapa-regiao-item.ativa-salgada { color: #4a9bb5; }
@media (max-width: 480px) {
  .bloco-mapa .mapa-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* --- Bloco: Parentes --- */
.bloco-parentes .parentes-grid {
  display: flex;
  gap: var(--gap-md);
  overflow-x: auto;
  padding-bottom: var(--gap-sm);
  scrollbar-width: none;
}
.bloco-parentes .parentes-grid::-webkit-scrollbar { display: none; }
.parente-card {
  flex: 0 0 100px;
  text-align: center;
  text-decoration: none;
  color: var(--texto-principal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: var(--gap-sm);
  border-radius: var(--raio-md);
  border: 1px solid var(--borda-sutil);
  transition: border-color .2s;
}
.parente-card:hover { border-color: var(--ouro); }
.parente-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.parente-card img.bloqueado { opacity: 0.3; filter: grayscale(1); }
.parente-card .parente-nome {
  font-size: var(--fs-xs);
  font-family: var(--font-sans);
  line-height: 1.3;
  text-align: center;
  word-break: break-word;
}

/* bloco-titulo reutilizável */
.bloco-titulo {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: var(--gap-md);
  font-family: var(--font-sans);
}

/* ── Gamificação: barra de XP no header ── */
.header-xp {
  margin-top: var(--gap-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #e8eef5;
}
.header-xp .nivel-atual {
  color: #e8c15a;
  white-space: nowrap;
}
.header-xp .nivel-proximo {
  opacity: 0.4;
  white-space: nowrap;
}
.header-xp .barra-xp {
  flex: 1;
  height: 8px;
  background: rgba(0,0,0,0.35);
  border-radius: 4px;
  overflow: hidden;
  min-width: 40px;
}
.header-xp .barra-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #d4a73a, #e8c15a);
  transition: width 300ms ease-out;
}
.header-xp-total {
  margin-top: 3px;
  text-align: right;
  font-size: 10px;
  opacity: 0.55;
}
.header-xp.nivel-max .nivel-proximo,
.header-xp.nivel-max .barra-xp { display: none; }

/* ── Gamificação: footer de conquistas ── */
.footer-conquistas {
  margin-top: var(--gap-lg);
  padding: var(--gap-md);
  background: linear-gradient(180deg, transparent, rgba(212, 167, 58, 0.04));
  border-top: 1px solid rgba(212, 167, 58, 0.15);
}
.footer-conquistas-titulo {
  font-size: 10px;
  opacity: 0.55;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
}
.footer-conquistas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.medalha-mini {
  background: rgba(212,167,58,0.12);
  border: 1px solid rgba(212,167,58,0.25);
  padding: 10px 6px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s;
}
.medalha-mini:active { transform: scale(0.95); }
.medalha-mini.epica { background: rgba(212,167,58,0.18); border-color: rgba(212,167,58,0.4); }
.medalha-mini-icone { font-size: 20px; }
.medalha-mini-nome {
  font-size: 10px;
  margin-top: 3px;
  font-weight: 600;
  line-height: 1.2;
  opacity: 0.9;
}
.medalha-ver-todas {
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
  color: #e8eef5;
  opacity: 0.75;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.footer-conquistas-empty {
  text-align: center;
  padding: var(--gap-md) 0;
  opacity: 0.6;
  font-size: 13px;
}
.footer-conquistas-empty button {
  margin-top: 8px;
  background: rgba(212,167,58,0.12);
  border: 1px solid rgba(212,167,58,0.3);
  color: #e8c15a;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

/* ── Gamificação: modal de conquistas ── */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  padding: 16px;
}
.modal-conquistas {
  background: linear-gradient(180deg, #1a2836, #14202b);
  border-radius: 12px;
  width: 100%; max-width: 560px; max-height: 85vh;
  overflow-y: auto;
  padding: 20px;
  position: relative;
  color: #e8eef5;
}
.modal-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 14px;
}
.modal-titulo { font-size: 18px; font-weight: 700; }
.modal-subtitulo { font-size: 11px; opacity: 0.6; margin-top: 2px; }
.modal-close {
  background: none; border: none; color: #e8eef5;
  font-size: 26px; cursor: pointer; padding: 0 8px;
  line-height: 1;
}
.modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.conquista-card {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 6px;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s;
}
.conquista-card:active { transform: scale(0.95); }
.conquista-card.desbloqueada {
  background: rgba(212,167,58,0.15);
  border: 1px solid rgba(212,167,58,0.3);
}
.conquista-card.desbloqueada.epica {
  background: rgba(212,167,58,0.22);
  border-color: rgba(212,167,58,0.5);
  box-shadow: 0 0 12px rgba(212,167,58,0.2);
}
.conquista-card.bloqueada {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0.45;
}
.conquista-icone { font-size: 22px; }
.conquista-nome {
  font-size: 9px;
  margin-top: 4px;
  font-weight: 600;
  line-height: 1.15;
}
.conquista-lock {
  position: absolute; top: 4px; right: 4px;
  font-size: 10px; opacity: 0.6;
}
.conquista-popover {
  position: sticky; bottom: 0; left: 0; right: 0;
  margin: 12px -20px -20px;
  background: rgba(0,0,0,0.92);
  border-top: 1px solid rgba(212,167,58,0.3);
  border-radius: 0 0 12px 12px;
  padding: 14px;
  text-align: center;
}
.popover-icone { font-size: 28px; }
.popover-nome { font-size: 15px; font-weight: 700; margin-top: 4px; }
.popover-desc { font-size: 12px; opacity: 0.8; margin-top: 4px; }
.popover-xp { font-size: 12px; color: #e8c15a; font-weight: 700; margin-top: 6px; }
.popover-data { font-size: 11px; opacity: 0.6; margin-top: 4px; }
.popover-data.bloqueada { color: #e8c15a; opacity: 0.8; }

/* ── Gamificação: toast ── */
#toast-container {
  position: fixed; top: 16px; left: 16px; right: 16px;
  z-index: 2000;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  background: linear-gradient(135deg, #d4a73a, #b88a20);
  color: #14202b;
  padding: 12px 14px;
  border-radius: 10px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 6px 20px rgba(212,167,58,0.4);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 250ms ease-out, transform 250ms ease-out;
}
.toast.visible { opacity: 1; transform: translateY(0); }
.toast-icone { font-size: 26px; }
.toast-titulo { font-size: 14px; font-weight: 800; }
.toast-subtitulo { font-size: 11px; opacity: 0.75; margin-top: 1px; }

/* ── Gamificação: modal épico ── */
.modal-epico-backdrop {
  opacity: 0;
  transition: opacity 300ms;
}
.modal-epico-backdrop.visible { opacity: 1; }
.modal-epico {
  background: linear-gradient(180deg, #1a2836, #0d1821);
  border: 2px solid #d4a73a;
  padding: 28px 24px;
  border-radius: 16px;
  text-align: center;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 0 60px rgba(212,167,58,0.35);
  color: #e8eef5;
}
.modal-epico-icone {
  font-size: 52px;
  filter: drop-shadow(0 0 14px rgba(212,167,58,0.6));
}
.modal-epico-tituloTop {
  font-size: 10px;
  color: #d4a73a;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-top: 10px;
}
.modal-epico-titulo {
  font-size: 20px;
  font-weight: 800;
  margin-top: 6px;
}
.modal-epico-desc {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 6px;
  line-height: 1.4;
}
.modal-epico-xp {
  font-size: 16px;
  font-weight: 700;
  color: #e8c15a;
  margin-top: 12px;
}
.modal-epico-btn {
  margin-top: 18px;
  padding: 10px 24px;
  background: #d4a73a;
  color: #14202b;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

/* ── Insights pessoais (Fase 4) ── */

.insights {
  margin-top: var(--gap-lg);
  padding: 0 var(--gap-md) var(--gap-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.insights-titulo {
  font-size: 10px;
  opacity: 0.55;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.insight-card {
  background: linear-gradient(135deg, rgba(212,167,58,0.1), rgba(212,167,58,0.05));
  border: 1px solid rgba(212,167,58,0.2);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.insight-card.clicavel {
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.insight-card.clicavel:active {
  opacity: 0.8;
  transform: scale(0.98);
}

.insight-card-label {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.55;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.insight-card-valor {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.insight-card-subtext {
  font-size: 11px;
  opacity: 0.7;
}

/* ============ BOTTOM NAV / SHELL ============ */
:root {
  --nav-h: 64px;
}

body {
  padding-bottom: calc(var(--nav-h) + var(--gap-md));
}

#bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(8, 10, 15, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.nav-inner {
  max-width: 720px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 var(--gap-md);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
  text-decoration: none;
  color: rgba(190, 183, 170, 0.50);
  padding: var(--gap-sm) 0;
  transition: color 0.15s;
}

.nav-item--ativo {
  color: var(--ouro);
}

.nav-icon {
  font-size: 20px;
  line-height: 1;
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-family: var(--font-sans);
}

.nav-fab-slot {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ouro-escuro), var(--ouro));
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.45);
  margin-top: -16px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.nav-fab:active {
  transform: scale(0.93);
  box-shadow: 0 2px 8px rgba(212, 168, 67, 0.30);
}

.nav-fab-icon {
  font-size: 22px;
  line-height: 1;
}

/* ============ PINS DO MAPA ============ */
.pin-pesqueiro {
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid rgba(255,255,255,0.25);
  position: relative;
}

.pin-comum    { background: rgba(148, 163, 184, 0.80); }
.pin-incomum  { background: #3a9e5f; }
.pin-raro     { background: #8060c8; }
.pin-lendario {
  background: var(--ouro);
  box-shadow: 0 0 8px 2px var(--ouro-glow);
  border-color: var(--ouro-brilho);
}

.pin-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  transform: rotate(45deg);
  background: var(--ouro);
  color: #000;
  font-size: 9px;
  font-weight: 800;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
}

.btn-secondary {
  display: block;
  width: 100%;
  padding: 14px var(--gap-lg);
  border-radius: var(--raio-md);
  font-weight: 700;
  font-size: var(--fs-base);
  font-family: var(--font-sans);
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  color: var(--texto-secundario);
  border: 1px solid var(--borda-sutil);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.11); }
.btn-secondary:active { transform: scale(0.98); }
.btn-secondary:disabled { opacity: 0.45; cursor: not-allowed; }
