/* ==============================================================
   FICHIER : vue.css (CSS Statique)
   ============================================================== */

/* SÉCURITÉ : Importation locale garantie pour Boldonse */
@font-face {
    font-family: 'Boldonse';
    src: url('../fonts/Boldonse-Regular.ttf') format('truetype');
    font-weight: bold; font-style: normal; font-display: swap;
}

/* Base & Custom Cursor */
body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: #F8FAFC; 
    color: #0f172a;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 0V24M0 12H24" stroke="%232563EB" stroke-width="2"/></svg>') 12 12, auto;
}

a, button, iframe, video {
    cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="8" fill="%232563EB"/></svg>') 12 12, pointer !important;
}

h1, h2, h3, .font-heading { font-family: 'Boldonse', 'Syne', sans-serif !important; }
.font-syne { font-family: 'Syne', sans-serif; }

/* === ANIMATIONS D'ENTRÉE DU TITRE (Héro) === */
@keyframes revealUpHero {
    0% { transform: translateY(110%); letter-spacing: -0.05em; opacity: 0; }
    100% { transform: translateY(0); letter-spacing: 0.02em; opacity: 1; }
}
.reveal-container { overflow: hidden; display: block; padding: 10px 0; }
.title-projet {
    animation: revealUpHero 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    animation-delay: 1.6s;
}

/* Loader */
#loader {
    position: fixed; inset: 0; z-index: 99999;
    background-color: #020617; display: flex; align-items: center; justify-content: center;
    animation: slideUpOut 1s cubic-bezier(0.7, 0, 0.3, 1) 1.5s forwards;
}
.loader-text {
    color: #fff; font-family: 'Boldonse', sans-serif !important; font-size: 4rem; text-transform: uppercase;
    overflow: hidden; white-space: nowrap; border-right: 4px solid #2563EB;
    animation: typing 1s steps(10, end), blink 0.5s step-end infinite alternate;
}
@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink { 50% { border-color: transparent } }
@keyframes slideUpOut { to { transform: translateY(-100%); opacity: 0; visibility: hidden; } }

.bg-parallax { background-attachment: fixed; background-size: cover; background-position: center; }
.color-block { transition: flex 0.5s cubic-bezier(0.16, 1, 0.3, 1); flex: 1; }
.color-block:hover { flex: 3; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #2563EB; }

/* ==============================================================
   ANIMATIONS DE SCROLL (SCROLL REVEAL)
   ============================================================== */
.reveal {
    opacity: 0;
    will-change: transform, opacity, filter;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up { transform: translateY(80px); }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-80px); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { transform: translateX(80px); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-blur { filter: blur(20px); transform: translateY(40px) scale(0.9); }
.reveal-blur.active { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
.reveal-scale { transform: scale(0.7); border-radius: 5rem; }
.reveal-scale.active { opacity: 1; transform: scale(1); border-radius: 2rem; }

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

.text-outline { -webkit-text-stroke: 1px currentColor; color: transparent; }