:root {
/* Ces variables seront écrasées par le JS via data.json */
--bg: #000519; --blue: #2176ff; --crimson: #e40066;

/* Variables fixes */
--text-main: #fffbfe; --text-muted: rgba(255, 255, 255, 0.6); --glass: rgba(15, 25, 45, 0.9); --glass-border: rgba(255, 255, 255, 0.1); --font-ui: 'Montserrat', sans-serif; --font-head: 'Orbitron', sans-serif; --font-code: 'Share Tech Mono', monospace;

/* Z-Index Layers */
--z-bg: 0; --z-ui: 10; --z-window: 100; --z-dock: 1000; --z-modal: 9999; }

/* --- RESET & BODY --- */
* { box-sizing: border-box; user-select: none; -webkit-tap-highlight-color: transparent; }

body { margin: 0; overflow: hidden; background: var(--bg); color: var(--text-main); font-family: var(--font-ui); height: 100vh; width: 100vw; position: fixed; transition: background 0.5s ease; }

/* --- AMBIANCE & BACKGROUND --- */
.scanlines { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.1; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.3) 50%); background-size: 100% 4px; }
.grid-bg { position: fixed; inset: 0; width: 200vw; height: 200vh; z-index: var(--z-bg); background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); background-size: 50px 50px; transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px); animation: gridMove 20s linear infinite; will-change: transform; }
@keyframes gridMove {
from { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
to { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); } }

/* --- BOOT SCREEN --- */
.boot-screen { position: fixed; inset: 0; background: var(--bg); z-index: 8000; display: flex; flex-direction: column; justify-content: center; align-items: center; font-family: var(--font-code); color: var(--blue); letter-spacing: 2px; overflow: hidden; }
.boot-logo-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 600px; max-width: 90vw; opacity: 0.15; filter: blur(15px) grayscale(100%); z-index: 0; pointer-events: none; }
.boot-content { position: relative; z-index: 1; text-align: center; }

/* Style par défaut pour le logo (Vue PC) */
.hero-front-ui img { width: 80px; margin-bottom: 20px; filter: drop-shadow(0 0 10px rgba(0, 85, 255, 0.5)); }

/* --- HERO & AVATAR --- */
.bg-title { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-head); font-weight: 900; font-size: 20vw; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.02); z-index: 0; pointer-events: none; white-space: nowrap; }
.hero-front-ui { position: absolute; top: 18%; width: 100%; text-align: center; z-index: var(--z-ui); pointer-events: none; text-shadow: 0 0 20px rgba(0,0,0,0.5); }
.hero-front-ui h1 { font-family: var(--font-head); font-size: 4rem; font-weight: 900; margin: 0; color: white; text-transform: uppercase; }
.hero-front-ui .job-title { font-family: 'Montserrat'; color: var(--crimson); letter-spacing: 3px; margin-bottom: 10px; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }

