  /* === Correction Alignement Header === */

/* Aligne verticalement tout le contenu du header */
#header-sticky .row.align-items-center {
  min-height: 90px; /* augmente légèrement la hauteur */
  display: flex;
  align-items: center;
}

/* Bloc du logo */
.tv-header-logo img {
  height: 55px; /* ajuste selon ton logo carré */
  width: auto;
}

/* Texte à côté du logo */
.logo-text span:first-child {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.logo-text span:last-child {
  font-size: 12px;
  color: gray;
  margin-top: 2px; /* espace entre les deux lignes */
}

/* Bloc de droite (bouton devis, loupe, burger) */
.tv-header-right-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.tv-header-right-action .tv-btn-primary {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: 30px;
}

/* Centrage parfait des icônes */
.tv-header-right-action .tv-header-search,
.tv-header-right-action .tv-header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
}

/* Supprimer fond bleu lors du scroll */
#header-sticky.header-style-1.is-sticky {
  background-color: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#header-sticky.header-style-1.is-sticky a,
#header-sticky.header-style-1.is-sticky .logo-text span {
  color: #000 !important;
}

/* Ajustement pour mobile */
@media (max-width: 767px) {
  .logo-text {
    display: inline-block; /* pour que le texte reste sur une seule ligne */
    flex-direction: row; /* optionnel, peut être retiré */
  }

  .logo-text span {
    display: inline;  /* les mots restent sur la même ligne */
    margin: 0;        /* supprime tout margin inutile */
    padding: 0;
    white-space: nowrap; /* empêche le retour à la ligne */
  }

  .logo-text span:first-child {
    font-size: 14px;
    font-weight: 700;
  }

  .logo-text span:last-child {
    font-size: 12px;
    color: gray;
    margin-left: 2px; /* petit espace seulement entre les mots */
  }
}
/* Assure que la dernière colonne prend toute la hauteur de la ligne et reste sur la même ligne */
#header-sticky .tv-header-right-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

/* Ajuste les boutons internes */
.tv-header-right-action .tv-btn-primary,
.tv-header-right-action .tv-header-search,
.tv-header-right-action .tv-header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

/* Fix mobile */
@media (max-width: 1199px) {
  .tv-header-right-action .tv-btn-primary {
    display: none; /* cache bouton devis sur mobile */
  }
  .tv-header-right-action .tv-header-bar {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
}
/* Masquer sur desktop (largeur >= 992px) */
@media (min-width: 992px) {
  .tv-header-right-action-mobile {
    display: none !important;
  }
}

/* Afficher sur mobile (largeur < 992px) */
@media (max-width: 991px) {
  .tv-header-right-action-mobile {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }
}
