/* Variables de couleurs */
:root {
    --primary: #2563eb;
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #38bdf8;
    --white: #ffffff;
}

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo { font-size: 1.5rem; font-weight: 800; }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.btn-contact {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 50px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    /* Remplace l'URL ci-dessous par le nom de ton image locale si besoin */
    background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Effet parallaxe sympa */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white; /* On passe le texte en blanc pour qu'il soit lisible sur l'image */
}

/* Le voile sombre pour que le texte "pop" */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(168, 171, 250, 0.6); /* Bleu nuit transparent */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Pour passer au-dessus du voile */
    padding: 0 5%;
}

.hero h1 {
    color: white;
    background: none; /* On retire le dégradé pour plus de clarté sur image */
    -webkit-text-fill-color: white;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 30px;
}

/* Style spécifique pour le bouton secondaire sur fond sombre */
.btn-secondary-white {
    border: 2px solid white;
    color: white;
    padding: 13px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-secondary-white:hover {
    background: white;
    color: var(--primary);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .badge {
    background: #dbeafe;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Services */
.services { padding: 100px 0; background: var(--white); }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; font-weight: 800; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}

.service-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.service-card .icon { font-size: 2.5rem; margin-bottom: 20px; }

/* Tarifs */
.pricing { padding: 100px 0; background: #f1f5f9; }
.pricing-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }

.pricing-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    width: 380px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid #e2e8f0;
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.price { font-size: 3.5rem; font-weight: 800; margin: 25px 0; }
.price span { font-size: 1rem; color: #64748b; }

.features { list-style: none; text-align: left; margin-bottom: 40px; }
.features li { margin-bottom: 15px; display: flex; align-items: center; }
.features li::before { content: "✓"; color: var(--primary); margin-right: 10px; font-weight: 900; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-secondary { border: 2px solid var(--primary); color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }

/* Footer / Contact */
.contact { padding: 100px 0; background: var(--dark); color: var(--white); text-align: center; }
footer { background: var(--dark); color: #64748b; padding-bottom: 40px; text-align: center; border-top: 1px solid #1e293b; }

@media (max-width: 768px) {
    .nav-links { display: none; } /* On cache le menu sur mobile pour simplifier */
    .pricing-card.featured { transform: scale(1); }
}