/* =========================================
   1. CONFIGURATION "FUTURE TECH"
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root {
    /* COULEURS VIBRANTES */
    --primary: #2563EB;          /* Bleu Électrique */
    --primary-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    --secondary: #0F172A;        /* Dark Navy */
    
    /* FONDS */
    --bg-body: #F8FAFC;          /* Gris-Bleu très pâle (plus moderne que le blanc) */
    --bg-white: #FFFFFF;
    
    /* TEXTE */
    --text-dark: #1E293B;
    --text-grey: #64748B;
    
    /* EFFETS MODERNES (C'est le secret) */
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px -5px rgba(37, 99, 235, 0.2); /* Lueur bleue */
    --radius-xl: 24px;           /* Arrondis larges */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Animation fluide */
}

/* =========================================
   2. BASES
   ========================================= */
body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-grey);
    line-height: 1.8;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.03em; /* Lettres serrées = Moderne */
}

a { text-decoration: none; transition: var(--transition); }
.section-padding { padding: 120px 0; }

/* =========================================
   3. NAVBAR (FLOTTANTE)
   ========================================= */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px); /* Effet verre dépoli */
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.brand-logo {
    width: 50px; height: 50px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); /* Le logo brille */
}

.brand-text {
    font-size: 1.5rem; font-weight: 800;
    color: var(--secondary); margin-left: 15px;
}
.brand-text span { color: var(--primary); }

.nav-link {
    font-weight: 600; color: var(--text-dark) !important;
    padding: 10px 20px !important;
    border-radius: 30px;
}

.nav-link:hover, .nav-link.active {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary) !important;
}

.btn-cta {
    background: var(--primary-gradient);
    color: white !important;
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    border: none;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

/* =========================================
   4. HERO SECTION (IMMERSIVE)
   ========================================= */
.hero-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    min-height: 100vh;
    display: flex; align-items: center;
    /* Forme courbe en bas de l'image (très moderne) */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: -50px;
}

.hero-bg-overlay {
    position: absolute; inset: 0;
    /* Dégradé complexe bleu/violet foncé */
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.95), rgba(30, 58, 138, 0.8));
}

.hero-section h1 {
    font-size: 4.5rem; line-height: 1.1; margin-bottom: 25px;
    background: linear-gradient(to right, #fff, #93C5FD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Texte en dégradé */
}

.hero-section p.lead {
    font-size: 1.3rem; color: #E2E8F0; margin-bottom: 40px; font-weight: 300;
}

.hero-card-float {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 40px; border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* =========================================
   5. TITRES & BADGES
   ========================================= */
.section-badge {
    background: #DBEAFE; color: var(--primary);
    padding: 8px 20px; border-radius: 30px;
    font-weight: 700; font-size: 0.8rem; letter-spacing: 1px;
    margin-bottom: 20px; display: inline-block;
}

.section-title { font-size: 3rem; margin-bottom: 20px; }

/* =========================================
   6. CARTE FEATURES (CLEAN)
   ========================================= */
.feature-card {
    background: white; padding: 40px 30px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid white; /* Astuce pour la brillance */
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2rem; margin-bottom: 20px;
    color: var(--primary);
    background: #EFF6FF; width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 20px;
}

/* =========================================
   7. SERVICES (L'EFFET WOW)
   ========================================= */
.service-box {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    /* Pas de bordure, juste une ombre douce */
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
    position: relative;
    border: 1px solid rgba(255,255,255,0.5);
}

.service-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px -10px rgba(37, 99, 235, 0.25); /* Grosse ombre bleue */
    z-index: 2;
}

.service-img {
    height: 250px; /* Grande image */
    position: relative;
    overflow: hidden;
}

.service-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0.6; transition: var(--transition);
}

.service-box:hover .service-img::after { opacity: 0.3; }

.service-content { padding: 35px; }

.service-content h3 {
    font-size: 1.6rem; margin-bottom: 20px;
    transition: var(--transition);
}

.service-box:hover .service-content h3 {
    color: var(--primary);
    transform: translateX(5px);
}

.service-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #E2E8F0;
    font-size: 1rem; color: var(--text-grey);
    display: flex; align-items: center;
}

.service-list li::before {
    content: '\f058'; /* Icone check ronde */
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: var(--primary); margin-right: 15px; font-size: 1.1rem;
}

/* =========================================
   8. CONTACT & FOOTER
   ========================================= */
.contact-wrapper {
    background: white; border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.02);
}

.form-control, .form-select {
    background: #F8FAFC; border: 1px solid #E2E8F0;
    padding: 15px 20px; border-radius: 12px;
    font-size: 1rem;
}

.form-control:focus {
    background: white; border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

footer {
    background: var(--secondary); color: white;
    padding-top: 80px; margin-top: 50px;
}
.footer-links a { color: #94A3B8; display: block; padding: 5px 0; }
.footer-links a:hover { color: white; transform: translateX(5px); }
/* =========================================
   FOOTER STYLE (CORRECTIF)
   ========================================= */
.footer-custom {
    background-color: #0B0F19; /* Fond très sombre (presque noir) */
    color: white;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-custom h5 {
    color: white;
    font-weight: 700;
}

.footer-custom .text-white-50 {
    color: #9ca3af !important; /* Gris clair lisible */
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Force l'input de la newsletter à être blanc */
.footer-custom .form-control {
    background-color: white !important;
    color: #333 !important;
}

.footer-custom .btn-primary {
    padding: 0 20px;
}