.avatar-core { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: 500px; z-index: 1; pointer-events: none; display: flex; justify-content: center; align-items: center; transition: transform 0.1s linear; }
.avatar-img { height: 100%; width: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, black 40%, transparent 100%); mask-image: radial-gradient(closest-side, black 40%, transparent 100%); opacity: 0.9; filter: contrast(1.1) saturate(1.1); }
.core-circle { position: absolute; width: 550px; height: 550px; border: 1px dashed rgba(255,255,255,0.15); border-radius: 50%; animation: spin 60s linear infinite; z-index: -1; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* --- HUD (Top/Bottom Info) --- */
.hud-corner { position: fixed; z-index: var(--z-ui); font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-code); pointer-events: none; }
.top-left { top: 30px; left: 30px; border-left: 3px solid var(--crimson); padding-left: 15px; }
.top-right { top: 30px; right: 30px; text-align: right; border-right: 3px solid var(--crimson); padding-right: 15px; }
.bottom-left { bottom: 30px; left: 30px; display: flex; flex-direction: column; gap: 5px; pointer-events: auto; }
.blink-red { color: var(--crimson); animation: blink 1s infinite; font-weight: bold; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* --- FENETRES (WINDOWS) --- */
.window { position: absolute; background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); display: none; flex-direction: column; overflow: hidden; min-width: 350px; min-height: 300px; }
.window.open { display: flex; animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.window.active { border-color: var(--blue); z-index: calc(var(--z-window) + 1); box-shadow: 0 30px 80px rgba(0, 85, 255, 0.15); }
@keyframes popIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
.win-header { padding: 12px 15px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; cursor: grab; flex-shrink: 0; }
.win-header:active { cursor: grabbing; }
.win-title { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: rgba(255,255,255,0.7); letter-spacing: 1px; text-transform: uppercase; }
.win-controls .fa-times { cursor: pointer; transition: 0.2s; color: #aaa; font-size: 1.1rem; }
.win-controls .fa-times:hover { color: var(--crimson); }
.win-body { padding: 25px; overflow-y: auto; height: 100%; color: white; font-size: 0.9rem; line-height: 1.6; scrollbar-width: none; }
.win-body::-webkit-scrollbar { display: none; }
.resize-handle { position: absolute; bottom: 0; right: 0; width: 20px; height: 20px; cursor: nwse-resize; z-index: 20; }

/* --- DOCK (DESKTOP) --- */
.dock-container { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: var(--z-dock); display: flex; gap: 25px; padding: 15px 30px; background: rgba(255, 255, 255, 0.95); border-radius: 50px; box-shadow: 0 10px 50px rgba(0,0,0,0.5); }
.dock-icon { font-size: 1.6rem; color: var(--bg); transition: 0.3s; position: relative; cursor: pointer; }
.dock-icon:hover { transform: translateY(-10px) scale(1.2); color: var(--blue); }
.dock-icon.active { color: var(--blue); }
.dock-icon.active::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; background: var(--blue); border-radius: 50%; }
.dock-icon::before { content: attr(data-label); position: absolute; top: -50px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.9); color: white; font-family: var(--font-ui); font-size: 0.75rem; font-weight: bold; padding: 6px 12px; border-radius: 4px; opacity: 0; transition: 0.2s; pointer-events: none; white-space: nowrap; }
.dock-icon:hover::before { opacity: 1; top: -60px; }

/* --- CONTENUS INTERNES (Fenêtres) --- */
/* Skills */
.skill-row { margin-bottom: 20px; }
.skill-label { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; font-family: var(--font-head); color: white; text-transform: uppercase; }
.skill-track { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.skill-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--crimson)); width: 0; transition: width 1s ease 0.5s; }
/* Projets */
.project-item { display: flex; gap: 20px; padding: 20px; background: rgba(255,255,255,0.05); border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: 0.3s; margin-bottom: 10px; }
.project-item:hover { background: rgba(0, 85, 255, 0.15); border-color: var(--crimson); transform: translateX(5px); }
.project-thumb { width: 80px; height: 60px; background: #000; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.project-info h4 { color: white; margin: 0 0 5px 0; font-family: var(--font-head); text-transform: uppercase; font-weight: 800; }
.project-info span { color: var(--blue); font-size: 0.75rem; font-weight: 700; }

/* Succès */
.ach-card { background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); padding: 15px; border-radius: 8px; cursor: pointer; transition: 0.2s; margin-bottom: 10px; }
.ach-card:hover { border-color: var(--crimson); background: rgba(0, 85, 255, 0.15); }
.ach-card:hover .ach-header h4 { color: var(--crimson); }
.ach-card:hover .ach-header .fa-chevron-down { color: var(--crimson); }
.ach-card.active { border-color: var(--crimson); background: rgba(0, 85, 255, 0.15); }
.ach-header { display: flex; gap: 15px; align-items: center; }
.ach-icon { width: 40px; height: 40px; flex-shrink: 0; background: rgba(0, 85, 255, 0.2); border: 1px solid var(--blue); display: flex; justify-content: center; align-items: center; color: white; border-radius: 8px; font-size: 1rem; }
.ach-details { font-size: 0.85rem; margin-top: 15px; color: #ddd; border-top: 1px solid var(--glass-border); padding-top: 15px; line-height: 1.5; animation: fadeIn 0.3s; }

/* ========================================= */
/* --- VISIONNEUSE (PETIT CAROUSEL) --- */
/* ========================================= */
.carousel-container { position: relative; width: 100%; height: 400px; /* Hauteur fixe = plus de sauts */ background: rgba(0, 0, 0, 0.3); /* Fond sombre propre */ border-radius: 8px; overflow: hidden; margin-bottom: 20px; border: 1px solid var(--glass-border); cursor: zoom-in; display: flex; align-items: center; justify-content: center; }

.carousel-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
/* L'animation sera gérée par les classes JS ci-dessous */
}

