:root {
    /* --- Palette "Director 2026" --- */
    --bg-color: #0A0A0A;       /* Obsidian Black */
    --bg-secondary: #141414;   /* Darker Grey for subtle contrast */
    --text-main: #E5E5E5;      /* Platinum */
    --text-muted: #A0A0A0;     /* Grey text */
    --accent-color: #D62828;   /* Cinema Red */
    --accent-hover: #ff3b3b;   /* Brighter red for hover */
    
    /* --- Typography --- */
    --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-display: 'Impact', 'Arial Black', sans-serif; /* Pour les titres forts si besoin */
    
    /* --- Spacing & UI --- */
    --nav-height: 80px;
    --container-width: 1400px;
    --transition-speed: 0.3s;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--bg-color);
    scroll-behavior: smooth;
}

body {
    background-color: transparent; /* Transparent pour laisser voir html et body::before */
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative; /* Contexte de positionnement */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Lueur d'ambiance globale (Fixe sur toutes les pages) */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
    z-index: 0; /* Au-dessus de html/video mais sous le contenu (si content > 0) */
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

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

/* --- Fonts Spécifiques Triple Identité --- */
.font-musician { font-family: 'Playfair Display', serif; font-style: italic; }
.font-director { font-family: 'Montserrat', sans-serif; font-weight: 900; text-transform: uppercase; }
.font-editor { font-family: 'Courier New', Courier, monospace; }

/* --- Parallax Section --- */
.parallax-bg {
    position: relative;
    height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* --- COLLABORATIONS / CINEMA TABS SYSTEM --- */
.collab-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Barre d'onglets */
.collab-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.tab-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 10px 20px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.tab-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.tab-btn.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(214, 40, 40, 0.3);
}

/* Zone de contenu (Écran noir) */
.tab-content {
    background: #050505;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 4px;
    min-height: 300px; /* Hauteur min pour éviter le saut */
    position: relative;
}

.tab-panel {
    display: none; /* Caché par défaut */
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block; /* Visible si actif */
}

/* Liste en colonnes façon générique */
.collab-list {
    column-count: 4; /* 4 colonnes sur grand écran */
    column-gap: 40px;
    width: 100%;
}

.collab-list li {
    font-size: 0.95rem; /* Augmenté de 0.8rem */
    color: #888; /* Un peu plus clair pour la lisibilité */
    margin-bottom: 10px; /* Un peu plus d'espace entre les noms */
    break-inside: avoid; /* Évite de couper un nom sur 2 colonnes */
    transition: color 0.2s;
}

.collab-list li:hover {
    color: #fff; /* Plus lumineux au survol */
}

.collab-list li strong {
    color: var(--accent-color);
    display: block;
    margin-top: 25px; /* Added spacing for separation */
    margin-bottom: 5px;
    font-size: 1.1rem; 
    text-transform: uppercase;
    break-after: avoid;
    line-height: 1.2;
}

.collab-list li:first-child strong {
    margin-top: 0; /* No margin for the very first header */
}

/* Responsive */
@media (max-width: 1024px) {
    .collab-list { column-count: 3; }
}
@media (max-width: 768px) {
    .collab-list { column-count: 2; }
    .collab-tabs { gap: 5px; }
    .tab-btn { padding: 8px 12px; font-size: 0.7rem; }
}
@media (max-width: 480px) {
    .collab-list { column-count: 1; text-align: center; }
}

@media (max-width: 768px) {
    .quote-text { white-space: normal; font-size: 1.4rem; }
}

/* --- Side Console Nav (Option 6 Revised) --- */
.side-nav-console {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 10px;
    background: rgba(0, 0, 0, 0.75); /* Fond plus opaque pour lisibilité */
    backdrop-filter: blur(20px); /* Flou renforcé */
    -webkit-backdrop-filter: blur(20px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8); /* Ombre plus forte */
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1; /* Option 4 : Toujours visible */
    transform: translateY(-50%) scale(1);
}

.side-nav-console:hover {
    transform: translateY(-50%) scale(1.05); /* Zoom subtil */
}

#console-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.console-nav-items {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espacement visuel entre les items */
    width: 100%;
    align-items: center;
}

.console-dot {
    width: 12px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    /* Zone de clic élargie */
    box-sizing: content-box;
    padding: 10px 0; /* Ajoute 10px de zone invisible haut/bas */
    background-clip: content-box; /* Le fond ne s'applique qu'au contenu (le trait de 2px), pas au padding */
    cursor: pointer;
}

.console-dot.active {
    width: 20px;
    background-color: var(--accent-color);
}

