*{
    margin: 0;
}

body {      /* tout */
    font-family: "Pragati Narrow", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.title {    /* tout les titre */
    font-size: 45px;
    margin: 20px;
    margin-left: 50px;
    width: min-content;
    font-family: "Anton", sans-serif;
    background: linear-gradient(to right, black, #c89116);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Euphoria Script", cursive;
}

.margin {   /* ajoute un espace entre les autres élément */
    margin: 40px;
}

.marge {    /* ajoute 2 marge sur les coté */
    margin-left: 12vw;
    margin-right: 12vw;
}

.distance {     /* ajoute une distance entre 2 élément cote a cote */
    margin-left: 40px;
}

.blank {    /* ajoute un espace blank en dessous */
    margin-bottom: 50px;
}

.flex_paragraphe {      /* fait directement un paragraphe avec les bon parametre */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
}

.flex {     /* met plusieur élément cote a cote */
    display: flex;
    flex-direction: row;
}

.align_center {     /* aligne les élément au centre de sa division */
    align-items: center;
}

.space-around {     /* reparti les élément sur l'horizontale avec une distance equivalente */
    justify-content: space-around;
}

.size_img {     /* change la taille de l'image (personalisable) */
    width: var(--size);
    height: auto;
    object-fit: contain;
}

.anim_text {
    opacity: 0;
    font-size: 1.65vw;
}

.anim_text.active {
    animation-duration: 1s;
    animation-name: emergence;
    animation-fill-mode: forwards;
}

@keyframes emergence {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

.relative {     /* met une position relative */
    position: relative;
}

.fin_ecran {
    position: absolute;
    top: 30%;
    right: 16%;
    transform: rotate(10deg);
}

    /* ////////////////////////// commencement /////////////////////////////// */
.intro {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 10px;
}

.center {   /* centre le texte */
    text-align: center;
}

.police_size {      /* taille de la police abituelle */
    font-size: 20px;
}

    .emerencon {
        width: 10vw;
    }

    .logo {
        width: 125%;
        text-align: center;
    }



@media screen and (max-width: 1100px) {
    .emerencon {
        width: 100px;
    }

    .logo {
    width: 125%;
    text-align: center;
    }

}

/* /////////////////////////////////////////////////////////////   menu   //////////////////////////////////////////////  */
.bar_menu {
    display: flex;
    flex-direction: row;
    position: sticky;
    top: 0;
    z-index: 99;
    font-family: sans-serif;
    background-color: white;
    box-shadow: 0px 30px 30px rgba(0, 0, 0, 0.05);
    padding: 1.2vw;
    height: 70px;
}

.menu {
    display: flex;
    text-align: left;
    align-items: center;
    justify-content: left;
    margin-left: 4vw;
    width: 100%;
}

.menu > ul {
    display: flex;
    padding: 0;
    margin: 0;
}

.menu li a {
    text-decoration: none;
    background: linear-gradient(to right, black, #c89116);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Gilda Display", serif;
    font-size: clamp(16px, 1.35vw, 50px);
    display: block;
    padding: 25px;
}

.mobmenubot {
    display: none;
    z-index: 20;
    margin: 0;
    width: 1vw;
    position: fixed;
    background-color: white;
}

@media screen and (max-width: 425px) {
    .bar_menu {
        flex-direction: column;
        height: min-content;
        width: min-content;
        position: absolute;
        display: none;
    }

    .menu ul {
        flex-direction: column;
        background-color: white;
    }

    .mobmenubot {
        display: block;
    }
}

.menu_btn {
    background: none;
    border: 0px;
    cursor: pointer;
    font-size: 18px;
    list-style: none;
    color: black;
    text-decoration: none;
}

.menu_btn:hover {
    background-color: rgba(210, 210, 210, 0.6);
}

.vrai_boutton a {
    background-color: black;
    border: 0px;
    padding: 1.3vw;
    border-radius: 100px;
    font-size: 1.7vw;
    align-items: center;
    transform: scale(0.8);
    cursor: pointer;
    list-style: none;
    transition-duration: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    height: 30px;
    min-width: max-content;
}

.text_boutton {
    text-decoration: none;
    color: white;
    display: block;
}

.vrai_boutton:hover a {
    transition-duration: 0.3s;
    transform: scale(0.78);
}

#rajoute_border_top {
    border-top: 1px solid #d9a9a4;
}

        /* //////////////////////////////////////////////////////////   sous menu methode   ////////////////////////////////////////////////   */
.has_methode {
    position: relative;
}

.methode_nav {
    list-style: none;
    display: none;
    position: absolute;
    top: 70.5px;
    left: -40px;
    width: max-content;
    font-size: 16px;
}

.methode_nav li {
    background-color: #FFF;
    border: solid #d9a9a4 1px ;
    border-top: 0px;
}

.methode_nav li:hover {
    background-color: rgba(237, 237, 237, 1);
}

.has_methode:hover .methode_nav  {
    display: block;
}

.methode_nav li a {
    padding: 20px 30px;
}

                /* //////////////////////////////////////////////////////////   sous menu outils   ////////////////////////////////////////////////   */
.has_outils {
    position: relative;
}

.outils_nav {
    list-style: none;
    display: none;
    position: absolute;
    top: -0.5px;
    left: 91px;
    width: max-content;
    font-size: 16px;
}

.has_outils:hover .outils_nav  {
    display: block;
}

                /* //////////////////////////////////////////////////////////   (sous menu outils)   ////////////////////////////////////////////////   */


        /* //////////////////////////////////////////////////////////   (sous menu methode)   ////////////////////////////////////////////////   */

/* /////////////////////////////////////////////////////////////   (menu)   //////////////////////////////////////////////  */

/* //////////////////////////////////////// police d'écriture ///////////////////////////////// */

.po_size {      /* change la taille de la police d'ecriture (personalisable) */
    font-size: clamp(16px, var(--size), 50px);
}

.teko {
    font-family: "Teko", sans-serif;
    font-size: 30px;
}

.sofia {
    font-family: "Sofia Sans Extra Condensed", sans-serif;
}

.anton {
    font-family: "Anton", sans-serif;
}

.dancing_script {
    font-family: "Dancing Script", cursive;
}

.antonio {
  font-family: "Antonio", sans-serif;
}

.ec_doree {
    text-decoration: none;
    background: linear-gradient(to right, black, #c89116);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ///////////// + /////////// */


.box {
    aspect-ratio: 1 / 1;
    display: flex; /* Active flexbox */
    flex-direction: column; /* Empile image + texte verticalement (ou row pour horizontal) */
    align-items: center; /* Centre les éléments horizontalement */
    justify-content: center;
    text-align: center;
    max-width: 18vw;
    max-height: 18vw;
    border: solid black 2px;
}

.box img {
    width: 55%; /* L'image ne dépasse pas la largeur du conteneur */
    height: auto;    /* Maintient le ratio d'aspect */
    object-fit: contain; /* Ajuste l'image pour qu'elle tienne dans son espace */
}

.box .cutimg {
    max-width: none;
    width: 122%;
    overflow-x: hidden;
}

.box p {
    text-align: center;
    font-size: 1.2vw;
    max-width: 80%; /* Limite la largeur du texte pour éviter le débordement */
    background-color: white;
    text-decoration: none;
    color: black;
}


.marge2 {    /* ajoute 2 marge sur les coté */
    margin-left: 14vw;
    margin-right: 14vw;
}

.bot {
    width: 20vw;
}

.bot img {
    position: absolute;
    width: 14vw;
    transform: translate(-50%, -50%);
    top: 45%;
    left: 35%;
}

.bot p {
    position: absolute;
    width: max-content;
    transform: translate(-50%, -50%);
    font-size: 1.6vw;
    top: 65%;
    left: 65%;
}

.basdepage {
    border-top: rgb(255, 235, 148) solid 0.16vw;
    background: linear-gradient(to bottom, rgb(255, 255, 216), rgba(255, 255, 255, 0) 50%);
}

.basdepage a, button {
    position: relative;
    outline: none;
    border: none;
    background: none;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.basdepage a::after, .basdepage button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: black;
    transition: width 0.2s, left 0.2s;
}

.basdepage a:hover::after, .basdepage button:hover::after {
    width: 100%;
    left: 0;
}

.ML_content {
    width: max-content;
    margin: auto;
    border: black solid 1px;
}

.ML_content p {
    border: black solid 1px;
    width: 25vw;
    padding: 0.2vw;
    font-size: 1.2vw;
}

.ML_content div {
    display: flex;
}

body.no-scroll {
  overflow: hidden;
}

.popupML {
    border: none;
    border-radius: 10px;
    padding: 20px;
    padding-top: 0px;
    margin: auto;
    transform: translateY(100px);
    opacity: 0;
    transition-duration: 0.5s;
    width: 55vw;
}

.popupML.show {
    transform: translateY(0px);
    opacity: 1;
    transition-duration: 0.5s;
}

.popupML.exit {
    transform: scale(0.7);
    opacity: 0;
    transition-duration: 0.5s;
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.3); /* légèrement sombre */
    backdrop-filter: blur(5px);       /* flou du fond */
}

.close {
    position: absolute;
    top: 1vw;
    left: 1vw;
    border: none;
    background-color: white;
    font-size: 5vw;
    cursor: pointer;
    transform: scale(1);
    transition-duration: 0.2s;
}

.close:hover {
    transform: scale(1.1);
    transition-duration: 0.2s;
}



/* /////////////////////////////////////////////////    addaptation ecran    //////////////////////////////// */

@media screen and (max-width: 768px) {
    .flex_paragraphe {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .flex {
        display: flex;
        flex-direction: column;
    }

    .imgGD {
    max-width: 50%;
    height: auto;
    }
}

