/***** palette de couleurs *****/
:root {--greenclair: #CBD8D7;
      --green1: #B2CCCA;
      --darkgreen: #99B9B3;
      --beige: #E6E3DE;
      --new:#FFF6F0;
      --lightbrown: #CAC0B7;
      --brown: #B2A79B;
  }

/***** police de caractères *****/
@font-face{
      font-family: adamiya;
      src: url(Adamiya.otf) format('opentype');
}

/***** body *****/
body {
    /*couleur de fond*/
    background-color: var(--new);
    /*police */
  }

/***** titres *****/
h1
  {
    font-family: adamiya;
    color:var(--darkgreen) ; 
  }

.en-tete{
    background-color: var(--greenclair);
  }
img{
  width:100%;
}

.image-moitie {
  width:50%;
 display: block;
    margin-left: auto;
    margin-right: auto;
}
.image-ronde{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width : 300px; height : 300px;
    border: none;
    -moz-border-radius : 150px;
    -webkit-border-radius : 150px;
    border-radius : 150px;

  }
  .image-clair{
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: none;
   
  }

.navbar {
    background-color: var(--greenclair); /* Couleur bleu clair */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #ccc;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.search-container {
  position: relative;
  width: 300px;
}

input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 2px solid #ffffff;
  border-radius: 5px;
  outline: none;
  font-size: 16px;
}

.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
  z-index: 1000;
}

.suggestions div {
  padding: 10px;
  cursor: pointer;
}

.suggestions div:hover {
  background-color: #CBD8D7;
}

.visage{
  display: block;
    margin-left: auto;
    margin-right: auto;
  width: 800px;
}
.container {
  display: flex;
  width: 100%;
  max-width: 100%;  /* ou supprimer la max-width */
  height: 80vh;
}

.left {
  flex: 3; /* au lieu de 5 */
  padding: 10px; /* réduire un peu */
  display: flex;
  justify-content: center;
  align-items: center;
}

.right {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: contain; /* mieux remplir l’espace */
}
.slider-container {
  width: 100%;
  height: 70%;
  position: relative;
  overflow: hidden; /* cacher les débordements */
}

.slide {
  position: absolute;
  width: 80%;
  height: 100%;
  opacity: 0;
  transition: all 0.8s ease;
  filter: blur(4px);
  transform: scale(0.8);
  z-index: 1;
}

.slide.prev {
  opacity: 1;
  transform: scale(0.8) translateX(-40%);
  z-index: 2;
}

.slide.next {
  opacity: 1;
  transform: scale(0.8) translateX(40%);
  z-index: 2;
}

@media (max-width: 768px) {
  .slide.prev,
  .slide.next {
    transform: scale(0.8) translateX(0);
  }
}
    .slider {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
      position: relative;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 20px;
    }

    .slide.active {
      opacity: 1;
      transform: scale(1) translateX(0);
      filter: none;
      z-index: 3;
    }

 
    .arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2.5rem;
      color: white;
      background: rgba(0,0,0,0.5);
      border: none;
      cursor: pointer;
      padding: 10px;
      border-radius: 50%;
      z-index: 4;
    }

    .arrow.left { left: 10px; }
    .arrow.right { right: 10px; }

    .dots {
      position: absolute;
      bottom: 15px;
      width: 100%;
      text-align: center;
      z-index: 5;
    }

    .dot {
      display: inline-block;
      height: 10px;
      width: 10px;
      margin: 0 5px;
      background: #aaa;
      border-radius: 50%;
      cursor: pointer;
    }

    .dot.active {
      background: #fff;
    }

    @media (max-width: 768px) {
      .container {
        flex-direction: column;
      }

      .left, .right {
        height: 50%;
      }

      .slide {
        width: 90%;
      }

      .slide.prev,
      .slide.next {
        transform: scale(0.8) translateX(0);
      }
    }
