/*
 * GuiaEbike.com.br — Estilos Globais
 * Arquivo: /assets/css/guiaebike.css
 * Versão: 1.0
 * Autor: Pixel Marketing Digital
 *
 * Contém apenas estilos verdadeiramente globais.
 * Estilos específicos de cada página ficam inline no próprio .cfm.
 */

/* ── Reset e variáveis já definidas no header.cfm inline ── */
/* Este arquivo é reservado para estilos de componentes
   reutilizáveis entre múltiplas páginas */

/* ── Paginação global ── */
.paginacao {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 5%;
}
.paginacao a,
.paginacao span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  transition: all .2s;
}
.paginacao a:hover { border-color: var(--gold); color: var(--gold); }
.paginacao span.atual { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── Breadcrumb global ── */
.breadcrumb {
  padding: 14px 5%;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 6px; opacity: .5; }
.breadcrumb .atual { color: var(--navy); font-weight: 600; }

/* ── Badge de selo ── */
.selo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.selo-verde  { background: rgba(61,122,92,.12); color: var(--green-badge); border: 1px solid rgba(61,122,92,.25); }
.selo-gold   { background: rgba(201,169,110,.12); color: #8a6820; border: 1px solid rgba(201,169,110,.3); }
.selo-navy   { background: rgba(26,35,50,.08); color: var(--navy); border: 1px solid rgba(26,35,50,.2); }

/* ── Score bar global ── */
.score-bar-wrap { margin-bottom: 8px; }
.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.score-bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width .5s ease;
}

/* ── Alert / Aviso ── */
.aviso {
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.aviso-gold  { background: rgba(201,169,110,.1); border-left: 3px solid var(--gold); color: #7a5c1e; }
.aviso-verde { background: rgba(61,122,92,.08); border-left: 3px solid var(--green-badge); color: var(--forest); }
.aviso-navy  { background: rgba(26,35,50,.06); border-left: 3px solid var(--navy); color: var(--navy); }

/* ── Tabela de specs global ── */
.specs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 10px 12px; }
.specs-table td:first-child { color: var(--text-muted); font-weight: 600; width: 40%; }
.specs-table td:last-child  { color: var(--navy); font-weight: 500; }

/* ── Loading skeleton ── */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, #f0ede8 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: skeleton-load 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-load {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Utilitário: texto truncado ── */
.text-truncate {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ── Utilitário: visually hidden (acessibilidade) ── */
.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;
}
