:root {
    --bg-dark: #080809;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-input: rgba(255, 255, 255, 0.05);
    --text-main: #F5F5F7;
    --text-muted: #86868B;
    --border: rgba(255, 255, 255, 0.08);
    --white: #FFFFFF;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    /* Valeurs par défaut pour éviter un flash noir au chargement */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Effet de lueur interactive (Spotlight) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y), 
        rgba(255, 255, 255, 0.06), 
        transparent 80%
    );
    pointer-events: none;
    z-index: 1;
}

/* On s'assure que tout le contenu est cliquable au-dessus de la lueur */
#services, #process, #contact, .navbar, footer, .hero {
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--white); }
h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); margin-bottom: 24px; }
h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 16px; text-align: center; }
p { color: var(--text-muted); font-size: 1.1rem; }

.gradient-text {
    background: linear-gradient(90deg, #fff, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 18px 0; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }

.logo-wrapper { display: flex; align-items: center; gap: 12px; text-decoration: none; transition: 0.3s; }
.logo-wrapper:hover { opacity: 0.8; }
.logo-text { color: #fff; font-weight: 700; font-size: 1.3rem; letter-spacing: 1px; }
.logo-text .thin { font-weight: 300; color: var(--text-muted); }

.nav-links { display: flex; gap: 35px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; transition: color 0.3s; font-weight: 400; }
.nav-links a:hover { color: #fff; }

/* Layout & Sections */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 120px 0; }
.section-header { margin-bottom: 60px; text-align: center; }
.bg-charcoal { background: rgba(255,255,255,0.015); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 32px; border-radius: 40px;
    font-weight: 500; text-decoration: none; transition: transform 0.2s var(--ease), opacity 0.2s;
    font-size: 0.95rem; cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--white); color: #000; }
.btn-secondary { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid var(--border); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; background: transparent; border: 1px solid var(--border); border-radius: 10px; }

/* Hero */
.hero {
    min-height: 95vh; display: flex; align-items: center;
    text-align: center; position: relative; padding-top: 80px;
}
.hero-glow {
    position: absolute; width: 800px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    top: 40%; left: 50%; transform: translate(-50%, -50%); z-index: -1;
}
.cta-group { margin-top: 45px; display: flex; gap: 20px; justify-content: center; }
.trust-line { margin-top: 70px; font-size: 0.85rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; opacity: 0.6; }

/* Cards Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    padding: 45px; border-radius: 24px; transition: 0.4s var(--ease);
    position: relative; z-index: 2;
}
.card:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); transform: translateY(-8px); }
.card h3 { margin-bottom: 15px; font-size: 1.4rem; }

/* Icônes des Services */
.card-icon {
    margin-bottom: 25px;
    color: var(--text-muted);
    transition: all 0.4s var(--ease);
}
.card:hover .card-icon {
    color: var(--white);
    transform: translateY(-5px);
}
.card:hover .card-icon svg {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

/* Process Steps */
.steps-container { display: flex; gap: 50px; margin-top: 20px; }
.step { flex: 1; border-top: 1px solid var(--border); padding-top: 30px; }
.step-num { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; font-family: monospace; }

/* Contact Form */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.luxury-form { background: var(--bg-card); padding: 50px; border-radius: 30px; border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }

input, select, textarea {
    width: 100%; background: var(--bg-input); border: 1px solid var(--border);
    color: #fff; padding: 16px; border-radius: 12px; font-family: inherit; font-size: 1rem;
    outline: none; transition: 0.3s; appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.3); }

/* Correction Select & Budget */
select option { background-color: #121214; color: #FFFFFF; }
select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Toast Notification */
#toast {
    position: fixed; bottom: 40px; right: 40px; padding: 20px 30px; border-radius: 15px;
    color: #fff; z-index: 2000; display: flex; align-items: center; gap: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); transition: 0.5s;
}
#toast.success { background: #1b5e20; border: 1px solid #2e7d32; }

/* Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Mobile & Menu */
@media (max-width: 900px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 3rem; }
    
    .menu-toggle {
        display: flex; flex-direction: column; justify-content: space-between;
        width: 30px; height: 18px; background: none; border: none; cursor: pointer; z-index: 1001;
    }
    .menu-toggle span { width: 100%; height: 2px; background-color: #fff; transition: 0.3s; }

    .nav-links {
        position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
        background: #080809; flex-direction: column; justify-content: center;
        align-items: center; transition: 0.5s var(--ease); z-index: 1000;
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 20px 0; }
    .nav-links a { font-size: 1.5rem; color: #fff; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { transform: translateY(-8px) rotate(-45deg); }
}

/* Bouton Retour en Haut */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
    border: 1px solid var(--border); color: #fff; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.4s var(--ease); opacity: 0; visibility: hidden; z-index: 9999;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.15); }

@media (max-width: 600px) {
    /* Force les deux colonnes même sur petit écran */
    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Garde les deux colonnes */
        gap: 15px; /* Réduit un peu l'espace pour que ça tienne */
        margin-bottom: 0;
    }

    /* Ajuste la taille du texte pour éviter les coupures */
    input, select, textarea {
        padding: 12px; /* Un peu moins de padding pour gagner de l'espace */
        font-size: 0.85rem; /* Texte légèrement plus petit */
    }

    label {
        font-size: 0.7rem; /* Labels plus discrets */
        letter-spacing: 0.5px;
    }

    .luxury-form {
        padding: 25px 15px; /* Moins de vide sur les côtés */
    }

    /* On s'assure que le bouton prend toute la largeur */
    .btn-block {
        padding: 15px;
        font-size: 1rem;
    }
}