/* 
vert : c0f021 - 
gris : 333 - 
gris clair : 555 - 
gris transparent : rgba(51, 51, 51, 1) - 
noir transparent: rgba(0, 0, 0, 0.3) - 
vert transparent : rgba(192, 240, 33, 0.5);
*/

/* ================================================================= */
/* =================== Global Reset & Base Styles ================== */
/* ================================================================= */




/* Appliquer box-sizing à tous les éléments */
* {
    box-sizing: border-box;
}

/* Configuration de base pour html et body */
html, body {
    overflow-x: hidden;
    width: 100%;
    font-family: Arial, sans-serif;
    background-color: #FFF;
    margin: 0;
    padding: 0;
}

/* ================================================================= */
/* ==================== Header & Titres (Global) ===================== */
/* ================================================================= */

/* Style pour H2 */
h2 {
    font-size: 1.5em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
}

/* Style pour H3 */
h3 {
    background-color: #333;
    color: lightgrey;
    padding: 10px;
    text-align: left;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    font-size: 14px;
    border-top: 1px solid #c0f021;
    border-bottom: 1px solid #c0f021;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

h5 {
   padding:0;
    text-align: left;
  color: black;
    width: 100%;
   
    font-size: 12px;
   
}



.card {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
  width: 99%;
  display: flex;
  align-items: flex-start;
    margin-top:5px;
      position: relative;

}

.card img {
      order: 2;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: solid 0px #333;
    margin-right: 5px;
    margin-left: 0px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Ombre portée */
    }

.card img {
  position: absolute;
  top: 5px;
  right: 0px;
  width: auto;
  
  
}

.card-info {
      flex: 1;
    }
.card-info h2 {
      margin: 0 0 10px;
      font-size: 1.8em;
    }
.card-info p {
      margin: 0 0 2px;
      color: #555;
      font-size: 1em;
    }

/* ================================================================= */
/* ====================== Inputs & Search Container ================== */
/* ================================================================= */

/* Styles généraux pour inputs, select et textarea */
input, select, textarea {
    font-size: 18px;
}

/* Conteneur de recherche principal */
.search-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    background-color: white;
    padding: 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-top: 40px;
    text-align: left;
}

/* Éléments dans le conteneur de recherche */
.search-container input[type="text"],
.search-container input[type="range"],
.search-container button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Input range */
.search-container input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    background: transparent;
}
.search-container input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #333;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.search-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #333;
    cursor: pointer;
    margin-top: -6px;
}
.search-container input[type="range"]::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: #333;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.search-container input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #333;
    cursor: pointer;
}
.search-container input[type="range"]:focus {
    outline: none;
}

.search-container button {
    background-color: #000;
    color: #c3f223;
    border: none;
    cursor: pointer;
}
.search-container button:hover {
    background-color: #333;
}

/* Layout des champs de recherche */
.search-fields {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}
.search-fields .input-container {
    position: relative;
    flex: 1;
}
.input-container input {
    width: 100%;
    padding-right: 40px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Bouton Clear pour les inputs */
.clear-btn {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    display: none;
    width: 40px; /* Fixe la largeur du bouton */
    height: 40px; /* Fixe la hauteur du bouton */
    line-height: 15px; /* Centre la croix verticalement */
    text-align: center; /* Centre la croix horizontalement */
    z-index: 1100; /* Ajout d'un z-index élevé */
}


.clear-btn:hover {
    color: #fff;
    background: transparent;
    display: none;
}



.input-container input[type="text"]:focus ~ .clear-btn,
.input-container input[type="text"]:not(:placeholder-shown) ~ .clear-btn {
    display: block !important;
}



/* Bouton de recherche (lien) */
.search-btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    outline: none;
}
.search-btn {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* ================================================================= */
/* ==================== Fixed Menu & Navigation ====================== */
/* ================================================================= */

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    z-index: 10000;
}
.namepro {
    font-size: 1.2rem !important;
    color: #333 !important;
    margin-bottom: 10px !important;
    font-weight: bold !important;
}
.nameproweb {
    font-size: 1.6rem !important;
    color: #333 !important;
    margin-bottom: 10px !important;
    font-weight: bold !important;
}

