* {
  font-family: "Syne", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 10vh);
  margin-bottom: 2vh;
}

.descTitre {
  font-size: clamp(1rem, 1.6vw, 1.6vh);
  max-width: 60%;
}

.headerContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 20px;
  position: relative;
  flex-wrap: wrap;
  min-width: 0;
}

.alert-flash {
  background: linear-gradient(to right, #28a745, #218838);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  margin: 20px auto;
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease-out;
  position: relative;
  z-index: 10;
}

/* Optionnel : petite animation d’apparition */
.alert-flash::before {
  content: "✔ ";
  font-weight: bold;
}

/* Extension de la modal Bootstrap pour la rendre plus large */
.modal-dialog.wider-modal {
  max-width: 1200px;
  width: 90%;
}


.button-container {
  display: flex; /* Utilisation de flexbox pour centrer le bouton */
  justify-content: center; /* Centre le bouton horizontalement */
  width: 100%; /* S'assure que le conteneur prend toute la largeur */
}

.liTitre {
  display: flex;
  list-style-type: none;
  gap: 15px;
  z-index: 2;
}

.liTitre li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-size: clamp(0.9rem, 1vw, 1.2rem);
  white-space: nowrap;
}



a{
  color: #fbfafa;
  text-decoration: none;
}

.titreHeader {
  text-align: center;
  font-size: clamp(1.3rem, 4vw, 30px);
  font-weight: 800;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .modal-full-mobile {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
  }

  .modal-content {
    
    border-radius: 0;
    margin-left: 2vw;
    margin-right: 2vw;
    max-height: 90vh;
    overflow-y: auto;
  }
}


.divider {
  width: 75%;
  margin: 0.5rem auto 0.5rem auto; /* centré + un peu d'espace en bas */
  border: none;
  border-top: 2px solid #333; /* ou une autre couleur plus douce */
  opacity: 0.4;
}

.connexion {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: #fff;
  border: none;
  padding: clamp(4px, 1vw, 5px) clamp(10px, 2vw, 25px);
  border-radius: 20px;
  cursor: pointer;
  font-size: clamp(1rem, 2vw, 2vh);
  background-color: #000000;
  font-weight: bold;
  white-space: nowrap;
  
  
}



.centrePage {
  display: flex;
  justify-content: center;
  margin-top: clamp(1vh, 2vh, 3vh);
  padding: 0 ;
}

