/* ================================================
   VARIABLES
   ================================================ */
:root {
    /* Mode Sombre (défaut) */
    --primaire: #6e0b14;
    --arriere-plan: #1a0a0a;
    --arriere-plan-secondaire: #2d0f0f;
    --accent: #8b1a1a;
    --accent-clair: #a83232;
    --accent-fonce: #6b1212;
    --accent-glow: rgba(139, 26, 26, 0.25);
    --texte: #f5ecec;
    --texte-muted: #b8a8a8;
    --card-bg: #1f0e0e;
    --border: #3d1f1f;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 8px 40px rgba(139, 26, 26, 0.25);
    --radius: 16px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --glass-bg: rgba(26, 10, 10, 0.55);
    --glass-border: rgba(255, 255, 255, 0.06);
}

/* ================================================
   MODE CLAIR
   ================================================ */
body.theme-clair {
    --primaire: #8b1a1a;
    --arriere-plan: #f5ede0;
    --arriere-plan-secondaire: #f5ede0;
    --accent: #8b1a1a;
    --accent-clair: #a83232;
    --accent-fonce: #6b1212;
    --accent-glow: rgba(139, 26, 26, 0.12);
    --texte: #1a0a0a;
    --texte-muted: #5a4a4a;
    --card-bg: #ffffff;
    --border: #e8e0dd;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 8px 40px rgba(139, 26, 26, 0.12);
    --glass-bg: rgba(248, 246, 245, 0.55);
    --glass-border: rgba(0, 0, 0, 0.06);
}

/* ================================================
   RESET & BASE
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background: var(--arriere-plan);
    color: var(--texte);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(139, 26, 26, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 26, 26, 0.04) 0%, transparent 60%);
    min-height: 100vh;
}

body.theme-clair {
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(139, 26, 26, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 26, 26, 0.02) 0%, transparent 60%);
}

/* ================================================
   TYPOGRAPHIE
   ================================================ */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }

p { 
    margin-bottom: 1rem;
    color: var(--texte-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

/* ================================================
   CONTAINER
   ================================================ */
.conteneur {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================================================
   SECTION HEADER
   ================================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-clair));
    margin: 0.75rem auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--texte-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================================
   NAVBAR LIQUID GLASS
   ================================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

header.scrolled {
    background: rgba(26, 10, 10, 0.8);
    backdrop-filter: blur(25px) saturate(2);
    -webkit-backdrop-filter: blur(25px) saturate(2);
    box-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(139, 26, 26, 0.15);
}

body.theme-clair header {
    background: rgba(248, 246, 245, 0.6);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.theme-clair header.scrolled {
    background: rgba(248, 246, 245, 0.85);
    backdrop-filter: blur(25px) saturate(2);
    -webkit-backdrop-filter: blur(25px) saturate(2);
    border-bottom: 1px solid rgba(139, 26, 26, 0.1);
}

/* Effet de brillance liquide (shine) */
header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at 30% 50%,
        rgba(139, 26, 26, 0.06) 0%,
        transparent 60%
    );
    pointer-events: none;
    animation: liquidShine 8s ease-in-out infinite alternate;
}

body.theme-clair header::before {
    background: radial-gradient(
        ellipse at 30% 50%,
        rgba(139, 26, 26, 0.03) 0%,
        transparent 60%
    );
}

@keyframes liquidShine {
    0% {
        transform: translateX(-10%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translateX(10%) scale(1.2);
        opacity: 1;
    }
}

/* Bordure liquide animée */
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 26, 26, 0.2) 20%,
        rgba(139, 26, 26, 0.5) 50%,
        rgba(139, 26, 26, 0.2) 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: liquidBorder 4s ease-in-out infinite;
}

body.theme-clair header::after {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(139, 26, 26, 0.15) 20%,
        rgba(139, 26, 26, 0.35) 50%,
        rgba(139, 26, 26, 0.15) 80%,
        transparent 100%
    );
}

@keyframes liquidBorder {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ================================================
   NAVIGATION
   ================================================ */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05) rotate(-5deg);
}