/* Flèches du petit carousel */
.nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.6); color: white; border: 1px solid rgba(255,255,255,0.3); width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 20; transition: 0.2s; }
.nav-arrow:hover { background: var(--blue); border-color: var(--blue); }
.nav-prev { left: 10px; } .nav-next { right: 10px; }

@keyframes imgFade { from { opacity: 0; } to { opacity: 1; } }

/* ========================================= */
/* --- LIGHTBOX (PLEIN ÉCRAN) --- */
/* ========================================= */
.lightbox-overlay { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(0,0,0,0.95); backdrop-filter: blur(10px); display: flex; justify-content: center; align-items: center; opacity: 0; animation: fadeIn 0.3s forwards; }

.lightbox-img { max-width: 90vw; max-height: 90vh; border: 2px solid var(--blue); border-radius: 8px; box-shadow: 0 0 50px rgba(0,85,255,0.3);
/* Pas d'animation par défaut ici, c'est le JS qui ajoute la classe (opening, next...) */
}

.lightbox-close { position: absolute; top: 30px; right: 30px; font-size: 2rem; color: white; cursor: pointer; transition: 0.3s; z-index: 10020; }
.lightbox-close:hover { color: var(--crimson); transform: rotate(90deg); }

/* --- FLÈCHES LIGHTBOX (C'est ça qui manquait !) --- */
.lb-arrow { position: fixed; top: 50%; transform: translateY(-50%); width: 60px; height: 60px; background: rgba(0, 0, 0, 0.8); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: white; font-size: 1.5rem; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 10010; transition: 0.2s; }
/* Définition des mouvements */
@keyframes animZoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes animZoomOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.9); } }
@keyframes animSlideNext { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes animSlidePrev { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }

/* Classes à appliquer */
.anim-zoom-in { animation: animZoomIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.anim-slide-next { animation: animSlideNext 0.4s ease-out; }
.anim-slide-prev { animation: animSlidePrev 0.4s ease-out; }

/* Pour la fermeture de la Lightbox */
.lightbox-overlay.closing { animation: fadeOut 0.3s forwards; }
.lightbox-overlay.closing .lightbox-img { animation: animZoomOut 0.3s forwards; }

@keyframes fadeOut { to { opacity: 0; } }
.lb-prev { left: 30px; }
.lb-next { right: 30px; }
.lb-arrow:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-50%) scale(1.1); }