.divTitre {
  width: 100%;
  height: clamp(50vh, 70vh, 80vh);
  background-image: url("./assets/img/descImg.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  color: #ffffff;
  padding: 20px;
  position: relative;
  margin-bottom: 2vh;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden; /* important pour ne pas déborder */
}
.divTitreTel {
  width: 100%;
  height: 90vh;
  background-image: url("assets/img/tel_index.png");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 20px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden; /* important pour ne pas déborder */
}

.transform-hover {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.transform-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

.service-icon-wrapper {
  height: 100px;
  width: 100px;
  margin: 0 auto;
  background: rgba(226, 111, 11, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.card:hover .service-icon-wrapper {
  background: rgba(226, 111, 11, 0.2);
  transform: scale(1.1);
}

.service-hover-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #e26f0b;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.card:hover .service-hover-effect {
  transform: scaleX(1);
}


.divTel {
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 20px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden; /* important pour ne pas déborder */
}
.divTel1 {
  background-image: url("assets/img/cuisine_tel.png");
}

.divTel2 {
  background-image: url("assets/img/chasse.jpg");
  background-size: contain; /* exception gérée ici */
}

.divTel3 {
  
  background-image: url("assets/img/poche_tel.png");
 
}
.divTel4 {
  
  background-image: url("assets/img/survie.jpg");
  background-size: contain; /* exception gérée ici */

 
}





.divTitre::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.30); /* Opacité ajustable */
  border-radius: 20px;
  z-index: 0;
}

/* Pour que le texte passe au-dessus de l'overlay */
.divTitre > * {
  position: relative;
  z-index: 1;
}




/* From Uiverse.io by cssbuttons-io */ 
button {
  padding: 1.3em 3em;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: #ffffff;
  background-color: #000000;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}

button:hover {
  background-color: #e26f0b;
  box-shadow: 0px 15px 20px rgba(116, 74, 7, 0.4);
  color: #fff;
  transform: translateY(-7px);
}

button:active {
  transform: translateY(-1px);
}

.button1 {
  padding: 0.8em 2em;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: #ffffff;
  background-color: #e26f0b;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}

.button1:hover {
  background-color: #000000;
  box-shadow: 0px 15px 20px rgba(116, 74, 7, 0.4);
  color: #fff;
  transform: translateY(-7px);
}

.button1:active {
  transform: translateY(-1px);
}





.divTitreP {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-bottom: clamp(2vh, 5vh, 9vh);
  margin-left: clamp(1vw, 2vw, 3vw);
}

.descConnexion {
  border: none;
  padding: clamp(8px, 2vw, 10px) clamp(20px, 4vw, 50px);
  border-radius: 20px;
  cursor: pointer;
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: clamp(1rem, 2vw, 2vh);
  background-color: #ffffff;
  margin-bottom: clamp(2vh, 5vh, 9vh);
  margin-right: clamp(1vw, 2vw, 3vw);
  font-weight: bold;
  white-space: nowrap;
}

.buttonLink {
  padding: 10px 20px;
  border-radius: 20px;
  background-color: #000000;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  white-space: nowrap;
}

.tc {
  text-align: center;
  font-size: 3vh;
  margin-top: 5vh;
}

.lastArticles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 2vh;
  margin-bottom: 2vh;
}

.compress-text {
  display: inline-block;
  transform: scaleX(0.7);
  transform-origin: center;
  letter-spacing: -1px;
}


.lastArticlesCards {
  width: clamp(140px, 18vw, 220px);
  background-color: #000000;
  color: white;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 300px; /* Hauteur fixe ou max-height */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.lastArticlesCards img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
}

.lastArticlesCards h4 {
  font-size: 0.9rem;
  margin: 8px 0 4px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lastArticlesCards p {
  font-size: 0.75rem;
  color: #ccc;
  line-height: 1.1;
  height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lastArticlesCards .prix {
  font-weight: bold;
  font-size: 0.85rem;
  color: #e26f0b;
  margin-top: auto;
}


.parent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(11, 1fr);
  grid-gap: 3px;
  width: 100%;
}

.parent a {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.div1 {
  grid-area: 1 / 2 / 9 / 3;
  background-image: url("./assets/img/chasse.jpg");
  height: 80vh;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  justify-content: center;
  align-items: flex-end;
}

.div2 {
  grid-area: 1 / 1 / 5 / 2;
  background-image: url("./assets/img/poche.jpg");
  height: 40vh;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  justify-content: flex-start;
  align-items: flex-end;
}

.div3 {
  grid-area: 5 / 1 / 9 / 2;
  background-image: url("./assets/img/survie.jpg");
  height: 40vh;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  justify-content: flex-start;
  align-items: flex-end;
}

.div4 {
  grid-area: 9 / 1 / 12 / 3;
  background-image: url("./assets/img/cuisine.png");
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  justify-content: flex-start;
  align-items: flex-end;
}


.coll-titre{
color: #ffffff;
font-size: 2.5vh;
font-weight: 800;
margin-left: 1vw;

}


.about{
 object-fit: cover;
 object-position: center;

  border-radius: 15px;
}

.modal-backdrop {
  z-index: 1040 !important;
}

.modal {
  z-index: 1055 !important;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .divTitre::before {
  display: none !important;
}

.wider-modal {
  max-width: clamp(450px, 65vw, 900px);
}

.card-title {
  height: 3rem; /* ou une hauteur fixe adaptée */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