.liens-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.liens-nav a {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--texte-muted);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.01em;
}

.liens-nav a:hover {
    color: var(--texte);
    background: rgba(139, 26, 26, 0.1);
}

.liens-nav a.actif {
    color: var(--accent-clair);
    background: rgba(139, 26, 26, 0.08);
}

.liens-nav a.actif::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

body.theme-clair .liens-nav a.actif {
    color: var(--accent);
    background: rgba(139, 26, 26, 0.06);
}

/* Nav CTA avec effet glass */
.liens-nav .nav-cta {
    background: linear-gradient(135deg, rgba(139, 26, 26, 0.85), rgba(139, 26, 26, 0.6));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--texte);
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.liens-nav .nav-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.liens-nav .nav-cta:hover::before {
    opacity: 1;
}

.liens-nav .nav-cta:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-clair));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 8px 30px rgba(139, 26, 26, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.theme-clair .liens-nav .nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-clair));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

body.theme-clair .liens-nav .nav-cta:hover {
    box-shadow: 
        0 8px 30px rgba(139, 26, 26, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ================================================
   NAV ACTIONS (theme toggle + burger)
   ================================================ */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--texte);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.theme-toggle:hover {
    background: rgba(139, 26, 26, 0.15);
    transform: rotate(30deg) scale(1.05);
    border-color: rgba(139, 26, 26, 0.3);
}

body.theme-clair .theme-toggle {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.theme-clair .theme-toggle:hover {
    background: rgba(139, 26, 26, 0.08);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.burger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 26, 26, 0.2);
}

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--texte);
    transition: var(--transition);
    border-radius: 2px;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

body.theme-clair .burger {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

body.theme-clair .burger:hover {
    background: rgba(0, 0, 0, 0.06);
}

/* ================================================
   RESPONSIVE NAV
   ================================================ */
@media (max-width: 1024px) {
    .liens-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        background: rgba(26, 10, 10, 0.7);
        backdrop-filter: blur(25px) saturate(1.8);
        -webkit-backdrop-filter: blur(25px) saturate(1.8);
        border-radius: 16px;
        padding: 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
        gap: 0.3rem;
        align-items: stretch;
        animation: glassDrop 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .liens-nav.active {
        display: flex;
    }

    .liens-nav a {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        text-align: center;
    }

    .liens-nav .nav-cta {
        text-align: center;
        margin-top: 0.3rem;
    }

    @keyframes glassDrop {
        0% {
            opacity: 0;
            transform: translateY(-10px) scale(0.95);
            backdrop-filter: blur(0px);
        }
        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
            backdrop-filter: blur(25px) saturate(1.8);
        }
    }

    body.theme-clair .liens-nav.active {
        background: rgba(248, 246, 245, 0.85);
        backdrop-filter: blur(25px) saturate(1.8);
        -webkit-backdrop-filter: blur(25px) saturate(1.8);
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .burger {
        display: flex;
    }
}

/* ================================================
   BOUTONS
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font);
}

.btn-principal {
    background: var(--accent);
    color: #fff;
}

.btn-principal:hover {
    background: var(--accent-clair);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondaire {
    background: transparent;
    color: var(--texte);
    border: 1px solid var(--border);
}

.btn-secondaire:hover {
    background: rgba(139, 26, 26, 0.08);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-cv {
    background: rgba(139, 26, 26, 0.15);
    color: var(--accent-clair);
    border: 1px solid rgba(139, 26, 26, 0.2);
    padding: 0.65rem 1.2rem;
}

.btn-cv:hover {
    background: rgba(139, 26, 26, 0.25);
    transform: translateY(-2px);
}

.btn-projet {
    background: var(--accent);
    color: #fff;
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

.btn-projet:hover {
    background: var(--accent-clair);
    transform: translateY(-2px);
}

/* ================================================
   SECTIONS COMMUNES
   ================================================ */
section {
    padding: 5rem 0;
}

/* ================================================
   HERO
   ================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.hero .conteneur {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-clair);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.machine-a-ecrire {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--texte-muted);
    margin-bottom: 1.5rem;
}

.machine-a-ecrire span {
    color: var(--accent-clair);
    font-weight: 600;
}

.hero-description {
    font-size: 1.05rem;
    max-width: 500px;
    color: var(--texte-muted);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-clair);
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--texte-muted);
}

/* Correction boutons CTA */
.boutons-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 30;
}

