/* Marque « Portail UDSP » — HTML + Bootstrap Icons (pas de PNG : évite damier / transparence). */

.portail-udsp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  line-height: 1.1;
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  white-space: nowrap;
}

.portail-udsp-flame {
  flex-shrink: 0;
  font-size: 1.2em;
  line-height: 1;
  color: #004080;
}

.portail-udsp-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.portail-udsp-t1 {
  color: #004080;
}

.portail-udsp-t2 {
  color: #c8102e;
  margin-left: 0.08em;
}

/* Barre supérieure (~40px), titre centré */
.portail-udsp-brand--header {
  font-size: clamp(0.78rem, 2.2vw, 0.95rem);
  max-width: min(280px, 42vw);
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-header .navbar-title-center .portail-udsp-brand--header {
  max-height: 28px;
}

/* Cartes de connexion */
.portail-udsp-brand--login {
  font-size: 1.42rem;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Pied de page : même marque que le header (icône + Portail UDSP), taille compacte */
.portail-udsp-brand--footer {
  font-size: 0.78rem;
  line-height: 1;
  flex-shrink: 1;
  min-width: 0;
  max-width: min(240px, 55vw);
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-footer .portail-udsp-brand--footer .portail-udsp-flame {
  font-size: 1.1em;
}
