/*---------------------------------------*\
 note: 
$ (ctrl+F) pour atteindre les sections
\*---------------------------------------*/

/*---------------------------------------*\
     $PARAMETRES GENERAUX ET COMMUNS
\*---------------------------------------*/

body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
}

.loader {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 99;
    background-color: #f88585;
    top: 0;
    transition: top 0.75s ease-in-out;
}

.loader p {
    color: white;
    font-size: 30px;
    font-weight: 600;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.page-main {
    display: block;
    margin: auto;
    width: 90%;
    margin-top: 0px;
}

.separateur {

    border-bottom: 3px solid rgb(255, 222, 236);
    border-bottom: 3px solid linear-gradient(90deg, rgba(255, 222, 236, 1) 24%, rgba(148, 194, 233, 1) 100%);
    border-radius: 10px;
    margin-top: 20px;
}

.title-category {
    padding: 20px;
    text-align: center;
    margin-bottom: 50px;
}

/*---------------------------------------*\
                 $HEADER
\*---------------------------------------*/

#header1 {
    display: block;
}

#header2 {
    display: none;
}

header {
    background: rgb(255, 222, 236);
    background: linear-gradient(90deg, rgba(255, 222, 236, 1) 24%, rgba(148, 194, 233, 1) 100%);
    border-bottom: solid #ced6e0 1px;
    position: relative;
    height: 80;
    top: 0;
}

header img {
    width: 50px;
}

header>* {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 30px 0 30px;
}

header>ul {
    right: 50px;
}

.header-text-form {
    text-decoration: none;

}

header,
header a {
    color: rgb(0, 0, 0);
}

#header_texte_entreprise {
    font-size: 20px;
    font-weight: 600;
}

header a:nth-child(2) {
    font-size: 25px;
    font-weight: 600;
    margin-left: 100px;
}

header>ul li {
    padding: 10px;
    font-weight: 600;
    display: inline-block;
    list-style: none;
    border-radius: 10px;
    transition: background-color 0.2s ease-in-out;
}

header>ul li:hover {
    background-color: rgba(0, 0, 0, 0.1)
}


.logo {
    display: none;
    background-image: url(../img/250ppi.png);
    background-color: transparent;
    background-position: -5%;
    background-size: 100%;
    height: 97.5px;
    width: 90px;
    z-index: 6;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;

}

/*---------------------------------------*\
                 $ACCEUIL               
 \*---------------------------------------*/

.fond_acceuil {
    margin-top: 50px;
    width: 100%;
    border-radius: 10px;
    left: 50%;
    transform: translateX(-50%);
    height: 500px;
    background-image: url(../img/Les_4_lacs_de_Matheysine.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.zone_texte_acceuil {
    width: 100%;
    height: 500px;
    z-index: 2;
    color: white;
    border-radius: 5px;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));

}

.texte_acceuil {
    position: absolute;
    bottom: 0;
    margin: 10px;
    z-index: 3;


}

.texte_acceuil p {
    font-size: 16px;
    text-align: justify;


}

.texte_acceuil h1 {
    font-size: 30px;
    font-weight: 1200;

}

/*---------------------------------------*\
                $MES ATELIERS
\*---------------------------------------*/

.atelier_conteneur {

    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;


}

.atelier {
    background-color: #d2bd77c2;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    margin: 10px;
    height: 500;
    width: 300;

}

.atelier_texte {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 7px;
    color: white;
}

.atelier_lien {

    font-size: 16px;
    font-weight: 600;
    color: white;
    text-decoration: underline;
    text-align: center;
}

.atelier_texte p {
    font-size: 16px;
    text-align: justify;
}

/* -----------------> Gestion des images des ateliers*/