.logo img {
    max-height: 50px;
    width: auto;
}
.menu-items {
    display: flex;
    margin-right: 20px;
}
.menu-items a {
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    font-weight: normal;
}
.menu-items a:hover {
    background: #555;
}
.icon-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 10px;
    gap: 15px;
}
.icon-loupe img {
    height: 30px;
    width: auto;
}
.burger {
    display: none;
    cursor: pointer;
    z-index: 2000;
}
.burger img {
    height: 30px;
    width: auto;
    cursor: pointer;
}

/* ================================================================= */
/* ========================= Back to Top =========================== */
/* ================================================================= */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 20px;
    height: 40px;
    color: #fff;
    background-color: rgba(51,51,51,0.7);
    border: 1px solid #FFF;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 2000;
}
.back-to-top:hover {
    background-color: rgba(51,51,51,0.7);
}

/* ================================================================= */
/* ========================== Pagination =========================== */
/* ================================================================= */

.pagination {
    text-align: center;
    margin: 10px auto;
    font-size: 0.9em;
}
.pagination a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s, color 0.3s;
}
.pagination a:hover {
    background-color: #f0f0f0;
}
.pagination a.active {
    background-color: #000;
    color: #c0f021;
    border-color: #555;
}

/* ================================================================= */
/* =================== Autocomplete Suggestions ====================== */
/* ================================================================= */

#suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
    z-index: 999;
    max-height: 200px;
    overflow-y: auto;
}
.autocomplete-suggestion {
    padding: 8px 10px;
    cursor: pointer;
}
.autocomplete-suggestion:hover {
    background-color: #eee;
}

/* ================================================================= */
/* ========================= Responsive ============================== */
/* ================================================================= */
@media screen and (max-width: 768px) {
  
    
    
    .results, .search-container {
        width: 100%;
        padding-top: 40px;
        text-align: left;
    }
    .results {
        padding: 0 5px;
    }
    .search-container input, .search-container .rechercher {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }
    .search-container .rechercher {
        background-color: #000;
        color: #c3f223;
        border: none;
        cursor: pointer;
        border-radius: 5px;
    }
    .search-container .rechercher:hover {
        background-color: #333;
    }
    .search-container .clear-btn {
        width: 10% !important;
        padding: 10px;
        font-size: 16px;
    }
    .search-fields {
        flex-direction: column;
        gap: 15px;
    }
    .search-fields .input-container {
        width: 100%;
    }
    .input-container input {
        padding-right: 35px;
    }
   
    h3 {
        background-color: #333;
        color: lightgrey;
        padding: 10px;
        text-align: left;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
        margin: 0 !important;
        font-size: 14px;
    }
    .menu-items {
        display: none;
        position: absolute;
        top: 75px;
        right: 20px;
        background: #333;
        flex-direction: column;
        z-index: 999;
        font-size: 20px;
        line-height: 1;
        width: 100%;
        height: 200px;
        text-align: left;
        left: 0;
        background-color: rgba(51,51,51,1);
        box-shadow: 0px 4px 10px rgba(0,0,0,0.9);
        padding-left: 20px;
    }
    .burger {
        display: block;
        margin-left: auto;
        margin-right: 10px;
    }
    .menu-items.show {
        display: flex;
    }
    .icon-right {
        gap: 0;
    }
}

/* ================================================================= */
/* ======================== ICON BUTTONS =========================== */
/* ================================================================= */

/* Bouton message */
.icon-btn-message {
    width: 30px;
    height: 30px;
    background: url('../_imgs/iconesSociaux.gif') no-repeat -242px -40px transparent;
    background-size: 512px 76.5px;
    border: none;
    cursor: pointer;
}
.icon-btn-message:hover,
.icon-btn-message:focus,
.icon-btn-message:active {
    background-position: -242px -3px !important;
}

/* Bouton Facebook */
.icon-btn-facebook {
    width: 30px;
    height: 30px;
    background: url('../_imgs/iconesSociaux.gif') no-repeat -5px -40px transparent;
    background-size: 512px 76.5px;
    border: none;
    cursor: pointer;
}
.icon-btn-facebook:hover,
.icon-btn-facebook:focus,
.icon-btn-facebook:active {
    background-position: -5px -3px !important;
}

/* Bouton Instagram */
.icon-btn-insta {
    width: 30px;
    height: 30px;
    background: url('../_imgs/iconesSociaux.gif') no-repeat -140px -40px transparent;
    background-size: 512px 76.5px;
    border: none;
    cursor: pointer;
}
.icon-btn-insta:hover,
.icon-btn-insta:focus,
.icon-btn-insta:active {
    background-position: -140px -3px !important;
}

