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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #649173, #DBD5A4);
    color: #f2f2f2;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header {
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    color: #4CAF50;
}

.fixed-logo {
    position: fixed;
    top: 25px;
    left: 40px;
    z-index: 2000;
    width: 40px;
    height: 40px;
}

.fixed-logo img {
    width: 100%;
    height: auto;
}

nav {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    background-color: transparent; /* Tu peux mettre une couleur si tu veux */
    padding: 10px 20px;
    z-index: 999;
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between; /* ✅ espace entre logo et liens */
    align-items: center;
    max-width: 1200px;
    margin: auto;
  }
  
  

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 2.7rem;
    font-weight: bold;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-logo-text {
    font-family: Impact, sans-serif;
    font-size: 5rem;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    font-size: 1.2rem;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links li a:hover {
    background-color: #388E3C;
    color: #ffffff;
}

main {
    background-color: #f5f5f5;
    padding: 40px 30px;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: #333333;
}

h2, h3, p {
    color: #333333;
}

a {
    color: #388E3C;
}

a:hover {
    color: #81C784;
}

section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #81C784;
}

.project {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    margin-bottom: 25px;
}

.project:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    flex-grow: 1;
}

.project-info .btn {
    display: inline-block;
    background-color: #388E3C;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.project-info .btn:hover {
    background-color: #2C6B2F;
    text-decoration: none;
}

.project-info h3 {
    font-size: 1.4rem;
    color: #388E3C;
    margin-bottom: 10px;
}

.project-info p {
    margin-bottom: 12px;
    line-height: 1.5;
    color: #E0E0E0;
}

.project-info a {
    color: #388E3C;
    font-weight: 600;
    text-decoration: none;
}

.project-info a:hover {
    text-decoration: underline;
    color: #81C784;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
}

input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    resize: vertical;
}

button {
    background-color: #388E3C;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2C6B2F;
}

footer {
    background-color: #f5f5f5;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #008000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#content {
    display: none;
}

.cursor {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #388E3C;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.1s ease-in-out;
    z-index: 10000;
}

.cursor-text {
    position: absolute;
    font-size: 14px;
    color: #388E3C;
    font-weight: bold;
    display: none;
    pointer-events: none;
    transition: opacity 0.2s ease;
}


.hero-video {
    position: relative;
    width: 100%;
    height: 100vh; /* toute la hauteur visible de l'écran */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding-top: 60px;
  }
  
  .hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* couvre sans déformer */
    z-index: -1;
    filter: brightness(0.4);
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* ✅ texte plus lisible */
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); /* ✅ texte plus lisible */
  }

  .hero-header-text {
    text-align: center;
    margin-top: 150px;
  }
  
  .hero-header-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero-header-text p {
    font-size: 1.2rem;
  }
  