@import url(/mid-style.css);
@import url(/anatomie.css);
@import url(/contact.css);
@import url(/menu.css);
@import url(/loader.css);


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}

@font-face {
    font-family: 'nordhin';
    src: url(./font/nordhin/Nordhin.ttf);
}

@font-face {
    font-family: 'valentine';
    src: url(./font/valentine/Valen\ Valentine\ Script.otf);
}

@font-face {
    font-family: 'louis';
    src: url(./font/louis_george_cafe/Louis\ George\ Cafe.ttf);
}

body {
    background-color: black;
    position: relative;
    overflow-x: hidden;
}

p,
h1,
h2,
h3,
h4,
h5 {
    color: white;

}

a {
    text-decoration: none;
}

p {
    font-family: "louis";
    font-size: 18px;
}

button {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    text-decoration: none;
    padding: 15px;
    border-radius: 30px;
    margin-top: 20px;
    transition: all 0.4s;
    z-index: 5;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer; 
}

button:hover {
    transform: scale(1.03);
    cursor: pointer;
    color: rgb(44, 34, 2);
    background-color: rgb(249, 227, 182);
    border: 1px solid rgb(249, 227, 182);

}

h1,
h2 {
    font-family: 'nordhin'
}
h1{
    font-size: 25px;
}


/* BANNIERE */
#conteneur-banniere {
    height: 100vh;
    top: 0;
    position: relative;
    z-index: 0;
    width: 100%;
}

#banniere {

    display: flex;
    align-items: center;
 width: 100%;
    z-index: 0;
    height: 100dvh;


}

#boucle {
    z-index: 0;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

#panneau-banniere {
    position: relative;
    margin-bottom: 60px;
    margin-left: 100px;
    width: 300px;
    z-index: 1;
}
#panneau-banniere h1{
    font-size:clamp(1.3rem,2vw,6rem)
}

/* PLAYER VIDEO */
#playervideo {
    position: fixed;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.504);
    backdrop-filter: blur(10px);
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    opacity: 0;
    /* visibility empêche tout rendu (flash au chargement sur iOS) et tout clic */
    visibility: hidden;
    pointer-events: none;
    /* visibility bascule à la fin du fondu de fermeture */
    transition: opacity 1s ease, visibility 0s linear 1s;
}

#playervideo.actif {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 1s ease;
}

#contenant-video {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 95;
}

#contenant-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s ease;

}

#close-video {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 50px;
    height: 50px;
    z-index: 9999;
}

#close-video:hover {
    cursor: pointer;
}

#close-video::before {
    content: "";
    width: 3px;
    height: 40px;
    top: 0;
    left: 50%;
    border-radius: 20px;
    transform: translateX(-50%) rotate(50deg);
    background-color: white;
    position: absolute;

}

#close-video::after {
    content: "";
    width: 3px;
    height: 50px;
    top: 0;
    left: 50%;
    border-radius: 20px;
    transform: translateX(-50%) rotate(-50deg);
    background-color: white;
    position: absolute;
    border: #ffffff;
}

#close-video::after,
#close-video::before {
    transition: all 0.5s ease;
}

#close-video:hover::before {
    transform: translateX(-50%) rotate(-40deg);
    cursor: pointer;
}

#close-video:hover::after {
    transform: translateX(-50%) rotate(40deg);
    cursor: pointer;
}




/* INTRO */

#separation {
    width: 100%;
    position: absolute;
    top: 0px;
    transform-origin: 50% 100%;
    transform: translateY(-90%);
    /* décoratif : ne doit pas intercepter les clics (recouvre le bas de la bannière) */
    pointer-events: none;
}

#contenu-intro {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: rgb(0, 0, 0);
    z-index: 2;
}

#background-intro {
    position: absolute;
    height: 100vh;
    width: 100vw;
    background: #632b00;
    background: radial-gradient(circle, rgba(108, 58, 19, 0.708) 0%, rgba(0, 0, 0, 0) 40%);
    overflow: visible;
    opacity: 0;
    z-index: 1;
    /* décoratif : opacity 0 ne bloque pas les clics, pointer-events si (déborde sur la bannière en mobile) */
    pointer-events: none;
}

#bloc-intro {
    position: relative;
    height: 50%;
    width: 50%;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: row;
    gap: 30px;
    opacity: 0;
    z-index: 3;


}

#bloc-intro p {
    flex: 2;

}

#bloc-intro-image {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;

}


#bloc-intro-image::before {
    content: "";
    position: absolute;
    background: #ffffff;
    background: linear-gradient(185deg, rgba(255, 255, 255, 0) 39%, rgba(0, 0, 0, 1) 100%);
    opacity: 0.9;
    height: 100%;
    width: 100%;
    z-index: 4;
}

#bloc-intro img {

    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* BLOC POST INTRO */

#fond-avis {
    width: 100%;
    position: absolute;
    overflow-y: auto;
    bottom: -40%;
    left: -70%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
    filter: saturate(3);


    mask-image: radial-gradient(black 0%, transparent 70%);

}

