:root {
  --couleur-principale: #00cad1;
  --couleur-principale-foncee: #19c3af;
  --shadow-x: 8px;
  --shadow-y: 8px;
  --shadow-blur: 0px;
  --shadow-spread: 0px;
}


.logo {
margin: 40px auto -38px;
  width: 300px;
  z-index: 1005;
}

.logo.deactivate{
  logoMM.style.margin: 40px auto -38px; 

}


.dockLog {
  overflow: hidden;

  height: 0px;
  background-color: var(--couleur-principale-foncee);
  z-index: 10;
  position: fixed;
  width: 100%;
  transition: height 0.3s ease;

}

.dockLog.h0 {
  height: 0px;
}

.dockLog.h1 {
  height: 70px;
}



.dockLog.h2 {
  height: 200px;
}

.dockLog.h3 {
  height: 250px;
}

.sameHeight{
  height: 0px;
  transition: height 0.3s ease;

}

.container{
  padding-left: 5%;
  padding-right: 5%;
  

}

body {
  margin: 0;

  height: 100%;
  font-family: 'Montserrat', sans-serif;
  color: #ff8080;
  background-color: var(--couleur-principale);
  text-align: center;
  padding-top: 0px;
  position: relative;
  /* Ajouter un positionnement relatif pour que tout s'aligne correctement */
  z-index: 1;
  /* S'assurer que le body est au-dessus du canvas */
  margin: 0px;
  /*height: 100vh;*/
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  transition: padding-right 0.5s ease;

}






/*-------------------*/
/*---------------------*/
/*---------------------*/




:root {
  --dock-height-collapsed: 60px;
  --dock-height-expanded: 200px;
}








/*-------------------*/
/*---------------------*/
/*---------------------*/



.accordion-wrapper-conseil {
  text-align: center;
  margin: 10px auto;
padding-left: 15px;
padding-right: 15px;
  background-color: #f8ede7;
  border-radius: 25px;
  overflow: hidden;
  transition: border-radius 0.3s ease;
  box-shadow: var(--shadow-x) var(--shadow-y) var(--shadow-blur) var(--shadow-spread) var(--couleur-principale-foncee);
}

.accordion-wrapper {
  margin: 20px auto;
  background-color: #FFF;
  border-radius: 25px;
  overflow: hidden;
  transition: border-radius 0.3s ease;
  box-shadow: var(--shadow-x) var(--shadow-y) var(--shadow-blur) var(--shadow-spread) var(--couleur-principale-foncee);
}

.accordion-header {
  color: #000000;
  padding: 10px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.left-text {
  font-weight: 500;
  font-size: 18px;
  
}

.left-text small {
  font-size: 14px;
  margin-right: 5px;

}

.material-symbols-outlined {
  font-size: 30px;
  transition: transform 0.3s ease;
}

.accordion-wrapper.expanded .material-symbols-outlined {
  transform: rotate(180deg);
}

.accordion-wrapper-conseil.expanded .material-symbols-outlined {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.accordion-wrapper.expanded .accordion-content {
  max-height: 2000px; /* Ajuster selon le contenu */

}
.accordion-wrapper-conseil.expanded .accordion-content {
  max-height: 2000px; /* Ajuster selon le contenu */

}

/*---------------------*/
/*---------------------*/
/*---------------------*/
.content-wrapper {
  
  width: 100%;
  text-align: center;
  transition: margin-right 0.5s ease, max-width 0.5s ease;

}

#dockPanel {
  position: fixed;
  top: 0;
  right: -50px;
  width: 50px;
  height: 100vh;
  font-family: 'Courier New', Courier, monospace;
  background-color: #19c3af;
  color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  transition: right 0.5s ease;
  font-size: 15px;
  font-weight: 500;
  z-index: 100;
}

#dockPanel.show {
  right: 0;
}

/* Adaptation du contenu quand dock est visible */
.with-dock .content-wrapper {
  margin-right: 50px;
}








.introText{
  font-family: montserrat;
  text-align: left;
  line-height: 28px;
  font-size: 16px;
  font-weight: 400;
  margin-top: 30px;
  margin-bottom: 30px;
}


.boutonConseils.open{
  display: none;
}

.boutonConseils{
display: in-Line;
}

.recommandations {
margin-top: -20px;

  text-align: left;

  color: #000;
}

.recommandations h2 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: bold;
}

