/* page entière */
/* body {
  height: fit-content;
  width: 100vw;
  background-color: #f9f2f2;
} */
/* zone principale */
.font-extralight {
  font-family: "Poppins", sans-serif;
  font-weight: 200; /* ajustez selon la disponibilité */
}

.font-black {
  font-family: "Poppins", sans-serif;
  font-weight: 900;
}

.font-semibold {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.font-light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}

.font-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.font-extrabold {
  font-family: "Poppins", sans-serif;
  font-weight: 900; /* ou le poids maximum disponible */
}
body main {
  height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 6em;
}

/* titre h1 */
body main h1 {
  /* width: 30vw; */
  min-width: fit-content;
  position: relative;
  text-align: center;
  color: #0a3cdd;
}
/* le paragraphe du titre h1 */
body main p {
  width: 50vw;
  line-height: 30px;
}

/* section qui regroupe tout les bilans */
body main section {
  width: 85%;
  display: inline-flex;
  flex-wrap: wrap;
  flex-direction: unset;
  align-items: center;
  row-gap: 3em;
}
/* affiche les détails des bilans */
body main section details {
  width: 100%;
}
/* summary = "bilan" */
body main section details summary {
  margin-top: 14px;
  display: block;
  text-align: center;
  font-size: 1.5em;
}
/*marker = pseudo élément de l'élément <summary> affichant la flèche*/
body main section details > summary::marker {
  display: none;
}

/* bilans fermés */
body main section details > summary::before {
  float: left;
  width: max-content;
  padding-left: 10%;
  position: relative;
  cursor: pointer;
}
/* bilans ouverts */
body main section details [open] > summary::before {
  width: max-content;
  padding-left: 10%;
  cursor: pointer;
}

/* pseudo-élément du summary superposant l'icone et le summary */
/* premier bilan */
body main section details:nth-child(1) > summary::before {
  content: url("../images/icones/administrative_rightsidebtn_DOC1_blue-928f2c45ee564857d4cf4da4dc97c33f.svg");
}
body main section details:nth-child(1)[open] > summary::before {
  content: url("../images/icones/administrative_downbtn_Doc_blue-e3798cc28241ef79aadba5b87e906bd0.svg");
}
/* deuxième bilan */
body main section details:nth-child(2) > summary::before {
  content: url("../images/icones/administrative_rightsidebtn_DOC1_red-3725800341fde70fe5cd845d412ed47b.svg");
}
body main section details:nth-child(2)[open] > summary::before {
  content: url("../images/icones/administrative_downbtn_Doc_red-1f71cc154aafb2803a163c17fef3c6d8.svg");
}
/* troisième bilan */
body main section details:nth-child(3) > summary::before {
  content: url("../images/icones/administrative_rightsidebtn_DOC1_green-40c7eb9581b44be90811a9dd46191ca4.svg");
}
body main section details:nth-child(3)[open] > summary::before {
  content: url("../images/icones/administrative_downbtn_Doc_green-e4ae2cc9ceeef2dea488b9ce9106909c.svg");
}
/* quatrième bilan */
body main section details:nth-child(4) > summary::before {
  content: url("../images/icones/administrative_rightsidebtn_DOC1_yellow-535dbf9ecc6e3d49966e6f61bf8327ea.svg");
}
body main section details:nth-child(4)[open] > summary::before {
  content: url("../images/icones/administrative_downbtn_Doc_yellow-86093fa886a1d9b6d6ea27f43a242233.svg");
}

