@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: #020617; 
    color: #fff;
    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, .accordion-item {
    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; }
.font-syne { font-family: 'Syne', sans-serif; }

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Loader Fullscreen */
#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; 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; } }

/* Effets CSS Poussés */
.text-outline { -webkit-text-stroke: 2px currentColor; color: transparent; }
.text-outline-thin { -webkit-text-stroke: 1px currentColor; color: transparent; }

@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(40px, -60px) scale(1.2); }
    66% { transform: translate(-30px, 30px) scale(0.8); }
    100% { transform: translate(0px, 0px) scale(1); }
}
.animate-blob { animation: blob 15s infinite alternate ease-in-out; }
.animation-delay-2000 { animation-delay: 2s; }

.animate-marquee-bg { display: flex; width: max-content; animation: marquee-bg 40s linear infinite; }
.animate-marquee-bg-reverse { display: flex; width: max-content; animation: marquee-bg-reverse 40s linear infinite; }
@keyframes marquee-bg { to { transform: translateX(-50%); } }
@keyframes marquee-bg-reverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.spin-slow-reverse { animation: spin 20s linear infinite reverse; }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* === L'ACCORDÉON PANORAMIQUE CSS === */
.accordion-gallery {
    display: flex; flex-direction: column; width: 100%; height: 80vh; gap: 1rem;
}
@media (min-width: 768px) { .accordion-gallery { flex-direction: row; height: 70vh; } }

.accordion-item {
    position: relative; flex: 1; border-radius: 2rem; overflow: hidden;
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #0f172a; min-width: 0; will-change: flex;
}
.accordion-item:hover { flex: 6; }

.accordion-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%) brightness(0.5); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, filter;
}
.accordion-item:hover .accordion-bg { filter: grayscale(0%) brightness(0.9); transform: scale(1.05); }

.accordion-overlay {
    position: absolute; inset: 0; transition: opacity 0.5s ease;
    background: linear-gradient(to top, rgba(2,6,23,0.9) 0%, rgba(2,6,23,0.1) 60%, transparent 100%);
}

.accordion-title-container {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.3s ease; pointer-events: none;
}
.accordion-vertical-title {
    font-size: 2.5rem; color: white; text-transform: uppercase;
    font-family: 'Boldonse', 'Syne', sans-serif; letter-spacing: 0.1em; margin: 0; white-space: nowrap;
}
@media (min-width: 768px) {
    .accordion-title-container { align-items: flex-end; padding-bottom: 2.5rem; }
    .accordion-vertical-title { writing-mode: vertical-rl; transform: rotate(180deg); }
}
.accordion-item:hover .accordion-title-container { opacity: 0; }

.accordion-content {
    position: absolute; bottom: 2rem; left: 2rem; opacity: 0; transform: translateY(2rem);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s; pointer-events: none;
    width: 400px; max-width: 80vw;
}
.accordion-item:hover .accordion-content { opacity: 1; transform: translateY(0); pointer-events: auto; }

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

/* SCROLL REVEAL ANIMATIONS */
.reveal { opacity: 0; will-change: transform, opacity, filter; transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-up { transform: translateY(120px); }
.reveal-up.active { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-120px); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { transform: translateX(120px); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-blur { filter: blur(25px); transform: translateY(60px) scale(0.85); }
.reveal-blur.active { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
.reveal-scale { transform: scale(0.65); 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; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-hero { transition-delay: 1.6s; }
.delay-hero-100 { transition-delay: 1.7s; }
.delay-hero-200 { transition-delay: 1.8s; }