/* Polices Unicons désactivées en production - utilisation de Font Awesome uniquement */

/* Correction des chemins des polices Unicons du style.css principal */
@font-face {
  font-family: 'Unicons';
  src: url('../fonts/unicons/Unicons.woff2') format('woff2'),
       url('../fonts/unicons/Unicons.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.uil, [class^="uil-"], [class*=" uil-"] {
  font-family: 'Unicons', 'Font Awesome 5 Free', 'Font Awesome 5 Brands', 'Font Awesome 6 Free', 'Font Awesome 6 Brands', sans-serif !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Réduction de la taille des icônes dans la barre du haut */
.bg-primary .icon {
  font-size: 18px !important;
}

.bg-primary .icon i {
  font-size: 18px !important;
}

/* Réduction de la taille des icônes dans le menu de navigation */
.navbar .nav-link i {
  font-size: 16px !important;
}

.navbar .dropdown-toggle i {
  font-size: 16px !important;
}

/* Codes Unicode Unicons avec fallback Font Awesome */
.uil-phone-volume:before {
  content: "\ea8c" "\f095";
}

.uil-envelope:before {
  content: "\ea8d" "\f0e0";
}

.uil-star:before {
  content: "\ea8e" "\f005";
}

.uil-user:before {
  content: "\ea8f" "\f007";
}

.uil-eye:before {
  content: "\ea90" "\f06e";
}

.uil-facebook-f:before {
  content: "\ea91" "\f39e";
}

.uil-phone:before {
  content: "\ea92" "\f3cd";
}

/* Règle globale pour forcer l'affichage du bouton */
.floating-phone-button,
.floating-phone-button * {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Bouton flottant discret en bas à gauche */
.floating-phone-button {
  position: fixed !important;
  left: 20px !important;
  bottom: 20px !important;
  background: linear-gradient(135deg, #8bc34a, #689f38) !important;
  color: white !important;
  border-radius: 50px !important;
  padding: 15px 20px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 200px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.floating-phone-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: white;
}

.floating-phone-button .phone-icon {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.floating-phone-button .phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.floating-phone-button .phone-number {
  font-weight: 600;
  font-size: 15px;
}

.floating-phone-button .callback-text {
  font-size: 12px;
  opacity: 0.9;
}

/* Responsive - adaptation pour mobile */
@media (max-width: 768px) {
  .floating-phone-button {
    display: flex !important;
    left: 15px !important;
    bottom: 15px !important;
    padding: 12px 16px !important;
    min-width: 180px !important;
    font-size: 14px !important;
    z-index: 99999 !important;
    background: linear-gradient(135deg, #8bc34a, #689f38) !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: fixed !important;
  }
  
  .floating-phone-button .phone-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
  
  .floating-phone-button .phone-number {
    font-size: 14px !important;
    font-weight: 600 !important;
  }
  
  .floating-phone-button .callback-text {
    font-size: 12px !important;
  }
}

/* Styles pour très petits écrans (smartphones) */
@media (max-width: 480px) {
  .floating-phone-button {
    left: 10px !important;
    bottom: 10px !important;
    padding: 10px 14px !important;
    min-width: 160px !important;
    font-size: 13px !important;
    background: linear-gradient(135deg, #8bc34a, #689f38) !important;
    position: fixed !important;
    z-index: 99999 !important;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .floating-phone-button .phone-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }
  
  .floating-phone-button .phone-number {
    font-size: 13px !important;
    font-weight: 600 !important;
  }
  
  .floating-phone-button .callback-text {
    font-size: 11px !important;
  }
}