/* --- ANIMATIONS LIGHTBOX AVANCÉES --- */
@keyframes lbZoomIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes lbZoomOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.8); } }
@keyframes lbSlideNext { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes lbSlidePrev { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOut { to { opacity: 0; } }

/* Classes pilotées par le JS */
.lightbox-img.opening { animation: lbZoomIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.lightbox-img.anim-next { animation: lbSlideNext 0.4s ease-out; }
.lightbox-img.anim-prev { animation: lbSlidePrev 0.4s ease-out; }

.lightbox-overlay.closing { animation: fadeOut 0.3s forwards; }
.lightbox-overlay.closing .lightbox-img { animation: lbZoomOut 0.3s forwards; }

@keyframes fadeOut { to { opacity: 0; } }
/* Accordéon (Mentions Légales) */
.acc-item { margin-bottom: 15px; border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; }
.acc-header { cursor: pointer; display: flex; justify-content: space-between; font-weight: bold; font-size: 0.9rem; color: var(--blue); text-transform: uppercase; }
.acc-header:hover { color: var(--crimson); }
.acc-content { margin-top: 15px; font-size: 0.85rem; color: #ccc; line-height: 1.6; white-space: pre-wrap; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ======================================= */
/* --- RESPONSIVE MOBILE (max-width: 1024px) --- */
/* ======================================= */

/* ================================================================= */
/* === CORRECTION FINALE - COPIE CE BLOC À LA FIN DE STYLE.CSS === */
/* ================================================================= */

/* 1. SUR PC : On force le dock mobile à disparaître */
.mobile-footer-container { display: none !important; }

/* 2. SUR MOBILE : Ta version exacte + le correctif pour l'heure */
@media (max-width: 1024px) {

/* --- LE FIX POUR L'HEURE (Ce qui manquait) --- */
/* Cible et cache la div qui contient l'heure en bas à droite */
div[style*="bottom: 30px"][style*="right: 30px"] { display: none !important; }

/* --- TON CODE EXISTANT (Je n'ai rien touché au design) --- */

/* CACHER LES ÉLÉMENTS DESKTOP */
.dock-container, .hud-corner, .bg-title, .resize-handle { display: none; }

/* --- ADAPTATION LAYOUT ACCUEIL (CORRIGÉ & FLUIDE) --- */

.hero-front-ui { top: 7%; padding: 0 10px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 5px; }

/* 1. LE LOGO (Image remplacée) */
.hero-front-ui img { content: url("../img/logo_horizontale.png");

/* Largeur fluide */
width: clamp(125px, 50vw, 250px); height: auto; padding-bottom: 20px; margin: 0; filter: none; }

/* 2. LE TEXTE */
.hero-front-ui .job-title { display: block; font-size: clamp(1rem, 2vw, 0.8rem); letter-spacing: 1px; margin-bottom: 5px; }

.hero-front-ui h1 { display: none; font-size: clamp(2rem, 10vw, 3.5rem); line-height: 1; margin: 0; }

/* 3. L'AVATAR */
.avatar-core { top: 55%; transform: translate(-50%, -50%); width: clamp(280px, 85vw, 450px); height: clamp(280px, 85vw, 450px); transition: none; }


/* Le cercle suit la taille du conteneur */
.core-circle { width: 100%; height: 100%; border-width: 2px; /* Un peu plus visible sur mobile */ }

/* FENÊTRES MOBILES */
.window { width: 100%; top: 0; left: 0; height: calc(100% - 160px); border-radius: 0 0 30px 30px; border-bottom: 2px solid var(--blue); box-shadow: 0 10px 40px rgba(0, 85, 255, 0.3); z-index: var(--z-window); background: var(--bg); transform: none; display: flex; flex-direction: column; }
.win-header { padding-top: max(20px, env(safe-area-inset-top)); background: rgba(2, 10, 26, 0.98); cursor: default; }
.win-body { -webkit-overflow-scrolling: touch; padding-bottom: 60px; }
.win-body::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }

/* FOOTER & ICONES MOBILES - STYLE "PILULE BLANCHE" */
.mobile-footer-container { display: flex !important; position: fixed; bottom: 0; left: 0; width: 100%; z-index: var(--z-dock); background: transparent; /* Fond transparent pour ne voir que la pilule */ box-shadow: none; padding-top: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom)); flex-direction: column; align-items: center; gap: 15px; }

/* La Pilule Blanche */
.app-grid { display: flex; justify-content: center; gap: 25px; /* Espace entre les icônes */ background: rgba(255, 255, 255, 0.95); /* BLANC */ border: none; border-radius: 50px; padding: 15px 30px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); }

/* Les Icônes (Sans carré autour) */
.app-icon-box { width: auto; height: auto; font-size: 1.6rem; background: transparent; /* Pas de fond */ border: none; /* Pas de bordure */ backdrop-filter: none; border-radius: 0; color: var(--bg); /* Icônes Noires (couleur du fond du site) */ display: flex; justify-content: center; align-items: center; transition: all 0.2s ease; }

/* État Actif */
.app-icon-btn.active .app-icon-box { background: transparent; box-shadow: none; border: none; color: var(--blue); /* Bleu quand actif */ transform: scale(1.1); }

/* Texte Copyright */
.mobile-footer-text { text-align: center; font-size: 0.7rem; color: #aaa; display: flex; justify-content: center; gap: 15px; text-shadow: 0 2px 4px rgba(0,0,0,0.8); /* Ombre pour lisibilité sur fond sombre */ }
 }

/* Cache le dock MOBILE sur les grands écrans */
@media (min-width: 1025px) {
.mobile-footer-container { display: none; }
}

/* Cache le dock PC sur les petits écrans */
@media (max-width: 1024px) {
.dock-container { display: none; }
}

/* --- PATCH RESPONSIVE POUR LE DOCK MOBILE ORIGINAL --- */

@media (max-width: 420px) {
/* Cible la pilule du dock mobile */
.app-grid { gap: 5px; padding: 8px 5px; }

/* Cible les boîtes des icônes */
.app-icon-box { width: 40px; height: 40px; font-size: 1.2rem; }

/* Cible le copyright */
.mobile-footer-text { font-size: 0.6rem; }
}

/* EASTER EGG ANIMATIONS */
@keyframes flash {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; background: radial-gradient(circle, rgba(0,85,255,0.3) 0%, transparent 70%); } }

