/* Reset des marges et paddings par défaut pour assurer la cohérence entre les navigateurs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Style du corps de la page: dégradé sombre et typographie claire */
body{
    background: linear-gradient(to right, rgb(63, 0, 0), black, rgb(0, 39, 0));
    height: 100dvh;
    color: azure;
    padding-bottom: 70px;
}
/* Style de l'en-tête */
header{
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
}
/* Animation des liens */
nav ul li a:hover{
    color: cadetblue;
}
/* Style des liens de navigation */
nav ul li a{
    display: inline-block;
    font-size: larger;
    display: flex;
    align-items: center;
    color: rgb(1, 212, 121);
    font-size: 18px;
    font-family: sans-serif;
    padding-left: 10%;
    padding-right: 10%;
    line-height: 1.6;
    padding-top: 40px;
}
/* Style des titres principaux */
h1{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding-bottom: 5px;
    padding-top: 30px;
    color: rgb(242, 237, 237);
}
/* Mise en forme des paragraphes standards */
p{
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    padding-right: 2%;
    padding-left: 2%;
    padding-bottom: 50px;
    padding-top: 70px;
    text-align: center;
}
a{
    font-size: 18px;
    font-family: sans-serif;
    text-decoration: none;
    color: rgb(1, 212, 121);
}
a:hover{
    color: cadetblue;
}
.hm{
    padding-left: 3%;
    padding-right: 3%;
}
.mh{
    padding-left: 16%;
    padding-right: 16%;
    word-spacing: 30px;
}
/* Bouton d'appel à l'action */
.btn{
    display: block;
    padding: 14px 12px;
    background-color: rgb(247, 3, 3);
    color: rgb(0, 3, 2);
    border-radius: 20px;
    transition: 0.3s;
    font-size: larger;
    width: fit-content;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}
footer p{
    text-align: center;
}
.k{
    text-align: justify;
    padding-bottom: 20px;
    padding-top: 15px;
}
h3{
    color: #84f293;
    font-family: Arial, Helvetica, sans-serif;
}
/* Section Services: Organisation des blocs */
.nos-services{
    line-height: 1.6;
    padding-top: 70px;
}
/* Cartes des services */
.m{
    padding-left: 30px;
    margin-bottom: 40px;
    border-radius: 15px;
    border: 3px solid;
    border-color: rgb(54, 53, 53);
    padding: 30px;
    margin-bottom: 30px;
}
/* Flexbox pour la section À Propos (Image + Texte) */
.jm{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 5%;
    min-height: 50vh;
    gap: 90px;
}
img{
    width: 300px;
    height: auto;
}
.ss{
    max-width: 550px;
    line-height: 1.6;
    text-align: left;
}
/* Galerie portfolio: Utilisation du css grid */
.grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-top: 100px;
    padding-left: 100px;
}
/* Style des images pour un rendu uniforme */
img{
    width: 90%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}
/* Style du formulaire de contact */
fieldset{
    border: 3px solid rgb(168, 245, 110);
    border-radius: 10px;
    padding: 30px;
}
legend{
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 10px;
    color: rgb(253, 3, 3);
}
/* Champs de saisie du formulaire */
input, textarea{
    width: 100%;
    padding: 12px;
    border: 2px solid green;
    border-radius: 5px;
}
label{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
}
/* Bouton d'envoi du formulaire */
button{
    background-color: red;
    color: black;
    padding: 12px;
    transition: 0.3;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}
.ju{
    display: flex;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 40px;
}
.contact p{
    margin: 0;
    padding: 2px;
    padding-bottom: 40px;
}
.active{
    text-decoration: underline;
    color: antiquewhite;
}
