/* ===== VARIABLES CSS ===== */
:root {
    /* Couleurs principales */
    --primary-color: #0078D4;
    --secondary-color: #00C853;
    --accent-color: #F46800;
    --dark-bg: #0a0a0a;
    --dark-bg-secondary: #141414;
    --dark-bg-tertiary: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0078D4 0%, #00C853 100%);
    --gradient-secondary: linear-gradient(135deg, #F46800 0%, #EE0000 100%);
    --gradient-accent: linear-gradient(135deg, #2496ED 0%, #0078D4 100%);
    
    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 120, 212, 0.3);
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Tailles */
    --max-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== UTILITAIRES ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-dot {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-background {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 120, 212, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 120, 212, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 120, 212, 0.15), transparent 70%);
}

.hero-content {
    max-width: var(--max-width);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.wave {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.typing-text {
    border-right: 2px solid var(--primary-color);
    animation: typing 3s steps(20) infinite;
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 120, 212, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.hero-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--dark-bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--dark-bg-tertiary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-card:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.floating-card.delay-1 {
    top: 50%;
    left: 0;
    animation-delay: -2s;
}

.floating-card.delay-2 {
    top: 50%;
    right: 0;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.icon-large {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== SECTIONS ===== */
section {
    padding: var(--spacing-xl) var(--spacing-md);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 120, 212, 0.1);
    border: 1px solid rgba(0, 120, 212, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== À PROPOS SECTION ===== */
.about-section {
    background: var(--dark-bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--dark-bg-tertiary);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.highlight-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.highlight-item h4 {
    font-size: 2rem;
    font-weight: 700;
}

.highlight-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.about-image {
    position: relative;
}

.image-card {
    background: var(--dark-bg-tertiary);
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.code-snippet pre {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-snippet code {
    color: var(--text-secondary);
}

.comment { color: #6a9955; }
.keyword { color: #569cd6; }
.string { color: #ce9178; }
.property { color: #9cdcfe; }
.number { color: #b5cea8; }

/* ===== TIMELINE (EXPÉRIENCES) ===== */
.experiences-section {
    background: var(--dark-bg);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--dark-bg);
    box-shadow: 0 0 0 4px rgba(0, 120, 212, 0.3);
    z-index: 1;
}

.timeline-content {
    background: var(--dark-bg-tertiary);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
}

.timeline-content:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-logo {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: white;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timeline-header {
    margin-bottom: 1.5rem;
    padding-right: 80px;
}

.timeline-period {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(0, 120, 212, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.timeline-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.timeline-missions {
    margin-bottom: 1.5rem;
}

.timeline-missions ul {
    list-style: none;
}

.timeline-missions li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    position: relative;
}

.timeline-missions li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 120, 212, 0.1);
    border: 1px solid rgba(0, 120, 212, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Couleurs alternées pour les tags */
.tech-tag:nth-child(8n+1) {
    background: rgba(0, 120, 212, 0.1);
    border-color: rgba(0, 120, 212, 0.4);
}

.tech-tag:nth-child(8n+1):hover {
    background: rgba(0, 120, 212, 0.2);
    border-color: #0078D4;
}

.tech-tag:nth-child(8n+2) {
    background: rgba(0, 200, 83, 0.1);
    border-color: rgba(0, 200, 83, 0.4);
}

.tech-tag:nth-child(8n+2):hover {
    background: rgba(0, 200, 83, 0.2);
    border-color: #00C853;
}

.tech-tag:nth-child(8n+3) {
    background: rgba(244, 104, 0, 0.1);
    border-color: rgba(244, 104, 0, 0.4);
}

.tech-tag:nth-child(8n+3):hover {
    background: rgba(244, 104, 0, 0.2);
    border-color: #F46800;
}

.tech-tag:nth-child(8n+4) {
    background: rgba(36, 150, 237, 0.1);
    border-color: rgba(36, 150, 237, 0.4);
}

.tech-tag:nth-child(8n+4):hover {
    background: rgba(36, 150, 237, 0.2);
    border-color: #2496ED;
}

.tech-tag:nth-child(8n+5) {
    background: rgba(156, 39, 176, 0.1);
    border-color: rgba(156, 39, 176, 0.4);
}

.tech-tag:nth-child(8n+5):hover {
    background: rgba(156, 39, 176, 0.2);
    border-color: #9C27B0;
}

.tech-tag:nth-child(8n+6) {
    background: rgba(238, 0, 0, 0.1);
    border-color: rgba(238, 0, 0, 0.4);
}

.tech-tag:nth-child(8n+6):hover {
    background: rgba(238, 0, 0, 0.2);
    border-color: #EE0000;
}

.tech-tag:nth-child(8n+7) {
    background: rgba(252, 198, 36, 0.1);
    border-color: rgba(252, 198, 36, 0.4);
}

.tech-tag:nth-child(8n+7):hover {
    background: rgba(252, 198, 36, 0.2);
    border-color: #FCC624;
}

.tech-tag:nth-child(8n+8) {
    background: rgba(51, 103, 145, 0.1);
    border-color: rgba(51, 103, 145, 0.4);
}

.tech-tag:nth-child(8n+8):hover {
    background: rgba(51, 103, 145, 0.2);
    border-color: #336791;
}

.sub-missions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.sub-mission-logo {
    position: absolute;
    top: 2rem;
    right: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: white;
    padding: 0.4rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-mission-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sub-mission-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-right: 60px;
}

/* ===== COMPÉTENCES SECTION ===== */
.skills-section {
    background: var(--dark-bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--dark-bg-tertiary);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.skill-category-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.skill-category-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.skill-percentage {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.skill-bar {
    height: 8px;
    background: var(--dark-bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-out;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== FORMATIONS SECTION ===== */
.education-section {
    background: var(--dark-bg);
}

.education-grid {
    display: grid;
    gap: 2rem;
}

.education-item {
    background: var(--dark-bg-tertiary);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
}

.education-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.education-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 120, 212, 0.1);
    border-radius: var(--border-radius);
    flex-shrink: 0;
}

.education-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.education-school {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-year {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.education-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.education-level {
    font-weight: 600;
    color: var(--secondary-color);
}

.education-competences {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.education-competences strong {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--dark-bg-secondary);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: var(--dark-bg-tertiary);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--text-secondary);
    display: inline-block;
    margin-top: 0.5rem;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-bg);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content p {
    color: var(--text-muted);
    margin: 0.5rem 0;
}

.footer-made i {
    color: #ff5f56;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-socials {
        justify-content: center;
    }
    
    .hero-illustration {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 2rem;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 1;
    }
    
    .timeline-dot {
        left: 0;
        transform: translateX(-50%);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .education-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .education-icon {
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline-logo {
        position: static;
        margin: 0 auto 1rem;
    }
    
    .timeline-header {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dark-bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* ===== ANIMATIONS D'APPARITION ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Décalage des animations */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