/* Tooltip */
.console-dot::before {
    content: attr(data-title);
    position: absolute;
    right: 100%; /* S'affiche à gauche du point */
    margin-right: 15px; /* Espace avec le point */
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    font-family: var(--font-main);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: right;
}

.console-dot:hover::before, .console-dot.active::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.console-dot:hover {
    background: #fff;
    width: 18px;
}

@media (max-width: 768px) {
    .side-nav-console { display: none; }
}

/* --- Triple Identity Section & Charte Standard 3 Colonnes --- */
.identity-grid, .charter-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px; /* Plus d'air entre les colonnes */
    width: 100%;
    max-width: 1100px; /* Recentrage et éloignement des bords */
    margin: 80px auto 0;
    text-align: left; /* Alignement gauche souvent plus chic pour les colonnes de texte */
}

.identity-col {
    padding: 0 10px;
}

.identity-title {
    /* Style copié du Hero Title "COLIN LAURENT" */
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 15px;
    display: inline-block;
}

.identity-desc {
    /* Style descriptif différent */
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    color: #b0b0b0; /* Gris clair */
    line-height: 1.8;
    font-weight: 400;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .identity-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* --- Logo Carousel (Triple Row) --- */
:root {
    --logo-w: 189px;
    --logo-count: 20; 
}

#track-row-3 { display: none; } /* Masqué sur desktop */

.logo-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background: #121212;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* ... mask-image ... */
}

.logo-track {
    display: flex;
    z-index: 1;
    width: calc(var(--logo-w) * var(--logo-count) * 2);
}

.scroll-right {
    animation: scroll-right 60s linear infinite;
}
@keyframes scroll-right {
    0% { transform: translateX(calc(var(--logo-w) * var(--logo-count) * -1)); }
    100% { transform: translateX(0); }
}

.scroll-left {
    animation: scroll-left 60s linear infinite;
}
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(var(--logo-w) * var(--logo-count) * -1)); }
}

@media (max-width: 768px) {
    :root {
        --logo-w: 110px;
        --logo-count: 15; /* Un peu moins de logos sur mobile pour la fluidité */
    }
    #track-row-3 { display: flex !important; width: calc(var(--logo-w) * var(--logo-count) * 2); }
    .logo-slider { gap: 10px; }
}

.logo-item {
    width: var(--logo-w);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    
    /* "Négatif Intelligent" par défaut */
    filter: grayscale(100%) invert(1) brightness(1.2) contrast(1.2) opacity(0.8) drop-shadow(0 0 0 rgba(255,255,255,0));
    transform: scale(1);
    
    /* Transition globale */
    transition: all 1.0s ease-in-out;
    will-change: transform, filter; 
}

.logo-item img {
    max-width: 100%;
    max-height: 80%; /* Réduit de 90% à 80% */
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast; 
}

/* Logos spécifiques qui paraissent trop gros */
.logo-item.small-logo img {
    max-height: 70%; /* Réduit de 80% à 70% */
}

/* Logo FTV spécifique dans le carrousel */
.logo-item.large-logo img {
    max-height: 100%; /* Augmenté de 80% à 100% */
    transform: scale(1.1); /* Petit boost supplémentaire */
}

