h4 {
    color: var(--main-yellow);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    font-size: 10pt;
}

.goal_section, .mission_section {
    flex-direction: column;
}

.goal_section p {
    font-family: Lato-Light;
    color: var(--main-dark-grey);
    font-size: 10pt;
}

.goal_section ul {
    list-style: none;
    padding: 0;
}

.text_highlight {
    color: var(--main-yellow);
}

.mission_section {
  background-color: var(--main-purple);
  width: 100%;
  margin: auto;
}

.mission__title {
  width: 90%;
  margin: 3% 5%;
}

.mission__figure {
  margin: 0;
}

.mission__figure figcaption {
  width: 90%;
  min-height: 30vh;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission__figure figcaption ul {
  list-style: none;
}

.mission__figure figcaption ul li::before {
  content: "\2022";  
  color: #fff; 
  font-weight: bold; 
  display: inline-block; 
  width: 1em; 
  margin-left: -1em;
  position: absolute;
}

.mission__figure figcaption p {
  color: #fff;
  font-family: Lato-Light;
  font-size: 10pt;
}

.mission__images {
  width: 100%;
  height: 20vh;
  object-fit: cover;
}

.mission_link {
  color: #fff;
  transition: .25s;
  font-family: 'Lato';
  font-weight: bold;
  text-decoration: none;
}

.mission_link:hover {
  color: var(--main-yellow);
}


/* ================= ================= =================
                          AVIS 
================= ================= ================= */
.avis {
  flex-direction: column;
  gap: 3vh;
  padding-bottom: 50px;
}

.avis__container {
  overflow-x: hidden;
  position: relative;
}

/* * Slider * */

.avis__item {
  display: flex;
  flex-direction: column;
  align-items:center ;
  justify-content: center;
  background-color: var(--main-purple);
  height: auto;
}

.avis__wrapper {
  display: flex;
  flex-direction: column;
  align-items:flex-start ;
  padding: 5%;
  width: 90%;
  margin: 0;
  height: 100%;
  justify-content: space-between;
}

.avis__stars {      
  font-size: 1rem;
}

.avis__star {
  color: var(--main-yellow);
}

.avis__star--white {
  color: #fff;
}

.avis__comment {
  color: #fff;
  font-family: Lato-Light;
  font-size: 12pt;
  margin: 0;
  padding: 5%;
}

.avis__author {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-family: Lato-Light;
  font-size: 10pt;
  margin: 0;
  font-style: oblique;
}
.avis__author::before {
  content: '';
  display: block;
  width: 10px;
  height: 1px;
  background-color: #fff;
}


.swiper-pagination-bullet {
  background-color: var(--main-yellow);
  opacity: .9;
}

.swiper-pagination-bullet-active {
  background-color: #fff;
}

/* * /Slider * */
/* * Form * */
.avis__form {
  display: flex;
  flex-direction: column;
  gap: 2vh;
}

.avis__form *::placeholder {
  color: var(--main-yellow);
  font-family: Lato-Light;
}

.avis__rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.avis__label {
  color: var(--main-yellow);
  font-family: Lato-Light;
  font-size: 14pt;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.avis__infos {
  background-color: var(--main-purple);
  display: flex;
  flex-direction: column;
  gap: 2vh;
  padding: 5%;
}

.avis__form input[type='submit'] {
  font-family: Lato-Light;
  align-self: flex-end;
  border: none;
  padding: 8px;
  background-color: var(--main-purple);
  color: var(--main-yellow);
  transition: .25s;
}
.avis__form input[type='submit']:hover {
  cursor: pointer;
  color: var(--main-purple);
  background-color: var(--main-yellow);
}

.avis__input {
  font-family: Lato-Light;
  height: 3vh;
  margin: 1% 0;
  border: none;
  padding: 2%;
  color: var(--main-yellow);
  text-indent: 5px;
}

.avis__input--textarea {
  font-family: Lato-Light;
  height: 15vh;
  margin: 1% 0;
  border: none;
  padding: 2%;
  color: var(--main-yellow);
  text-indent: 5px;
}

.avis__consent {
  font-family: Lato-Light;
  color: #fff;
  font-size: 12px;
  display: flex; 
  gap: 1vw;
  align-items: center;
}

.avis__consent p {
  width: fit-content;
}

.avis__checkmark {
  display: block;
  height: 25px;
  width: 25px;
  background-color: #fff;
  transition: background-color .25s ease-in-out;
  border : 2px solid #fff;
}

.avis__consent:hover {
  cursor: pointer;
}

.avis__consent:hover .avis__checkmark {
  cursor: pointer;
  border : 2px solid var(--main-yellow);
}

#consent:checked ~ .avis__consent .avis__checkmark {
  background-color: var(--main-yellow);
}

.avis__validation {
  display: none;
  color: var(--main-yellow);
  border: 2px solid var(--main-yellow);
  padding: 4px;
}
.avis__validation--success {
  display: block;
  color: #fff;
  border: 2px solid #fff;
  padding: 4px;
}
.avis__validation--danger {
  display: block;
  color: var(--main-yellow);
  border: 2px solid var(--main-yellow);
  padding: 4px;
}

.avis__box {
  display: none;
}
/* * /Form * */

/* Star rating */
.rating {
  --dir: right;
  --fill: var(--main-yellow);
  --fillbg: rgba(100, 100, 100, 0.15);
  --heart: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 21.328l-1.453-1.313q-2.484-2.25-3.609-3.328t-2.508-2.672-1.898-2.883-0.516-2.648q0-2.297 1.57-3.891t3.914-1.594q2.719 0 4.5 2.109 1.781-2.109 4.5-2.109 2.344 0 3.914 1.594t1.57 3.891q0 1.828-1.219 3.797t-2.648 3.422-4.664 4.359z"/></svg>');
  --star: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M381.2 150.3L524.9 171.5C536.8 173.2 546.8 181.6 550.6 193.1C554.4 204.7 551.3 217.3 542.7 225.9L438.5 328.1L463.1 474.7C465.1 486.7 460.2 498.9 450.2 506C440.3 513.1 427.2 514 416.5 508.3L288.1 439.8L159.8 508.3C149 514 135.9 513.1 126 506C116.1 498.9 111.1 486.7 113.2 474.7L137.8 328.1L33.58 225.9C24.97 217.3 21.91 204.7 25.69 193.1C29.46 181.6 39.43 173.2 51.42 171.5L195 150.3L259.4 17.97C264.7 6.954 275.9-.0391 288.1-.0391C300.4-.0391 311.6 6.954 316.9 17.97L381.2 150.3z"/></svg>');
  --stars: 5;
  --starsize: 2rem;
  --symbol: var(--star);
  --value: 1;
  --w: calc(var(--stars) * var(--starsize));
  --x: calc(100% * (var(--value) / var(--stars)));
  block-size: var(--starsize);
  inline-size: var(--w);
  position: relative;
  touch-action: manipulation;
  -webkit-appearance: none;
  
}
[dir="rtl"] .rating {
  --dir: left;
}
.rating::-moz-range-track {
  background: linear-gradient(to var(--dir), var(--fill) 0 var(--x), var(--fillbg) 0 var(--x));
  block-size: 100%;
  mask: repeat-x left center/var(--starsize) var(--symbol);
}
.rating::-webkit-slider-runnable-track {
  background: linear-gradient(to var(--dir), var(--fill) 0 var(--x), var(--fillbg) 0 var(--x));
  block-size: 100%;
  mask: repeat-x left center/var(--starsize) var(--symbol);
  -webkit-mask: repeat-x left center/var(--starsize) var(--symbol);
}
.rating::-moz-range-thumb {
  height: var(--starsize);
  opacity: 0;
  width: var(--starsize);
}
.rating::-webkit-slider-thumb {
  height: var(--starsize);
  opacity: 0;
  width: var(--starsize);
  -webkit-appearance: none;
}
.rating{
  display: block;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.certification {
  display: flex;
  flex-direction: column;
  margin-bottom: 2vh;
  font-family: 'Lato-Light';
}

.img_cert {
  width: 100%;
  height: auto;
  max-width: 250px;
}



@media only screen and (min-width: 1024px) {
    
    h4 {
        font-size: 2vw;
    }

    .goal_section img, .first_subSection img, .second_subSection img {
        max-width: 40%;
        height: auto;

    }

    .goal_section {
        flex-direction: row;
        justify-content: space-around;
    }

    .goal_section div {
        width: 50%;
    }

    .goal_section p, .mission_section p {
        font-size: 1.2vw;
    }

    .mission_section {
      flex-direction: column;
      height: 100vw;
    }

    .mission__figure {
      display: flex;
      height: 50%;
    }

    .mission__figure:nth-child(1) {
      flex-direction: row-reverse;
    } 

    .mission__figure figcaption {
      width: 50%;
    }

    .mission__figure figcaption h4, .mission__figure figcaption ul {
      margin: 4%;
    }

    .mission__images {
      width: 50%;
      height: 100%;
      object-fit: cover;
    }

    .mission__figure figcaption p {
      font-size: 1.5vw;
    }

    /* ================= ================= =================
                          AVIS 
    ================= ================= ================= */

    /* * Slider * */

    .avis__comment {
      color: #fff;
      font-family: Lato-Light;
      margin: 0;
      padding: 5%;
      font-size: 1.3vw;
      /*width: 100%;*/
    }
    .avis__author {
      align-self: flex-end;
      display: flex;
      align-items: center;
      gap: 5px;
      color: #fff;
      font-family: Lato-Light;
      margin: 0;
      font-size: 1vw;
      font-style: oblique;
    }
    /* * /Slider * */

    /* * Form * */
    .avis__form {
      width: 70%;
      margin: auto;
    }

    .avis__label {
      font-size: 2vw;
      flex-direction: row;
      gap: 2vw;
      justify-content: stretch;
    }

    .avis__rate {
      align-items: flex-start;
      justify-content: center;
    }
    
    .rating {
      --starsize: 4vw;
    }

    .avis__input, .avis__input--textarea, .avis__form input[type='submit'], .avis__consent {
      font-size: 1vw;
    }


    /* * /Form * */

    .img_cert {
      width: 30%;
      height: auto;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1024px)  {
  .img_cert {
    width: 30%;
    height: auto;
  }
}