.boutons-cta .btn {
    position: relative;
    z-index: 30;
    cursor: pointer;
    pointer-events: auto !important;
}

.boutons-cta a i {
    pointer-events: none;
}

/* ================================================
   LIENS SOCIAUX
   ================================================ */
.liens-sociaux {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 30;
}

.liens-sociaux a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(139, 26, 26, 0.1);
    border: 1px solid rgba(139, 26, 26, 0.15);
    color: var(--texte-muted);
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    z-index: 30;
    text-decoration: none;
    pointer-events: auto !important;
}

.liens-sociaux a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.liens-sociaux a i {
    pointer-events: none;
}

/* ================================================
   HERO IMAGE
   ================================================ */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    pointer-events: none;
}

.hero-avatar {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: var(--shadow-glow);
    pointer-events: auto;
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--accent), transparent, var(--accent)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-clair);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.float-icon:nth-child(1) { top: 0; right: -20px; animation-delay: 0s; }
.float-icon:nth-child(2) { bottom: 20%; right: -40px; animation-delay: 1.5s; }
.float-icon:nth-child(3) { bottom: 5%; left: -30px; animation-delay: 3s; }
.float-icon:nth-child(4) { top: 15%; left: -40px; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 1024px) {
    .hero .conteneur {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 1.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-avatar {
        width: 220px;
        height: 220px;
    }
    
    .float-icon { display: none; }
    .hero-floating-icons { display: none; }
    
    .boutons-cta {
        justify-content: center;
    }
    
    .liens-sociaux {
        justify-content: center;
    }
}

/* ================================================
   À PROPOS
   ================================================ */
.apropos {
    background: var(--arriere-plan-secondaire);
}

.contenu-apropos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.texte-apropos p {
    color: var(--texte-muted);
    font-size: 1rem;
}

.texte-apropos strong {
    color: var(--texte);
}

.apropos-cta {
    margin-top: 0.5rem;
}

.contenu-apropos img {
    width: 320px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow);
}

.image-border {
    position: absolute;
    inset: -10px;
    border-radius: calc(var(--radius) + 10px);
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--accent), transparent, var(--accent)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

@media (max-width: 1024px) {
    .contenu-apropos {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contenu-apropos img {
        width: 240px;
        height: 300px;
        margin: 0 auto;
    }
    
    .apropos-cta {
        display: flex;
        justify-content: center;
    }
}

/* ================================================
   ACTIVITÉS
   ================================================ */
.activites {
    background: var(--arriere-plan);
}

.grille-activites {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.carte-activite {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
}

.carte-activite:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.carte-activite h3 {
    margin-bottom: 0.5rem;
}

.activite-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--texte-muted);
    margin-bottom: 1rem;
    justify-content: center;
}

.activite-meta i {
    color: var(--accent-clair);
    margin-right: 0.3rem;
}

.carte-activite p {
    color: var(--texte-muted);
    font-size: 0.95rem;
}

.competences-acquises {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.competences-acquises span {
    padding: 0.25rem 0.75rem;
    background: rgba(139, 26, 26, 0.12);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-clair);
    border: 1px solid rgba(139, 26, 26, 0.15);
}

/* ================================================
   BTS SIO
   ================================================ */
.bts {
    background: var(--arriere-plan-secondaire);
}

.bts-intro {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--texte-muted);
}

