/* Text logo (brand from domain) */
.text-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  text-decoration: none;
}
.text-logo__mark {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--default-font);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}
.text-logo__name {
  font-family: var(--default-font);
  font-weight: 800;
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.1;
  letter-spacing: .05em;
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}
.text-logo--light .text-logo__name {
  color: var(--white-color);
}
@media (max-width: 575px) {
  .navbar-brand .text-logo__name {
    max-width: 190px;
  }
}

/* Anchor offsets under the sticky header */
#accueil, #about, #services, #pourquoi, #methode, #cas-pratiques,
#valeurs, #outils, #faq, #temoignages, #articles, #contact {
  scroll-margin-top: 120px;
}

/* Preloader brand letter */
#loading-icon img {
  width: 50px;
}

/* Footer disclaimer instead of newsletter form */
.footer-newsletter-form .footer-note {
  margin-bottom: 0;
}

/* Legal modals */
.footer-menu a[role="button"] {
  cursor: pointer;
}
.legal-modal .modal-content {
  border-radius: 16px;
  padding: 12px;
}
.legal-modal .modal-title {
  font-size: 22px;
}
.legal-modal .modal-body h6 {
  font-size: 17px;
  margin: 18px 0 8px;
}
.legal-modal .modal-body h6:first-child {
  margin-top: 0;
}
.legal-modal .modal-body p {
  margin-bottom: 12px;
}
.legal-modal .modal-body ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-modal .modal-body li {
  list-style: disc;
  margin-bottom: 6px;
}

/* circle-progress starts with a 100px canvas and shrinks to 90px after init:
   the layout jump breaks anchor positions, so lock the final size */
.why-choose-counter .circle canvas {
  width: 90px !important;
  height: 90px !important;
}

/* French: no Title Case on menus, buttons and labels */
body *:not(.text-uppercase) {
  text-transform: none !important;
}