.recommandations p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.recommandations ul {
  
  line-height: 1.5;
  list-style-type: disc;
  margin: 5 auto;
  font-size: 16px;

  list-style-type: none;
}

.recommandations li {
  font-size: 16px;

  margin-bottom: 10px;
  list-style-type: none;
}

.recommandations strong {
  font-size: 16px;

  color: #333;
}





.switch-container {
  display: inLine;
  align-items: center;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  gap: 0.5em;
}



.switch-label {
  font-size: 15px;
  margin-left: 5px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: 0.3s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.switch input:checked+.slider {
  background-color: #4CAF50;
}

.switch input:checked+.slider::before {
  transform: translateX(20px);
}








.letter-map {
  text-transform: uppercase;
  column-count: 4;
  column-gap: 10px;

  line-height: 25px;
  text-align: center;
  color: #000000;
  border-radius: 20px;
  background-color: #f8ede7;
  letter-spacing: -3px;
  font-size: 20px;
  font-family: "Courier Prime", monospace;

  margin: 20px auto;
  margin-bottom: 10px;
  width: 400px;
  position: relative;
  z-index: 1;
  opacity: 1;
  max-height: 500px;
  overflow: hidden;
  transition: margin-bottom 0.3s ease, opacity 0.3s ease, max-height 0.5s ease;

}


.letter-map.hidden {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
  margin : 0px auto;
}


.letter-map-wrapper {
  box-shadow: var(--shadow-x) var(--shadow-y) var(--shadow-blur) var(--shadow-spread) var(--couleur-principale-foncee);
  overflow: hidden;
  transition: padding 0.3s ease;
    /* gd bloc principal avec les equations */
  text-align: center;
  color: #000000;
  border-radius: 25px;
  /* arrondi doux */
  background-color: #f8ede7;
  padding: 30px 40px;
  margin: 10px auto;
  margin-top: 20px;
  position: relative;
  /* essentiel */
  z-index: 1;


}

.letter-map-wrapper.hidden {
  padding : 15px 40px;
}



.page-wrapper {
  overflow: hidden;

  transition: max-height 0.5s ease;
    /* gd bloc principal avec les equations */
  text-align: center;
  color: #000000;
  border-radius: 25px;
  /* arrondi doux */
  background-color: #f8ede7;
  padding: 40px 40px;
  margin: 10px auto;
  /* essentiel */
  z-index: 1;
  box-shadow: var(--shadow-x) var(--shadow-y) var(--shadow-blur) var(--shadow-spread) var(--couleur-principale-foncee);

}



.zoneAffichage {
  text-align: left;
  box-shadow: var(--shadow-x) var(--shadow-y) var(--shadow-blur) var(--shadow-spread) var(--couleur-principale-foncee);

  color: #000000;
  border-radius: 25px;
  /* arrondi doux */
  background-color: #ffffff;
  padding: 15px 20px;
  margin: 20px auto;

  position: relative;
  /* essentiel */
  z-index: 1;
  /* au-dessus du fond */
}


.zoneAffichagePhraseCustom {
  text-align: left;
  box-shadow: var(--shadow-x) var(--shadow-y) var(--shadow-blur) var(--shadow-spread) var(--couleur-principale-foncee);
font-size: 18px;
font-weight: 500;
  color: #000000;
  border-radius: 25px;
  /* arrondi doux */
  background-color: #ffffff;
  padding: 15px 20px;
  margin: 10px auto;

  position: relative;
  /* essentiel */
  z-index: 1;
  /* au-dessus du fond */
}
.iconeCrayon{
  font-size: 20px;
  margin-right: 10px;
}


.containerAffichage{
  padding: 15px 20px;

}










h1 {
  color: #f8ede7;
  font-family: 'Kablammo', cursive;
  /*text-transform: uppercase;*/
  font-size: 70px;
  line-height: 0.85;
  text-align: center;
  margin-bottom: 10px;

  margin-top: 32px;

}

.btn-petit {
  box-shadow: 3px 3px 0px var(--couleur-principale);

  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background-color: #fdfaf8;
  padding: 0;
  cursor: pointer;

}

.btn-petit-couleur {
  opacity: 0.6;

  position: absolute;
  top:20px;
  right:20px;
  z-index: 10000;
  box-shadow: 3px 3px 0px var(--couleur-principale-foncee);
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background-color: #fdfaf8;
  padding: 0;
  cursor: pointer;
}

.icone-btn-petit {
  font-size: 16px;
  color: var(--couleur-principale);
}

.icone-btn-reglages {
  font-size: 16px;
  color: var(--couleur-principale);
}

.btnVersEnfant {
  box-shadow: 3px 3px 0px var(--couleur-principale);

  display: inline-flex;
vertical-align:middle;
  gap: 10px; /* espace entre l'icône et le texte */
  border: none;
  background-color: #fdfaf8;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 10px;
  height: 45px;
  width: auto; /* s’adapte au contenu */
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
}

.btnVersParent {
  box-shadow: 3px 3px 0px var(--couleur-principale);
margin-top: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 25px 20px 20px;
  gap: 10px; /* espace entre l'icône et le texte */
  border: none;
  background-color: #fdfaf8;
  height: 65px;
  width: auto; /* s’adapte au contenu */
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}



.btn-printview {
  box-shadow: 3px 3px 0px var(--couleur-principale);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 20px 20px;
  gap: 9px; /* espace entre l'icône et le texte */
  border: none;
  background-color: #fdfaf8;
  height: 40px;
  width: auto; /* s’adapte au contenu */
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  margin-top: -25px;
}

.btn-icon {
  
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}

.zonePrint {
  
  padding: 0px;
  margin: 0px;
}

.baseLineTitre {
  letter-spacing: 0.2px;

  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--couleur-principale-foncee);
  margin-top: -20px;
  font-family: 'Montserrat', sans-serif;

}