.details-bts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.carte-bts {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.carte-bts:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.carte-bts-icon {
    font-size: 2rem;
    color: var(--accent-clair);
    margin-bottom: 1rem;
}

.carte-bts h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.carte-bts p {
    font-size: 0.9rem;
    color: var(--texte-muted);
}

/* ================================================
   COMPÉTENCES
   ================================================ */
.competences {
    background: var(--arriere-plan);
}

.grille-competences {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.carte-competence {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
    text-align: center;
}

.carte-competence:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.icone-competence {
    font-size: 2rem;
    color: var(--accent-clair);
    margin-bottom: 0.75rem;
}

.carte-competence h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.carte-competence p {
    font-size: 0.85rem;
    color: var(--texte-muted);
}

/* Compétences par catégorie */
.categorie-competences {
    margin-bottom: 3.5rem;
}

.categorie-competences:last-child {
    margin-bottom: 0;
}

.categorie-titre {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.categorie-titre i {
    font-size: 1.3rem;
    color: var(--accent-clair);
}

.categorie-titre h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--texte);
    margin: 0;
}

.categorie-competences .grille-competences {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

/* ================================================
   PROJETS
   ================================================ */
.projets {
    background: var(--arriere-plan-secondaire);
}

.grille-projets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.carte-projet {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.carte-projet:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.image-projet {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.image-projet img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-projet {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #22c55e;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
}

.contenu-projet {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contenu-projet h3 {
    margin-bottom: 0.5rem;
}

.contenu-projet p {
    font-size: 0.9rem;
    color: var(--texte-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
    flex: 1;
}

.contenu-projet .btn-projet {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    align-self: flex-start;
    margin-top: auto;
}

.tech-projet {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tech-projet span {
    padding: 0.2rem 0.6rem;
    background: rgba(139, 26, 26, 0.1);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-clair);
    border: 1px solid rgba(139, 26, 26, 0.15);
}

/* Projets par année */
.annee-projets {
    margin-bottom: 4rem;
}

.annee-titre {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
}

.annee-titre h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--texte);
    margin: 0;
}

.annee-description {
    font-size: 0.95rem;
    color: var(--texte-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

/* ================================================
   STAGES (chronologie)
   ================================================ */
.stages {
    background: var(--arriere-plan-secondaire);
}

.chronologie {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.chronologie::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-clair), var(--accent));
}

.element-chronologie {
    position: relative;
    padding: 1.5rem 0 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.element-chronologie:last-child {
    border-bottom: none;
}

.element-chronologie::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 2rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--arriere-plan);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.chrono-badge {
    display: inline-block;
    padding: 0.15rem 0.8rem;
    background: rgba(139, 26, 26, 0.15);
    border: 1px solid rgba(139, 26, 26, 0.2);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-clair);
    margin-bottom: 0.5rem;
}

.contenu-chronologie h3 {
    margin-bottom: 0.25rem;
}

.contenu-chronologie p {
    font-size: 0.9rem;
    color: var(--texte-muted);
    margin-bottom: 0.25rem;
}

.contenu-chronologie strong {
    color: var(--texte);
}

.contenu-chronologie .btn-projet {
    margin-top: 0.5rem;
}

/* ================================================
   STAGE DÉTAIL
   ================================================ */
.stage-detail {
    background: var(--arriere-plan);
}

.stage-header {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.stage-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

.stage-logo img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: contain;
    background: var(--arriere-plan);
    padding: 0.5rem;
}

.stage-meta h3 {
    margin-bottom: 0.5rem;
}

.stage-meta p {
    font-size: 0.9rem;
    color: var(--texte-muted);
    margin-bottom: 0.25rem;
}

.stage-meta i {
    color: var(--accent-clair);
    width: 1.2rem;
}

.stage-description {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.stage-description p {
    font-size: 1rem;
    margin-bottom: 0;
}

.stage-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stage-categorie {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.stage-categorie:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.stage-categorie h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--accent-clair);
}

.stage-categorie h4 i {
    margin-right: 0.5rem;
}

.stage-categorie ul {
    list-style: none;
}

.stage-categorie li {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--texte-muted);
    padding-left: 1.2rem;
    position: relative;
}

.stage-categorie li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-clair);
}

.stage-tech {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.stage-tech h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    padding: 0.3rem 0.8rem;
    background: rgba(139, 26, 26, 0.1);
    border: 1px solid rgba(139, 26, 26, 0.15);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-clair);
}

