/* =========================================================
   TOPBAR PRIMENET — GRADIENTE ROXO OFICIAL
   ========================================================= */

.topbar {
  /* mesmo gradiente do destaque */
  background: linear-gradient(180deg, #4B0053 0%, #2b0031 100%);
  color: #f9fafb;
  font-size: 0.9rem;
  border-bottom: 1px solid #3b003f;

  /* garante que fica acima de tudo */
  position: relative;
  z-index: 1000;
}

.topbar--line {
  /* mantém a classe pra compatibilidade, mas não muda nada extra */
}

/* --------- LAYOUT GERAL --------- */

.topbar-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.45rem 0;
}

/* Lado esquerdo: telefones / WhatsApp */
.top-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(241, 245, 249, 0.9);
  text-decoration: none;
}

.top-item:hover {
  color: #ffffff;
}

/* ícones pequenos (Atendimento, Suporte, telefones etc.) */
.top-ic {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #f9fafb; /* cor base branca */
}

/* força paths/ círculos dos SVG a seguirem a cor do elemento */
.top-ic path,
.top-ic circle,
.top-ic rect,
.top-ic line,
.top-ic polyline {
  stroke: currentColor;
  fill: none;
}

/* Centro: Atendimento / Suporte */
.top-center {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.22);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.86rem;
  white-space: nowrap;
  text-decoration: none;
}

/* Deixa os ícones dos botões roxinho-claro */
.top-pill .top-ic {
  color: #fbbf24;
}

.top-pill:hover {
  border-color: rgba(248, 250, 252, 0.8);
  background: rgba(15, 23, 42, 0.35);
  color: #ffffff;
}

/* Lado direito: redes sociais mini do topo */
.top-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* bolinhas das redes */
.top-social {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(249, 250, 251, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f9fafb;              /* cor dos ícones */
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

/* tamanho dos SVG das redes */
.top-social svg {
  width: 14px;
  height: 14px;
}

/* NÃO mexe mais no fill (pra não dar quadrado branco),
   só deixa o stroke seguir a cor do botão */
.top-social svg path,
.top-social svg circle,
.top-social svg rect,
.top-social svg line,
.top-social svg polyline {
  stroke: currentColor;
  /* fill continua o que vier do próprio SVG (como no footer) */
}

/* hover bonitinho nas redes */
.top-social:hover {
  transform: translateY(-1px);
  border-color: #ffffff;
  background: #ffffff;
  color: #4B0053;              /* ícone roxo quando hover */
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.35);
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 900px) {

  .topbar-inner {
    width: 100%;
    padding: 0.45rem 12px;
    justify-content: center;
    gap: 0.75rem; /* aumenta um pouco o gap para equilibrar */
  }

  .top-left,
  .top-right {
    display: none;
  }

  .top-center {
    justify-content: center;
    width: 100%;
    display: flex;
  }

  .top-center .top-pill {
    width: auto;        /* deixa o flex calcular */
    min-width: auto;    /* remove a largura mínima fixa */
    padding: 0.32rem 0.9rem; /* melhora o conforto visual */
    text-align: center; /* garante alinhamento do texto */
  }
}