@keyframes rainbow {
0% { filter: hue-rotate(0deg); }
100% { filter: hue-rotate(360deg); } }

/* EASTER EGG ANIMATION */
@keyframes flash {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; background: radial-gradient(circle, rgba(0,85,255,0.3) 0%, transparent 70%); } }

/* ========================================
MODE GHOST - VISION NOCTURNE VERTE
======================================== */

body.ghost-mode { background: #0a0f0a !important; }

/* Overlay vert sur TOUT (au lieu de filtrer chaque élément) */
body.ghost-mode::after { content: ''; position: fixed; inset: 0; background: radial-gradient(circle at center, rgba(0, 255, 0, 0.15) 0%, rgba(0, 50, 0, 0.8) 100%), repeating-linear-gradient( 0deg, transparent, transparent 2px, rgba(0, 255, 0, 0.03) 2px, rgba(0, 255, 0, 0.03) 4px ); pointer-events: none; z-index: 99997; mix-blend-mode: screen; }

/* Filtre UNIQUEMENT sur les éléments visuels (pas React) */
body.ghost-mode .avatar-img,
body.ghost-mode .grid-bg,
body.ghost-mode .bg-title,
body.ghost-mode .hero-front-ui,
body.ghost-mode .dock-container,
body.ghost-mode .window { filter: grayscale(100%) brightness(0.6) sepia(100%) hue-rotate(50deg) saturate(500%) contrast(1.3) !important; }

/* Variables en vert */
body.ghost-mode { --blue: #00ff00 !important; --crimson: #00ff00 !important; }

/* Badge cliquable */
body.ghost-mode::before { content: '[ GHOST MODE ACTIVE ] ✕ CLIQUER POUR DÉSACTIVER'; position: fixed; top: 15px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.95); border: 2px solid #00ff00; color: #00ff00; padding: 10px 25px; font-family: 'Share Tech Mono', monospace; font-size: 0.75rem; letter-spacing: 3px; z-index: 99999; box-shadow: 0 0 30px rgba(0, 255, 0, 0.6); cursor: pointer; pointer-events: auto; animation: blink 2s infinite; }

body.ghost-mode::before:hover { background: rgba(0, 255, 0, 0.2); }

@keyframes flash {
0% { opacity: 1; }
50% { opacity: 0.3; }
100% { opacity: 0; } }

/* ========================================= */
/* --- SCROLLBAR CUSTOM (DESIGN OS) --- */
/* ========================================= */

/* Pour Chrome, Edge, Safari */
::-webkit-scrollbar { width: 6px; /* Très fin */ height: 6px; /* Pour le scroll horizontal */ }

/* Le fond de la barre (le rail) */
::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); /* Presque transparent */ border-radius: 3px; }

/* La barre elle-même (le curseur) */
::-webkit-scrollbar-thumb { background: var(--blue); /* Bleu néon du thème */ border-radius: 3px; transition: background 0.3s; }

/* Au survol de la barre */
::-webkit-scrollbar-thumb:hover { background: var(--crimson); /* Devient rose au survol (interactif) */ }

