.contact-page {
    padding-top: 180px; /* Espace pour la navbar fixe */
    background-color: var(--bg-accent); /* Fond légèrement gris pour le formulaire */
    display: flex;
    justify-content: center;
}

.contact-container {
    max-width: 600px; /* Formulaire pas trop large */
    width: 100%;
    text-align: center;
}

.contact-container h1 {
    margin-bottom: 0.5rem;
}

.contact-container p {
    margin: 0 auto 3rem auto;
}

/* Formulaire Modernisé */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, 
.contact-form textarea, 
.contact-form select {
    width: 100%;
    padding: 18px;
    background-color: var(--bg); /* Input noir sur fond gris accent */
    border: 1px solid #222; /* Bordure très subtile */
    border-radius: 4px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form select {
    appearance: none; /* Cache la flèche par défaut */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    color: var(--text-muted);
}

.contact-form input:focus, 
.contact-form textarea:focus, 
.contact-form select:focus {
    outline: none;
    border-color: var(--text-muted); /* Bordure s'éclaircit au focus */
}

.contact-form button {
    margin-top: 10px;
    width: 100%; /* Bouton prend toute la largeur */
    cursor: pointer;
}

/* --- CORE STYLES --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-light: #111111;
    --text: #ffffff;
    --text-muted: #888888;
    --border: #222222;
    --font-main: 'Inter', system-ui, sans-serif;
}

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

html {
    font-family: var(--font-main);
    color: var(--text);
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo { font-size: 1.2rem; font-weight: 800; letter-spacing: 2px; }
.logo span { color: var(--text-muted); font-weight: 300; }

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* --- BUTTONS --- */
.btn-main {
    display: inline-block; padding: 15px 30px;
    background-color: var(--text); color: var(--bg-dark);
    font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    border-radius: 3px; font-size: 0.9rem;
}
.btn-main:hover { opacity: 0.8; }

.btn-outline {
    background-color: transparent; color: var(--text);
    border: 1px solid var(--text);
}
.btn-outline:hover { background-color: var(--text); color: var(--bg-dark); }

/* --- SECTIONS GLOBALES --- */
.section-dark { background-color: var(--bg-dark); padding: 100px 5%; }
.section-light { background-color: var(--bg-light); padding: 100px 5%; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- HERO EFFET STICKY --- */
.hero-wrapper {
    position: relative;
    height: 200vh; /* La magie est ici : la zone fait 2 écrans de haut */
}

.hero-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh; /* La vidéo s'affiche sur 1 écran et reste bloquée */
    overflow: hidden;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Le voile sombre pour que le texte soit lisible */
.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 50% de noir */
}

/* Le texte positionné par-dessus */
.hero-content {
    position: absolute;
    top: 50vh; /* Centré au milieu du premier écran */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 40px;
}
/* --- CARDS (Services) --- */
.card { background: var(--bg-light); padding: 40px 30px; border: 1px solid var(--border); border-radius: 5px; text-align: center; transition: 0.3s; }
.card:hover { transform: translateY(-5px); border-color: #444; }
.card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.2rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* --- PORTFOLIO ITEMS --- */
.portfolio-item { cursor: pointer; transition: 0.3s; }
.portfolio-item:hover { transform: scale(1.02); }
.img-placeholder { height: 250px; background-color: #222; display: flex; align-items: center; justify-content: center; color: #555; border-radius: 5px; margin-bottom: 15px; }
.portfolio-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.portfolio-info p { color: var(--text-muted); font-size: 0.9rem; }

/* --- CTA SECTION --- */
.cta-section { text-align: center; }
.cta-content { max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: 3rem; margin-bottom: 20px; }
.cta-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }

/* --- FOOTER --- */
footer { background-color: #000; padding: 50px 5%; text-align: center; border-top: 1px solid var(--border); }
.footer-content { display: flex; flex-direction: column; gap: 15px; align-items: center; }
.footer-content p, .mentions-link { color: var(--text-muted); font-size: 0.9rem; }
.mentions-link:hover { color: var(--text); }

/* --- RESPONSIVE MOBILE --- */
.hamburger { display: none; cursor: pointer; z-index: 1100; }
.hamburger span { display: block; width: 25px; height: 2px; background-color: var(--text); margin-bottom: 5px; transition: 0.3s; }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background-color: var(--bg-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; transition: right 0.3s; z-index: 1050; }
.mobile-menu.active { right: 0; }
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .cta-content h2 { font-size: 2rem; }
}

/* --- CONTACT PAGE SPECIFICS (On le garde pour ton autre page) --- */
.contact-page { padding-top: 150px; min-height: 100vh; display: flex; justify-content: center; background-color: var(--bg-dark); }
.contact-container { width: 100%; max-width: 600px; text-align: center; padding: 0 20px; }
.contact-container h1 { font-size: 3rem; margin-bottom: 10px; }
.contact-container p { color: var(--text-muted); margin-bottom: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 15px; background-color: var(--bg-light); border: 1px solid var(--border); border-radius: 4px; color: var(--text); font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: #555; }
.contact-form button { margin-top: 10px; cursor: pointer; border: none; width: 100%; }