@font-face {
    font-family: 'Nohemi';
    src: url('../../src/fonts/Nohemi-VF.ttf') format('truetype-variations');
    font-weight: 100 900; 
    font-style: normal; 
    font-display: swap;
}

body {
    margin: 0;
    font-family: 'Nohemi', Arial, sans-serif;
    font-weight: 400; 
    line-height: 1.6;
    background-color: #0a0a0a;
    color: #e0e0e0;
    position: relative; 
    overflow-x: hidden; 
}

body::before {
    content: "";
    position: fixed; 
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        linear-gradient(45deg, rgba(200,200,200,0.02) 25%, transparent 25%, transparent 75%, rgba(200,200,200,0.02) 75%),
        linear-gradient(45deg, rgba(200,200,200,0.01) 25%, transparent 25%, transparent 75%, rgba(200,200,200,0.01) 75%) 2px 2px;
    background-size: 4px 4px;
    z-index: -1; 
    opacity: 0.3; 
    pointer-events: none; 
}

main {
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700; 
}

a {
    text-decoration: none;
    color: #bb86fc; 
}

a:hover {
    color: #ffffff;
}

.principal-contact {
    padding: 80px 20px;
    background-color: #0a0a0a;
}

.section-contact {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #121212;
    border-radius: 10px;
    border: 1px solid #222;
}

.entete-contact {
    text-align: center;
    margin-bottom: 40px;
}

.entete-contact h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    color: #ffffff;
}

.entete-contact p {
    font-size: 1.1em;
    color: #cccccc;
}

.formulaire-contact .groupe-formulaire {
    margin-bottom: 20px;
}

.formulaire-contact label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e0e0e0;
}

.formulaire-contact input[type="text"],
.formulaire-contact input[type="email"],
.formulaire-contact textarea {
    width: 100%;
    padding: 12px;
    background-color: #1f1f1f;
    border: 1px solid #444;
    border-radius: 5px;
    color: #ffffff;
    font-family: 'Nohemi', Arial, sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.formulaire-contact input[type="text"]:focus,
.formulaire-contact input[type="email"]:focus,
.formulaire-contact textarea:focus {
    outline: none;
    border-color: #bb86fc;
    box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.2);
}

.formulaire-contact textarea {
    resize: vertical;
}

.formulaire-contact .btn-principal {
    width: 100%;
    margin-top: 10px;
    opacity: 1;
    cursor: pointer;
}

.message-formulaire {
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    border: 1px solid transparent;
}

.message-formulaire.succes {
    background-color: rgba(40, 200, 64, 0.2);
    border-color: #28c840;
    color: #28c840;
}

.message-formulaire.erreur {
    background-color: rgba(255, 95, 87, 0.2);
    border-color: #ff5f57;
    color: #ff5f57;
}

@media (max-width: 768px) {
    .btn-principal {
        font-size: 0.85em; 
        padding: 7px 20px; 
    }
}