:root {
    --dark: #0a0c10;
    --dark-2: #12161c;
    --text: #ffffff;
    --text-dim: #b0b8c5;
    --border: #2a3038;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(145deg, #0a0c10, #0e121a);
    color: var(--text);
    line-height: 1.5;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
}

/* BOUTON RETOUR VRAI */
.btn-retour {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    backdrop-filter: blur(5px);
}

.btn-retour:hover {
    background: rgba(255,255,255,0.1);
    border-color: #00d4ff;
    transform: translateX(-3px);
}

/* NAVIGATION */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 10px;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

/* BADGES */
.niveau-badge {
    display: inline-block;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: black;
    align-self: flex-start;
}

/* HERO FICHE */
.hero-fiche {
    margin-bottom: 30px;
    border-radius: 0;
    width: 100%;
    position: relative;
}

/* GRILLE 3 COLONNES FICHE */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.info-card {
    background: #151c24;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: 0.2s;
}

.info-card:hover {
    border-color: #00d4ff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* LISTES COMPÉTENCES */
.liste-competences {
    list-style: none;
    padding: 0;
}

.liste-competences li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* TABLEAUX HORAIRES */
.table-horaire {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table-horaire td {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.table-horaire tr:last-child td {
    border-bottom: none;
}

/* TAGS */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.tag {
    padding: 5px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid;
    border-radius: 50px;
    font-size: 0.8rem;
    transition: 0.2s;
}

.tag:hover {
    background: rgba(255,255,255,0.1);
}

/* DÉBOUCHÉS */
.debouches-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* STAGE BOX */
.stage-box {
    border-left: 4px solid;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero-fiche {
        height: 220px !important;
    }
    
    .hero-fiche h1 {
        font-size: 1.8rem !important;
    }
}