.phrase {
  line-height: 40px;
  font-size: 25px;
  color: var(--couleur-principale);

  margin: 10px 0px 20px 0px;
  text-align: center;
  font-weight: 400;

}

.phraseMyst {
  display: none;
  line-height: 45px;
  font-size: 25px;
color: var(--couleur-principale);
  white-space: pre-wrap;

  margin: 25px 0px 20px 0px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
font-weight: 700;
}

.info {
  text-transform: uppercase;
  font-size: 11px;
  text-align: center;
  font-weight: bold;
  padding: 0px;
  margin-top: 20px;
}

.grid {

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.box {
  line-height: 22px;
  font-size: 16px;
  border: 3px dashed  var(--couleur-principale);
  text-align: left;
  display: block;
  padding: 20px 30px;
  margin: 10px;
  border-radius: 15px;
}

.boxFirst {
  font-size: 20px;
  line-height: 22px;
  border: 3px dashed #999;
  text-align: left;
  display: block;
  padding: 20px 30px;
  margin: 10px;
  border-radius: 15px;
}



.equation {
  letter-spacing: -3px;
  font-size: 22px;
  line-height: 35px;
color: #000;
  font-family: "Courier Prime", monospace;
  white-space: pre-wrap;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 0px;
  margin-right: 0px;
}

.mot {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 25px;
  text-align: left;
  text-transform: uppercase;
}

.motJour {
  color: var(--couleur-principale);
  font-weight: bold;
  text-align: left;
  font-size: 24px;
}

.motDuJour{
  color:var(--couleur-principale);
  color: #000;
  font-weight: bold;
  text-align: left;
  font-size:18px;

}

.numero {
  font-size:20px;
  color:var(--couleur-principale);
color: #000;
  font-weight: bold;
  text-align: left;
}



textarea {
  cursor: text;
  font-family: 'Montserrat', sans-serif;
  color: #083B32;
  text-align: center;
  padding: 0;
  font-size: 15px;

  width: 80%;
  max-width: 600px;
  height: 60px;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 10px;
  margin-bottom: 5px;
  border-radius: 8px;
  border: 3px dotted #666666;
  background-color: transparent;
  padding: 0.5em 1em;
  outline: none;
}

.placeholderIntero {
  color: #AAA;
}



textarea::placeholder {
  font-family: 'Montserrat', sans-serif;


  line-height: 20px;
  font-size: 15px;

  color: black;
}

select {
  cursor: pointer;
  margin-top: 0px;
  display: inLine;
  align-items: center;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  gap: 0.5em;

  text-align: right;
  outline: none;
  /* supprime le contour bleu du focus */
  background-color: transparent;

  font-family: 'Montserrat', sans-serif;
  border-radius: 40px;
  border: 0px solid #666666;


}

/*-------------------*/
.error {
  color: red;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
}

#divBoutons {
  align-items: center;
  gap: 10px;
  /* espace entre les boutons */

}