#fond-avis-2 {
    width: 100%;
    position: absolute;
    overflow-y: auto;
    top: -10%;
    right: -50%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
    filter: saturate(1);


    mask-image: radial-gradient(black 0%, transparent 70%);

}

#bloc-post-intro {
    height: 100vh;
    width: 100%;
    /* background-color: rgb(111, 109, 109); */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: clip;
    z-index: 3; 
}


#fente {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;
    transform: rotate(-18deg) translateY(-140px);

}

#fente-2 {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;
    transform: scaleX(-1) translateY(-140px) rotate(-18deg);
    overflow: visible;
}

.cls-1 {

    fill: none;
    stroke: #ffffff;
    stroke-miterlimit: 10;
}

#bloc-portee {
    position: relative;
    height: 800px;
    width: 100vw;
    overflow-x: clip;
    margin-bottom: 200px;
    z-index: 0;
}

#cle-sol {
    position: absolute;
    top: 30%;
    left: 5%;
    width: 300px;
    height: 400px;
}

.svg-ligne {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow-x: clip;
}

#portee1 {
    position: absolute;
    top: 46%;
    left: 20%;
    overflow-x: clip;
}

#portee2 {
    position: absolute;
    top: 51%;
    left: 35%;
    overflow-x: clip;
}

#portee3 {
    position: absolute;
    top: 56%;
    left: 55%;
    overflow-x: clip;
}

#portee4 {
    position: absolute;
    top: 61%;
    left: 75%;
    overflow-x: clip;
}

/* METHODE */
#grand-bloc-methode {

    background-color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: clip;
    z-index: 1; 
}

#background-methode {
    position: absolute;
    height: 100vh;
    width: 100vw;
    background: #632b00;
    background: radial-gradient(circle, rgba(120, 64, 22, 0.708) 0%, rgba(0, 0, 0, 1) 40%);
    overflow: visible; 
    z-index: 0;
    /* top: -200px;
    left: -200px; */
    top: 0;
    left:0; 
}

#bloc-methode {

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-row: 1fr 1fr 1fr;
    height: 140vh;
    column-gap: 100px;
    z-index: 1;
    


}

#methode-mot {
    width: 100%;
    position: absolute;
    top: 100px;
    left: 400px;
    transform: rotate(20deg);
    z-index: 4;
    

}

#conteneur-methode-mot {
    position: relative;
    z-index: 50;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

#methode-mot img {
    position: absolute;
    top: -450px;
    left: 0;
    width: 1500px;


}

#methode-mot h2 {
    font-family: 'valentine';
    font-size: 40px;
    font-weight: 100;
    position: absolute;
    top: 0;
    left: 300px;

}

.methodes {

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    z-index: 2;

}

#methode1 {
    grid-column: 2;
    grid-row: 1;


}

#methode2 {
    grid-column: 3;
    grid-row: 2;
}

#methode3 {
    grid-column: 2;
    grid-row: 3;
}

#tete-violon img {

    width: 500px;
    overflow: hidden;
    position: relative;
}

#tete-violon {
    position: absolute;
    overflow-x: hidden;
    left: -100px;
    top: 200px;
    transform: rotate(-30deg);

}

#corde1 {
    bottom: 10px;
    right: -100px;
    position: absolute;
    z-index: 2;
    transform: rotate(10deg);
}

#corde2 {
    bottom: -300px;
    right: -200px;
    position: absolute;
    transform: rotate(-20deg);
}

#corde3 {
    bottom: -100px;
    right: -100px;
    position: absolute;
    transform: rotate(-10deg);
}

#empty {
    height: 100vh;
}

@media screen and (max-width: 769px) {
    /* STYLES HERE */
.split-e{
    height: 100%;
    position: relative; 
 
    display: flex;
    justify-content: center;
    align-items: center; 
    
}
#contenu-intro{
    height: 100%; 
    padding-top: 4em;  }
    /* BANNIERE */
    #conteneur-banniere {
        height: 100%;
        top: 0;
        left: 0;
        position: relative;
        z-index: 0;
    }

    #banniere {

        display: flex;
        align-items: center;
        z-index: 0;
        height: 100dvh;
        justify-content: center;


    }

    #boucle {
        z-index: 0;
        top: 0;
        position: absolute;
        width: 100%;
        object-fit: cover;
    }

    #panneau-banniere {
        position: relative;
        margin-bottom: 60px;
        text-align: center;
        margin: 0;
        width: 100%; 
        z-index: 1;
    }
