/* === IMPORTATION LOCALE DE 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: #020617; 
    color: #f8fafc;
    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.04'/%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="%2338bdf8" stroke-width="2"/></svg>') 12 12, auto;
}

a, button, label, input, select, textarea {
    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="%2338bdf8"/></svg>') 12 12, pointer !important;
}

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

/* 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) 0.8s 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 #38bdf8;
    animation: typing 0.6s 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; } }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #38bdf8; }

/* 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(60px); }
.reveal-up.active { opacity: 1; transform: translateY(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); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.text-outline { -webkit-text-stroke: 1px currentColor; color: transparent; }

/* FORM STYLES DÉDIÉS */
.input-premium {
    background-color: rgba(15, 23, 42, 0.4);
    border: 1px solid #1e293b; color: #f8fafc;
    border-radius: 1rem; padding: 1rem 1.25rem; width: 100%;
    transition: all 0.3s ease; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.875rem;
}
.input-premium:focus {
    outline: none; border-color: #38bdf8; background-color: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}
.input-premium::placeholder { color: #475569; }

select.input-premium { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E"); background-position: right 1rem center; background-repeat: no-repeat; background-size: 1.5em 1.5em; }
select.input-premium option { background-color: #0f172a; color: white; }

.check-pill input:checked + div { background-color: rgba(56, 189, 248, 0.1); border-color: #38bdf8; color: #38bdf8; }

/* TRANSITION FORMULAIRES */
.form-section { display: none; opacity: 0; }
.form-section.active { display: block; opacity: 1; animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Animation apparition douce pour le formulaire au chargement */
.fade-in-load { opacity: 0; animation: fadeInLoad 1s ease 1s forwards; }
@keyframes fadeInLoad { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }