/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #f8fafc;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    position: relative;
    z-index: 0;
    overflow-x: hidden;
}

/* Grille de fond réseau */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

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

/* Navigation - Style Terminal */
.navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    z-index: 999999 !important;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3b82f6;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.nav-brand a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    transition: width 0.3s ease;
}

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

.brand-link:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5));
}

/* Logo */
.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    filter: drop-shadow(0 0 4px rgba(59, 130, 246, 0.3));
}

.photos-link:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
}

.logo-img {
    filter: drop-shadow(0 0 2px rgba(59, 130, 246, 0.2));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    position: relative;
    z-index: 999998;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-item {
    position: relative;
    z-index: 999998;
}

.nav-item:hover {
    z-index: 999999;
}

/* Sous-menu Missions (GSB) */
.nav-item--has-dropdown .nav-btn {
    gap: 0.35rem;
}
.nav-dropdown-arrow {
    font-size: 0.65rem;
    opacity: 0.8;
    transition: transform 0.25s ease;
}
.nav-item--has-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
}
.nav-dropdown {
    list-style: none;
    margin: 0;
    padding: 0.35rem 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 999997;
}
.nav-item--has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    margin: 0 0.25rem;
    transition: background 0.2s, color 0.2s;
}
.nav-dropdown-link:hover,
.nav-dropdown-link.active {
    color: #2563eb;
    background: rgba(59, 130, 246, 0.12);
}

/* Boutons de navigation - Style Terminal */
.nav-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    color: #cbd5e1;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid transparent;
    background: transparent;
}

.nav-btn {
    color: #475569;
}

.nav-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(16, 185, 129, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-btn:hover::before {
    opacity: 1;
}

.nav-btn:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Menu Burger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10000;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #2563eb;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-toggle:hover .hamburger-line {
    background: #1d4ed8;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 0.5rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 9998;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-item--has-dropdown .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(59, 130, 246, 0.06);
        margin-top: 0.25rem;
        margin-left: 0.5rem;
        padding: 0.25rem 0;
        min-width: auto;
        border-radius: 8px;
    }
    .nav-item--has-dropdown .nav-dropdown-arrow {
        display: none;
    }
    .nav-dropdown-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-btn {
        width: 100%;
        padding: 1rem 1.2rem;
        justify-content: flex-start;
        border-radius: 8px;
    }
    
    .nav-btn:hover {
        background: rgba(59, 130, 246, 0.15);
        transform: translateX(5px);
    }
    
    /* Overlay pour fermer le menu */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 9997;
        pointer-events: none;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        width: 100%;
        right: -100%;
    }
}

.nav-btn:hover {
    color: #2563eb;
    background: rgba(59, 130, 246, 0.05);
}

.nav-btn.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.nav-btn.active {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.nav-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}


/* Contenu principal */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    position: relative;
    z-index: 1 !important;
}

/* Section Hero - Style Terminal/Code */
.hero-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    padding: 4rem 2rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

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

.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%);
}

.hero-section::before {
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

/* Nom du portfolio */
.hero-name {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-name-text {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 50%, #3b82f6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    letter-spacing: 2px;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.hero-name-text {
    background: linear-gradient(135deg, #2563eb 0%, #059669 50%, #2563eb 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text-block {
    margin-bottom: 3rem;
    position: relative;
}

.hero-text-block::before {
    content: '> ';
    color: #10b981;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    position: absolute;
    left: -30px;
    animation: blink 1s infinite;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #94a3b8;
    font-weight: 400;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
}

.hero-subtitle {
    color: #64748b;
}

.hero-title-block {
    margin-top: 2rem;
    position: relative;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    color: #3b82f6;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    font-family: 'Inter', sans-serif;
}

.hero-title {
    color: #2563eb;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.cursor-blink {
    display: inline-block;
    animation: blink 1s infinite;
    color: #10b981;
    margin-left: 4px;
    font-weight: bold;
}

.cursor-blink {
    color: #059669;
}

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

/* Responsive pour la section hero */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
        min-height: calc(100vh - 150px);
    }
    
    .hero-name-text {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-text-block {
        margin-bottom: 2rem;
    }
    
    .hero-text-block::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-name-text {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
}

/* Effets de réseau en arrière-plan */
.network-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    opacity: 0.3;
}

.network-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    height: 1px;
    animation: networkFlow 8s linear infinite;
}

.line-1 {
    top: 20%;
    left: -100%;
    width: 200px;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    left: -100%;
    width: 300px;
    animation-delay: 2s;
}

.line-3 {
    top: 80%;
    left: -100%;
    width: 250px;
    animation-delay: 4s;
}

@keyframes networkFlow {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.network-line {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

/* Indicateurs de statut */
.status-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.status-item {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(59, 130, 246, 0.1);
}

.status-item:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
    position: relative;
}

.status-dot.active {
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.status-text {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
    font-family: 'Courier New', monospace;
}

.status-text {
    color: #475569;
}

/* Liens sociaux */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.7);
}

.social-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2);
}

.social-link[aria-label="LinkedIn"]:hover {
    color: #0077b5;
    border-color: rgba(0, 119, 181, 0.4);
}

.social-link[aria-label="GitHub"]:hover {
    color: #333;
    border-color: rgba(51, 51, 51, 0.4);
}

@media (max-width: 768px) {
    .status-indicators {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .status-item {
        padding: 0.4rem 0.8rem;
    }
    
    .status-text {
        font-size: 0.75rem;
    }
    
    .social-links {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .social-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .social-link i {
        font-size: 1rem;
    }
}

/* Pages de contenu - Style Terminal */
.page-content {
    background: rgba(15, 23, 42, 0.6) !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(59, 130, 246, 0.1) !important;
    margin-top: 2rem !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    z-index: 1 !important;
}

.page-content {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.page-content:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(59, 130, 246, 0.2) !important;
    transform: translateY(-2px) !important;
    border-color: rgba(59, 130, 246, 0.4) !important;
}

.page-content:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(59, 130, 246, 0.2) !important;
}

.glass-effect {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 100%) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
}

.glass-effect {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%) !important;
}

.page-title {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: #3b82f6;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.page-title {
    color: #2563eb;
    text-shadow: none;
}

.page-title-with-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.page-title-with-nav .page-title {
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

.page-nav-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nav-scroll-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.nav-scroll-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    color: #1d4ed8;
}

.nav-scroll-btn i {
    font-size: 1rem;
}

.nav-scroll-btn span {
    white-space: nowrap;
}

.page-body {
    line-height: 1.6;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.page-body {
    color: #475569;
}

.glass-content {
    background: rgba(30, 41, 59, 0.4) !important;
    padding: 1.5rem !important;
    border-radius: 10px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(59, 130, 246, 0.15) !important;
}

.glass-content {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(59, 130, 246, 0.1) !important;
}

.page-body h1 {
    font-size: 1.5rem;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #3b82f6;
}

.page-body h1 {
    color: #2563eb;
}

.page-body h2 {
    font-size: 1.3rem;
    margin-top: 1rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #60a5fa;
}

.page-body h2 {
    color: #3b82f6;
}

.page-body h3 {
    font-size: 1.1rem;
    margin-top: 0.8rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: #94a3b8;
}

.page-body h3 {
    color: #64748b;
}

.page-body p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.page-body img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.4);
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: 50%;
}