#panneau-banniere p{
    font-size: clamp(0.8rem, 4vw, 1rem)
}
    #bloc-methode {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 40px;
        height: auto;
        padding-top: 9em;   
        /* le 140vh fixe n'a plus de sens en 1 colonne */
    }
        #methode-mot {
            width: 100%;
            position: absolute;
            top: 19%;    
            left: 20%;  
            transform: rotate(20deg);
    
    
        }
        #bloc-methode p{
            z-index: 5;  
        }

    #methode1,
    #methode2,
    #methode3 {
        grid-column: 1;
    }

    #background-intro {
        position: absolute;
        height: 100vh;
        width: 100vw;
        background: #632b00;
        background: radial-gradient(circle, rgba(108, 58, 19, 0.708) 0%, rgba(0, 0, 0, 0) 40%);
        overflow: visible;
        opacity: 0;
        z-index: 1;
        top:-40%;

    }


    #bloc-intro {
        position: relative;
        height: 50%;
        width: 100%;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column-reverse; 
        gap: 30px;
        opacity: 0;
        z-index: 3;



    }

    #bloc-intro p {
        flex: 2;
        z-index: 2;
        text-align: center; 
        padding: 1em;
    }

    #bloc-intro-image {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        
        z-index: 0;

    }


    #bloc-intro-image::before {
        content: "";
        position: absolute;
        background: #ffffff;
        background: linear-gradient(185deg, rgba(255, 255, 255, 0) 39%, rgba(0, 0, 0, 1) 100%);
        opacity: 0.9;
        height: 100%;
        width: 100%;
        z-index: 4;
        top: 0; 
        left: 0; 
        display: none; 
    }

    #bloc-intro img {

        object-fit:contain;
        width: 15em;
      
    }

    #bloc-avis-clients{
        display: none;
    }
    #bloc-post-intro{
        height: 40vh;    
      
    }
    /* ---- COMPLEMENTS RESPONSIVE MOBILE ---- */

    p {
        font-size: 16px;
    }

    /* BANNIERE */
    #panneau-banniere {
        width: min(300px, 88vw); 
    }

    /* #panneau-banniere h1 {
        font-size: 20px;
    } */

    #boucle {
        height: 100dvh;
    }

    /* PLAYER VIDEO */
    #contenant-video video {
        width: 94%;
    }

    /* INTRO */
    #bloc-intro {
        padding: 0 24px;
    }

    #bloc-intro-image {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    /* PORTEE */
    #bloc-portee {
        height: 50vh;
        margin-bottom: 0px;
        display: none; 
    }
#fond-avis,#fond-avis-2{ 
    top: 20%;
    bottom: auto;
}
    #cle-sol {
        top: 32%;
        left: 2%;
        width: 150px;
        height: 220px;
    }

    #portee1 p,
    #portee2 p,
    #portee3 p,
    #portee4 p {
        font-size: 12px;
    }

    #portee1 {
        left: 20%;
    }

    #portee2 {
        left: 27%;
    }

    #portee3 {
        left: 36%;
    }

    #portee4 {
        left: 48%;
    }

    /* METHODE */
    #background-methode {
      
    }
    .gray{
        filter: grayscale(1); 
    }

    #conteneur-methode-mot {
        height: 260px;
        
    }

    #methode-mot img {
        width: 800px;
        top: -240px;
    }

    #methode-mot h2 {
        left: 24px;
        font-size: 30px;
        z-index: 40;
    }

    /* on décale la grille sous l'archet et au-dessus des photos pour que le texte reste lisible */
    #bloc-methode {
        
        padding-bottom: 0em;
        height: 20%; 
    }

    .methodes {
        padding: 28px;
       
    }

    #tete-violon {
        transform: scale(0.5) rotate(-20deg); 
        left: -50%;    
        top:10%; 
        opacity: 0.5;
        display: none;
    }
    .cordestest{
        z-index:0;
        transform: translateY(-5em); 
        opacity: 0.5; 
        display: none;
            
    }
    #corde1 {
        width: 160px;
        right: -40px;
        bottom: -60px;
        filter: grayscale(1);
    }

    #corde2 {
        filter: grayscale(1);
        width: 320px;
        right: -120px;
        bottom: -220px;
    }

    #corde3 {
        filter: grayscale(1);
        width: 190px;  
        right: -50px;
        bottom: -120px;
    }

  
}

/* ============ TABLETTE ============ */
@media screen and (min-width: 770px) and (max-width: 1100px) {

    #conteneur-banniere {
        position: relative;
    }
           /* #panneau-banniere h1 {
               font-size: 27px; 
           } */
    #bloc-intro {
        width: 80%;
    }

    #bloc-methode {
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        row-gap: 60px;
        height: auto;
        padding: 420px 40px 220px;
    }

    #methode1 {
        grid-column: 1;
        grid-row: 1;
    }

    #methode2 {
        grid-column: 2;
        grid-row: 2;
    }

    #methode3 {
        grid-column: 1;
        grid-row: 3;
    }

    #methode-mot {
        left: 100px;
    }

    #methode-mot img {
        width: 1100px;
        top: -330px;
    }

    #conteneur-methode-mot {
        height: 370px;
    }

    /* pas de place dans la grille 2 colonnes sans recouvrir le texte */
    #tete-violon {
        display: none;
    }
        #bloc-post-intro {
            height: 30vh;
            width: 100%;
            /* background-color: rgb(111, 109, 109); */
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow-x: clip;
            z-index: 3;
        }
}