/* Bouton X */
.icon-btn-x {
    width: 30px;
    height: 30px;
    background: url('../_imgs/iconesSociaux.gif') no-repeat -72px -40px transparent;
    background-size: 512px 76.5px;
    border: none;
    cursor: pointer;
}
.icon-btn-x:hover,
.icon-btn-x:focus,
.icon-btn-x:active {
    background-position: -72px -3px !important;
}

/* Bouton LinkedIn */
.icon-btn-linkedin {
    width: 30px;
    height: 30px;
    background: url('../_imgs/iconesSociaux.gif') no-repeat -445px -40px transparent;
    background-size: 512px 76.5px;
    border: none;
    cursor: pointer;
}
.icon-btn-linkedin:hover,
.icon-btn-linkedin:focus,
.icon-btn-linkedin:active {
    background-position: -445px -3px !important;
}

/* Bouton Goto */
.icon-btn-goto {
    padding-top: 5px;
    width: 20px;
    height: 20px;
    background: url('../_imgs/iconesSociaux.gif') no-repeat -275px -28px transparent;
    background-size: 341.33px 51px;
    border: none;
    cursor: pointer;
}
.icon-btn-goto:hover,
.icon-btn-goto:focus,
.icon-btn-goto:active {
    background-position: -275px -3px !important;
}

.planAller {
    display: block; max-width: 150px; height: auto;
    
}
.go-button {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 10px; /* plus d'espace horizontal pour créer un effet plus large */
    background-color: rgba(255,255,255, 0.5); /* fond semi-transparent */
    color: #000; /* texte en noir */
    text-decoration: none;
    border-radius: 10px; /* arrondi pour un effet oval */
    border: 1px solid #000; /* contour noir */
    margin-left:10px;
}


/* ================================================================== */
/* ======================= TELEPHONES AFFICHAGE ===================== */
/* ================================================================== */

.toggle-phone{
    background-color: #fff !important;
    color: #000 !important;
    padding: 10px 15px!important;
    border-radius: 3rem !important; 
    cursor: pointer!important;
    font-size: 16px!important;
    transition: background-color 0.3s ease!important;
    border: 1px solid #333 !important;
    margin-bottom:5px!important;
    z-index:1000;
    text-decoration: none;
}

.toggle-phone:hover {
  background-color: #333 !important;  color: #FFF !important;

}

.phone-numbers {margin-top:10px;}


.phone-number {
  display: flex;
  align-items: left; /* Centre verticalement l'icône et le texte */
  justify-content: center;
  height: 38px;
  border: 1px solid #000 !important;
  background-color: #FFF !important;
  color: #000 !important;
  border-radius: 3rem !important;
  font-size: 16px !important;
  margin: 0 !important;
  /* Vous pouvez ajuster ou supprimer line-height si nécessaire */
margin-bottom:20px !important;
      padding: 0 15px 5px 0 !important;

}


.phone-icon {
  display: inline-flex;          /* Permet de centrer le contenu */
  align-items: center;
  justify-content: center;
  margin-right: 5px !important;
  width: 38px !important;
  height: 38px !important;
  background-color: #000 !important;  /* Fond noir */
  color: #fff !important;             /* Icône en blanc */
  border-radius: 50% !important;      /* Forme circulaire */
  font-size: 18px !important;         /* Taille de l'icône */
}

.phone-number a {
    text-decoration: none; /* Pas de soulignement */
    color: black;          /* Couleur par défaut en noir */
    font-size: 18px;
}

.phone-number a:hover {
    color: green;          /* Couleur au survol en vert */
}




/* ================================================================= */
/* ======================== ETOILES RATING =========================== */
/* ================================================================= */
.rating {
      display: inline-flex;
      flex-direction: row;
      cursor: pointer;
    }
.rating i {
      font-size: 1rem;
      color: #ccc;
      margin: 0 4px;
      transition: color 0.2s;
    }
.rating i.active {
      color: #dbb005;
    }

/* ================================================================= */
/* =================== Fiche du Professionnel Styles ================= */
/* ================================================================= */

/* Conteneur général de la fiche */
.fiche-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    background-color: white;
    padding: 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding-top: 0;
    text-align: left;
}

/* Styles pour la fiche du professionnel */
.fiche-pro {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background-color: #fff;
}
.fiche-pro h1 {
    margin-top: 0;
}