/* Pour Firefox (Support limité mais propre) */
* { scrollbar-width: thin; /* Barre fine */ scrollbar-color: var(--blue) rgba(0, 0, 0, 0.2); /* Bleu sur fond sombre */ }
/* --- PAGE SOLUTIONS (CATALOGUE) --- */
.service-intro { font-size: 0.95rem; line-height: 1.6; color: #ddd; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--glass-border); white-space: pre-line; /* Pour garder les sauts de ligne */ }

.service-acc-item { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--glass-border); margin-bottom: 10px; border-radius: 4px; transition: 0.3s; }

.service-acc-item.active { background: rgba(0, 85, 255, 0.1); border-color: var(--blue); }

.service-acc-header { padding: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: bold; color: white; }

.service-acc-header:hover { color: var(--crimson);

}
.service-acc-item:hover { border-color: var(--crimson); /* Rose au survol du cadre */ background: rgba(0, 85, 255, 0.15); }
.service-acc-body { padding: 0 15px 15px 15px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 5px; padding-top: 15px; animation: fadeIn 0.3s; }

.service-desc { font-size: 0.9rem; color: #ccc; margin-bottom: 15px; line-height: 1.5; }

.service-price-box { background: rgba(0, 0, 0, 0.3); padding: 10px; border-left: 3px solid var(--crimson); font-family: var(--font-code); font-size: 0.85rem; margin-bottom: 15px; color: white; }

.service-cta { width: 100%; background: var(--blue); color: white; border: none; padding: 10px; border-radius: 4px; font-weight: bold; cursor: pointer; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; transition: 0.2s; }

.service-cta:hover { background: white; color: var(--blue); }

/* --- CORRECTIONS FINALES FORMULAIRE --- */

/* 1. Ajoute de l'espace au-dessus du bouton final */
.form-btn-submit { margin-top: 20px; /* Décolle le bouton du Captcha */ border: 1px solid rgba(255, 255, 255, 0.2) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }

/* 2. Ajoute un effet "Glow" au survol du bouton */
.form-btn-submit:hover { box-shadow: 0 0 15px var(--blue); }

/* 3. Ajoute une marge sous le Captcha (sécurité) */
#recaptcha-container { margin-bottom: 20px; }

/* === CURSEUR CUSTOM === */
body, body * { cursor: none !important; }

.custom-cursor { width: 20px; height: 20px; border: 2px solid var(--blue); border-radius: 50%; position: fixed; pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, border-width 0.2s ease; box-shadow: 0 0 15px var(--blue), inset 0 0 8px var(--blue); mix-blend-mode: screen; }

.cursor-dot { width: 6px; height: 6px; background: var(--crimson); border-radius: 50%; position: fixed; pointer-events: none; z-index: 100000; transform: translate(-50%, -50%); transition: width 0.1s ease, height 0.1s ease, background 0.1s ease; box-shadow: 0 0 10px var(--crimson); }

@keyframes pulse-size {    0%, 100% { width: 30px; height: 30px; } 50% { width: 33px; height: 33px; }}

.custom-cursor.hovering {border-color: var(--crimson) !important;border-width: 2px !important;box-shadow: 0 0 20px var(--crimson), inset 0 0 15px var(--crimson) !important;animation: pulse-size 1s ease-in-out infinite !important;}
.custom-cursor.clicking { width: 15px; height: 15px; border-width: 3px; border-color: var(--crimson); box-shadow: 0 0 40px var(--crimson), inset 0 0 25px var(--crimson); animation: none; }

.cursor-dot.clicking { width: 12px; height: 12px; background: var(--blue); box-shadow: 0 0 20px var(--blue); }

.cursor-particle { position: fixed; width: 5px; height: 5px; background: var(--crimson); border-radius: 50%; pointer-events: none; z-index: 99998; box-shadow: 0 0 8px var(--crimson); animation: particle-burst 0.6s ease-out forwards; }

.cursor-particle-blue { position: fixed; width: 4px; height: 4px; background: var(--blue); border-radius: 50%; pointer-events: none; z-index: 99998; box-shadow: 0 0 6px var(--blue); animation: particle-burst 0.4s ease-out forwards; }

.custom-cursor.clicking-right { width: 18px !important; height: 18px !important; border-color: var(--blue) !important; border-width: 2px !important; box-shadow: 0 0 20px var(--blue), inset 0 0 15px var(--blue) !important; animation: none !important; }

.cursor-dot.clicking-right { width: 8px !important; height: 8px !important; background: var(--blue) !important; box-shadow: 0 0 15px var(--blue) !important; }

@keyframes particle-burst {
0% { transform: translate(0, 0) scale(1); opacity: 1; }
100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; } }
/* Désactiver le curseur custom sur mobile */
@media (max-width: 1024px) {
body, body * { cursor: auto !important; }
.custom-cursor, .cursor-dot, .cursor-particle, .cursor-particle-blue { display: none !important; }
}

