/* topbar-eg.css v3 — compact, no-wrap garanti */
.eg-topbar {
  background: linear-gradient(90deg, #000F8F 0%, #001cb8 100%);
  color: #fff;
  font: 600 13px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  position: relative;
  z-index: 50;
}
.eg-topbar__wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 5px 8px;
  min-height: 38px;
}

/* ---- Téléphone (toujours sur 1 ligne) ---- */
.eg-topbar__tel {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 0;
}
.eg-topbar__tel:hover,
.eg-topbar__tel:focus { color: #fff; text-decoration: none; opacity: .85; }
.eg-topbar__tel-num {
  white-space: nowrap;
  display: inline-block;
}
.eg-topbar__tel .eg-tel-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #000F8F;
  font-size: 11px;
  flex-shrink: 0;
}

/* ---- Horaires (desktop only) ---- */
.eg-topbar__hours {
  display: none;
  font-weight: 400;
  opacity: .80;
  font-size: 12px;
  letter-spacing: .3px;
  white-space: nowrap;
}

/* ---- Bouton Devis express ---- */
.eg-topbar__devis {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFC700;
  color: #1a1a1a;
  padding: 6px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1px;
  white-space: nowrap;
  transition: background .15s, transform .1s;
  flex-shrink: 0;
}
.eg-topbar__devis:hover,
.eg-topbar__devis:focus {
  background: #ffd633;
  color: #1a1a1a;
  text-decoration: none;
}
.eg-topbar__devis:active { transform: translateY(1px); }
.eg-topbar__devis::before {
  content: "\26A1";
  font-size: 13px;
  line-height: 1;
}

/* "gratuit" caché en mobile (le bouton dit juste "Devis express") */
.eg-topbar__devis-long { display: none; }

/* ---- Desktop ≥ 768px : place pour tout ---- */
@media (min-width: 768px) {
  .eg-topbar__wrap {
    padding: 8px 24px;
    min-height: 42px;
    gap: 12px;
  }
  .eg-topbar__tel { font-size: 16px; gap: 8px; }
  .eg-topbar__tel .eg-tel-ico { width: 26px; height: 26px; font-size: 14px; }
  .eg-topbar__hours {
    display: inline-block;
    flex: 1;
    text-align: center;
    margin: 0 16px;
    font-size: 13px;
  }
  .eg-topbar__devis { font-size: 14px; padding: 9px 16px; }
  .eg-topbar__devis-long { display: inline; }
}

/* ---- Mobile large (>= 410px) : peut afficher "gratuit" ---- */
@media (min-width: 410px) and (max-width: 767px) {
  .eg-topbar__devis-long { display: inline; }
}

/* ---- Très petits écrans (≤ 360px) : ultra compact ---- */
@media (max-width: 360px) {
  .eg-topbar__wrap { padding: 4px 6px; gap: 4px; }
  .eg-topbar__tel { font-size: 12px; gap: 4px; }
  .eg-topbar__tel .eg-tel-ico { width: 18px; height: 18px; font-size: 10px; }
  .eg-topbar__devis { font-size: 11px; padding: 5px 7px; }
}
