/* Import police moderne */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;500;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0f172a; /* Fond sombre */
    color: #e2e8f0; /* Texte clair */
    line-height: 1.6;
}

/* Navigation Transparente */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(15, 23, 42, 0.95); /* Semi-transparent */
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #1e293b;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #38bdf8, #818cf8); /* Dégradé texte */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: #e2e8f0; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: #38bdf8; }

/* Hero Section */
.hero {
    /* On enlève height: 100vh qui forçait la pleine page */
    padding: 180px 20px 100px 20px; /* On gère l'espace manuellement (Haut/Bas) */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at top right, #1e293b 0%, #0f172a 60%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p { font-size: 1.2rem; color: #94a3b8; max-width: 600px; margin: 0 auto 2rem auto; }

.btn-principal {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 25px -10px rgba(79, 70, 229, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-principal:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 35px -10px rgba(79, 70, 229, 0.8);
}

/* Services */
.section-padding { padding: 60px 5%; background-color: #0f172a; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; color: white; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: #1e293b;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #334155;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #4f46e5;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
}

.icon { font-size: 3rem; margin-bottom: 20px; }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; color: white; }
.card p { color: #94a3b8; }

/* Footer */
.footer { background-color: #020617; color: #64748b; padding: 60px 20px; text-align: center; border-top: 1px solid #1e293b; }
.contact-info p { color: #e2e8f0; margin: 5px 0; font-size: 1.1rem; }

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
}