:root {
    --bg-deep-blue: #050b14;
    --surface-blue: #0b192c;
    --ice-blue: #88c0d0;
    --neon-blue: #00e5ff;
    --text-light: #e5e9f0;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-deep-blue);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1.1rem;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 2px; }

.section-title { 
    font-size: 2.2rem; 
    margin-bottom: 40px; 
    text-align: center;
    color: #fff;
    letter-spacing: 3px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--neon-blue);
    margin: 15px auto 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--neon-blue);
}

.neon-text { color: var(--neon-blue); text-shadow: 0 0 5px var(--neon-blue), 0 0 10px var(--neon-blue); }

/* Padding réduit de 20px à 15px pour gagner de la place */
.card { background: var(--surface-blue); border: 1px solid rgba(0, 229, 255, 0.2); padding: 15px; border-radius: 8px; transition: all 0.3s ease; }
.card:hover { border-color: var(--neon-blue); box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); transform: translateY(-5px); }

/* --- FLEXBOX POUR CENTRER LES CARTES ORPHELINES --- */
.grid-container { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; /* Centre la 3ème carte en dessous ! */
    gap: 15px; 
    padding: 20px 0; 
}
.grid-container > .card {
    flex: 1 1 340px; /* Taille de base 340px, s'adapte à l'écran */
    max-width: 480px; /* Empêche la carte centrée de devenir géante */
}

/* Animations au Scroll */
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.1, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.1, 0.8, 0.2, 1); will-change: opacity, transform; }
.scroll-reveal.is-visible { opacity: 1; transform: translateY(0); }