body {
  font-family: "Italianno", cursive;
  overflow-x: hidden;
  background-color: #a79d84;
}
/*class= .notrefibre*/
main section:first-of-type {
  color: var(--marron-sombre);
  background-color: var(--marron-clair);
  top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*class=.titrefibre*/
main > h1 {
  color: var(--marron-sombre);
  text-decoration: underline;
  padding: 30px;
  text-align: center;
  text-decoration-color: var(--marron-sombre-contour);
  font-size: 56px;
}
/*class= .titrequipe/.titrepoly/.titreperma*/
main section:nth-of-type(2) > h2 {
  position: relative;
  text-align: center;
  font-size: 50px;
  padding: 50px 0 50px 0;
}
/*class= .titreequipe*/
main section:nth-of-type(2) > h2:first-child {
  padding-top: 50px;
  text-decoration: underline;
}
/*class=.equipe*/
main > section:nth-of-type(2) {
  background-color: var(--marron-sombre);
  color: #a79d84;
}
/*class= .avatars*/
main section:nth-of-type(2) > div > div > img {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 0 5px 0;
  border: 4px solid #a79d84;
  border-radius: 50%;
  object-fit: cover;
}
main section:nth-of-type(2) > div:nth-child(3) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  column-gap: 3vw;
}
main section:nth-of-type(2) > div:nth-child(3) > div > p {
  text-align: center;
  max-width: 150px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}
/*class=.perma*/
main section:nth-of-type(2) > div:nth-child(3) > div {
  margin: 0 0 70px 0;
  text-align: center;
}
main section:first-of-type > div > ul {
  display: flex;
  flex-direction: column;
  margin-top: 3em;
}
main > section:nth-of-type(3) > section:nth-of-type(2) figure > div > ul {
  display: flex;
}
/*class=.poly/2/3/4/5/6*/
main section:nth-of-type(2) > div:nth-child(5),
main section:nth-of-type(2) > div:nth-child(6),
main section:nth-of-type(2) > div:nth-child(7),
main section:nth-of-type(2) > div:nth-child(8),
main section:nth-of-type(2) > div:nth-child(9) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  column-gap: 3vw;
}
main section:nth-of-type(2) > div:nth-child(5) > div {
  margin: 0 0 70px 0;
}
main section:nth-of-type(2) > div:nth-child(9) {
  padding-bottom: 20px;
}
main section:nth-of-type(2) > div:nth-child(7) {
  padding-bottom: 35px;
}
/*class=.txtfibre*/
main section:first-of-type > div {
  text-align: center;
  width: 75%;
  padding-bottom: 100px;
}
/*class=.txtfibre p*/
main section:first-of-type > div > p {
  font-family: "Kiwi Maru", serif;
  font-size: 16px;
  line-height: initial;
}
main section:first-of-type > div > ul > li {
  font-family: "Kiwi Maru", serif;
  /* list-style-type: "\1F9F5"; */
  list-style: inside;
  text-align: justify;
  line-height: 25px;
}
main section:first-of-type > article > h2 {
  font-size: 40px;
}
/*class=.partenaires*/
main section:nth-of-type(3) {
  color: #2b0f0f;
  background-color: #a79d84;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 150px;
}
main section:nth-of-type(3) > h2 {
  text-align: center;
  font-size: 56px;
  padding: 30px;
}
/* ma section principale */
/* la structures pour les deux carrousels */
/* class=.carrousel-entreprises/financeurs*/
:root {
  --carousel-width: 100%;
  --carousel-height: 150px;
  --carousel-elements-displayed: 7;
  --carousel-element-width: calc(
    var(--carousel-width) / var(--carousel-elements-displayed)
  );
  --carousel-animation-duration: calc(var(--carousel-elements) * 3s);
}
main section:nth-of-type(3) figure {
  position: relative;
  width: var(--carousel-width);
  height: var(--carousel-height);
  margin: 50px 0;
  overflow: hidden;
  background: #2b0f0f0d;
}
main section:nth-of-type(3) figure > div {
  display: flex;
  height: 100%;
  list-style: none;
  animation: marquee var(--carousel-animation-duration) linear infinite;
  align-items: center;
}
main > section:nth-of-type(3) > div:nth-child(2) figure > div {
  animation-direction: reverse;
}
main section:nth-of-type(3) figure div {
  display: flex;
}
/* les images des carrousels */
main section:nth-of-type(3) figure div > a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--carousel-element-width);
  max-height: 100%;
  white-space: nowrap;
}
main section:nth-of-type(3) figure > div > a {
  display: flex;
  align-items: center;
}
main section:nth-of-type(3) figure > div > a > img {
  width: 117px;
}
main section:nth-of-type(3) figure > div > a:hover {
  transform: scale(1.1);
}
/* Pause l'animation au survol */
.paused {
  animation-play-state: paused !important;
}
/* l'animation du carrousel partenaires entreprises*/
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(
      calc(-1 * var(--carousel-element-width) * var(--carousel-elements))
    );
  }
}
/* ::::::::::::: TRANSCRIPTION DU PARCOURS ::::::::::::: */
/* Le décalage vertical passe du <p> au conteneur,
   pour que le paragraphe et le <details> restent groupés. */
#parcours #description-parcours {
  position: relative;
  bottom: 60px;
  margin: 28px 32px;
}
#parcours #description-parcours p {
  position: static;
  margin: 0;
}

#description-parcours details {
  margin-top: 1rem;
}
#description-parcours summary {
  cursor: pointer;
  font-family: "Kiwi Maru", serif;
  text-decoration: underline;
}
#description-parcours summary:focus-visible {
  outline: 3px solid var(--marron-clair-titre);
  outline-offset: 3px;
}
#description-parcours details[open] {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
#description-parcours h3 {
  margin: 1.5rem 0 .5rem;
}
#description-parcours ul {
  list-style: disc;
  padding-left: 1.5rem;
}
#description-parcours ul ul {
  list-style: circle;
  margin-top: .5rem;
}
#description-parcours li {
  font-family: "Kiwi Maru", serif;
  line-height: 1.6;
}

/* Schéma animé : affichage immédiat si l'utilisateur réduit les animations */
@media (prefers-reduced-motion: reduce) {
  main #parcours .container div img,
  main #parcours .container div svg > path {
    animation: none;
    opacity: 1;
  }
}
/*RESPONSIVE*/
@media screen and (max-width: 1024px) {
  :root {
    --carousel-elements-displayed: 5;
  }
  main section:first-of-type > div {
    width: 80%;
    left: 100px;
    padding-bottom: 100px;
  }

    #parcours #description-parcours {
    bottom: 15px;
  }
}
@media screen and (max-width: 668px) {
  :root {
    --carousel-elements-displayed: 3;
  }
  main section:first-of-type > div {
    width: 80%;
    left: 55px;
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 375px) {
  :root {
    --carousel-elements-displayed: 2;
  }

  @media screen and (max-width: 1000px){
    .parcours .description-parcours {
    bottom: 15px;
  }
  }
}
