/* --- FUSION ET AJOUTS PROGRAMMATION --- */
:root {
    --ts-primary: #004d99; /* Bleu Techno Foncé */
    --ts-secondary: #ff7f11; /* Orange Vif (Accent) */
    --ts-background: #f7f7f7; /* Gris Très Clair */
    --ts-text: #333333;
    --ts-font-title: 'Poppins', sans-serif;
    --ts-font-body: 'Roboto', sans-serif;
    --ts-code-bg: #2d2d2d; /* Fond foncé pour le code */
    --ts-code-text: #cccccc;
}

/* Base et Section styles (réutilisés) */
.ts-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--ts-font-body);
    color: var(--ts-text);
}
.ts-section {
    padding: 40px 0;
    margin-bottom: 30px;
}
.ts-section h2 {
    font-family: var(--ts-font-title);
    color: var(--ts-primary);
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--ts-secondary);
    display: inline-block;
    padding-bottom: 5px;
}

/* --- HERO SECTION (réutilisé) --- */
.ts-hero {
    background: url('../images/programmation_hero.webp') no-repeat center center / cover;
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.ts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.4);
    border-radius: 10px;
    z-index: 1;
}

.ts-hero h1 {
    font-size: 3.5em;
    font-family: var(--ts-font-title);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    color: white;
}

.ts-hero p {
    position: relative;
    z-index: 2;
    color: white;
}

/* --- GRID DES COMPÉTENCES --- */
.ts-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.ts-skill-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.ts-skill-card h3 {
    color: var(--ts-secondary);
    font-family: var(--ts-font-title);
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: 2px solid var(--ts-primary);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.ts-skill-card i {
    font-size: 2em;
    color: var(--ts-primary);
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0.2;
}

/* --- AVANTAGES CLÉS --- */
.ts-advantages-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.ts-advantages-list li {
    background: var(--ts-background);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-left: 4px solid var(--ts-secondary);
    border-radius: 4px;
    font-size: 1.1em;
}

.ts-advantages-list strong {
    color: var(--ts-primary);
}

/* --- EXEMPLE DE CODE (HUMORISTIQUE) --- */
.ts-code-snippet {
    background: var(--ts-code-bg);
    color: var(--ts-code-text);
    padding: 20px;
    border-radius: 8px;
    font-family: monospace;
    overflow-x: auto;
    font-size: 0.9em;
    white-space: pre;
}

/* Boutons (réutilisés) */
.ts-button {
    background-color: var(--ts-secondary);
    color: white !important;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.ts-button:hover {
    background-color: #e86a00;
}

/* Responsive */
@media (max-width: 768px) {
    .ts-hero {
        padding: 40px 15px;
    }
    
    .ts-hero h1 {
        font-size: 2.5em;
    }
    
    .ts-hero p {
        font-size: 1.1em;
    }
}