/* Lockup marque SIAONEP (logo ONEP + wordmark) */
.sia-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.15;
  text-decoration: none;
  color: inherit;
}

/* Taille historique du logo ONEP (width 112 / max-height ~80px) */
.sia-brand__logo {
  display: block;
  width: auto;
  max-width: 112px;
  max-height: 80px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.sia-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.sia-brand__name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: inherit;
}

.sia-brand__canal {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.78;
  margin-top: 0.1rem;
}

.sia-brand__tagline {
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.65;
  margin-top: 0.15rem;
  max-width: 16rem;
}

.sia-brand--sm .sia-brand__logo {
  max-width: 80px;
  max-height: 56px;
}
.sia-brand--sm .sia-brand__name { font-size: 1rem; }

.sia-brand--lg .sia-brand__logo {
  max-width: 160px;
  max-height: 112px;
}
.sia-brand--lg .sia-brand__name { font-size: 1.45rem; }
.sia-brand--lg .sia-brand__tagline { font-size: 0.8rem; max-width: 22rem; }

/* Navbar / menu latéral : logo historique, wordmark bien visible */
.navbar-brand .sia-brand,
.navbar-logo .sia-brand {
  gap: 0.65rem;
  max-width: 100%;
}
.navbar-brand .sia-brand__logo,
.navbar-logo .sia-brand__logo {
  max-width: 112px;
  max-height: 80px;
}
.navbar-brand .sia-brand__name,
.navbar-logo .sia-brand__name {
  font-size: 1.15rem;
  font-weight: 800;
}
.navbar-brand .sia-brand__canal,
.navbar-logo .sia-brand__canal {
  font-size: 0.75rem;
}
.navbar-brand .sia-brand__tagline,
.navbar-logo .sia-brand__tagline {
  display: none;
}

@media (max-width: 575.98px) {
  .sia-brand__tagline { display: none; }
  .navbar-brand .sia-brand__logo,
  .navbar-logo .sia-brand__logo {
    max-width: 96px;
    max-height: 64px;
  }
}
