:root {
    --bg-color: #0b0f19;      /* Modifié : Noir -> Bleu Nuit */
    --accent-color: #00f2ff;
    --text-color: #ffffff;
    --text-gray: #cccccc;
    --card-bg: rgba(19, 26, 44, 0.4); /* Modifié : Teinte bleutée translucide */
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* --- TITRE --- */
.main-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    font-style: italic;
    text-transform: uppercase;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 20px auto 60px;
    box-shadow: 0 0 15px var(--accent-color);
}

/* --- GRILLE DE COMPÉTENCES --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.skill-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    background: rgba(0, 242, 255, 0.04); /* Légère augmentation pour le contraste sombre */
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.skill-code {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: bold;
}

.skill-icon {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* --- BARRE DE PROGRESSION --- */
.skill-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.progress {
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    border-radius: 2px;
}