.stage-chiffres {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.stage-chiffres h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.chiffres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

.chiffre-item {
    text-align: center;
}

.chiffre-nombre {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-clair);
    display: block;
}

.chiffre-label {
    font-size: 0.8rem;
    color: var(--texte-muted);
}

@media (max-width: 768px) {
    .stage-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stage-logo {
        display: flex;
        justify-content: center;
    }
}

/* ================================================
   CERTIFICATIONS
   ================================================ */
.certifications {
    background: var(--arriere-plan);
}

.grille-certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.carte-certification {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.carte-certification:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.cert-icone {
    font-size: 2.2rem;
    color: var(--accent-clair);
    margin-bottom: 0.75rem;
}

.carte-certification h3 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.carte-certification p {
    font-size: 0.8rem;
    color: var(--texte-muted);
    margin-bottom: 0.5rem;
}

.date-certification {
    font-size: 0.7rem;
    color: var(--accent-clair);
    margin-bottom: 0.75rem;
}

.carte-certification .btn-cv {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
}

/* ================================================
   VEILLE TECHNOLOGIQUE
   ================================================ */
.veille {
    background: var(--arriere-plan-secondaire);
}

.veille-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.veille-problematique {
    background: var(--card-bg);
    padding: 1.5rem 2rem;
    border-radius: 1rem;
}

.veille-problematique h3 {
    font-size: 0.9rem;
    color: var(--accent-clair);
    margin-bottom: 0.5rem;
}

.veille-problematique p {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--texte);
    margin-bottom: 0;
}

.veille-actualites {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.veille-actualites h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.veille-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.veille-article {
    background: rgba(26, 10, 10, 0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    transition: var(--transition);
}

.veille-article:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.veille-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-clair);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.veille-article h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.veille-article p {
    font-size: 0.85rem;
    color: var(--texte-muted);
    margin-bottom: 0.75rem;
}

.veille-link {
    color: var(--accent-clair);
    font-weight: 500;
    font-size: 0.8rem;
}

.veille-link:hover {
    color: var(--texte);
}

.veille-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.veille-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.veille-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.veille-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: var(--accent-clair);
}

.veille-card h4 i {
    margin-right: 0.5rem;
}

.veille-card ul {
    list-style: none;
}

.veille-card li {
    padding: 0.25rem 0;
    font-size: 0.85rem;
    color: var(--texte-muted);
    border-bottom: 1px solid rgba(61, 31, 31, 0.2);
}

.veille-card li:last-child {
    border-bottom: none;
}

.veille-card li strong {
    color: var(--texte);
}

.veille-good {
    color: #4ade80;
}

.veille-bad {
    color: #f87171;
}

.veille-conclusion {
    background: var(--card-bg);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 2rem;
}

.veille-conclusion h3 {
    color: var(--accent-clair);
    margin-bottom: 0.75rem;
}

.veille-conclusion p {
    font-size: 1rem;
    color: var(--texte-muted);
}

.veille-conclusion strong {
    color: var(--texte);
}

