/* ==================================
   VARIABLES & RESET
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */
:root {
    /* Cargo Colors */
    --color-beige: #FFFEF9;
    --color-cream: #f1efe9;
    --color-black: #1a1a1a;
    --color-gray: #6b6b6b;
    --color-light-gray: #e0e0e0;
    --color-green-neon: #d4ff00;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-beige);
    color: var(--color-black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /*padding-top: 30px;*/
}

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

a:hover {
    opacity: 0.7;
}

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

/* ==================================
   NAVIGATION
   ================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 254, 249, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-light-gray);
    z-index: 1000;
    transition: transform var(--transition-smooth);
}

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

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 35px;
    width: auto;
    display: block;
    transition: transform var(--transition-fast);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 0.95rem;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-black);
    transition: width var(--transition-fast);
}

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

/* Navigation Controls (Language + Hamburger) */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Language Switch Button */
.lang-switch {
    padding: 0.5rem 1rem;
    background-color: var(--color-black);
    color: var(--color-beige);
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    white-space: nowrap;
}

.lang-switch:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-black);
    transition: all var(--transition-fast);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================================
   HERO SECTION AVEC STARFIELD
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

   /* Ajout de l'image de fond avec 10% d'opacité */
/* IMAGE DE FOND DU HERO - SUPPRIMÉE */
/*
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/bg.jpg'); 
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}
*/

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a1f 0%, #1a1a2e 50%, #16213e 100%);
    margin-top: 60px;  /* Only nav height now */
}






.starfield {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    background-image: 
        /* Layer 1 - Small stars */
        radial-gradient(1px 1px at 20% 30%, white, transparent),
        radial-gradient(1px 1px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(1px 1px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 90%, white, transparent),
        radial-gradient(1px 1px at 15% 75%, white, transparent),
        radial-gradient(1px 1px at 45% 15%, white, transparent),
        radial-gradient(1px 1px at 70% 45%, white, transparent),
        radial-gradient(1px 1px at 25% 55%, white, transparent),
        radial-gradient(1px 1px at 85% 85%, white, transparent),
        radial-gradient(1px 1px at 10% 40%, white, transparent),
        radial-gradient(1px 1px at 55% 25%, white, transparent),
        radial-gradient(1px 1px at 40% 80%, white, transparent),
        radial-gradient(1px 1px at 95% 35%, white, transparent),
        /* Layer 2 - Medium stars with glow */
        radial-gradient(2px 2px at 40% 20%, white, transparent),
        radial-gradient(2px 2px at 75% 65%, white, transparent),
        radial-gradient(2px 2px at 22% 82%, white, transparent),
        radial-gradient(2px 2px at 68% 38%, white, transparent),
        radial-gradient(2px 2px at 88% 15%, white, transparent),
        radial-gradient(2px 2px at 35% 62%, white, transparent),
        /* Layer 3 - Larger bright stars */
        radial-gradient(3px 3px at 65% 55%, rgba(255,255,255,0.9), transparent),
        radial-gradient(3px 3px at 18% 18%, rgba(255,255,255,0.9), transparent),
        radial-gradient(3px 3px at 82% 72%, rgba(255,255,255,0.9), transparent);
    background-size: 250% 250%, 250% 250%;
    background-position: 0% 0%, 50% 50%;
    animation: starfield-twinkle 12s ease-in-out infinite, starfield-move 40s linear infinite;
    opacity: 0.8;
}

@keyframes starfield-twinkle {
    0%, 100% {
        opacity: 0.6;
    }
    25% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.7;
    }
    75% {
        opacity: 0.95;
    }
}

@keyframes starfield-move {
    0% {
        background-position: 0% 0%, 50% 50%;
    }
    50% {
        background-position: 100% 100%, 0% 100%;
    }
    100% {
        background-position: 0% 0%, 50% 50%;
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    animation: fadeInUp 1s ease;
    color: var(--color-beige);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-beige);
    border-radius: 30px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 254, 249, 0.8);
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 254, 249, 0.7);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

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

.btn-primary,
.btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-beige);
    color: var(--color-black);
    border: 2px solid var(--color-beige);
}

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

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.hero-location {
    font-size: 1rem;
    color: rgba(255, 254, 249, 0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    animation: float 3s ease-in-out infinite;
    color: var(--color-beige);
    z-index: 1;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background-color: var(--color-beige);
}

/* ==================================
   COMMON SECTION STYLES
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

section {
    padding: var(--spacing-xl) 2rem;
}

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

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

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 1rem;
}

.large-text {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    line-height: 1.7;
    color: var(--color-gray);
    max-width: 900px;
    margin: 0 auto;
}

/* ==================================
   PHILOSOPHY SECTION
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

.philosophy {
    background-color: var(--color-cream);
}

.philosophy-intro {
    margin-bottom: var(--spacing-md);
}

.credo-section {
    margin: var(--spacing-lg) auto;
    max-width: 900px;
    padding: 2rem;
    background-color: var(--color-beige);
    border-left: 3px solid var(--color-black);
}

.credo-section h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.credo-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.7;
    color: var(--color-gray);
}

.approach-section {
    margin: var(--spacing-lg) auto;
}

.values-header {
    text-align: center;
    margin: var(--spacing-xl) 0 var(--spacing-lg);
}

.values-header h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 300;
}

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

.value-card {
    padding: 2rem;
    background-color: var(--color-beige);
    border: 1px solid var(--color-light-gray);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.value-card p {
    color: var(--color-gray);
    line-height: 1.6;
}

/* ==================================
   EXPERTISE SECTION
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

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

.expertise-card {
    padding: 2.5rem 2rem;
    background-color: var(--color-cream);
    border-left: 3px solid var(--color-black);
    transition: transform var(--transition-smooth);
}

.expertise-card:hover {
    transform: translateX(10px);
}

.expertise-number {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--color-gray);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.expertise-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.expertise-card ul {
    list-style: none;
}

.expertise-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-gray);
}

.expertise-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-black);
}

/* ==================================
   PROJECTS SECTION
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

.projects {
    background-color: var(--color-cream);
}

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

.project-card {
    background-color: var(--color-beige);
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    width: 100%;
    height: 280px;
    background-color: var(--color-light-gray);
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.project-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--color-black);
    color: var(--color-beige);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    pointer-events: auto;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    padding: 0.4rem 0.8rem;
    background-color: var(--color-cream);
    border: 1px solid var(--color-light-gray);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ==================================
   EXPERIENCE SECTION
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

.experience {
    background-color: var(--color-beige);
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-section-header {
    margin: 3rem 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-black);
}

.timeline-section-header h3 {
    font-size: 1.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.formation-header {
    margin-top: 4rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-light-gray);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-gray);
    padding-top: 0.25rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--color-gray);
    line-height: 1.7;
}

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

.timeline-list li {
    color: var(--color-gray);
    line-height: 1.7;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-black);
    font-weight: bold;
}

.timeline-list strong {
    color: var(--color-black);
    font-weight: 600;
}

/* ==================================
   EXPLORATIONS SECTION
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

.explorations {
    background-color: var(--color-cream);
}

.explorations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.exploration-card {
    padding: 2.5rem 2rem;
    background-color: var(--color-beige);
    border: 1px solid var(--color-light-gray);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.exploration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.exploration-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.exploration-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.exploration-card p {
    color: var(--color-gray);
    line-height: 1.7;
}

/* ==================================
   FOOTER CTA SECTION - BLACK BACKGROUND
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

.footer-cta {
    background-color: var(--color-black);
    color: var(--color-beige);
    padding: var(--spacing-xl) 2rem;
}

.footer-cta .container {
    max-width: 900px;
    margin: 0 auto;
}

.footer-content {
    text-align: center;
}

/* Hide inactive language */
body.lang-fr .en { display: none; }
body.lang-en .fr { display: none; }

.footer-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
}

/* CTA Buttons Group */
.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
    cursor: pointer;
    display: inline-block;
    min-width: 200px;
    text-align: center;
}

.btn-primary {
    background-color: var(--color-beige);
    color: var(--color-black);
    border: 3px solid var(--color-beige);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: var(--color-beige);
    border: 3px solid var(--color-beige);
    backdrop-filter: blur(10px);
}

.btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-link {
    font-size: 1rem;
    color: var(--color-beige);
    text-decoration: none;
    transition: opacity var(--transition-fast);
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-beige);
    transition: width var(--transition-fast);
}

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

/* Footer Copyright */
.footer-copyright {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.8;
    margin-top: 2rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-black);
    color: var(--color-beige);
    border: 2px solid var(--color-beige);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: scale(1.1);
}

/* ==================================
   ANIMATIONS
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

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

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

/* ==================================
   RESPONSIVE - TABLET
   ================================== */

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
    
    /* Navigation adjustments */
    .nav {
        background-color: rgba(255, 254, 249, 0.98);
    }
    
    .nav-container {
        padding: 0.75rem 1.5rem;
    }
    
    .logo-img {
        height: 28px;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Transform menu into mobile overlay */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--color-beige);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    /* Make sure nav stays on top */
    .nav {
        z-index: 10000;
    }
    
    /* Mobile menu toggle needs to be above menu overlay */
    .mobile-menu-toggle {
        position: relative;
        z-index: 10001;
    }
    
    /* Mobile menu links */
    .nav-link {
        font-size: 1.5rem;
        font-weight: 300;
    }
    
    .nav-link::after {
        bottom: -8px;
        height: 2px;
    }
    
    /* Hero section adjustment */
    .hero {
        padding: 6rem 1rem 3rem;
        margin-top: 60px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .values-grid,
    .expertise-grid,
    .projects-grid,
    .explorations-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==================================
   RESPONSIVE - MOBILE
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .value-card,
    .expertise-card,
    .exploration-card,
    .project-content {
        padding: 1.5rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .banner-content {
        font-size: 0.6rem;
    }
}

/* ==================================
   PRINT STYLES
   (AUCUN CHANGEMENT DANS CETTE SECTION)
   ================================== */

@media print {
    .nav,
    .scroll-indicator,
    .mobile-menu-toggle,
    .code-art-banner {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
    
    section {
        page-break-inside: avoid;
    }
}

/* ============================================
   MODALS DE PROJETS - STYLES
   ============================================ */

/* Modal Container */

/* ============================================
   CARTES DE PROJETS AVEC LIENS DIRECTS
   Badges positionnés à GAUCHE pour éviter chevauchement
   ============================================ */

/* Cartes de projets avec liens externes */
.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    cursor: pointer;
}

/* Effet hover sur les cartes */
.project-card-link:hover {
    transform: translateY(-10px);
}

.project-card-link:hover .project-overlay {
    opacity: 1;
}

/* Indicateur de lien externe - POSITIONNÉ À GAUCHE */
.external-link-indicator {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a2e;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Apparition du badge au hover */
.project-card-link:hover .external-link-indicator {
    opacity: 1;
    transform: translateY(0);
}

/* Animation de pulsation subtile */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.project-card-link:hover .external-link-indicator {
    animation: pulse 2s infinite;
}

/* Effet sur l'overlay */
.project-card-link .project-overlay {
    transition: opacity 0.3s ease;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .project-tag {
        top: 15px;
        right: 15px;
        font-size: 0.65rem;
        padding: 0.4rem 0.8rem;
    }
    
    .external-link-indicator {
        opacity: 0.7;
        font-size: 12px;
        padding: 8px 16px;
        bottom: 15px;
        left: 15px;
        transform: translateY(0);
    }
    
    .project-card-link:hover .external-link-indicator {
        opacity: 1;
    }
    
    .project-card-link:hover .external-link-indicator {
        animation: none;
    }
}

/* Effet de focus pour accessibilité */
.project-card-link:focus {
    outline: 2px solid rgba(147, 51, 234, 0.5);
    outline-offset: 4px;
}

.project-card-link:focus .external-link-indicator {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   VARIANTES DE COULEURS POUR LES BADGES
   ============================================ */

/* Badge pour liens Instagram */
.project-card-link[href*="instagram"] .external-link-indicator {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    color: white;
}

/* Badge pour liens IMDB */
.project-card-link[href*="imdb"] .external-link-indicator {
    background: #f5c518;
    color: #000;
}

/* Badge pour liens Mixcloud */
.project-card-link[href*="mixcloud"] .external-link-indicator {
    background: #52aad8;
    color: white;
}

/* Badge pour liens Still FM / radio */
.project-card-link[href*="stillfm"] .external-link-indicator,
.project-card-link[href*="radio"] .external-link-indicator {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: white;
}

/* ============================================
   STYLES POUR PROJETS "EN COURS" (STILL FM)
   ============================================ */

/* Carte sans lien - pas cliquable */
.project-card-no-link {
    cursor: default;
}

.project-card-no-link:hover {
    transform: none;
}

/* Badge "En cours" - POSITIONNÉ À GAUCHE */
.status-badge-in-progress {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fbbf24;
    color: #1a1a1a;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .status-badge-in-progress {
        font-size: 12px;
        padding: 8px 16px;
        bottom: 15px;
        left: 15px;
    }
}