.atelier1_img {
    width: 100%;
    height: 300px;
    background-image: url(../img/photo_atelier_allaitement.jpg);
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier2_img {
    width: 100%;
    height: 300px;
    background-image: url(../img/photo_atelier_massage_bebe_2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier3_img {
    width: 100%;
    height: 300px;
    background-image: url(../img/photo_atelier_pleurs_de_bebe.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier4_img {
    width: 100%;
    height: 300px;
    background-image: url(../img/photo_atelier_reflexologie_plantaire_bebe.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier5_img {
    width: 100%;
    height: 300px;
    background-image: url(../img/photo_atelier_motricite_libre_N&B.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier6_img {
    width: 100%;
    height: 300px;
    background-image: url(../img/atelier_diversification_alimentaire_2_N&B.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier7_img {
    width: 100%;
    height: 300px;
    background-image: url(../img/photo_atelier_sommeil_bebe_N&B.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier8_img {
    width: 100%;
    height: 300px;
    background-image: url(../img/photo_atelier_bain_enveloppé.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier9_img {
    width: 100%;
    height: 300px;
    background-image: url(../img/photo_atelier_portage_bebe_2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier10_img {
    width: 100%;
    height: 200px;
    background-image: url(../img/photo_atelier_liste_de_naissance_2.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier11_img {
    width: 100%;
    height: 200px;
    background-image: url(../img/idée/fond_jolie.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

.atelier12_img {
    width: 100%;
    height: 200px;
    background-image: url(../img/idée/fond_jolie.png);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    z-index: 1;
    position: relative;
    top: 0;
}

/*---------------------------------------*\
    $ACCOMPAGNEMENT VAE & QUI-SUIS-JE?
\*---------------------------------------*/

.accompagnement_vae h3 {
    font-size: 20px;
    font-weight: 600;
    color: black;
    text-decoration: underline;
}

.qsj {

    display: flex;
    flex-direction: row;
    max-width: 100%;

}

.qsj_img img {
    width: 200px;
    border-radius: 10px;
}

.qsj_texte {

    margin-left: 10px;
    display: flex;
    flex-direction: column;
    text-align: justify;
    max-width: 100%;
}

.qsj_texte h3 {
    font-size: 20px;
    font-weight: 600px;
}

.qsj_texte p {

    font-size: 16px;

}

/*---------------------------------------*\
               $CONTACT
\*---------------------------------------*/

/* Icône enveloppe flotante */
.fixed-envelope {
    position: fixed;
    bottom: 20px; /* Distance du bas */
    right: 20px; /* Distance de la droite */
    padding: 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 999;
  }
  
  /* Image dans le bouton */
  .fixed-envelope img.enveloppe-img {
    width: 75px;
    height: 75px;
  }
  
  /* Effets au survol */
  .fixed-envelope:hover {
    transform: scale(1.1);
  }


/*---------------------------------------*\
                 $FOOTER
\*---------------------------------------*/

footer {
    position: relative;
    bottom: 0px;
    background: rgb(255, 222, 236);
    background: linear-gradient(90deg, rgba(255, 222, 236, 1) 24%, rgba(148, 194, 233, 1) 100%);
    border-bottom: solid #ced6e0 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.footer_conteneur_entreprise {

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;


}

.footer_conteneur_entreprise img {

    width: 80px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.footer_entreprise_texte {

    text-align: center;
    margin-left: 300px;
    margin-right: 300px;
}

.footer_entreprise_texte h2 {

    font-size: 18px;
    font-weight: 600px;

}

.footer_entreprise_texte p {

    text-align: justify;
}

.footer_conteneur_info {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.footer_info {

    margin-left: 10px;
}

.footer_info h3 {

    font-weight: 600px;

}

.footer_info p {

    margin-left: 10px;
    margin-right: 10px;

}

.footer_info_contact_texte {
    color: black;
    text-decoration: none;
}

.footer_info_conteneur_icone {
    display: flex;
    flex-direction: row;

}

.footer_lien {

    text-decoration: none;
    color: black;
}



/*---------------------------------------*\
               $PAGE SECONDAIRE
\*---------------------------------------*/

.page_secondaire {
    display: block;
    margin: auto;
    /* background-color: #205163;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' width='80' height='40'%3E%3Cpath fill='%239C92AC' fill-opacity='0.4' d='M0 40a19.96 19.96 0 0 1 5.9-14.11 20.17 20.17 0 0 1 19.44-5.2A20 20 0 0 1 20.2 40H0zM65.32.75A20.02 20.02 0 0 1 40.8 25.26 20.02 20.02 0 0 1 65.32.76zM.07 0h20.1l-.08.07A20.02 20.02 0 0 1 .75 5.25 20.08 20.08 0 0 1 .07 0zm1.94 40h2.53l4.26-4.24v-9.78A17.96 17.96 0 0 0 2 40zm5.38 0h9.8a17.98 17.98 0 0 0 6.67-16.42L7.4 40zm3.43-15.42v9.17l11.62-11.59c-3.97-.5-8.08.3-11.62 2.42zm32.86-.78A18 18 0 0 0 63.85 3.63L43.68 23.8zm7.2-19.17v9.15L62.43 2.22c-3.96-.5-8.05.3-11.57 2.4zm-3.49 2.72c-4.1 4.1-5.81 9.69-5.13 15.03l6.61-6.6V6.02c-.51.41-1 .85-1.48 1.33zM17.18 0H7.42L3.64 3.78A18 18 0 0 0 17.18 0zM2.08 0c-.01.8.04 1.58.14 2.37L4.59 0H2.07z'%3E%3C/path%3E%3C/svg%3E");
    */
    width: 90%;
}

.ps_atelier_titre {
    text-align: center;
    font-size: 20px;
    font-weight: 600px;
    color: rgb(0, 0, 0);
    margin-top: 50px;
}

.ps_atelier_conteneur {
    background-color: #d2bd77c2;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    margin-top: 20px;
    border-radius: 10px;
}

.ps_atelier_conteneur img {
    height: 600px;
    border-radius: 10px;

}

.ps_atelier_texte {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
    margin-right: 30px;
}

.ps_atelier_texte h6 {
    font-weight: 300px;
    font-size: 16px;
    text-align: left;
    margin-bottom: 15px;
    margin-top: 15px;
}

.ps_atelier_texte h5 {
    font-weight: 300px;
    font-size: 16px;
    text-align: left;
    margin-bottom: 0px;
}

.ps_atelier_texte h4 {
    font-weight: 600px;
    font-size: 20px;
    text-align: left;
    margin-bottom: 15px;
    margin-top: 15px;
}

.ps_atelier_texte p {
    text-align: left;
    font-size: 16px;
    color: black;
    margin-left: 15px;
    margin-right: 15px;
}

.ps_atelier_texte li {
   
    margin-bottom: 10px;
}

/*---------------------------------------*\
               $RESPONSIVE
\*---------------------------------------*/

/* -----------------> Responsive tablette*/

@media screen and (max-width: 1250px) {

    #header1 {
        display: none;
    }

    #header2 {
        display: block;
    }

    .logo {
        display: block;
    }

    .texte_acceuil p {
        font-size: 16px;
    }

    .texte_acceuil h1 {
        font-size: 25px;
        font-weight: 1200;
    }

    .atelier_texte p {
        font-size: 16px;
    }

    .atelier_texte h3 {
        font-size: 20px;
    }

    .ps_atelier_conteneur {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ps_atelier_conteneur img {
        max-width: 100%;

    }

    .footer_entreprise_texte {

        margin-left: 40px;
        margin-right: 40px;
    }
}

/* -----------------> Responsive Smartphone*/

@media screen and (max-width: 700px) {

    header a:nth-child(2) {
        /* vise l'enfant le lien N°2 du header*/
        font-size: 16px;
    }

    .texte_acceuil p {
        font-size: 16px;
    }

    .texte_acceuil h1 {
        font-size: 20px;
        font-weight: 1200;
    }

    .atelier_conteneur>* {
        display: flex;
        flex-direction: column;
    }

    .atelier_texte p {
        font-size: 16px;
    }

    .atelier_texte h3 {
        font-size: 20px;
    }

    .qsj,
    .qsj_texte {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    input,
    textarea,
    .commentaire-text p,
    label {
        font-size: 16px;
    }

    .picture-propos-text p,
    .commentaire-text p {
        font-size: 12px;
    }

    .form-top {
        flex-direction: column;
        width: 100%;
    }

    input:not(input[type="submit"]),
    textarea {
        width: 100%;
    }

    footer h2 {
        font-size: 16px;
    }

    .footer_conteneur_info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: left;

    }

    .ps_atelier_conteneur img {
        height: 400px;

    }

    .fixed-envelope {
        position: fixed;
        bottom: 5px; /* Distance du bas */
        right: 5px; /* Distance de la droite */
       
      }
     
}

/*---------------------------------------*\
    $NAV. BARRE SMARTPHONE & BOUTONS
\*---------------------------------------*/

.icone_menu {
    width: 40px;
    height: 40px;
    cursor: pointer;
    left: 0;
    color: white;
    z-index: 4;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
}

.icone_menu:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.icone_fb {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    right: 0;
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out;

}

.icone_fb:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.icone_instagram {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease-in-out;
}

.icone_instagram:hover {
    background-color: rgba(0, 0, 0, 0.1);
}


.menu {
    display: none;
    width: 100vw;
    position: absolute;
    /* absolue = position par rapport à son parent le plus proche, icone ici icone attention au Z-index de l'icone*/
    top: 60px;
    left: -50px;
    background-color: #f0f0f0;
    padding: 10px;
    border: 1px solid #ccc;
    z-index: 4;
    /*comme .icone est le parent position:absolue il faut également  mettre un Z-index équivalent*/
    border-radius: 5px;
    text-align: center;
}

.menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu ul li {
    margin-bottom: 5px;
}

.menu ul li a {
    text-decoration: none;
    color: #333;
    transition: background-color 0.1s ease-in-out;
}

.menu ul li a:hover {
    padding: 5px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.1);
}

header>ul li {
    margin: 10px;
    font-weight: 600;
    display: inline-block;
    list-style: none;
    transition: background-color 0.5s ease-in-out;
}

header>ul li:hover {
    background-color: rgba(0, 0, 0, 0.1);
}


/*---------------------------------------*\
                  COMMENTAIRES
\*---------------------------------------*/

/* Section des commentaires */
#commentaires-section {
    margin: 20px;
    font-family: "Montserrat", sans-serif;
}

.commentaire {
    border: 1px solid #ced6e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    position: relative;
}

/* Style pour le nom et la date */
.commentaire-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.commentaire-nom {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.commentaire-date {
    font-size: 14px;
    font-style: italic;
    color: #7a7a7a;
}

/* Texte du commentaire */
.commentaire-message {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: justify;
}

/* Étoiles grises et jaunes avec effet au survol */
.note .etoiles {
    display: inline-block;
    font-size: 20px;
    color: transparent;
    position: relative;
    line-height: 1;
    transition: transform 0.3s ease-in-out; /* Animation au survol */
}

.note .etoiles::before {
    content: "★★★★★";
    color: #ccc; /* Couleur des étoiles grises */
    z-index: 1;
}

.note .etoiles::after {
    content: "★★★★★";
    color: #ffcc00; /* Couleur des étoiles jaunes */
    position: absolute;
    top: 0;
    left: 0;
    width: var(--note-percent, 0%);
    overflow: hidden;
    z-index: 2;
    white-space: nowrap;
    transition: width 0.3s ease-in-out; /* Animation pour la largeur */
}

/* Effet au survol des étoiles */
.note .etoiles:hover {
    transform: scale(1.1); /* Agrandit légèrement les étoiles */
    cursor: pointer; /* Ajoute un pointeur pour indiquer l'interactivité */
}

.note .etoiles:hover::before {
    color: #aaa; /* Change légèrement la couleur des étoiles grises */
}

.note .etoiles:hover::after {
    color: #ffd700; /* Change la couleur des étoiles jaunes au survol */
}