/* Pastille sous le nom : « Entreprise nettoyage de vitres - La Rochelle » (variante C). */
:root { --brand-lr: #5ec4f5; }

.brand-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  line-height: 1.15;
}
.brand-name {
  display: block;
  white-space: nowrap;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.brand-place {
  display: inline-block;
  box-sizing: border-box;
  color: var(--brand-lr);
  font-family: var(--font, 'DM Sans', system-ui, sans-serif);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
  border: 1px solid var(--brand-lr);
  border-radius: 999px;
  padding: 2px 9px;
  width: auto;
  max-width: 100%;
}

/* Accueil : pastille dans la barre flottante */
.nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  white-space: normal;
  max-width: min(100%, 22rem);
}
.nav { min-height: 76px; height: auto; }

/* Accueil mobile : pastille dans le bandeau sur la photo */
.app-title > span,
.app-title .brand-txt {
  min-width: 0;
  flex: 1 1 auto;
}
.app-title .brand-place {
  margin-top: 2px;
  font-size: .72rem;
  padding: 3px 10px;
}

/* Pages intérieures + parcours devis */
.top .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  white-space: normal;
}
.top .brand-txt { gap: 1px; }

@media (max-width: 420px) {
  .brand-name { white-space: nowrap; }
  .top .brand { gap: 8px; }
  .top .brand-place {
    font-size: .6rem;
    padding: 2px 7px;
    /* wrap to the name width so the bouton « Devis gratuit » stays on the same row */
    width: 0;
    min-width: 100%;
  }
}