/* Logo dans la fiche */
.fiche-pro img.logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    margin-top: 0px;
    padding: 0;
    float: right; /* aligne l'image à droite */
    z-index:500;
}

/* Informations d'adresse avec icône */
.fiche-pro .info-adresse {
    margin-bottom: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ================================================================= */
/* ========================= Galerie Swiper ======================== */
/* ================================================================= */

.swiper {
    width: 100%;
    height: 90%;
    margin-top: 20px;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}
.swiper-pagination {
    bottom: 40px !important;
}
.swiper-pagination-bullet-active {
    background: #fff !important;
}
.swiper-button-next:after,
.swiper-button-prev:after {
    content: "" !important;
}
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(0);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.swiper-button-next,
.swiper-button-next:active {
    right: 10px;
    background-image: url('../_imgs/fleche-droite.png');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
}
.swiper-button-prev,
.swiper-button-prev:active {
    left: 10px;
    background-image: url('../_imgs/fleche-gauche.png');
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
}
.swiper-button-next:hover,
.swiper-button-next:focus {
    background-image: url('../_imgs/fleche-droite-hover.png') !important;
}
.swiper-button-prev:hover,
.swiper-button-prev:focus {
    background-image: url('../_imgs/fleche-gauche-hover.png') !important;
}
.caption {
  position: absolute;
  top: 10px;
  left: 10px; /* positionnez selon vos besoins */
  /*display: inline-block;*/
  width: 100%;
  text-align: left;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  padding: 5px;
  background: rgba(255, 255, 255, 0.6);
}
/* ================================================================= */
/* ====================== Fiche Detail Section ======================= */
/* ================================================================= */

.ficheDetail {
    width: 100%;
    max-width: 800px;
    margin: 0;
    background-color: white;
    padding: 0 10px;
    border-radius: 5px;
    padding-top: 10px;
    text-align: left;
}

/* Liens et boutons dans la fiche detail 
.links {
    position: relative;
    top: -20px;
    left: 0;
    border: 0;
    z-index: 50;
    width: 240px;
}
*/
.fichePhone {
    background-color: #333 !important;
    color: #FFF !important;
    padding: 5px 10px !important;
    border-radius: 3rem !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: background-color 0.3s ease !important;
    border: 1px solid #333 !important;
    margin-bottom: 5px !important;
}
.fichePhone:hover { }
.fichePhone-icon {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px !important;
    width: 28px !important;
    height: 28px !important;
    padding-bottom: 2px !important;
}

.NamePro {
    color: #000;
    padding: 0 0 5px 0;
    text-align: left;
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    font-size: 30px;
}

.txt-description {
    display: inline;
    margin: 0;
    font-size: 15px;
    font-style: italic;
}

.web-link-container,
.contact-link-container,
.address-link-container {
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.web-link {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}
.web-link:hover {
    text-decoration: none;
    color: #272626;
}

/* ================================================================= */
/* ================= Responsive Styles for Fiche Detail ============= */
/* ================================================================= */
@media screen and (max-width: 768px) {
    .fiche-pro .swiper {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
       /* Logo dans la fiche */
    .fiche-pro img.logo {
        position: absolute;
        top: 220px;
        right: 50px;
        transform: translateX(30%);
        z-index: 10;
        width: 110px;
        border: solid 1px #000;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }
    
   .ficheDetail {
    width: 100%;
    max-width: 800px;
    margin: 0;
    background-color: white;
    padding: 0 10px;
    border-radius: 5px;
    padding-top: 0;
    text-align: left;
}
   
    
   .swiper {
    width: 100% !important;
    height: 190px!important;
   
}
}

/* ================================================================= */
/* ======================= Footer======== ========================== */
/* ================================================================= */

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}


/* ================================================================= */
/* ======================= Fin Combined CSS ========================== */
/* ================================================================= */



.space{padding-bottom:30px;}

.lien-elegant {
  position: relative;
  display: inline-block;
  color: #000; /* Bleu profond */
  text-decoration: none;
  font-weight: 500;  padding-left: 1.2em; /* espace pour la flèche */

  transition: color 0.3s ease;
}

.lien-elegant::before {
  content: "➤"; /* ou "→", "›", "⮞", etc. */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9em;
  color: #000;
  transition: transform 0.3s ease;
}

.lien-elegant::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #666;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.lien-elegant:hover {
  color: #000; /* Bleu foncé au survol */
    font-weight: bold;
}

.lien-elegant:hover::after {
  transform: scaleX(1);
}



 