/* Interaction STANDARD (Passage en couleur pour les logos Blancs) */
.logo-item:hover, .logo-item.wave-effect {
    /* On garde 'contrast' (à 1) et on active 'drop-shadow' */
    filter: grayscale(0%) invert(0) brightness(1) contrast(1) opacity(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    transform: scale(1.3); 
    z-index: 10;
}

/* --- LOGOS DÉJÀ BLANCS (Ne pas inverser sinon ils deviennent noirs) --- */
.logo-item.no-invert {
    /* Pas d'inversion ! Juste du N&B */
    filter: grayscale(100%) invert(0) brightness(1.5) contrast(1.2) opacity(0.8) drop-shadow(0 0 0 rgba(255,255,255,0));
}

.logo-item.no-invert:hover, .logo-item.no-invert.wave-effect {
    /* Retour couleur normale */
    filter: grayscale(0%) invert(0) brightness(1) contrast(1) opacity(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    transform: scale(1.3);
    z-index: 10;
}

/* --- LOGOS COULEUR STATIQUE (1 sur 2) --- */
.logo-item.static-color {
    /* Affichage Couleur par défaut (mais un peu tamisé pour l'ambiance) */
    filter: grayscale(0%) invert(0) brightness(1) contrast(1) opacity(0.8) drop-shadow(0 0 0 rgba(255,255,255,0));
}

.logo-item.static-color:hover, .logo-item.static-color.wave-effect {
    /* Au survol : Pleine lumière + Zoom */
    filter: grayscale(0%) invert(0) brightness(1.2) contrast(1.1) opacity(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    transform: scale(1.3);
    z-index: 10;
}

/* Interaction SPÉCIALE (Logos qui doivent rester blancs) */
.logo-item.keep-white:hover, .logo-item.keep-white.wave-effect {
    /* On garde l'inversion (donc le blanc) mais on booste l'éclat */
    filter: grayscale(100%) invert(1) brightness(2) contrast(1) opacity(1) drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
    transform: scale(1.3); 
    z-index: 10;
}

/* --- TRAITEMENT "LIGHT BOX" (Fond blanc ajusté au logo) --- */
.lightbox-logo {
    position: relative;
    /* Transition pour l'effet de zoom */
    transition: transform 1s ease-in-out; 
}

/* Le fond blanc ajusté derrière le logo */
.lightbox-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8); /* Départ petit */
    width: 81px; /* Réduit de 90px */
    height: 32px; /* Réduit de 35px */
    background-color: #f0f0f0;
    border-radius: 2px; /* Coins encore plus subtils */
    z-index: -1; /* Derrière l'image */
    opacity: 0;
    transition: all 1s ease-in-out;
}

/* Activation du fond blanc */
.lightbox-logo.static-color::before,
.lightbox-logo:hover::before, 
.lightbox-logo.wave-effect::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Gestion de l'image sur le fond blanc */
.lightbox-logo.static-color img,
.lightbox-logo:hover img, 
.lightbox-logo.wave-effect img {
    /* Logo original (sombre/couleur) */
    filter: grayscale(0%) invert(0) brightness(1) contrast(1) opacity(1) drop-shadow(none);
}

/* Le conteneur lui-même ne change pas de background, juste le ::before */
.lightbox-logo.static-color,
.lightbox-logo:hover, 
.lightbox-logo.wave-effect {
    background-color: transparent; /* Reset si hérité */
    transform: scale(1.1);
    z-index: 10;
}

/* --- Inline TV Logos --- */
.inline-logo {
    height: 28px;
    width: auto;
    vertical-align: middle;
    margin: 0 1px; /* Espacement encore plus serré */
    display: inline-block;
    filter: brightness(1.1);
}

/* Réduction de taille spécifique pour les listes de projets (-5%) */
.projects-list .inline-logo, 
.projects-archive .inline-logo {
    height: 26.5px;
}
.projects-list .logo-sm, 
.projects-archive .logo-sm {
    height: 17px !important;
}
.projects-list .logo-md, 
.projects-archive .logo-md {
    height: 32px !important;
}
.projects-list .logo-lg, 
.projects-archive .logo-lg {
    height: 38px !important;
    margin: -6px 1px !important; /* Ajustement de la marge */
}
.projects-list .logo-xl, 
.projects-archive .logo-xl {
    height: 47.5px !important;
    margin: -11px 1px -11px -1px !important; /* Ajustement de la marge */
}

/* Logos F3, F4, F5 qui doivent rester plus petits */
.logo-sm {
    height: 18px !important;
}

/* Logos FTV, ARTE, Olympia, Canal+, Mezzo un peu plus gros */
.logo-lg {
    height: 40px !important;
    vertical-align: middle;
    transform: translateY(-2px); /* Align with logo-xl */
    margin: -7px 1px !important;
}

/* Taille intermédiaire pour Mezzo */
.logo-md {
    height: 34px !important;
    margin: -3px 1px !important;
}

/* Logo FTV encore plus gros */
.logo-xl {
    height: 50px !important;
    vertical-align: middle;
    transform: translateY(-2px); /* Remonte légèrement pour compenser la taille */
    margin: -12px 1px -12px -1px !important;
}
.picto-charte {
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 0.4rem; /* Réduit pour correspondre au point typographique */
    vertical-align: middle;
}

.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    flex: 1; /* Pousse le footer en bas */
}

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }

/* --- Sections --- */
section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Aligne le haut de la section sur le bas de la navbar fixe (80px) */
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2rem;
    letter-spacing: 5px;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%); /* Centrage de la barre rouge */
}

/* --- Navbar --- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between; /* Left, Center, Right zones */
    align-items: center;
    padding: 0 40px;
}

/* Zone Gauche : Langue */
.nav-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.lang-switch span {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 5px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.lang-switch span.active, .lang-switch span:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Zone Centre : Menu Principal */
.nav-center {
    flex: 2;
    display: flex; /* Rétabli pour desktop */
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Zone Droite : Réseaux Sociaux */
.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
}

.nav-right > a {
    display: inline-block;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--text-main);
    transition: fill 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    fill: var(--accent-color);
    transform: translateY(-2px);
}

