/* --- VARIABLES & RESET --- */
:root {
    --bg-dark: #0f172a;       /* Fond principal très sombre */
    --bg-card: #1e293b;       /* Fond des cartes */
    --primary: #6366f1;       /* Violet vibrant */
    --secondary: #3b82f6;     /* Bleu tech */
    --text-white: #f8fafc;    /* Blanc cassé pour le texte */
    --text-gray: #94a3b8;     /* Gris pour les sous-titres */
    --gradient: linear-gradient(135deg, var(--secondary), var(--primary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- UTILITAIRES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.dot { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
}

.nav-links a:hover { color: var(--text-white); }

.btn-nav {
    border: 1px solid var(--text-gray);
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-nav:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: white;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: #22a4e1;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15,23,42,0.8), var(--bg-dark));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero .slogan {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* --- A PROPOS --- */
.about {
    padding: 30px 0;
    text-align: justify;
    background-color: var(--bg-dark);
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.3rem;
    color: var(--text-gray);
}

.about .highlight {
    color: var(--text-white);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 4px;
}

.sub-pitch {
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 300;
}

/* --- SERVICES --- */
.services {
    padding: 100px 0;
    background: #131c31; /* Légère variation de fond */
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* Images placeholders Unsplash */
/* Images locales (à la racine du site) */
.img-web { 
    background-image: url('site-internet.jpg'); 
}

.img-social { 
    background-image: url('reseaux-sociaux.jpg'); 
}

.img-design { 
    background-image: url('charte-graphique.jpg'); 
}

.img-ia { 
    background-image: url('ai.jpg'); 
}

.card-content {
    padding: 30px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--text-white);
}

.card p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* --- FOOTER --- */
footer {
    padding: 80px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer .logo { font-size: 2rem; margin-bottom: 20px; display: block; }
footer p { margin-bottom: 30px; color: var(--text-gray); }

.footer-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--primary); }

.copyright {
    margin-top: 50px;
    font-size: 0.8rem;
    color: #475569;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Menu simplifié pour mobile (masqué) */
    .hero h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; }
    .about-text { font-size: 1.2rem; }
}