.carte-entreprise-accueil {
  flex: 0 0 380px !important;
  width: 380px !important;
  max-width: 380px !important;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: #fff;
  overflow: hidden;
  position: relative;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  
}
.carte-entreprise-accueil .entete-entreprise {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.carte-entreprise-accueil .bloc-gauche {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1px;
    min-width: 0; 
}

.carte-entreprise-accueil .logo-entreprise {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.carte-entreprise-accueil .nom-entreprise {
    flex: 1;
    min-width: 0;
}

.carte-entreprise-accueil .nom-entreprise h3 {
  font-family: "Chantilly", Sans-serif;
    font-size: 1.2em!important;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carte-entreprise-accueil .heart {
    flex-shrink: 0;
    margin-left: 8px;
}

.carte-entreprise-accueil:hover {
  transform: translateY(-3px);
}

.carte-entreprise-accueil .avis-ligne {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}
.carte-entreprise-accueil .categorie-ligne {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #444;
    font-size: 14px;
}

.carte-entreprise-accueil .icone-categorie {
    width: 15px;
    height: 15px;
    object-fit: contain;
    display: inline-block;
}

.carte-entreprise-accueil .note-entreprise {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.carte-entreprise-accueil .note-stars {
    display: flex !important; 
    gap: 2px;
}

.carte-entreprise-accueil .note-score,
.carte-entreprise-accueil .note-total {
    font-size: 14px;
    line-height: 1;
}

.carte-entreprise-accueil .note-total {
    color: #555;
}


.entete-entreprise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.entete-entreprise .bloc-gauche {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 1;
}

.entete-entreprise img.logo-entreprise {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid #eee;
  background: #fff;
}


@media (max-width: 768px) {
  .carte-entreprise-accueil {
    flex: 0 0 320px !important;
    max-width: 320px !important;
    padding: 10px 12px;
  }

  .entete-entreprise img.logo-entreprise {
    width: 50px;
    height: 50px;
  }

  .entete-entreprise .nom-entreprise h3 {
    font-size: 15px;
  }
}
.carte-entreprise-accueil .ligne-separation {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 8px 0;
}


.entete-entreprise .nom-entreprise h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.entete-entreprise .heart {

  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.badges-ligne {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.badge-role,
.badge-mois {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 5px;
  font-weight: 500;
}

.badge-president {
  background: #2acb3d;
  color: #fff;
}
.badge-super {
  background: #2acb3d;
  color: #fff;
}
.badge-mois {
  border: 2px solid #2acb3d;
  color: #444;
}

/* --- Métier + Catégorie --- */
.metier.ellipsis {
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.categorie-ligne {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
}

/* --- Avis --- */
.avis-ligne {
  margin: 4px 0;
  font-size: 14px;
}

/* --- Galerie --- */
.custom-gallery {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.custom-gallery img {
  width: calc(50% - 3px);
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
}

/* === MOBILE === */
@media (max-width: 768px) {
  .carte-entreprise-accueil {
    flex: 0 0 320px !important;
    max-width: 320px !important;
    padding: 10px 12px;
  }

  

  .entete-entreprise .nom-entreprise h3 {
    font-size: 15px;
  }
}
.btn-favoris-carte {    background: none !important;}



.carousel-container-v3.is-at-start .carousel-arrow.left,
.carousel-container-v3.is-at-end .carousel-arrow.right {
  opacity: 0 !important;
  pointer-events: none !important;
}


/* === CONTAINER PRINCIPAL === */
.carousel-container-v3 {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px; /* espace pour les flèches */
}

.carousel-v3 {
  display: flex;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 18px;
}


.carousel-v3::-webkit-scrollbar {
  display: none; /* on masque la barre horizontale */
}

/* === CHAQUE CARTE === */
.carousel-v3 > .carte-entreprise-accueil {
  flex: 0 0 360px;
  max-width: 360px;
  scroll-snap-align: start;
  box-sizing: border-box;
  transition: transform 0.25s ease;
  margin-top: 25px;
}
.carousel-v3 > .carte-entreprise-accueil:hover {
  transform: translateY(-3px);
}

/* === FLÈCHES SOUS LE CARROUSEL === */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  position: relative;
}

.carousel-nav .carousel-arrow {
  all: unset;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.carousel-nav .carousel-arrow:hover {
  background: rgba