/* --- Typography Effects --- */
.text-glow, .hero-title, .page-header h1, .font-musician, .font-director, .font-editor {
    text-shadow: none; /* Pas de glow sur le texte */
}

/* --- Koala Studio Pulse Circle --- */
.koala-pulse {
    position: relative;
    width: 40px; /* Réduit de 60px */
    height: 40px; /* Réduit de 60px */
    margin: 0 auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-dot {
    width: 24px; /* Réduit de 36px */
    height: 24px; /* Réduit de 36px */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s;
}

.koala-pulse:hover .pulse-dot {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: koala-ripple 3s infinite;
}

.pulse-ring:nth-child(2) {
    animation-delay: 1s;
}

@keyframes koala-ripple {
    0% { transform: scale(0.5); opacity: 0; }
    30% { opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* --- Hero Section (Style Koala Studio) --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    isolation: isolate; /* FORCE LE CONTEXTE : Empêche la vidéo de passer derrière le fond de page */
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Derrière tout, y compris la lueur */
    background: #000;
}

/* La vidéo doit couvrir toute la zone sans déformation */
.video-container video, .video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay allégé pour meilleure visibilité vidéo */
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1; /* Derrière la lueur (0) */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    /* Ajustement optique pour centrer malgré la navbar */
    padding-top: var(--nav-height); 
    width: 100%;
    max-width: 1200px;
}

/* Titre principal Signature */
.hero-title {
    font-size: 4rem; /* Taille d'avant */
    font-weight: 300; /* Plus fin et élégant */
    letter-spacing: 5px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #fff;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1.2s ease-out;
}

/* --- Placeholders --- */
.placeholder-box {
    background-color: #222;
    border: 1px dashed #444;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PROJECTS LIST (Technical Listing Style) --- */
.projects-list {
    width: 100%;
    max-width: 1100px; /* Retour à 1100px pour la liste principale */
    margin: 0 auto;
    text-align: left;
}

.project-entry {
    display: grid;
    grid-template-columns: 80px 1fr; /* Alignement strict Année | Texte par défaut */
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s;
    text-align: left;
}

.project-entry:hover {
    background: rgba(255, 255, 255, 0.04); 
    padding-left: 10px;
}

.project-entry .year {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
    padding-top: 4px; /* Ajustement optique */
    display: block;
}

.project-entry .title {
    font-size: 0.95rem;
    font-weight: 700;
    font-style: italic;
    color: #eee;
    display: inline-block; /* Retour en ligne par défaut */
    margin-right: 10px;
    margin-bottom: 0;
}

.project-entry .details {
    font-size: 0.9rem; /* Harmonisé à 0.9rem */
    color: #777;
    display: inline-block;
    font-style: normal;
}

.project-entry .details strong {
    background-color: rgba(255, 255, 255, 0.1);
    color: #bbb;
    padding: 2px 8px 2px 20px;
    border-radius: 3px;
    border: none;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    margin-left: 5px;
}

/* Pastille de couleur vive repositionnée devant */
.project-entry .details strong::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: block;
}

/* Couleurs des pastilles (Saturées pour visibilité) */
.tv-arte::before { background-color: #ff5a00; box-shadow: 0 0 5px rgba(255, 90, 0, 0.3); } 
.tv-f4::before { background-color: #8a35ff; box-shadow: 0 0 5px rgba(138, 53, 255, 0.3); } 
.tv-f5::before { background-color: #00d950; box-shadow: 0 0 5px rgba(0, 217, 80, 0.3); } 
.tv-f3::before { background-color: #0087eb; box-shadow: 0 0 5px rgba(0, 135, 235, 0.3); }
.tv-tf1::before { background-color: #00a2ea; box-shadow: 0 0 5px rgba(0, 162, 234, 0.3); }
.tv-canal::before { background-color: #ffffff; box-shadow: 0 0 5px rgba(255, 255, 255, 0.3); }
.tv-mezzo::before { background-color: #ff9e00; box-shadow: 0 0 5px rgba(255, 158, 0, 0.3); }
.tv-olympia::before { background-color: #ff0035; box-shadow: 0 0 5px rgba(255, 0, 53, 0.3); }
.tv-cstar::before { background-color: #00adef; box-shadow: 0 0 5px rgba(0, 173, 239, 0.3); }
.tv-comedie::before { background-color: #fecf08; box-shadow: 0 0 5px rgba(254, 207, 8, 0.3); }
.tv-qwest::before { background-color: #9c27b0; box-shadow: 0 0 5px rgba(156, 39, 176, 0.3); }
.tv-ftv::before { background-color: #64C8D7; box-shadow: 0 0 5px rgba(100, 200, 215, 0.3); }

/* --- SPÉCIFIQUE ARCHIVE "ET AVANT..." (2 Lignes Centrées) --- */
.projects-archive {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Grille 2 colonnes */
    gap: 0 60px;
    max-width: 1100px;
    margin: 0 auto; /* Centrage horizontal de la grille elle-même */
    border-top: none;
    padding: 0;
}

.projects-archive .project-entry {
    display: flex; /* Flexbox pour empiler */
    flex-direction: column;
    align-items: center; /* Tout centré */
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.projects-archive .project-entry:hover {
    padding-left: 0; /* Pas de décalage au hover pour l'archive centrée */
    background: rgba(255, 255, 255, 0.04);
}

.projects-archive .title {
    display: block;
    font-size: 0.95rem; /* Harmonisé avec la liste principale (était 1.05rem) */
    font-weight: 700;
    font-style: italic;
    color: #eee;
    margin-bottom: 6px;
    margin-right: 0;
}

.projects-archive .details {
    display: block;
    font-size: 0.9rem; /* Harmonisé à 0.9rem */
    color: #888;
    white-space: nowrap; /* Tente de garder sur une ligne si ça rentre */
    overflow: hidden; /* Sécurité */
    text-overflow: ellipsis; /* Sécurité */
    max-width: 100%; /* S'assure que ça ne déborde pas */
}

/* Si l'écran est trop petit, on autorise le retour à la ligne proprement */
@media (max-width: 1200px) {
    .projects-archive .details {
        white-space: normal;
    }
}

.projects-archive .year {
    display: inline; /* Le point s'intègre au texte */
    margin-right: 8px;
    color: var(--accent-color);
    padding-top: 0;
}

@media (max-width: 800px) {
    .projects-archive { grid-template-columns: 1fr; }
    .project-entry { grid-template-columns: 60px 1fr; }
}

@media (max-width: 768px) {
    .projects-archive { grid-template-columns: 1fr; }
    .project-entry { flex-direction: column; align-items: flex-start; gap: 10px; }
    .project-entry .year { text-align: left; font-size: 1.2rem; }
}

/* --- Citations (Quotes) - Design & Animation Cinema --- */
.quote-section {
    padding: 100px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    /* L'animation est gérée par les enfants via la classe .visible */
}

/* Le Grand Guillemet Graphique */
.quote-section::before {
    content: '“';
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 12rem; /* Très gros */
    line-height: 0.5;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(-50px) scale(0.8);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.quote-section.visible::before {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Le Texte : Effet de Mise au Point (Camera Focus) */
.quote-text {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-style: italic;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    white-space: nowrap; /* Par défaut une seule ligne */
    
    /* État initial : Flou et transparent */
    opacity: 0;
    filter: blur(20px);
    transform: scale(0.95);
    transition: all 1.2s ease-out;
    transition-delay: 0.2s; /* Arrive après le guillemet */
}

/* Exception pour les citations longues */
.quote-text.quote-long {
    white-space: normal;
    max-width: 800px;
}

.quote-section.visible .quote-text {
    opacity: 1;
    filter: blur(0); /* Le texte devient net */
    transform: scale(1);
}

/* Suppression de l'ancien pseudo-element pour éviter doublon */
.quote-text::before { content: none; }

/* La Source */
.quote-source {
    font-family: var(--font-main);
    letter-spacing: 2px;
    
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
    transition-delay: 0.6s; /* Arrive en dernier */
}

.quote-source .project-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem; /* Plus grand */
    font-weight: 700;
    font-style: italic;
    color: var(--accent-color); /* Rouge Cinéma */
    display: block;
    margin-bottom: 8px;
}

.quote-source .author-source {
    font-size: 0.85rem; /* Plus petit */
    color: var(--text-muted); /* Gris */
    text-transform: uppercase;
    font-weight: 600;
}

.quote-source strong {
    color: var(--text-main);
}

.quote-section.visible .quote-source {
    opacity: 1;
    transform: translateY(0);
}


/* --- Spécifique Orgue (2 Colonnes Centrées, resserrées) --- */
.collab-list-orgue {
    column-count: 2;
    column-gap: 40px; /* Unité de traitement avec les autres listes */
    max-width: 500px; /* Resserré pour l'aspect graphique */
    margin: 0 auto;
    text-align: center; /* Centrage des noms à l'intérieur */
}

.collab-list-orgue li {
    text-align: center;
}

/* Sur mobile, retour à 1 colonne */
@media (max-width: 768px) {
    .collab-list-orgue {
        column-count: 1;
    }
}

/* --- SECTION CV / PROFIL EXPRESS (Style Fiche Technique) --- */
.cv-section {
    background: linear-gradient(to right, #0a0a0a, #111);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}

.cv-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

/* Bloc Philosophie */
.cv-bio-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cv-bio-title span {
    color: var(--accent-color);
}

.cv-text {
    font-size: 1rem;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 30px;
}

.cv-signature {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5rem;
    color: #666;
    text-align: right;
    margin-top: -20px;
}

/* Bloc Timeline / Stats (Look Info-graphique) */
.cv-stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    border-left: 2px solid var(--accent-color);
    padding-left: 30px;
}

.cv-stat-item {
    position: relative;
}

.cv-stat-year {
    font-family: var(--font-editor); /* Courier style */
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.cv-stat-label {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cv-stat-desc {
    font-size: 0.85rem;
    color: #777;
    margin-top: 5px;
}

/* Tags Compétences */
.cv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.cv-tag {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    padding: 8px 16px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-editor);
    transition: all 0.3s;
}

.cv-tag:hover {
    border-color: var(--accent-color);
    color: #fff;
    background: rgba(214, 40, 40, 0.1);
}

@media (max-width: 900px) {
    .cv-grid { grid-template-columns: 1fr; gap: 40px; }
    .cv-stats-container { border-left: none; border-top: 2px solid var(--accent-color); padding-left: 0; padding-top: 30px; }
    .cv-signature { text-align: left; margin-top: 10px; }
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px; /* Légèrement arrondi */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0; /* Caché par défaut */
    pointer-events: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.back-to-top i {
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-to-top:hover {
    background: var(--accent-hover);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* --- MENU MOBILE (BURGER - KOALA STYLE) --- */
.nav-toggle {
    display: none; /* Masqué sur desktop */
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 2000;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

/* Positionnement des 3 lignes */
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

.nav-toggle:hover span {
    background-color: var(--accent-color);
}

/* Animation Croix (Active) */
.nav-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000; /* Fond noir absolu */
    z-index: 1500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centrage vertical total */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-close {
    font-size: 6rem; /* Beaucoup plus gros */
    color: #fff;
    cursor: pointer;
    z-index: 2000;
    transition: color 0.3s;
    line-height: 1;
    margin-bottom: 20px;
}

.mobile-nav-close:hover {
    color: var(--accent-color);
}

.mobile-nav-links {
    list-style: none;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.mobile-nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

/* Cascade delay */
.mobile-nav-overlay.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-overlay.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav-links a {
    display: block;
    background: transparent; /* Plus de rectangle */
    color: #fff;
    padding: 10px 0;
    text-align: center;
    font-size: 2.2rem; /* GROS */
    font-weight: 900; /* GRAS */
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
}

.mobile-nav-links a:hover, .mobile-nav-links a:active {
    background: transparent;
    color: var(--accent-color);
    transform: scale(1.1);
    border-color: transparent;
}

/* --- Footer Socials (Mobile Only) --- */
.footer-socials-mobile {
    display: none; /* Masqué sur desktop */
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-socials-mobile a {
    font-size: 1.5rem;
    color: #666;
    transition: color 0.3s ease;
}

@media (max-width: 900px) {
    .footer-socials-mobile {
        display: flex; /* Visible sur mobile */
    }
}

/* ... existing code ... */

    /* Mobile Socials Burger Layout */
    .mobile-socials {
        display: none !important; /* On cache définitivement du burger */
    }
    .mobile-social-row {
        display: flex !important;
        justify-content: center !important;
        gap: 50px !important; /* Augmenté de 30px à 50px */
        width: 100% !important;
    }

    /* Tap targets optimization */

.mobile-nav-overlay.active .mobile-socials {
    transform: translateY(0);
    opacity: 1;
}

.mobile-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-socials .social-icon {
    font-size: 2.2rem; /* Gros pictos */
    width: auto;
    height: auto;
    color: #666;
    fill: #666;
    transition: color 0.3s, fill 0.3s, transform 0.3s;
}

.mobile-socials .social-icon:hover {
    color: #fff;
    fill: #fff;
    transform: scale(1.2);
}

/* MEDIA QUERIES POUR LA NAVIGATION */
@media (max-width: 900px) {
    /* Masquer tout sauf langues et burger */
    .nav-center, 
    .nav-right > a {
        display: none !important;
    }
    
    /* Assurer que nav-right ne gêne pas */
    .nav-right {
        display: flex;
        justify-content: flex-end;
        flex: 1;
    }

    /* Afficher et positionner le burger */
    .nav-toggle {
        display: block !important;
        position: absolute;
        right: 40px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 99999 !important; /* Force visibility above everything */
    }
    
    .nav-left {
        z-index: 2000;
        flex: 1;
    }
}

.footer-nav-list li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- INSTAGRAM GRID (Making-Of) --- */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Retour à 4 colonnes sur desktop */
    gap: 20px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.insta-item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1; /* Carré */
    overflow: hidden;
    background: #1a1a1a;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    gap: 10px;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

.insta-icon {
    font-size: 1.5rem;
}

.insta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1100px) {
    .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .insta-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* =========================================
   RESPONSIVE ADAPTATIONS (MOBILE OPTIMIZATION)
   ========================================= */

/* =========================================
   RESPONSIVE ADAPTATIONS (ULTIMATE 2026)
   ========================================= */

/* 1. Global Fluid Typography & Spacing */
:root {
    --step--2: clamp(0.69rem, calc(0.66rem + 0.18vw), 0.80rem);
    --step--1: clamp(0.83rem, calc(0.78rem + 0.25vw), 1.00rem);
    --step-0: clamp(1.00rem, calc(0.91rem + 0.43vw), 1.25rem);
    --step-1: clamp(1.20rem, calc(1.07rem + 0.65vw), 1.56rem);
    --step-2: clamp(1.44rem, calc(1.26rem + 0.89vw), 1.95rem);
    --step-3: clamp(1.73rem, calc(1.48rem + 1.24vw), 2.44rem);
    --step-4: clamp(2.07rem, calc(1.73rem + 1.70vw), 3.05rem);
    --step-5: clamp(2.49rem, calc(2.03rem + 2.31vw), 3.82rem);
}

@media (max-width: 1024px) {
    :root {
        --nav-height: 70px;
    }
    .container { padding: 0 30px; }
    .identity-grid { gap: 40px; }
}

@media (max-width: 768px) {
    /* Navigation Improvements */
    .main-nav {
        padding: 0 20px;
    }
    .nav-toggle {
        display: block !important;
        margin-left: 20px;
    }
    
    /* Hero Section */
    .hero-title {
        font-size: var(--step-4);
        letter-spacing: 3px;
    }
    .hero-subtitle {
        font-size: var(--step--1);
    }

    /* Projects List - Mobile Optimization */
    .project-entry {
        grid-template-columns: 1fr; /* Stack year above title */
        gap: 5px;
        padding: 15px 0;
    }
    .project-entry .year {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }
    .project-entry .title {
        font-size: 1rem;
        margin-bottom: 5px;
        display: block;
    }
    .project-entry .details {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Collab Tabs - Horizontal Scroll on small screens */
    .collab-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .collab-tabs::-webkit-scrollbar { display: none; } /* Chrome/Safari */
    .tab-btn {
        flex: 0 0 auto;
    }

    /* Quotes Scaling */
    .quote-section { padding: 60px 20px; }
    .quote-section::before { font-size: 7rem; }
    .quote-text { font-size: 1.3rem; white-space: normal; }

    /* Profil Express Section - Mobile Fix */
    #profil-express-v2 > div:first-child {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 5px !important;
    }
    
    #profil-express-v2 > div:first-child span:first-child {
        display: block !important;
        width: 100%;
    }
    
    #profil-express-v2 > div:first-child span:last-child {
        display: block !important;
        width: 100%;
        font-size: 0.9rem !important;
        margin-top: 5px;
    }

    #profil-express-v2 .anim-item {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
        padding: 15px 0 !important;
        text-align: center !important;
    }

    /* Shrink Projects List */
    .project-entry {
        padding: 10px 0 !important;
    }
    .project-entry .title {
        font-size: 0.9rem !important;
    }
    .project-entry .details {
        font-size: 0.75rem !important;
    }
    .project-entry .year {
        font-size: 0.7rem !important;
    }

    /* Sticky Collab Tabs */
    .collab-tabs {
        position: sticky;
        top: 120px; /* Below the sub-nav */
        z-index: 800;
        background: var(--bg-color);
        padding: 15px 10px;
        margin: 0 -20px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    /* Page Header Adjustments */
    .page-header {
        padding-top: 100px !important;
        margin-bottom: 30px !important;
    }

    /* Making-of Grid Mobile Fix */
    .insta-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

        /* Contact Page */
        .contact-unified-grid {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 15px !important;
            padding: 0 !important;
            margin-bottom: 0 !important;
        }
        .contact-card {
            aspect-ratio: auto !important;
            min-height: 120px !important;
            padding: 20px 10px !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
            margin-bottom: 0 !important;
        }
        .social-side-icon {
            display: none !important;
        }    
    /* Mobile Sub-Nav Console (Top Horizontal Bar) */
    .side-nav-console {
        display: flex !important;
        position: fixed !important;
        top: var(--nav-height) !important; /* Just below main nav */
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        flex-direction: row !important;
        justify-content: center !important;
        background: rgba(10, 10, 10, 0.95) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
        padding: 12px 0 !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        opacity: 1 !important;
        gap: 0 !important;
        z-index: 900 !important;
    }
    
    #console-num { display: none !important; }
    
    .console-nav-items {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 15px !important; /* Espacement réduit pour compenser la taille du texte */
        padding: 0 10px !important;
        width: 100% !important;
        overflow-x: auto;
        scrollbar-width: none;
    }
    
    .console-dot {
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        font-family: var(--font-editor) !important;
        font-size: 0.90rem !important; /* Taille demandée */
        letter-spacing: 1px !important; /* Espacement lettres un peu réduit */
        color: var(--accent-color) !important; 
        text-transform: uppercase !important;
        transition: all 0.3s ease !important;
        font-weight: 700 !important;
    }
    
    .console-dot::after {
        content: attr(data-title);
        display: block;
    }

    /* Désactiver absolument le texte du desktop (::before) qui crée le doublon */
    .console-dot::before {
        display: none !important;
        content: none !important;
    }
    
    .console-dot.active {
        color: #fff !important; /* Blanc pour la section active */
        background: transparent !important;
    }

    /* Adjust section scroll to account for double navbar */
    section {
        scroll-margin-top: 120px !important; /* 70px (nav) + 50px (sub-nav) */
    }

    /* Tap targets optimization */
    .nav-links li a, .mobile-nav-links li a, .cta-button, .tab-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Footer */
    footer { padding: 40px 20px; }

    /* Inline Logos Mobile Fix */
    .inline-logo {
        height: 22px !important; /* Slightly smaller but consistent */
    }
    .logo-xl { height: 35px !important; margin: -5px 1px !important; }
    .logo-lg { height: 30px !important; margin: -3px 1px !important; }
    .logo-md { height: 26px !important; }
    .logo-sm { height: 16px !important; }

    /* Video Wrapper for mobile */
    .video-wrapper {
        box-shadow: none !important;
        margin: 0 -20px; /* Full width on mobile */
        width: calc(100% + 40px) !important;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .hero-title { font-size: var(--step-3); }
    .section-title { font-size: 1.4rem; letter-spacing: 3px; }
    
    /* Logo Slider spacing */
    .logo-item { width: 130px; padding: 0 10px; }
    
    /* Small screen sub-nav fix */
    .console-nav-items {
        gap: 10px !important;
    }
    .console-dot {
        font-size: 0.55rem !important;
        letter-spacing: 1px !important;
    }
    
    /* Making-of Grid */
    .insta-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* On passe à 2 colonnes ici aussi */
        gap: 10px;
    }
}

/* --- SCROLL INDICATORS --- */

/* Option 1: Animated Mouse Indicator */
.scroll-indicator-v1 {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px; /* Un peu plus d'espace */
}

.mouse {
    width: 30px; /* Agrandissement (était 22px) */
    height: 50px; /* Agrandissement (était 38px) */
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px; /* Arrondi ajusté */
    position: relative;
}

.scroll-indicator-v1 span {
    font-size: 0.75rem; /* Agrandissement (était 0.6rem) */
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.6; /* Un peu plus visible */
    font-weight: 700;
}

.wheel {
    width: 2px;
    height: 10px; /* Trait plus long */
    background: var(--accent-color);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    /* Pas de border-radius en bas pour coller à la flèche */
    border-radius: 2px 2px 0 0; 
    animation: mouse-wheel 2s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}

/* La pointe de la flèche (>) */
.wheel::after {
    content: '';
    position: absolute;
    bottom: -4px; /* Juste en dessous du trait */
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-bottom: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
}

@keyframes mouse-wheel {
    0% { top: 10px; opacity: 1; }
    100% { top: 28px; opacity: 0; } /* Descente ajustée à la nouvelle hauteur */
}

/* --- VIDEO LIGHTBOX --- */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none; /* Caché par défaut */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-lightbox.active {
    display: flex; /* Visible */
    opacity: 1;
}

.lightbox-content {
    width: 90%;
    max-width: 1280px; /* Largeur max raisonnable */
    aspect-ratio: 16 / 9;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.lightbox-content video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