/* --- MODULE RÉPUTATION (AVIS GOOGLE) --- */
.reputation-box { background: linear-gradient(90deg, rgba(255,255,255,0.05), transparent); border-left: 3px solid #4285F4; /* Bleu Google */ padding: 15px; margin: 20px 0; display: flex; align-items: center; gap: 15px; transition: 0.3s; text-decoration: none; /* Pour le lien */ cursor: pointer; }

.reputation-box:hover { background: rgba(66, 133, 244, 0.15); transform: translateX(5px); }

.rep-icon { font-size: 2rem; color: #4285F4; text-shadow: 0 0 15px rgba(66, 133, 244, 0.5); }

.rep-data { display: flex; flex-direction: column; }

.rep-label { font-family: var(--font-code); font-size: 0.7rem; color: #888; letter-spacing: 1px; margin-bottom: 2px; }

.rep-score { font-family: var(--font-head); font-size: 1.4rem; color: white; font-weight: bold; }

.rep-stars { color: #F4B400; /* Jaune Étoile */ font-size: 0.9rem; margin-left: 8px; text-shadow: 0 0 5px rgba(244, 180, 0, 0.5); }
/* --- SYSTÈME DE FICHIERS (DANS LE VIEWER) --- */

.files-section { margin-top: 20px; border-top: 1px dashed rgba(255, 255, 255, 0.2); padding-top: 20px; }

.files-title { font-family: var(--font-code); color: var(--blue); font-size: 0.8rem; margin-bottom: 15px; letter-spacing: 1px; }

.files-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 15px; }

/* Le "Fichier" cliquable */
.file-item { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; padding: 15px; text-align: center; cursor: pointer; transition: all 0.2s ease; position: relative; overflow: hidden; }

.file-item:hover { background: rgba(33, 118, 255, 0.1); border-color: var(--blue); transform: translateY(-3px); }

.file-icon { font-size: 2rem; color: #fff; margin-bottom: 10px; opacity: 0.7; }

.file-item:hover .file-icon { color: var(--blue); opacity: 1; }

.file-name { font-size: 0.8rem; font-weight: bold; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.file-action { font-size: 0.6rem; color: var(--blue); margin-top: 5px; opacity: 0; transform: translateY(5px); transition: 0.2s; font-family: var(--font-code); }

.file-item:hover .file-action { opacity: 1; transform: translateY(0); }

/* --- VIEWER 2.0 (INTEGRATION FINALE) --- */

/* Zone Image Principale */
.main-visual { width: 100%; height: 400px; /* Hauteur fixe pour stabilité */ background: #000; position: relative; overflow: hidden; border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; }

.main-visual img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; /* L'image est entière */ position: relative; z-index: 2; box-shadow: 0 0 30px rgba(0,0,0,0.5); }

/* --- MODULES D'INFO (CRÉDITS & TECH) --- */
.info-module { margin-top: 25px; padding-top: 20px; border-top: 1px dashed rgba(255, 255, 255, 0.2); }
.module-title { font-family: var(--font-code); color: var(--blue); font-size: 0.8rem; margin-bottom: 10px; letter-spacing: 1px; text-align: left; }
.info-card { background: rgba(0,0,0,0.2); border-radius: 6px; padding: 20px; border: 1px solid var(--glass-border); }
.credits-grid { display: grid; grid-template-columns: 140px 1fr; gap: 10px 15px; font-size: 0.9rem; text-align: left; }
.credits-grid .label { color: var(--text-muted); font-weight: bold; text-transform: uppercase; }
.credits-grid .value { color: white; font-weight: 600; }
.credits-grid a { color: var(--blue); text-decoration: none; }
.credits-grid a:hover { text-decoration: underline; }
.tech-details p { margin: 0; font-size: 0.9rem; color: var(--text-muted); text-align: left; }


/* Fond flouté pour habiller le noir */
.blur-bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; filter: blur(30px); opacity: 0.4; transform: scale(1.1); /* Évite les bords blancs du flou */ }

/* Bandeau Vidéo (Bouton Large) */
.video-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; background: rgba(33, 118, 255, 0.1); /* Bleu très léger */ border: none; border-bottom: 1px solid var(--blue); color: var(--blue); font-family: var(--font-code); font-weight: bold; font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: all 0.2s ease; }

.video-btn:hover { background: var(--blue); color: white; box-shadow: 0 0 20px var(--blue); }

/* Barre de Navigation (Timeline / Onglets) */
.nav-strip { display: flex; gap: 10px; padding: 15px 0; margin-top: 15px; border-top: 1px solid var(--glass-border);

/* Scroll Horizontal */
overflow-x: auto; white-space: nowrap; scrollbar-width: thin; /* Firefox */ }

/* Style des boutons onglets */
.nav-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); color: #888; padding: 8px 16px; border-radius: 4px; font-family: var(--font-code); font-size: 0.75rem; cursor: pointer; transition: all 0.2s; flex-shrink: 0; /* Empêche l'écrasement */ }

.nav-btn:hover { border-color: var(--blue); color: white; }

.nav-btn.active { background: rgba(33, 118, 255, 0.2); border-color: var(--blue); color: white; font-weight: bold; box-shadow: 0 0 10px rgba(33, 118, 255, 0.2); }

/* Scrollbar personnalisée pour la barre */
.nav-strip::-webkit-scrollbar { height: 4px; }
.nav-strip::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.nav-strip::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }
/* --- FIX LIGHTBOX (CROIX SUR L'IMAGE) --- */

.lightbox-wrapper { position: relative; display: inline-block; /* S'adapte à la largeur de l'image */ line-height: 0; max-width: 90vw; max-height: 90vh; box-shadow: 0 0 50px rgba(0,0,0,0.8); border-radius: 8px; }

.lightbox-img { display: block; max-width: 100%; max-height: 90vh; width: auto; height: auto; object-fit: contain; border: 2px solid var(--blue); border-radius: 8px; box-shadow: none; }

.lightbox-close { position: absolute; top: 10px; right: 10px; width: 35px; height: 35px; background: rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50%; color: white; font-size: 1rem; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 10020; backdrop-filter: blur(5px); transition: 0.2s; }

.lightbox-close:hover { background: var(--crimson); border-color: var(--crimson); transform: rotate(90deg); }

@media (max-width: 1024px) {
    .window.open { top: 0 !important; left: 0 !important; width: 100vw !important; height: 100dvh !important; max-width: none !important; max-height: none !important; border-radius: 0 !important; border: none !important; background: var(--bg) !important; }
    .resize-handle { display: none !important; }
    .win-body { padding: 20px 20px 20vh 20px !important; box-sizing: border-box !important; }
    .win-header { padding: 15px !important; border-radius: 0 !important; }
    .win-controls i { font-size: 1.5rem !important; padding: 10px !important; }
    .mobile-footer-container { z-index: 9999 !important; }
    .window.open::after { content: ""; position: fixed; bottom: 0; left: 0; width: 100%; height: 250px; background: linear-gradient(to bottom, transparent 0%, var(--bg) 90%); pointer-events: none; z-index: 9000; }
}
/* --- PROTECTION IMAGES (ANTI-COPIE) --- */
.no-copy {
    pointer-events: none;       /* La souris passe au travers (Magie !) */
    -webkit-user-drag: none;    /* Impossible de glisser l'image */
    user-select: none;          /* Impossible de la sélectionner */
    -webkit-user-select: none;
}