button {

  font-family: 'Montserrat', sans-serif;
  border-radius: 40px;
  margin-left: 20px;
  margin-right: 20px;
vertical-align: middle;
}


/*-------------------*/

.childModeConfirmation {
  color: #FFF;
  background-color: var(--couleur-principale-foncee);
  padding: 40px;
  margin-bottom: 20px;
}



.fondBlancWarp {
  overflow: hidden;
  max-height: 0;
  text-align: center;
  transition: max-height 0.5s ease;
  background: #ffffff;
  border-radius: 25px;

  margin: 0 auto;


  padding-top: 0px;
  /* on évite le padding vertical pour le slide */
  padding-bottom: 0px;
  /* on évite le padding vertical pour le slide */
  padding-left: 30px;
  padding-right: 30px;

}


/*-------------------*/

.zoneSlide {
  overflow: hidden;
  max-height: 0;
  text-align: center;
  transition: max-height 0.5s ease;
  background: #ffffff;
  border-radius: 25px;

  margin: 0 auto;


  padding-top: 0px;
  /* on évite le padding vertical pour le slide */
  padding-bottom: 0px;
  /* on évite le padding vertical pour le slide */
  padding-left: 30px;
  padding-right: 30px;

}

.zoneSlide.active {

  max-height: 3000px;
  /* Ajuste selon ton contenu */
}


/*-------------------*/

.questionnaire {

  margin-top: 0px;
  color: #000;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  margin-left: 20px;
  margin-right: 20px;

  text-align: left;



}



/*-------------------*/
/*-------------------*/
/*-------------------*/




@media print {

  .equation {
    letter-spacing: -3px;
    font-size: 20px;
    font-family: "Courier Prime", monospace;
    white-space: pre-wrap;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
  }

  .placeholderIntero {
    color: #EEE;
  }

  .indice-print {
    color: #FFFFFF !important;
    /* ou #888 selon le contraste que tu veux */
  }

  .parentModeConfirmation {
    display: none !important;
  }

  .zoneDebut {
    display: none !important;
  }

  .baseLineTitre {
    display: none !important;
  }



  #backgroundCanvas,
  .background-nombres {
    display: none !important;
  }

  .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0px;
  }

  .page-wrapper {
    text-align: center;

    border-radius: 25px;
    /* arrondi doux */
    background-color: #f8ede7;
    padding: 0px;
    margin: 0px 0px;
    width: 100%;
    position: relative;
    /* essentiel */
    z-index: 1;
    /* au-dessus du fond */
  }




  #divBoutons {
    display: none !important;
  }

  #divBoutons {
    display: none !important;
  }

  #optionsBlock {
    display: none !important;
  }

  #switch-containerDiv {
    display: none !important;
  }

  .box {
    font-size: 15px;
    line-height: 14px;
    border: 3px dotted #666666;
    text-align: left;
    display: block;
    padding: 10px;
    margin: 10px;
    border-radius: 8px;
  }


  h1 {
    color: #000000;
    font-family: 'Kablammo', cursive;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 0.85;
    text-align: center;
    margin-bottom: 0px;
  }


  .letter-map {
    text-transform: uppercase;
    column-count: 4;
    column-gap: 10px;
    line-height: 18px;
    text-align: center;
    color: #000000;
    border-radius: 20px;
    background-color: #f8ede7;

    padding: 10px margin: 10px auto;
    width: 400px;
    position: relative;
    z-index: 1;
    letter-spacing: -3px;
    font-size: 20px;
    font-family: "Courier Prime", monospace;
  }



  body {
    margin: 0;
    padding-left: 2%;
    padding-right: 2%;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #ff8080;
    background-color: rgb(69, 191, 171);

    text-align: center;
  }
}


/*-------------------*/
/*-------------------*/
/*-------------------*/



@media (max-width: 768px) {

  body {
    margin: 0;
    padding-left: 1.5%;

    padding-right: 1.5%;

    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #ff8080;
    background-color: var(--couleur-principale);

    text-align: center;
  }

  h1 {
    color: #f8ede7;
    font-family: 'Kablammo', cursive;
    text-transform: uppercase;
    font-size: 55px;
    line-height: 0.85;
    text-align: center;
    margin-bottom: 0px;
  }




}