/* titres des bilans */
body main section details summary h2 {
  width: 90%;
  padding-top: 10px;
  text-align: center;
  font-weight: 500;
  font-size: 40px;
}
/* titre bilan bleu */
body main section details:nth-child(1) summary h2 {
  color: #0a3cdd;
}
/* titre bilan rouge */
body main section details:nth-child(2) summary h2 {
  color: #ff2e00;
}
/* titre bilan vert */
body main section details:nth-child(3) summary h2 {
  color: #44af69;
}
/* titre bilan jaune */
body main section details:nth-child(4) summary h2 {
  color: #ffbc0a;
}
/* soulignement personalisé du h2 */
body main section details summary h2::after {
  margin-left: 11%;
  position: relative;
  top: 30px;
  content: "";
  display: block;
}
body main section details:nth-child(1) summary h2::after {
  border: 1px #0a3cdd solid;
}
body main section details:nth-child(2) summary h2::after {
  border: 1px #ff2e00 solid;
}
body main section details:nth-child(3) summary h2::after {
  border: 1px #44af69 solid;
}
body main section details:nth-child(4) summary h2::after {
  border: 1px #ffbc0a solid;
}
/* les relevés des bilans */
body main section details section {
  width: 100%;
  margin-top: 3.5em;
  justify-content: center;
  column-gap: 2em;
}
/* relevés bleu */
body main section details section .bilan1 {
  width: 18%;
  min-width: 200px;
  padding: 20px;
  row-gap: 1em;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  border: 1px #0a3cdd solid;
}
/* relevés rouge */
body main section details section .bilan2 {
  width: 18%;
  min-width: 200px;
  padding: 20px;
  row-gap: 1em;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  border: 1px #ff2e00 solid;
}
/* relevés vert */
body main section details section .bilan3 {
  width: 18%;
  min-width: 200px;
  row-gap: 1em;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  border: 1px #44af69 solid;
}
/* relevés jaune */
body main section details section .bilan4 {
  width: 18%;
  min-width: 200px;
  row-gap: 1em;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  border: 1px #ffbc0a solid;
}
/* images des relevés */
body main section details section article img {
  width: 100%;
}
/* titres des relevés */
body main section details section article h3 {
  width: fit-content;
  padding: 0 5%;
  color: black;
}
/* paragraphes des relevés */
body main section details section article p {
  width: 80%;
  padding: 0 7%;
}
/* boutons "télécharger" bleu */
body main section details section article .button_blue {
  width: 100%;
  height: max-content;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #0a3cdd;
  cursor: pointer;
}
/* boutons "télécharger" rouge */
body main section details section article .button_red {
  width: 100%;
  height: max-content;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #ff2e00;
}
/* boutons "télécharger" vert */
body main section details section article .button_green {
  width: 100%;
  height: max-content;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #44af69;
}
/* boutons "télécharger" jaune */
body main section details section article .button_yellow {
  width: 100%;
  height: max-content;
  border-radius: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #ffbc0a;
}
/* texte dans les boutons "télécharger" */
body main section details section article button p {
  width: fit-content;
  font-size: large;
  font-weight: bold;
  color: #f9f2f2;
}

/* responsive laptop S */
@media screen and (max-width: 1024px) {
  /* les paragraphes de la page */
  body main > p {
    min-width: 640px;
    line-height: 25px;
  }
  /* titres des bilans */
  body main section details summary h2 {
    width: 92%;
  }
  /* soulignement personalisé du h2 */
  body main section details summary h2::after {
    margin-left: 10%;
  }
}

/* responsive tablet S */
@media screen and (max-width: 768px) {
  /* les paragraphes de la page */
  body main > p {
    min-width: 500px;
    line-height: 25px;
  }
  /* titres des bilans */
  body main section details summary h2 {
    width: 92%;
  }
  /* soulignement personalisé du h2 */
  body main section details summary h2::after {
    margin-left: 9%;
  }
}

/* responsive mobile taille S */
@media screen and (max-width: 320px) {
  /* les paragraphes de la page */
  body main > p {
    min-width: 250px;
    line-height: 25px;
  }
  /* titres bilans */
  body main section details summary h2 {
    width: 100%;
    font-size: 115%;
  }
  /* ligne sous les titres "bilan" */
  body main section details summary h2::after {
    margin-left: 3%;
  }
  /* flèches fermées */
  body main section details > summary::before {
    padding-left: 2%;
  }
  /* flèches ouvertes */
  body main section details [open] > summary::before {
    padding-left: 2%;
  }

  /* paragraphes des relevés */
  body main section details section article > p {
    min-width: inherit;
  }
  /* textes des boutons "télécharger" */
  body main section details section article button > p {
    min-width: fit-content;
  }
}