.veille-methode {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.veille-methode h4 {
    font-size: 0.9rem;
    color: var(--accent-clair);
    margin-bottom: 0.5rem;
}

.veille-methode p {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

/* ================================================
   PROJET PROFESSIONNEL
   ================================================ */
.projetpro {
    background: var(--arriere-plan);
}

.projetpro-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.projetpro-intro p {
    font-size: 1.1rem;
}

.grille-projetpro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.carte-projetpro {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.carte-projetpro:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.icone-projetpro {
    font-size: 2rem;
    color: var(--accent-clair);
    margin-bottom: 0.75rem;
}

.carte-projetpro h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.carte-projetpro p {
    font-size: 0.85rem;
    color: var(--texte-muted);
}

.carte-projetpro strong {
    color: var(--texte);
}

.projetpro-vision {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.projetpro-vision h3 {
    color: var(--accent-clair);
    margin-bottom: 0.75rem;
}

.projetpro-vision p {
    max-width: 700px;
    margin: 0 auto;
}

.vision-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.vision-tags span {
    padding: 0.3rem 1rem;
    background: rgba(139, 26, 26, 0.12);
    border: 1px solid rgba(139, 26, 26, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-clair);
}

/* ================================================
   CONTACT
   ================================================ */
.contact {
    background: var(--arriere-plan);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
}

.contact-info h3 {
    margin-bottom: 0.5rem;
}

.contact-info p {
    color: var(--texte-muted);
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--texte-muted);
}

.contact-detail i {
    color: var(--accent-clair);
    width: 1.2rem;
}

.contact-social {
    display: flex;
    gap: 0.75rem;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(139, 26, 26, 0.08);
    border: 1px solid rgba(139, 26, 26, 0.12);
    color: var(--texte-muted);
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.groupe-form {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.groupe-form label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--texte);
}

.required {
    color: var(--accent);
}

.controle-form {
    padding: 0.6rem 1rem;
    background: rgba(26, 10, 10, 0.3);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--texte);
    font-family: var(--font);
    transition: var(--transition);
}

.controle-form:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.15);
}

.controle-form::placeholder {
    color: var(--texte-muted);
}

textarea.controle-form {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
    
    .contact-social {
        justify-content: center;
    }
}

/* ================================================
   FOOTER
   ================================================ */
footer {
    background: var(--arriere-plan-secondaire);
    border-top: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-logo span {
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--texte-muted);
}

.footer-links a:hover {
    color: var(--accent-clair);
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(139, 26, 26, 0.08);
    border: 1px solid rgba(139, 26, 26, 0.12);
    color: var(--texte-muted);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--texte-muted);
}

.retour-haut {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--texte-muted);
}

.retour-haut:hover {
    color: var(--accent-clair);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ================================================
   PAGE DÉTAIL PROJET
   ================================================ */
.page-detail-projet {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    background: var(--arriere-plan);
}

.detail-projet-header {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.detail-projet-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--texte);
}

.detail-projet-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--texte-muted);
}

.detail-projet-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: rgba(139, 26, 26, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(139, 26, 26, 0.15);
}

.detail-projet-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.detail-projet-contenu {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.detail-projet-contenu h2 {
    font-size: 1.3rem;
    color: var(--accent-clair);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.detail-projet-contenu h2:first-child {
    margin-top: 0;
}

.detail-projet-contenu p {
    font-size: 1rem;
    color: var(--texte-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.detail-projet-contenu ul {
    list-style: none;
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.detail-projet-contenu ul li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
    color: var(--texte-muted);
    position: relative;
}

.detail-projet-contenu ul li::before {
    content: '▸';
    position: absolute;
    left: -1.2rem;
    color: var(--accent-clair);
}

.btn-retour {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--accent-clair);
    border: 1px solid var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.btn-retour:hover {
    background: var(--accent);
    color: #fff;
}

/* ================================================
   SCROLLBAR
   ================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--arriere-plan);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-clair);
}

/* ================================================
   RESPONSIVE GLOBAL
   ================================================ */
@media (max-width: 992px) {
    .grille-activites {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .grille-activites {
        grid-template-columns: 1fr;
    }
    
    .grille-competences {
        grid-template-columns: 1fr;
    }
    
    .grille-projets {
        grid-template-columns: 1fr;
    }
    
    .grille-certifications {
        grid-template-columns: 1fr 1fr;
    }
    
    .grille-projetpro {
        grid-template-columns: 1fr;
    }
    
    .stage-categories {
        grid-template-columns: 1fr;
    }
    
    .chiffres-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .boutons-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .detail-projet-header h1 {
        font-size: 1.5rem;
    }
    
    .detail-projet-contenu {
        padding: 1.5rem;
    }
    
    .annee-titre h3 {
        font-size: 1.2rem;
    }
    
    .categorie-titre h3 {
        font-size: 1.1rem;
    }
    
    .categorie-competences .grille-competences {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .grille-certifications {
        grid-template-columns: 1fr;
    }
    
    .chiffres-grid {
        grid-template-columns: 1fr;
    }
}
