:root {
    --bg-dark: #0f172a;
    --text-light: #f8fafc;
    --primary: #38bdf8; /* Bleu Cyan Tech */
    --secondary: #818cf8; /* Violet doux */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* --- Background Animation (Les Blobs mouvants) --- */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite alternate;
}

.blob-1 { width: 400px; height: 400px; background: var(--primary); top: -10%; left: -10%; }
.blob-2 { width: 300px; height: 300px; background: var(--secondary); bottom: 10%; right: -5%; animation-delay: -2s; }
.blob-3 { width: 200px; height: 200px; background: #c084fc; top: 40%; left: 40%; animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* --- Navigation Glassmorphism --- */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(12px); /* L'effet de verre dépoli */
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; }
.highlight { color: var(--primary); }

.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-light); transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.cta-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    padding-top: 80px;
}

.hero-content { max-width: 600px; }
h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 1.5rem; }
.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
}

.hero p { font-size: 1.2rem; color: #94a3b8; margin-bottom: 2rem; }

.hero-btns { display: flex; gap: 1rem; }
.btn {
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
}
.primary-btn { background: var(--text-light); color: var(--bg-dark); }
.secondary-btn { border: 1px solid var(--text-light); color: var(--text-light); }
.btn:hover { transform: translateY(-3px); }

/* --- 3D Card Visual --- */
.hero-visual { perspective: 1000px; }
.card-3d {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(-15deg) rotateX(10deg);
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    animation: floatingCard 6s ease-in-out infinite;
    position: relative;
}

.icon-3d { font-size: 8rem; color: var(--primary); filter: drop-shadow(0 0 20px var(--primary)); }

@keyframes floatingCard {
    0%, 100% { transform: rotateY(-15deg) rotateX(10deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(5deg) translateY(-20px); }
}

/* --- Services Grid --- */
.section { padding: 5rem 10%; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 4rem; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
    border-color: var(--primary);
}

.icon-box { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; }
.glass-card h3 { margin-bottom: 0.5rem; }
.glass-card p { color: #94a3b8; font-size: 0.95rem; }

/* --- Footer --- */
footer {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(0,0,0,0.3);
    border-top: 1px solid var(--glass-border);
}
.big-phone {
    display: block;
    font-size: 2.5rem;
    color: var(--primary);
    text-decoration: none;
    margin: 1.5rem 0;
    font-weight: bold;
}
.socials a { color: var(--text-light); font-size: 1.5rem; margin: 0 10px; }

/* --- Mobile --- */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding-top: 120px; height: auto; padding-bottom: 50px; }
    .hero-visual { margin-top: 50px; }
    h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Pour simplifier, on cache le menu sur mobile ici */
}

/* Animations d'apparition */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: 1s all ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }