:root {
    --bg-dark: #020617; --primary: #3b82f6; --secondary: #8b5cf6; --accent: #10b981;
    --text-main: #f8fafc; --text-muted: #94a3b8;
    --nav-bg: rgba(2, 6, 23, 0.95);
    --border: rgba(255, 255, 255, 0.08); --card-glass: rgba(15, 23, 42, 0.6);
    --sidebar-width: 280px; 
}
::selection { background: var(--primary); color: white; }
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
html { scroll-padding-top: 50px; }
body { font-family: 'Outfit', sans-serif; background-color: var(--bg-dark); color: var(--text-main); overflow-x: hidden; }
#canvas1 { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: radial-gradient(circle at 60% 50%, #172554 0%, #020617 80%); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #020617; border-left: 1px solid rgba(255, 255, 255, 0.05); }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 5px; border: 2px solid #020617; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
header::-webkit-scrollbar { width: 4px; }
header::-webkit-scrollbar-track { background: transparent; }
header::-webkit-scrollbar-thumb { background: rgba(59, 130, 246, 0.2); border-radius: 10px; }
header::-webkit-scrollbar-thumb:hover { background: var(--primary); }
.modal-content::-webkit-scrollbar, .skill-modal-content::-webkit-scrollbar { width: 8px; }
.modal-content::-webkit-scrollbar-track, .skill-modal-content::-webkit-scrollbar-track { background: #020617; border-radius: 4px; margin: 10px 0; }
.modal-content::-webkit-scrollbar-thumb, .skill-modal-content::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; border: 2px solid #020617; }
.modal-content::-webkit-scrollbar-thumb:hover, .skill-modal-content::-webkit-scrollbar-thumb:hover { background: var(--primary); }
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-dark); z-index: 9998; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease, visibility 0.5s; }
.loader-text { font-size: 2rem; font-weight: 800; color: white; letter-spacing: 2px; animation: pulseText 1.5s infinite; }
@keyframes pulseText { 0% { opacity: 0.3; } 50% { opacity: 1; } 100% { opacity: 0.3; } }
.loaded { opacity: 0; visibility: hidden; }
#login-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #020617; z-index: 10000; display: none; justify-content: center; align-items: center; flex-direction: column; transition: opacity 0.8s ease, visibility 0.8s; }
.login-box { background: rgba(15, 23, 42, 0.8); border: 1px solid var(--primary); padding: 3rem; border-radius: 20px; text-align: center; box-shadow: 0 0 50px rgba(59, 130, 246, 0.2); backdrop-filter: blur(10px); max-width: 400px; width: 90%; }
.login-box h2 { margin-bottom: 1.5rem; color: white; font-weight: 700; }
.login-box i { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; }
.login-input { width: 100%; padding: 12px; background: rgba(0,0,0,0.5); border: 1px solid var(--border); color: white; border-radius: 8px; margin-bottom: 1rem; font-size: 1.1rem; text-align: center; }
.login-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); }
.login-btn { background: var(--primary); color: white; border: none; padding: 12px 30px; border-radius: 50px; font-weight: bold; cursor: pointer; transition: 0.3s; width: 100%; }
.login-btn:hover { background: var(--secondary); transform: translateY(-2px); }
.error-msg { color: #ef4444; margin-top: 10px; display: none; font-size: 0.9rem; }
.hidden-overlay { opacity: 0; visibility: hidden; pointer-events: none; }
.shake { animation: shakeAnim 0.5s; }
@keyframes shakeAnim { 0% { transform: translateX(0); } 25% { transform: translateX(-10px); } 50% { transform: translateX(10px); } 75% { transform: translateX(-10px); } 100% { transform: translateX(0); } }
#progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: transparent; z-index: 2001; }
#progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); width: 0%; box-shadow: 0 0 15px var(--primary); }
#back-to-top { position: fixed; bottom: 30px; right: 30px; background: var(--primary); color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transition: 0.3s; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); z-index: 999; border: 1px solid rgba(255,255,255,0.2); }
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-5px); background: var(--secondary); }
header { 
    position: fixed; top: 0; left: 0; height: 100vh; width: var(--sidebar-width); 
    padding: 2.5rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start;
    justify-content: space-between; background: rgba(2, 6, 23, 0.95); 
    z-index: 1000; border-right: 1px solid rgba(255,255,255,0.05); 
    backdrop-filter: blur(20px); overflow-y: auto; scrollbar-width: thin; 
    scrollbar-color: rgba(59, 130, 246, 0.2) transparent; 
}
.logo-container { display: flex; flex-direction: column; align-items: center; width: 100%; margin-bottom: 2rem; text-align: center; }
.logo-circle { width: 90px; height: 90px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--primary), var(--secondary)); box-shadow: 0 0 25px rgba(59, 130, 246, 0.3); margin-bottom: 15px; }
.logo-circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #020617; }
.logo-text { font-size: 1.4rem; color: white; font-weight: 800; display: block; margin-bottom: 5px; }
.logo-status { font-size: 0.8rem; color: #10b981; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.status-indicator { width: 8px; height: 8px; background: #10b981; border-radius: 50%; animation: pulseStatus 2s infinite; }
@keyframes pulseStatus { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
nav { width: 100%; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
nav ul { display: flex; flex-direction: column; gap: 0.8rem; width: 100%; list-style: none; }
nav li { width: 100%; }
nav a { text-decoration: none; color: #94a3b8; font-size: 0.95rem; font-weight: 500; padding: 12px 20px; border-radius: 12px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 15px; width: 100%; background: transparent; border: 1px solid transparent; }
.nav-icon { width: 24px; text-align: center; transition: 0.3s; }
.nav-text { transition: 0.3s; }
nav a:hover, nav a.active-link { background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.05)); border-color: rgba(59, 130, 246, 0.3); color: white; transform: translateX(5px); }
nav a:hover .nav-icon, nav a.active-link .nav-icon { color: var(--primary); transform: scale(1.1); }
nav a.contact-link:hover, nav a.contact-link.active-link { background: linear-gradient(90deg, var(--primary), var(--secondary)); border-color: transparent; }
nav a.contact-link:hover .nav-icon, nav a.contact-link.active-link .nav-icon { color: white; }
.sidebar-footer { width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; }
.social-row { display: flex; justify-content: center; gap: 15px; margin-bottom: 10px; }
.social-row a { color: #64748b; font-size: 1.1rem; transition: 0.3s; }
.social-row a:hover { color: white; transform: translateY(-2px); }
.sidebar-footer p { font-size: 0.75rem; color: #475569; }
.menu-toggle { display: none; }
main { margin-left: var(--sidebar-width); width: calc(100% - var(--sidebar-width)); display: flex; flex-direction: column; max-width: 100%; }
section, footer, .marquee-container, .hero { margin-left: 0 !important; width: 100% !important; margin-right: 0 !important; }
section { padding: 6rem 5%; max-width: 1600px; margin: 0 auto !important; content-visibility: auto; contain-intrinsic-size: 800px; }
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 80px 40px; position: relative; max-width: 100%; }
.hero-content { z-index: 2; position: relative; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.mega-title { font-size: 5rem; font-weight: 900; color: white; text-transform: uppercase; letter-spacing: 2px; margin: 0; text-shadow: 0 0 25px rgba(59, 130, 246, 0.4); animation: fadeInDown 1.2s ease-out; }
.hero-subtitle { font-size: 1.8rem; font-weight: 700; color: #e2e8f0; text-transform: uppercase; letter-spacing: 4px; margin: 0; animation: fadeInUp 1.2s ease-out 0.3s backwards; }
.highlight-glow { color: var(--secondary); text-shadow: 0 0 15px var(--secondary); position: relative; display: inline-block; }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.scroll-down { position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.7; }
.mouse { width: 26px; height: 40px; border: 2px solid var(--text-muted); border-radius: 20px; position: relative; }
.wheel { width: 4px; height: 8px; background: white; border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scroll 1.5s infinite; }
@keyframes scroll { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 20px; } }
.marquee-container { width: 100%; padding: 2rem 0; background: rgba(2, 6, 23, 0.8); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; white-space: nowrap; position: relative; backdrop-filter: blur(5px); }
.marquee-container:hover .marquee-content { animation-play-state: paused; }
.marquee-content { display: inline-flex; align-items: center; gap: 4rem; animation: marquee 20s linear infinite; }
.tech-item { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: 1.2rem; font-weight: 600; cursor: default; }
.tech-item i { font-size: 1.8rem; color: var(--primary); transition: 0.3s; }
.tech-item:hover i { transform: scale(1.2); color: var(--secondary); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.section-header h2 { font-size: 2.8rem; margin-bottom: 1rem; font-weight: 700; word-wrap: break-word; }
.section-header span { background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; color: transparent; }
.procedures-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; perspective: 1000px; }
.card { background: var(--card-glass); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 2.5rem; position: relative; transition: all 0.4s ease; overflow: hidden; backdrop-filter: blur(12px); display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.card:hover { transform: translateY(-5px); border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 20px 40px -20px rgba(59, 130, 246, 0.2); }
.card-content { position: relative; z-index: 1; display:flex; flex-direction:column; height:100%;}
.icon-box { width: 60px; height: 60px; background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1)); border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary); margin-bottom: 1.5rem; }
.btn-link { color: var(--text-main); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top:1rem; padding-bottom: 2px; border-bottom: 1px solid var(--border); transition: 0.3s; cursor: pointer; }
.btn-link:hover { color: var(--primary); border-color: var(--primary); gap: 12px; }
.profile-list li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.profile-list i { color: var(--primary); width: 20px; }
.about-text-box { background: linear-gradient(180deg, rgba(30,41,59,0.3), rgba(15,23,42,0.6)); border: 1px solid var(--border); padding: 2.5rem; border-radius: 20px; margin-bottom: 4rem; max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3); backdrop-filter: blur(10px); }
.card-image { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.card:hover .card-image { transform: scale(1.02); border-color: var(--primary); }
.card-tags { display: flex; gap: 8px; margin-bottom: 1rem; flex-wrap: wrap; }
.tech-tag { font-size: 0.8rem; background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); padding: 4px 10px; border-radius: 50px; color: var(--text-muted); transition: 0.3s; }
.card:hover .tech-tag { border-color: var(--primary); color: white; }
.timeline { max-width: 900px; margin: 0 auto; position: relative; }
.timeline::after { content: ''; position: absolute; width: 2px; background: rgba(59, 130, 246, 0.2); top: 0; bottom: 0; left: 30px; margin-left: -1px; }
.timeline-item { padding: 10px 40px 40px 80px; position: relative; background: inherit; width: 100%; }
.timeline-item::after { content: ''; position: absolute; width: 16px; height: 16px; right: auto; left: 22px; top: 15px; border-radius: 50%; border: 3px solid var(--bg-dark); background: var(--primary); z-index: 1; box-shadow: 0 0 10px var(--primary); }
.timeline-content { padding: 2rem; background: var(--card-glass); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; backdrop-filter: blur(10px); transition: 0.4s; }
.timeline-content:hover { transform: translateX(10px); border-color: rgba(59, 130, 246, 0.3); }
.date { color: var(--primary); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.5rem; display: block; }
.success-msg-form { color: var(--accent); margin-top: 1rem; text-align: center; font-weight: 600; animation: fadeIn 0.5s; }
.error-msg-form { color: #ef4444; margin-top: 1rem; text-align: center; font-weight: 600; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.modal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.modal-content { background: #0f172a; border: 1px solid var(--border); border-radius: 20px; margin: 5% auto; padding: 2rem; width: 90%; max-width: 600px; max-height: 85vh; overflow-y: auto; color: var(--text-muted); box-shadow: 0 0 50px rgba(59, 130, 246, 0.3); position: relative; animation: modalAnim 0.4s ease; }
@keyframes modalAnim { from {opacity:0; transform:translateY(-50px);} to {opacity:1; transform:translateY(0);} }
.close-modal { position: absolute; top: 15px; right: 20px; color: white; font-size: 28px; font-weight: bold; cursor: pointer; z-index: 10; }
.legal-link { cursor: pointer; color: var(--text-muted); text-decoration: underline; transition: 0.3s; }
.legal-link:hover { color: var(--primary); }
.bts-number { color: var(--secondary); font-family: monospace; opacity: 0.7; margin-right: 15px; font-size: 0.6em; vertical-align: middle; }
.choice-badge { background: linear-gradient(90deg, #6366f1, #a855f7); color: white; padding: 6px 14px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; position: absolute; top: 20px; right: 20px; z-index: 5; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3); }
.bts-active-card { border-color: rgba(99, 102, 241, 0.5); box-shadow: 0 0 30px rgba(99, 102, 241, 0.15); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; perspective: 1000px; }
.skill-card { background: rgba(15, 23, 42, 0.4); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(5px); text-align: center; height: 180px; }
.skill-card:hover { background: rgba(30, 41, 59, 0.8); transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2); }
.skill-icon { font-size: 3rem; margin-bottom: 1rem; transition: 0.3s; }
.skill-card:hover .skill-icon { transform: scale(1.1); }
.skill-card h3 { font-size: 1rem; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.5px; }
.skill-modal-content { background: #0f172a; max-width: 650px; border: 1px solid var(--primary); max-height: 85vh; overflow-y: auto; text-align: left; padding: 2.5rem; }
.skill-detail-icon { font-size: 3rem; margin-bottom: 1rem; display:block; text-align:center;}
.skill-detail-title { color: white; font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; text-align:center;}
.skill-detail-desc { color: var(--text-muted); line-height: 1.6; font-size: 1.05rem; margin-bottom: 1.5rem; }
.skill-tag-container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.certif-preview-container { width: 100%; height: 300px; background: #000; border: 1px solid var(--border); border-radius: 12px; position: relative; overflow: hidden; margin-top: 1rem; }
.certif-preview-frame { width: 100%; height: 100%; border: none; }
.certif-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 1.1rem; opacity: 0; transition: 0.3s; cursor: pointer; }
.certif-preview-container:hover .certif-overlay { opacity: 1; }
.about-container { display: flex; align-items: center; gap: 4rem; flex-wrap: wrap; }
.about-image-wrapper { flex: 0 0 300px; height: 300px; border-radius: 50%; overflow: hidden; border: 5px solid rgba(59, 130, 246, 0.2); box-shadow: 0 0 50px rgba(59, 130, 246, 0.2); }
.about-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.about-text-content { flex: 1; min-width: 300px; }
.gradient-title { font-size: 2rem; font-weight: 800; background: linear-gradient(to right, #6366f1, #a855f7); -webkit-background-clip: text; color: transparent; margin-bottom: 0.5rem; }
.btn-cv-outline { text-decoration: none; color: white; border: 1px solid rgba(255, 255, 255, 0.3); padding: 10px 30px; border-radius: 8px; font-weight: 600; transition: 0.3s; background: transparent; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }
.btn-cv-outline:hover { border-color: var(--primary); background: rgba(59, 130, 246, 0.1); color: var(--primary); }
.info-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.bento-box { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; position: relative; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; }
.bento-box:hover { background: rgba(30, 41, 59, 0.6); transform: translateY(-5px); border-color: rgba(59, 130, 246, 0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.bento-wide { grid-column: span 2; }
.bento-icon { width: 50px; height: 50px; background: rgba(59, 130, 246, 0.2); color: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.bento-box h3 { font-size: 1.2rem; color: white; margin-bottom: 1.5rem; }
.soft-skills-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-pill { background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 50px; color: var(--text-muted); font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.05); transition: 0.3s; }
.bento-box:hover .skill-pill { border-color: var(--primary); color: white; }
.lang-item { margin-bottom: 1.2rem; }
.lang-info { display: flex; justify-content: space-between; margin-bottom: 5px; color: white; font-weight: 500; }
.lang-lvl { color: var(--text-muted); font-size: 0.85rem; }
.progress-bg { width: 100%; height: 8px; background: rgba(255,255,255,0.05); border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 10px; }
.hobbies-grid { display: flex; gap: 20px; justify-content: space-around; align-items: center; flex-wrap: wrap; }
.hobby-item { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); transition: 0.3s; }
.hobby-item i { font-size: 2rem; color: rgba(255,255,255,0.2); transition: 0.3s; }
.hobby-item:hover i { color: #ec4899; transform: scale(1.2); }
.hobby-item:hover { color: white; }
.veille-container { display: flex; flex-direction: column; gap: 3rem; }
.veille-definition { background: linear-gradient(135deg, rgba(30,41,59,0.3), rgba(15,23,42,0.5)); border-left: 4px solid var(--primary); padding: 2rem; border-radius: 0 16px 16px 0; }
.veille-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tool-row { display: flex; align-items: center; gap: 15px; padding: 10px; background: rgba(255,255,255,0.02); border-radius: 12px; transition: 0.3s; color: var(--text-muted); }
.tool-row:hover { background: rgba(255,255,255,0.05); color: white; transform: translateX(5px); }
.sources-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.source-pill { padding: 8px 16px; border: 1px solid var(--border); border-radius: 50px; color: white; text-decoration: none; font-size: 0.9rem; transition: 0.3s; background: rgba(255,255,255,0.02); }
.source-pill:hover { border-color: var(--primary); background: rgba(59,130,246,0.1); }
.parcours-container { display: flex; flex-direction: column; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.parcours-card { background: rgba(15, 23, 42, 0.4); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; display: flex; justify-content: space-between; align-items: center; transition: all 0.3s ease; backdrop-filter: blur(5px); position: relative; overflow: hidden; }
.parcours-card:hover { background: rgba(30, 41, 59, 0.8); transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 40px rgba(59, 130, 246, 0.15); }
.parcours-content { flex: 1; padding-right: 2rem; }
.parcours-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.parcours-header h3 { font-size: 1.3rem; font-weight: 700; color: white; margin: 0; }
.parcours-badge { font-size: 0.8rem; padding: 6px 12px; border-radius: 50px; font-weight: 600; letter-spacing: 0.5px; }
.badge-stage { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-job { background: rgba(249, 115, 22, 0.15); color: #f97316; border: 1px solid rgba(249, 115, 22, 0.2); }
.badge-school { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.2); }
.parcours-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.6; }
.parcours-details { list-style: none; padding: 0; }
.parcours-details li { color: #cbd5e1; font-size: 0.95rem; margin-bottom: 0.8rem; display: flex; align-items: flex-start; }
.parcours-details li::before { content: "▹"; color: var(--primary); margin-right: 10px; font-weight: bold; }
.bullet-key { color: white; font-weight: 600; margin-right: 5px; white-space: nowrap; } /* FIXED */
.parcours-icon-large { font-size: 3.5rem; opacity: 0.8; transition: 0.3s; flex-shrink: 0; }
.parcours-card:hover .parcours-icon-large { transform: scale(1.1) rotate(5deg); opacity: 1; }
.contact-container { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; max-width: 1100px; margin: 0 auto; }
.contact-info { background: rgba(15, 23, 42, 0.6); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; backdrop-filter: blur(10px); }
.info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 2rem; }
.info-icon { width: 50px; height: 50px; background: rgba(59, 130, 246, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.2rem; flex-shrink: 0; transition: 0.3s; }
.info-item:hover .info-icon { background: var(--primary); color: white; transform: scale(1.1); }
.info-label { 
    display: block; /* C'est cette ligne qui force le retour à la ligne */
    color: white; 
    font-weight: 700; 
    margin-bottom: 5px; /* Ajoute un petit espace sous le titre */
}
.info-value { color: var(--text-muted); font-size: 0.95rem; }
.contact-form-wrapper { background: rgba(15, 23, 42, 0.4); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; backdrop-filter: blur(10px); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; color: var(--text-muted); margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 500; }
.contact-form-wrapper input, .contact-form-wrapper textarea { width: 100%; background: rgba(2, 6, 23, 0.6); border: 1px solid var(--border); padding: 1rem; border-radius: 12px; color: white; font-family: inherit; transition: 0.3s; }
.contact-form-wrapper input:focus, .contact-form-wrapper textarea:focus { outline: none; border-color: var(--primary); background: rgba(2, 6, 23, 0.9); box-shadow: 0 0 15px rgba(59, 130, 246, 0.15); }
.btn-send { background: linear-gradient(90deg, #6366f1, #a855f7); color: white; padding: 12px 30px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; font-size: 1rem; display: inline-flex; align-items: center; gap: 8px; }
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4); }
@media (max-width: 900px) {
    :root { --sidebar-width: 0px; }
    header { width: 100%; padding: 1.2rem 2rem; position: fixed; flex-direction: row; align-items: center; }
    .logo-container { flex-direction: row; margin-bottom: 0; width: auto; gap: 10px; text-align: left; }
    .logo-circle { width: 45px; height: 45px; margin-bottom: 0; }
    .logo-text { font-size: 1.1rem; margin-bottom: 0; }
    .logo-status { display: none; }
    main { margin-left: 0; width: 100%; }
    .menu-toggle { display: block; font-size: 1.5rem; color: white; cursor: pointer; }
    nav ul { display: none; position: fixed; top: 70px; left: 0; width: 100%; background: #030712; flex-direction: column; padding: 2rem; border-bottom: 1px solid var(--border); }
    nav ul.active { display: flex; }
    .sidebar-footer { display: none; } 
    .mega-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; letter-spacing: 2px; }
    .about-container { flex-direction: column; text-align: center; gap: 2rem; }
    .about-image-wrapper { width: 200px; height: 200px; margin: 0 auto; }
    .bento-wide { grid-column: span 1; }
    .hobbies-grid { gap: 30px; }
    .veille-grid { grid-template-columns: 1fr; }
    .parcours-card { flex-direction: column-reverse; align-items: flex-start; gap: 1.5rem; }
    .parcours-content { padding-right: 0; }
    .parcours-icon-large { font-size: 2.5rem; align-self: flex-end; margin-top: -3rem; margin-bottom: 1rem; }
    .parcours-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .contact-container { grid-template-columns: 1fr; gap: 1.5rem; }
    .btn-send { width: 100%; justify-content: center; }
    section { padding: 4rem 1rem !important; }
}
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
@media screen and (max-height: 850px) and (min-width: 900px) {
    header { padding: 1rem 1.5rem; }
    .logo-container { margin-bottom: 1.5rem; }
    nav a { padding: 10px 15px; }
}