.img-shadow {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Footer - Style Tech */
.footer {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: #94a3b8;
    position: relative;
}

.footer {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: #64748b;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}


/* Visionneuse d'images */
.image-viewer {
    display: none;
    position: fixed;
    z-index: 999997;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.image-viewer img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.image-viewer-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #3b82f6;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.image-viewer-close:hover {
    transform: scale(1.2);
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

.image-viewer-nav {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.viewer-prev,
.viewer-next {
    background: rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: #3b82f6;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-prev:hover,
.viewer-next:hover {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.6);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Styles pour la page À propos */
.about-section {
    margin-bottom: 1.5rem;
}

.about-section h2 {
    font-size: 1.3rem;
    color: #3b82f6;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    position: relative;
    padding-left: 1.5rem;
}

.about-section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.about-section h2 {
    color: #2563eb;
    border-bottom-color: rgba(59, 130, 246, 0.1);
}

.about-section h2 i {
    font-size: 1.3rem;
    color: #10b981;
}

.about-section h2 i {
    color: #059669;
}

.info-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-left: 4px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(59, 130, 246, 0.1);
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    border-left-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.info-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid rgba(59, 130, 246, 0.2);
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-card:hover .info-logo {
    transform: scale(1.05);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.info-logo {
    background: rgba(255, 255, 255, 0.8);
}

.info-card-content {
    flex: 1;
}

.info-card-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.info-card-content h3 {
    font-size: 1.1rem;
    color: #3b82f6;
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.info-card-content h3 {
    color: #2563eb;
}

.info-subtitle {
    font-size: 0.95rem;
    color: #10b981;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.info-subtitle {
    color: #059669;
}

.info-date {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-date {
    color: #64748b;
}

.info-date i {
    color: #3b82f6;
}

.info-date i {
    color: #2563eb;
}

.info-description {
    color: #cbd5e1;
    line-height: 1.5;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.info-description {
    color: #475569;
}

.info-location {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-location {
    color: #64748b;
}

.info-location i {
    color: #3b82f6;
}

.info-location i {
    color: #2563eb;
}

@media (max-width: 768px) {
    .info-card-header {
        flex-direction: column;
        align-items: center;
    text-align: center;
    }
    
    .info-card-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .info-logo {
        width: 70px;
    }
    
    .about-section h2 {
        font-size: 1.3rem;
        padding-left: 1.2rem;
    }
    
    .info-card-content h3 {
        font-size: 1rem;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .page-title-with-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .page-nav-buttons {
        width: 100%;
        justify-content: flex-start;
    }
    
    .nav-scroll-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-title-with-nav {
        gap: 0.75rem;
    }
    
    .page-nav-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-scroll-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Liens cliquables pour les cartes */
.info-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
    transition: transform 0.3s ease;
    margin-bottom: 0.75rem;
}

.info-card-link:hover {
    transform: scale(1.02);
}

.info-card-link:hover .info-card {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3);
}

.link-icon {
    font-size: 0.8rem;
    margin-left: 0.5rem;
    color: #3b82f6;
    opacity: 0.7;
    transition: all 0.3s;
}

.info-card-link:hover .link-icon {
    opacity: 1;
    transform: translateX(3px);
}

.link-icon {
    color: #2563eb;
}

/* Badges de statut pour les cartes */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-badge-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge-completed {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    margin-right: 0.4rem;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

/* Amélioration des sections */
.about-section {
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.3), rgba(16, 185, 129, 0.3));
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-section:hover::before {
    opacity: 1;
}

/* Annotation de présentation - Style Portfolio */
.presentation-hint {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.presentation-hint:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.presentation-hint-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    border-radius: 12px;
    flex-shrink: 0;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.presentation-hint-icon i {
    font-size: 1.5rem;
    color: #3b82f6;
    animation: pulse 2s ease-in-out infinite;
}

.presentation-hint-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.presentation-hint-content {
    flex: 1;
}

.presentation-hint-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2563eb;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.presentation-hint-title::before {
    content: '';
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #3b82f6, #10b981);
    border-radius: 2px;
}

.presentation-hint-text {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .presentation-hint {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .presentation-hint-icon {
        width: 45px;
        height: 45px;
    }
    
    .presentation-hint-icon i {
        font-size: 1.3rem;
    }
    
    .presentation-hint-title {
        font-size: 1rem;
        justify-content: center;
    }
    
    .presentation-hint-text {
        font-size: 0.9rem;
    }
}

/* Styles pour les pages entreprises */
.company-header {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    text-decoration: none;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
}

.back-link:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(-5px);
}

.back-link {
    color: #2563eb;
}

.company-logo-section {
    text-align: center;
    margin-bottom: 2rem;
}

.company-main-logo {
    width: 200px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    transition: all 0.3s;
}

.company-main-logo:hover {
    transform: scale(1.05);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3);
}

.company-main-logo {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(59, 130, 246, 0.2);
}

.company-section {
    margin-bottom: 2rem;
}

.company-section h2 {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.company-section h2 {
    color: #2563eb;
    border-bottom-color: rgba(59, 130, 246, 0.1);
}

.company-section h2 i {
    color: #10b981;
}

.company-section h2 i {
    color: #059669;
}

.company-section h3 {
    font-size: 1.2rem;
    color: #60a5fa;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.company-section h3 {
    color: #3b82f6;
}

.info-box {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1rem 0;
    backdrop-filter: blur(10px);
}

.info-box {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(59, 130, 246, 0.1);
}

.info-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.info-badge {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
    border-color: rgba(5, 150, 105, 0.2);
}

.company-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.company-list li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.company-list li {
    color: #475569;
    border-bottom-color: rgba(59, 130, 246, 0.05);
}

.company-list li:last-child {
    border-bottom: none;
}

.company-list li i {
    color: #10b981;
    font-size: 0.9rem;
}

.company-list li i {
    color: #059669;
}

/* Statistiques entreprise */
.company-stats {
    display: flex;
    justify-content: space-around;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    flex: 1;
    min-width: 150px;
    transition: all 0.3s;
}

.stat-item {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(59, 130, 246, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.stat-number {
    color: #2563eb;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.stat-label {
    color: #64748b;
}

/* Timeline des innovations */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #3b82f6, #10b981);
}

.timeline::before {
    background: linear-gradient(180deg, #2563eb, #059669);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3b82f6;
    border: 2px solid #0f172a;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.timeline-item::before {
    background: #2563eb;
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.timeline-year {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.timeline-year {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

.timeline-content {
    background: rgba(30, 41, 59, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.4);
    border-left-color: #2563eb;
}

.timeline-content h4 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-content h4 {
    color: #2563eb;
}

.timeline-content p {
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
}

.timeline-content p {
    color: #475569;
}

/* Section PDF */
.pdf-section {
    margin-top: 2rem;
}

.pdf-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.pdf-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(30, 41, 59, 0.4);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pdf-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(59, 130, 246, 0.1);
}

.pdf-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.6);
}

.pdf-card:hover {
    background: rgba(255, 255, 255, 0.7);
}

.pdf-icon {
    font-size: 3rem;
    color: #ef4444;
    flex-shrink: 0;
}

.pdf-info {
    flex: 1;
}

.pdf-info h4 {
    font-size: 1.2rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pdf-info h4 {
    color: #2563eb;
}

.pdf-info p {
    color: #cbd5e1;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.pdf-info p {
    color: #64748b;
}

.pdf-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

.pdf-card:hover .pdf-badge {
    background: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}

.pdf-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

@media (max-width: 768px) {
    .company-main-logo {
        width: 150px;
    }
    
    .company-section h2 {
        font-size: 1.3rem;
    }
    
    .company-section h3 {
        font-size: 1.1rem;
    }
    
    .company-stats {
        flex-direction: column;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .pdf-card {
        flex-direction: column;
        text-align: center;
    }
    
    .pdf-icon {
        font-size: 2.5rem;
    }
}

/* Section présentation personnelle */
.personal-info {
    line-height: 1.8;
}

.personal-info p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

/* Section CV */
/* Section CV - Informations */
.cv-info-section {
    margin: 1.5rem 0;
}

.cv-info-item {
    background: rgba(59, 130, 246, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    margin-bottom: 1rem;
}

.cv-info-item h3 {
    color: #3b82f6;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.cv-info-item h4 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Stages section - Plus petits */
.cv-stages-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.stages-title {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cv-info-item-small {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: rgba(59, 130, 246, 0.03);
    border-left: 3px solid rgba(59, 130, 246, 0.3);
}

.cv-info-item-small h4 {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.cv-info-item-small .cv-info-company,
.cv-info-item-small .cv-info-location,
.cv-info-item-small .cv-info-date {
    font-size: 0.875rem;
    margin: 0.35rem 0;
}

/* Formations antérieures - Plus petites */
.cv-formation-past {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.formation-past-title {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cv-info-company,
.cv-info-location,
.cv-info-date {
    color: #64748b;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cv-info-description {
    color: #64748b;
    margin-top: 0.75rem;
    line-height: 1.6;
}

.cv-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.skill-category {
    background: rgba(59, 130, 246, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.skill-category h4 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    color: #64748b;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.skill-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* CV Preview Small */
.cv-preview-small {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 2rem;
    overflow: hidden;
    text-align: center;
}

.cv-iframe-small {
    width: 100%;
    max-width: 600px;
    height: 400px;
    border: none;
    border-radius: 8px;
    background: #fff;
    margin: 0 auto;
    display: block;
}

.cv-actions {
    text-align: center;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cv-download-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.cv-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.cv-download-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
}

.cv-download-btn i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .cv-iframe {
        height: 600px;
    }
    
    .cv-download-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .personal-info p {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .cv-skills {
        grid-template-columns: 1fr;
    }
    
    .cv-iframe-small {
        height: 300px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .cv-iframe-small {
        height: 250px;
    }
    
    .cv-download-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}

/* Section Compétences - Tableau */
.competences-section {
    margin-top: 1rem;
}

.competences-section h2 {
    color: #3b82f6;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.competences-section h2 {
    color: #2563eb;
}

.competences-section > p {
    margin-bottom: 2rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.competences-section > p {
    color: #64748b;
}

/* Grille des compétences E5 - 6 blocs */
.competence-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.4);
}
.competence-grid-col {
    padding: 1.25rem 1rem;
    border-right: 1px solid rgba(59, 130, 246, 0.15);
    background: rgba(255, 255, 255, 0.5);
}
.competence-grid-col:last-child {
    border-right: none;
}
.competence-grid-col h3 {
    font-size: 0.95rem;
    color: #2563eb;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.35;
}
.competence-grid-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.competence-grid-col li {
    font-size: 0.85rem;
    color: #475569;
    padding: 0.35rem 0;
    padding-left: 1rem;
    position: relative;
    line-height: 1.45;
}
.competence-grid-col li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}
@media (max-width: 1200px) {
    .competence-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .competence-grid-col {
        border-right: none;
        border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    }
    .competence-grid-col:nth-child(3n) {
        border-right: none;
    }
}
@media (max-width: 768px) {
    .competence-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .competence-grid-col {
        border-right: none;
        border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    }
    .competence-grid-col:last-child {
        border-bottom: none;
    }
}

.tableau-preview {
    margin-top: 2rem;
}

.tableau-container {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tableau-container {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(59, 130, 246, 0.1);
}

.tableau-iframe {
    width: 100%;
    height: calc(100vh - 300px);
    min-height: 1000px;
    max-height: 1400px;
    border: none;
    border-radius: 8px;
    background: #fff;
}

.tableau-iframe {
    background: #fff;
}

/* Page Compétences : PDF en pleine vue (tout visible, pas de défilement dans le doc) */
.tableau-container--pdf {
    overflow: hidden;
    padding: 0.5rem;
}
.tableau-iframe--pdf {
    display: block;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    border: none;
    border-radius: 8px;
    background: #fff;
}
.tableau-hint {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
}
.tableau-hint code {
    background: rgba(0,0,0,0.08);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.85em;
}

.tableau-actions {
    text-align: left;
    margin-bottom: 1.5rem;
}

.tableau-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tableau-link-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.tableau-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}

.tableau-link-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
}

.tableau-link-btn i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .tableau-iframe {
        height: calc(100vh - 250px);
        min-height: 700px;
        max-height: 1000px;
    }
    
    .tableau-link-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .tableau-iframe {
        height: calc(100vh - 200px);
        min-height: 600px;
        max-height: 800px;
    }
    
    .tableau-link-btn {
    width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .competences-section h2 {
        font-size: 1.3rem;
    }
}

/* Section Veille Technologique */
.veille-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.veille-card {
    background: rgba(30, 41, 59, 0.4);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.veille-card {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(59, 130, 246, 0.1);
}

.veille-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    background: rgba(30, 41, 59, 0.6);
}

.veille-card:hover {
    background: rgba(255, 255, 255, 0.7);
}

.veille-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.veille-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.veille-arrow {
    margin-left: auto;
    font-size: 1.5rem;
    color: #3b82f6;
    opacity: 0.6;
    transition: all 0.3s;
}

.veille-arrow {
    color: #2563eb;
}

.veille-card:hover .veille-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.veille-icon {
    font-size: 2.5rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.veille-icon {
    color: #2563eb;
}

.veille-header h2 {
    font-size: 1.5rem;
    color: #3b82f6;
    margin: 0;
    font-weight: 600;
}

.veille-header h2 {
    color: #2563eb;
}

.veille-content p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.veille-content p {
    color: #64748b;
}

.veille-topics {
    display: flex;
        flex-wrap: wrap;
    gap: 0.75rem;
}

.veille-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
}

.veille-tag {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

.veille-tag:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.veille-tag i {
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .veille-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .veille-card {
        padding: 1.5rem;
    }
    
    .veille-header h2 {
        font-size: 1.3rem;
    }
    
    .veille-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .veille-card {
        padding: 1.25rem;
    }
    
    .veille-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .veille-header h2 {
        font-size: 1.2rem;
    }
}

/* Pages détaillées de veille */
.veille-detail-header {
    margin-bottom: 2rem;
}

.veille-detail-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.veille-detail-icon {
    font-size: 3rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.veille-detail-icon {
    color: #2563eb;
}

.veille-detail-section {
    line-height: 1.8;
}

.veille-detail-section h2 {
    color: #3b82f6;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.veille-detail-section h2 {
    color: #2563eb;
}

.veille-detail-section h2:first-of-type {
    margin-top: 0;
}

.veille-detail-section p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.veille-detail-section p {
    color: #64748b;
}

@media (max-width: 768px) {
    .veille-detail-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .veille-detail-icon {
        font-size: 2.5rem;
    }
    
    .veille-detail-section h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .veille-detail-section p {
        text-align: left;
    }
}

/* Cartes d'innovation CES 2026 */
.innovation-card {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-left: 4px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.innovation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.innovation-card:hover::before {
    opacity: 1;
}

.innovation-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.4);
    border-left-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    background: rgba(255, 255, 255, 0.7);
}

.innovation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(59, 130, 246, 0.1);
}

.innovation-icon {
    font-size: 2rem;
    color: #3b82f6;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.innovation-card:hover .innovation-icon {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1);
}

.innovation-header h3 {
    font-size: 1.3rem;
    color: #2563eb;
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.innovation-content {
    line-height: 1.8;
}

.innovation-content p {
    color: #64748b;
    margin-bottom: 1rem;
    text-align: justify;
}

.innovation-content strong {
    color: #2563eb;
    font-weight: 600;
}

.innovation-sources {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.innovation-sources strong {
    color: #2563eb;
    display: block;
    margin-bottom: 0.5rem;
}

.innovation-sources ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.innovation-sources li {
    color: #64748b;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.innovation-sources li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.innovation-source-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.innovation-source-btn:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.veille-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
    text-align: justify;
}
.veille-vr-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}
.veille-vr-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #475569;
    line-height: 1.7;
}
.veille-vr-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}
.veille-source-ref {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
    font-style: italic;
}
.veille-sources-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.source-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.source-btn:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.innovation-sources a {
    color: #2563eb;
    text-decoration: none;
}
.innovation-sources a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .innovation-card {
        padding: 1.25rem;
    }
    
    .innovation-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .innovation-header h3 {
        font-size: 1.1rem;
    }
    
    .innovation-icon {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }
    
    .innovation-content p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .innovation-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .innovation-header h3 {
        font-size: 1rem;
    }
}

/* Section Missions */
.missions-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.mission-card {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.7);
}

.mission-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.mission-icon {
    font-size: 2.5rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.mission-header h2 {
    font-size: 1.5rem;
    color: #3b82f6;
    margin: 0;
    font-weight: 600;
    flex: 1;
}

.mission-arrow {
    margin-left: auto;
    font-size: 1.5rem;
    color: #3b82f6;
    opacity: 0.6;
    transition: all 0.3s;
}

.mission-card:hover .mission-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.mission-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mission-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.mission-list li {
    color: #64748b;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.mission-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.mission-image-card {
    margin: 1.5rem 0;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mission-card-image {
    width: auto;
    max-width: 60%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.mission-card:hover .mission-card-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .mission-card-image {
        max-width: 80%;
        max-height: 150px;
    }
}

/* Pages détaillées de missions */
.mission-detail-header {
    margin-bottom: 2rem;
}

.mission-detail-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.mission-detail-icon {
    font-size: 3rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.mission-competence-ref {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 0.75rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mission-competence-ref i {
    color: #2563eb;
}
.mission-competence-ref a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
.mission-competence-ref a:hover {
    text-decoration: underline;
}

.mission-detail-section {
    line-height: 1.8;
}

.mission-detail-section h2 {
    color: #3b82f6;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.mission-detail-section h2:first-of-type {
    margin-top: 0;
}

.mission-detail-section p {
    color: #64748b;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.mission-objectives {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.objective-item {
    display: flex;
    gap: 1rem;
    background: rgba(59, 130, 246, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.objective-item i {
    color: #3b82f6;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.objective-item h3 {
    color: #3b82f6;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.objective-item p {
    color: #64748b;
    margin: 0;
}

.mission-steps {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: #3b82f6;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.step-content p {
    color: #64748b;
    margin-bottom: 0.75rem;
}

.step-content ul {
    color: #64748b;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.step-content ul li {
    margin-bottom: 0.5rem;
}

.tech-tags {
    display: flex;
        flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.results-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.results-list li {
    color: #64748b;
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.results-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .missions-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-card {
        padding: 1.5rem;
    }
    
    .mission-header h2 {
        font-size: 1.3rem;
    }
    
    .mission-icon {
        font-size: 2rem;
    }
    
    .mission-detail-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .mission-detail-icon {
        font-size: 2.5rem;
    }
    
    .mission-detail-section h2 {
        font-size: 1.3rem;
    }
    
    .step-item {
        flex-direction: column;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .mission-card {
        padding: 1.25rem;
    }
    
    .mission-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .mission-header h2 {
        font-size: 1.2rem;
    }
    
    .mission-detail-section p {
        text-align: left;
    }
}

/* Section GSB */
.gsb-intro {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
}

.gsb-intro p {
    color: #64748b;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Images des missions */
.mission-image-section {
    margin: 2rem 0;
    text-align: center;
}

.mission-image {
    max-width: 70%;
    height: auto;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.mission-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3);
}

@media (max-width: 768px) {
    .mission-image {
        border-radius: 8px;
        max-width: 90%;
        max-height: 300px;
    }
}

/* Conteneur de carte */
.map-container {
    margin: 1.5rem 0;
    width: 100%;
    border-radius: 12px;
        overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

/* Grille de compétences technologiques */
.tech-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tech-skill-card {
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.tech-skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
    background: rgba(255, 255, 255, 0.8);
}

.tech-skill-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
}

.tech-skill-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.tech-skill-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
}

.tech-skill-card h3 {
    font-size: 1.1rem;
    color: #2563eb;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 768px) {
    .tech-skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .tech-skill-card {
        min-height: 150px;
        padding: 1rem;
    }
    
    .tech-skill-logo {
        width: 80px;
        height: 80px;
    }
    
    .tech-skill-fallback {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .tech-skills-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   EASTER EGG - Point en bas à droite
   ============================================ */
.easter-egg-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 8px;
    height: 8px;
    z-index: 9998;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.easter-egg-trigger:hover {
    transform: scale(1.5);
}

.easter-egg-dot {
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* ============================================
   INTERFACE DEBIAN / TERMINAL
   ============================================ */
.debian-interface {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1e1e1e;
    z-index: 9999;
    display: none;
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
}

.debian-interface.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.debian-window {
    width: 100%;
    max-width: 900px;
    height: 90vh;
    max-height: 700px;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.debian-window-header {
    background: #3d3d3d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #1e1e1e;
}

.debian-window-controls {
    display: flex;
    gap: 8px;
}

.debian-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.2s;
}

.debian-control:hover {
    opacity: 0.8;
}

.debian-control.red {
    background: #ff5f56;
}

.debian-control.yellow {
    background: #ffbd2e;
}

.debian-control.green {
    background: #27c93f;
}

.debian-window-title {
    flex: 1;
    color: #d4d4d4;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.debian-window-title i {
    color: #fdb813;
}

.debian-terminal {
    flex: 1;
    background: #1e1e1e;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
}

.terminal-line {
    margin-bottom: 5px;
    line-height: 1.6;
    font-size: 14px;
    word-wrap: break-word;
}

.terminal-prompt {
    color: #4ec9b0;
    font-weight: bold;
    margin-right: 8px;
}

.terminal-text {
    color: #d4d4d4;
}

.terminal-error {
    color: #f48771;
}

.terminal-success {
    color: #4ec9b0;
}

.terminal-info {
    color: #569cd6;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #d4d4d4;
    font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    outline: none;
    caret-color: #4ec9b0;
}

.terminal-input::placeholder {
    color: #6a6a6a;
}

/* Scrollbar pour le terminal */
.terminal-output::-webkit-scrollbar {
    width: 8px;
}

.terminal-output::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.terminal-output::-webkit-scrollbar-thumb {
    background: #4a4a4a;
    border-radius: 4px;
}

.terminal-output::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}

/* Responsive */
@media (max-width: 768px) {
    .debian-interface.active {
        padding: 10px;
    }
    
    .debian-window {
        height: 95vh;
        max-height: none;
        border-radius: 0;
    }
    
    .easter-egg-trigger {
        bottom: 15px;
        right: 15px;
    }
    
    .terminal-line {
        font-size: 12px;
    }
    
    .terminal-input {
        font-size: 12px;
    }
}

/* ============================================
   PAGE ORAL - Contexte présentation
   ============================================ */
body.oral-presentation .page-content:hover,
body.oral-presentation .glass-effect:hover {
    transform: none;
}
body.oral-presentation .container {
    max-width: 100%;
}


