@font-face {
    font-family: 'Bein';
    src: url('../fonts/bein.ttf') format('truetype');
  }
  
  .font-bein {
    font-family: 'Bein', sans-serif;
  }
  
  .btn-float {
    position: absolute;
    bottom: 4%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #7ed65c;
    color: white;
    padding: 4px 16px;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    z-index: 10;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .btn-float:hover {
    background-color: #16a34a; /* green-600 in Tailwind */
  }
  
  .rtl {
    direction: rtl;
}
.bg-gradient-to-r {
    background: linear-gradient(to right, #0098b0, #7dd954);
}
.padding-x-6 {
    padding-left: 80px;
    padding-right: 48px;
}
.padding-tlr-1 {
    padding-top: 1px;
    padding-left: 1px;
    padding-right: 1px;
}
.margin-tlr-1 {
    margin-top: 1px;
    margin-left: 1px;
    margin-right: 1px;
}
/* Base pour les trois boutons */
.nav-button {
height: 100%;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 8px 16px;
font-size: 16px; /* Taille augmentée ici */
font-weight: bold;
border-top-left-radius: 0.75rem;
border-top-right-radius: 0.75rem;
border: 1px solid #19a59e;
position: relative;
min-width: fit-content;
margin-right: 2px;
overflow: hidden;
line-height: 1; /* Évite que le texte dépasse visuellement */
box-sizing: border-box;
}

/* Bouton Accueil */
.nav-button-accueil {
background-color: #e6f1f3;
color: black;
}

/* Boutons verts de base */
.nav-button-vert {
background-color: #69ce63;
color: #fefefe;
transition: color 0.3s ease;
}

/* Overlay d’animation du fond au hover */
.nav-button-vert::before {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 0%;
background-color: #e6f1f3;
z-index: 0;
transition: height 0.3s ease;
}

/* Texte au-dessus de l'overlay */
.nav-button-vert span {
position: relative;
z-index: 1;
text-align: center;
}

/* Animation : montée du fond */
.nav-button-vert:hover::before {
height: 100%;
}

/* Animation : texte devient noir */
.nav-button-vert:hover span {
color: black;
}

.nav-button,
.nav-button-accueil,
.nav-button-vert {
border-bottom: none;
}

.image-90 {
    width: 90%;
    height: 90%;
    object-fit: contain;
  }

  .recherche-container {
    position: relative;
    width: 100%;
    height: 40vh;
    margin-bottom: 1rem;
  }
  
  .recherche-background {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
  }
  
  .recherche-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .recherche-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
  }
  
  .recherche-button {
    margin-top: auto;
    margin-bottom: 8px;
    padding: 8px 16px;
    background-color: #0098b0;
    color: white;
    font-size: 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .recherche-button:hover {
    background-color: #0d8395;
  }
  .espace-container {
    position: relative;
    width: 100%;
    height: 40vh;
    margin-bottom: 1rem;
  }
  
  .espace-background {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
  }
  
  .espace-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .espace-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
  }
  
  .espace-button {
    margin-top: auto;
    margin-bottom: 8px;
    padding: 8px 16px;
    background-color: #7ed65c;
    color: white;
    font-size: 1.125rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .espace-button:hover {
    background-color: #16a34a;
  }
  .BTP {
    background-image: url('../images/BTP_3.png');
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    border: none;
}

.BG_PHARMACIE {
  background-image: url('../images/BG_pharma_1.png');
  background-size: cover;
  background-position: top left;
  background-repeat: no-repeat;
  border: none;
}
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    padding: 10px;
    text-align: center;
    background-color: white;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
