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

/* =========================================
   VARIABLES
========================================= */

:root {

    /* Couleurs en HSL */

    --fond: hsl(0, 0%, 8%);
    --fond-secondaire: hsl(0, 0%, 5%);
    --fond-carte: hsl(0, 0%, 5%);

    --texte: hsl(0, 0%, 95%);
    --texte-secondaire: hsl(0, 0%, 70%);

    --bordure: hsl(0, 0%, 33%);

    --vert: hsl(75, 76%, 45%); /* ne changer que la première valeur du HSL*/
    --fond-selection: hsla(75, 76%, 25%, 0.50); /* la première valeur du HSL doit être la même que --vert (ne pas changer les autres)*/
/* PENSER A CHANGER LA COULEUR DE SURVOL DU LOGO AVEC UN CALCULATEUR DE FILTRES EN LIGNE EN CAS DE CHANGEMENT*/
/* OUTIL EN LIGNE : https://elysiatools.com/fr/tools/css-target-color-filter-generator  */
}


/* =========================================
   GÉNÉRAL
========================================= */
html {
    scroll-behavior: smooth;
}

body{



    background:var(--fond);

    color:var(--texte);

    line-height:1.6;

}

h1{

    font-family: impact;
    line-height: 1.5;

}

h2{

    font-family: Helvetica;
    margin-bottom: 40px;

}

h3{

    font-family: Helvetica;

    color: var(--vert);
    margin-bottom: 20px;
    margin-top: 20px;
}

h4{

    font-family: Helvetica;
    font-style :italic;
    font-size : 20px;
    color: var(--vert);
    margin-bottom: 20px;
    margin-top: 20px;

}

p{

    font-family: Helvetica;
    margin-bottom: 20px;
    margin-top: 20px;

}

a{

    font-family: Helvetica;

}

mark{
    background: hsla(76, 76%, 25%, 0.2);
    color: var(--vert);
    font-weight: bold;
}

::selection {
    color: var(--vert);

    background: var(--fond-selection);

    text-shadow: 0 0 8px hsla(0, 0%, 100%, 0.25);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    margin : 20px;

    justify-content: center;
}

.btn:hover {
    background: var(--vert);
    color: black;
}
/* =========================================
   HEADER
========================================= */

.hero{
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0,0,5,0.3),rgba(0,0,5,0.3));
    position: relative;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

nav {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;


}

nav img {

    width: 80px;
    
    object-fit: contain;
    margin-right: auto; 
    
}


nav img:hover {
    filter: invert(17.1%) sepia(51.1%) saturate(2892.2%) hue-rotate(25.2deg) brightness(99.4%) contrast(78%);
    /* CHANGER LA COULEUR DE SURVOL DU LOGO AVEC UN CALCULATEUR DE FILTRES EN LIGNE EN CAS DE CHANGEMENT de --vert*/
}

nav a {
    color: var(--texte);
    font-family: helvetica;
    text-decoration: none;

    margin: 0 15px;

    font-weight: bold;

    white-space: nowrap;
    text-align: right;
}

nav a:hover {
    color: var(--vert);
}

.contenu{
    text-align: center;
    align-items: center;
    justify-content: center;

}
.contenu h1{
    
    height: 100px;
    font-size:5rem;
    margin-top:60px;
    z-index: 10;

}

.contenu h3{

    color:var(--texte-secondaire);
    margin-top:5px;
    margin-bottom:25px;    
}

.bg-video{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
}




/* =========================================
   IMAGES
========================================= */

section img{

    display:block;

    width:100%;

    max-width:3000px;

    margin:25px auto;

    border-radius:10px;

}

/* =========================================
   LIGNES
========================================= */

hr{

    border:none;

    height:1px;

    background:var(--bordure);

    width:60%;

    margin:auto;

}

/* ==========================================
   PRESTATIONS
========================================== */

section video{

    display:block;

    width:100%;

    max-width:3000px;

    margin:25px auto;

    border-radius:10px;

}

.video-youtube {
    width: 100%;
    max-width: 3000px;
    aspect-ratio: 16 / 9;
    margin: 25px auto;
    border-radius: 10px;
    overflow: hidden;
}

.video-youtube iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   SECTIONS
========================================= */


section{

        
    width:80%;

    max-width:3000px;

    margin:60px auto;

    background:var(--fond-carte);

    padding:40px;

    border-radius:10px;

    border:1px solid var(--bordure);

    text-align:center;
    
}


section h2{

    margin-bottom:20px;

    font-size:2rem;

    text-align:center;

}

section p{

    color:var(--texte-secondaire);
    text-align:left;
    margin-left:60px;

}

.QSN{

    width:40%;
    height:40%;
}


/* =========================================
   PROJETS
========================================= */

.projet{

    text-align: center;

}


/* =========================================
   FORMULAIRE
========================================= */


.formulaire{
    margin: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.formulaire select{
    width: 100%;
    padding: 15px;
    margin: 1px;

    background: #111;
    border: 1px solid #333;
    border-radius: 8px;

    color: white;
    outline: none;
}

.formulaire input {
    width: 100%;
    padding: 15px;
    margin: 1px;

    background: #111;
    border: 1px solid #333;
    border-radius: 8px;

    color: white;
    outline: none;
}

.formulaire button {
    width: 80%;
    padding: 12px;

    background: black;
    color: white;

    border: 1px solid #333;
    border-radius: 8px;

    cursor: pointer;
    margin-top: 20px;

    transition: 0.2s;
}

.formulaire button:hover {
    background: #222;
}

#descriptionAdhesion {
    margin: 15px auto 0;
    font-size: 14px;
    color: rgb(150,150,150);
    max-width: 450px;
    text-align: center;
    margin-bottom: 15px;
}




/* =========================================
   CONTACT
========================================= */
.reseaux{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:1.5rem;

    margin-top:4rem;

    justify-content: space-evenly;

}

.contact-btn{

    width:72px;
    height:72px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;

    background:hsla(0,0%,100%,0.05);

    border:1px solid hsla(0,0%,100%,0.08);

    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);

    box-shadow:
        0 8px 25px hsla(0,0%,0%,0.35),
        inset 0 1px 0 hsla(0,0%,100%,0.08);

    transition:
        transform .3s,
        background .3s,
        border-color .3s,
        box-shadow .3s;

    text-decoration:none;

}

.contact-btn svg{

    width:28px;
    height:28px;

    stroke:white;
    stroke-width:1.7;

    fill:none;

    transition:.3s;

}

.contact-btn:hover{

    transform:translateY(-4px);

    background:hsla(0,0%,100%,0.10);

    border-color:hsla(0,0%,100%,0.18);

    box-shadow:
        0 15px 35px hsla(0,0%,0%,0.45),
        0 0 25px hsla(0,0%,100%,0.08);

}

.contact-btn:hover svg{

    transform:scale(1.12);

}



/* =========================================
   FOOTER
========================================= */

footer{

    background:var(--fond-secondaire);

    text-align:center;

    padding:30px;

    color:var(--texte-secondaire);

    margin-top:60px;

}

.btn-login {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    margin : 20px;
}

.btn-login:hover {
    background: white;
    color: black;
}



/* =========================================
   RESPONSIVE
========================================= */

@media (min-aspect-ratio : 16/9){
    .bg-video{
        width: 100%;
        height: auto;

    }
}

@media (max-aspect-ratio : 16/9){
    .bg-video{
        width: auto;
        height: 100%;
        
    }
}

/* =========================================
   RESPONSIVE - TABLETTES (max-width: 990px)
========================================= */

@media (max-width: 990px) {

    nav {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .menu-links{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }

    .menu-links a{
        text-align: right;
    }

    section{
        width:95%;
        padding:25px 18px;
        margin:35px auto;
    }

    section p{
        margin-left:0;
    }


}



/* =========================================
   RESPONSIVE - MOBILE (max-width: 550px)
========================================= */

@media (max-width: 550px) {


    .contenu h1{
    
        font-size:4rem;

    }

    .contenu h3{
        font-size: 1rem;
        transform: translateY(-20px);
    }

    section{
        width:95%;
        padding:25px 18px;
        margin:35px auto;
    }

    section h2{
        font-size:1.5rem;
    }

    .formulaire{
        display:block;
    }

    .formulaire select,
    .formulaire input,
    .formulaire button{
        width:100%;
    }

    .reseaux{
        gap:1rem;
        flex-wrap:wrap;
        margin-top:2.5rem;
    }

    .contact-btn{
        width:58px;
        height:58px;
    }

    .contact-btn svg{
        width:22px;
        height:22px;
    }

    footer{
        padding:20px;
    }

    .btn-login{
        padding:10px 18px;
        margin:12px;
    }
}



/* =========================================
   RESPONSIVE - TRÈS PETITS ÉCRANS (max-width: 420px)
========================================= */

@media (max-width: 420px) {

    .contenu h1{
    
        font-size:3rem;

    }

    .contenu h3{
        font-size: 1rem;
        transform: translateY(-42px);
    }

    section h2{
        font-size:1.3rem;
    }

    section p{
        font-size:0.8rem;
    }
}

/* =========================================
   RESPONSIVE - TRÈS TRES PETITS ÉCRANS (max-width: 375px)
========================================= */

@media (max-width: 375px) {



    .contenu h3{
        font-size: 0.8rem;
        transform: translateY(-42px);
    }


}


