/* ============================================================
   IMMERSIVE.CSS — Refonte visuelle v3 (sobre + fondus smooth)
   Charge APRÈS style.css.
   ============================================================ */

:root {
    /* Palette neutre — plus de bleu charte, juste noir/blanc/transparent */
    --glass-bg:     rgba(0, 0, 0, 0.32);
    --glass-bd:     rgba(255, 255, 255, 0.14);
    --glass-blur:   20px;
    --glass-shadow: 0 8px 24px rgba(0, 0, 0, 0.25),
                    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html { scroll-behavior: smooth; }

body.fk-immersive {
    background: #07122b;
    color: #e8f0ff;
    overflow-x: hidden;
}
body.fk-immersive .fk-wave-divider { display: none; }

/* ============================================================
   1. LOADER CINÉMATIQUE — IRIS (cercle au centre qui s'agrandit)
   ============================================================ */
#fk-loader.fk-loader-v2 {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
    animation: none;
}

/* Calque noir plein écran avec mask radial qui s'ouvre du centre */
#fk-loader.fk-loader-v2 .fk-loader-iris {
    position: absolute;
    inset: 0;
    background: #000;
    animation: irisReveal 2.6s cubic-bezier(0.6, 0, 0.2, 1) forwards;
    will-change: -webkit-mask-image, mask-image, opacity;
}
@keyframes irisReveal {
    0%   { -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 0px, #000 1px);
                  mask-image: radial-gradient(circle at 50% 50%, transparent 0px, #000 1px); }
    50%  { -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 80px, #000 92px);
                  mask-image: radial-gradient(circle at 50% 50%, transparent 80px, #000 92px); }
    85%  { -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 90vmax, #000 95vmax);
                  mask-image: radial-gradient(circle at 50% 50%, transparent 90vmax, #000 95vmax);
           opacity: 1; }
    100% { -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 150vmax, #000 155vmax);
                  mask-image: radial-gradient(circle at 50% 50%, transparent 150vmax, #000 155vmax);
           opacity: 0; }
}

/* Container centré pour le contenu (titre + tagline + ring décoratif) */
.fk-loader-v2 .fk-loader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    z-index: 5;
    animation: loaderTextFade 2.6s ease forwards;
}
@keyframes loaderTextFade {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    15%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    55%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    70%  { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

/* Cercle ring autour du titre (décoratif, pulse léger) */
.fk-loader-v2 .fk-loader-circle {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 0 60px rgba(255, 255, 255, 0.1),
        inset 0 0 60px rgba(255, 255, 255, 0.05);
    animation: circlePulse 2.6s ease-out forwards;
}
.fk-loader-v2 .fk-loader-circle::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
}
@keyframes circlePulse {
    0%   { transform: scale(0.3); opacity: 0; }
    20%  { transform: scale(1);   opacity: 1; }
    60%  { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1.5); opacity: 0; }
}

.fk-loader-v2 .fk-loader-letters {
    position: relative;
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: clamp(2rem, 6vw, 3.2rem);
    color: #fff;
    letter-spacing: -0.01em;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.7);
    display: block;
    line-height: 1.1;
}

.fk-loader-v2 .fk-loader-tagline {
    position: relative;
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
}

.fk-loader-v2 .fk-loader-ring,
.fk-loader-v2 .fk-loader-ring2 { display: none; }
#fk-loader.fk-loader-v2.fk-loader-done { display: none !important; }

/* ============================================================
   2. HEADER TOP — 3 pills glass (style cleo.com) — palette neutre
   ============================================================ */
body.fk-immersive .fk-navbar { display: none !important; }
body.fk-immersive .navbar.sticky-top { display: none !important; }
.fk-float-nav { display: none !important; }
/* Drawer reste accessible via le bouton ⋯ du menu top */

.fk-top-header {
    position: fixed;
    top: 1.2rem;
    left: 1.2rem;
    right: 1.2rem;
    z-index: 9000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    animation: floatNavIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) 2.6s backwards;
}
.fk-top-header > * { pointer-events: auto; }

/* Style commun des 3 pills */
.fk-top-logo,
.fk-top-nav,
.fk-top-cta {
    background: rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.fk-top-logo:hover,
.fk-top-cta:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    transform: translateY(-1px);
}

/* Logo gauche */
.fk-top-logo {
    padding: 0.65rem 1.1rem;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    text-transform: lowercase;
}

/* Nav centrale */
.fk-top-nav {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0.3rem;
}
.fk-top-nav a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.fk-top-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.fk-top-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.12); }

.fk-top-more {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 0.2rem;
    transition: background 0.2s ease, color 0.2s ease;
}
.fk-top-more:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.fk-top-more i { font-size: 1.1rem; }

/* CTA droite */
.fk-top-cta {
    padding: 0.65rem 1.3rem;
    font-weight: 700;
    font-size: 0.88rem;
}

/* Responsive : menu central caché en mobile, juste logo + CTA + burger */
@media (max-width: 768px) {
    .fk-top-header { top: 0.8rem; left: 0.8rem; right: 0.8rem; }
    .fk-top-nav { padding: 0.25rem; }
    .fk-top-nav a { display: none; }
    .fk-top-more { margin-left: 0; }
    .fk-top-logo { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
    .fk-top-cta  { padding: 0.55rem 1rem; font-size: 0.82rem; }
}
@keyframes floatNavIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.fk-float-logo {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.fk-float-logo:hover { transform: rotate(-8deg) scale(1.05); }
.fk-float-logo img { width: 100%; height: 100%; object-fit: cover; }
.fk-float-toggle {
    width: 42px; height: 42px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 50%;
    transition: background 0.2s ease;
}
.fk-float-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.fk-float-toggle i { font-size: 1.4rem; }
.fk-float-label {
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0 0.5rem 0 0.2rem;
    user-select: none;
}
.fk-float-cta {
    background: linear-gradient(135deg, #2a7cf7 0%, #4fc3f7 100%);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    box-shadow: 0 4px 14px rgba(42, 124, 247, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}
.fk-float-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.55),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ============================================================
   3. DRAWER OVERLAY
   ============================================================ */
.fk-float-drawer {
    position: fixed;
    inset: 0;
    z-index: 8500;
    background: rgba(7, 18, 43, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fk-float-drawer.is-open { opacity: 1; pointer-events: all; }
.fk-drawer-content {
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s ease 0.1s, opacity 0.5s ease 0.1s;
}
.fk-float-drawer.is-open .fk-drawer-content { transform: translateY(0); opacity: 1; }
.fk-drawer-link {
    display: block;
    font-family: 'Pacifico', cursive;
    font-size: clamp(2rem, 6vw, 3.5rem);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.3s ease;
}
.fk-drawer-link:hover, .fk-drawer-link.active {
    color: #fff;
    transform: translateX(8px);
}
.fk-drawer-footer {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}
.fk-drawer-footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: 'Nunito', sans-serif;
}
.fk-drawer-footer a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* ============================================================
   4. CALQUES DE FOND FIXES — FONDU SMOOTH ENTRE UNIVERS
   ============================================================ */

/* Fond global qui couvre tout le viewport, indépendant du scroll */
.fk-bg-stack {
    position: fixed;
    inset: 0;
    z-index: -10;
    pointer-events: none;
    background: #07122b;
}

.fk-bg-layer {
    position: absolute;
    inset: 0;
    opacity: 0; /* contrôlé par JS via --u-XXX */
    transition: opacity 0.6s ease;
    will-change: opacity;
}

/* Fonds univers : neutre noir, juste un voile sombre pour assombrir les photos
   (les photos sont dans .fk-universe-photo > img, le fond est juste une assurance) */
.fk-bg-moi,
.fk-bg-photo,
.fk-bg-musique,
.fk-bg-video {
    background: #000;
}

/* ============================================================
   5. DÉCORATIONS LÉGÈRES — opacity contrôlée par scroll
   ============================================================ */

/* Étoiles globales pour l'univers Moi — fixed pour rester continu */
.fk-deco-stars {
    position: fixed;
    inset: 0;
    z-index: -9;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 18% 33%, rgba(255,255,255,.9), transparent),
        radial-gradient(1px 1px at 38% 64%, rgba(255,255,255,.85), transparent),
        radial-gradient(1px 1px at 60% 28%, rgba(196,181,253,.95), transparent),
        radial-gradient(1.5px 1.5px at 82% 58%, rgba(255,255,255,.85), transparent),
        radial-gradient(1px 1px at 25% 80%, rgba(168,200,255,.9), transparent),
        radial-gradient(1.5px 1.5px at 92% 14%, rgba(255,255,255,.85), transparent),
        radial-gradient(0.5px 0.5px at 8% 23%, rgba(255,255,255,.6), transparent),
        radial-gradient(0.5px 0.5px at 47% 17%, rgba(255,255,255,.7), transparent),
        radial-gradient(0.5px 0.5px at 67% 73%, rgba(255,255,255,.5), transparent),
        radial-gradient(0.5px 0.5px at 89% 31%, rgba(255,255,255,.6), transparent),
        radial-gradient(0.5px 0.5px at 12% 84%, rgba(255,255,255,.5), transparent);
    background-size: 100% 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* Equalizer pour l'univers Musique — fixed en bas */
.fk-deco-eq {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45vh;
    z-index: -8;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    padding: 0 5vw;
    opacity: 0;
    transition: opacity 0.8s ease;
    mask-image: linear-gradient(180deg, transparent 0%, black 35%, black 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 35%, black 100%);
}
.fk-deco-eq .fk-eq-bar {
    flex: 1;
    max-width: 12px;
    background: linear-gradient(180deg, rgba(168,200,255,0.7) 0%, rgba(79,195,247,0.5) 40%, rgba(42,124,247,0.3) 70%, transparent 100%);
    border-radius: 4px 4px 0 0;
    animation: eqBar 1.4s ease-in-out infinite alternate;
    transform-origin: bottom;
    will-change: transform;
    box-shadow: 0 0 8px rgba(79,195,247,0.2);
}
@keyframes eqBar { from { transform: scaleY(0.08); } to { transform: scaleY(0.95); } }

/* (vinyl supprimé — trop visible et inutile) */

/* Grain cinéma pour Vidéo */
.fk-deco-grain {
    position: fixed;
    inset: 0;
    z-index: -8;
    pointer-events: none;
    background-image: repeating-linear-gradient(
        0deg,
        transparent 0,
        transparent 3px,
        rgba(0, 0, 0, 0.15) 3px,
        rgba(0, 0, 0, 0.15) 4px
    );
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* ============================================================
   5b. DÉCORS THÉMATIQUES — lianes, soleil, particules, pellicule
   ============================================================ */

/* ─── PHOTOS DE FOND (univers Photo + Musique + Vidéo) — ken-burns ─── */
.fk-universe-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}
.fk-univers-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    animation: kenburns 30s ease-in-out infinite alternate;
    will-change: transform;
    filter: saturate(1.05) contrast(1.05);
}
/* Ken-burns différent par univers pour rythme varié */
.fk-universe[data-uni="photo"]   .fk-univers-bg-img { animation-name: kenburnsA; }
.fk-universe[data-uni="musique"] .fk-univers-bg-img { animation-name: kenburnsB; }
.fk-universe[data-uni="video"]   .fk-univers-bg-img { animation-name: kenburnsC; }

@keyframes kenburnsA {
    0%   { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.15) translate(-2%, -1.5%); }
}
@keyframes kenburnsB {
    0%   { transform: scale(1.08) translate(1%, 0); }
    100% { transform: scale(1.18) translate(-1.5%, 2%); }
}
@keyframes kenburnsC {
    0%   { transform: scale(1.06) translate(-1%, 1%); }
    100% { transform: scale(1.16) translate(2%, -2%); }
}

/* Désactiver sur perf-low (l'image reste statique) */
.fk-perf-low .fk-univers-bg-img { animation: none !important; }

/* ─── LIQUID GLASS CARD — texte qui s'incruste sur la photo ─── */
.fk-glass-card {
    background: rgba(7, 18, 43, 0.22);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 2.5rem 2.8rem 2.2rem;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    max-width: 720px;
    margin: 0 auto;
}
/* Léger reflet diagonal en haut, façon verre */
.fk-glass-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
    border-radius: 28px 28px 0 0;
}
/* Bordure interne lumineuse subtile */
.fk-glass-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 27px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: -1;
}

/* Quand le contenu est dans une glass-card, on ajuste les marges */
.fk-glass-card .fk-universe-label { margin-bottom: 0.7rem; }
.fk-glass-card .fk-universe-title { margin-bottom: 1.2rem; }
.fk-glass-card .fk-universe-desc  { margin-bottom: 1.8rem; }

@media (max-width: 768px) {
    .fk-glass-card { padding: 2rem 1.5rem 1.8rem; border-radius: 22px; }
}

/* Overlay neutre noir (plus de teinte bleue) */
.fk-universe-overlay {
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.55) 100%);
}

/* ─── HOME CLEO HERO (univers Moi) — épuré, juste titre + scroll ─── */
.fk-cleo-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    min-height: 100vh;
    max-width: 1200px;
}
.fk-cleo-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 300;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 2rem 0;
    text-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.fk-cleo-title span {
    display: block;
    font-style: italic;
    font-weight: 200;
    opacity: 0.85;
}

.fk-cleo-scroll {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: color 0.25s ease, background 0.25s ease;
}
.fk-cleo-scroll:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.fk-cleo-scroll-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.9) 1.5px, transparent 2px);
    background-size: 6px 6px;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    animation: cleoScrollPulse 2.2s ease-in-out infinite;
}
@keyframes cleoScrollPulse {
    0%,100% { transform: translateY(0); opacity: 0.5; }
    50%     { transform: translateY(4px); opacity: 1; }
}

/* ─── BRUME / MIST GLOBALE — voile subtil qui dérive ─── */
.fk-deco-mist {
    position: fixed;
    inset: 0;
    z-index: -8;
    pointer-events: none;
    background:
        radial-gradient(ellipse 1200px 600px at 25% 30%, rgba(42,124,247,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 900px 500px at 75% 70%, rgba(79,195,247,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 800px 600px at 50% 100%, rgba(168,200,255,0.05) 0%, transparent 60%);
    animation: mistDrift 30s ease-in-out infinite alternate;
    will-change: transform;
    opacity: 0.7;
}
@keyframes mistDrift {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(-30px, 20px); }
}

/* ─── COMÈTES OCCASIONNELLES — traînées lumineuses qui traversent l'écran ─── */
.fk-deco-comet {
    position: fixed;
    top: 15%;
    left: -200px;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(168,200,255,0.6) 50%, #fff 90%, transparent 100%);
    border-radius: 999px;
    z-index: -7;
    pointer-events: none;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(168,200,255,0.8));
    animation: cometFly 14s linear infinite;
    transform: rotate(15deg);
}
.fk-deco-comet::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(168,200,255,1),
                0 0 24px rgba(79,195,247,0.7);
}
@keyframes cometFly {
    0%   { left: -250px; top: 10%;  opacity: 0; transform: rotate(15deg); }
    5%   { opacity: 1; }
    20%  { opacity: 1; }
    25%  { left: calc(100vw + 100px); top: 40%; opacity: 0; transform: rotate(15deg); }
    100% { left: calc(100vw + 100px); top: 40%; opacity: 0; }
}
.fk-deco-comet.fk-comet-2 {
    top: 60%;
    animation-delay: -8s;
    animation-duration: 18s;
    transform: rotate(-10deg);
    width: 160px;
    /* Gradient inversé pour la 2e comète qui va de DROITE vers GAUCHE
       → la tête (#fff) doit être à GAUCHE et la queue (transparent) à DROITE */
    background: linear-gradient(90deg, transparent 0%, #fff 10%, rgba(168,200,255,0.6) 50%, transparent 100%);
    animation-name: cometFly2;
}
/* Position de la tête lumineuse à GAUCHE pour cette comète */
.fk-deco-comet.fk-comet-2::before {
    left: 0;
    right: auto;
    transform: translateY(-50%) scale(0.85);
}
@keyframes cometFly2 {
    0%   { left: calc(100vw + 100px); top: 55%; opacity: 0; transform: rotate(-10deg); }
    5%   { opacity: 1; }
    20%  { opacity: 1; }
    25%  { left: -250px; top: 75%; opacity: 0; transform: rotate(-10deg); }
    100% { left: -250px; top: 75%; opacity: 0; }
}

/* ─── ÉTOILES FLOTTANTES (section traces) ─── */
.fk-floating-stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.fk-floating-star {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, transparent 70%);
    box-shadow: 0 0 6px rgba(168, 200, 255, 0.7),
                0 0 12px rgba(79, 195, 247, 0.4);
    opacity: 0;
    animation: floatStar var(--dur, 12s) ease-in-out infinite,
               starTwinkle var(--twk, 2.5s) ease-in-out infinite alternate;
    animation-delay: var(--delay, 0s), var(--twk-delay, 0s);
}
@keyframes floatStar {
    0%   { transform: translate(var(--x0, 0), var(--y0, 0)); }
    50%  { transform: translate(calc(var(--x0, 0) + 30px), calc(var(--y0, 0) - 20px)); }
    100% { transform: translate(var(--x0, 0), var(--y0, 0)); }
}
@keyframes starTwinkle {
    0%,100% { opacity: 0.3; }
    50%     { opacity: 1; }
}
.fk-floating-star.star-bright {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 12px rgba(168, 200, 255, 0.95),
                0 0 24px rgba(79, 195, 247, 0.7);
}

/* ─── PARTICULES SOIRÉE (univers Musique) ─── */
.fk-deco-party {
    position: fixed;
    inset: 0;
    z-index: -7;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.fk-deco-party .party-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: radial-gradient(circle, currentColor 0%, transparent 70%);
    filter: drop-shadow(0 0 6px currentColor);
    animation: partyFloat 8s ease-in-out infinite, partyTwinkle 2s ease-in-out infinite alternate;
}
@keyframes partyFloat {
    0%   { transform: translate(0, 100vh); }
    100% { transform: translate(0, -10vh); }
}
@keyframes partyTwinkle {
    0%,100% { opacity: 0.3; }
    50%     { opacity: 1; }
}

/* ─── PELLICULE CINÉMA (univers Vidéo) — noir + accents charte ─── */
.fk-deco-filmstrip {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 32px;
    z-index: -7;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    background: linear-gradient(180deg, #000 0%, #030610 50%, #000 100%);
    border-left: 1px solid rgba(79, 195, 247, 0.12);
    border-right: 1px solid rgba(79, 195, 247, 0.12);
}
.fk-deco-filmstrip::before {
    /* Trous de pellicule */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 50% 8px, #000 4px, transparent 5px),
        radial-gradient(circle at 50% 30px, #000 4px, transparent 5px);
    background-size: 32px 44px;
    background-repeat: repeat-y;
    animation: filmRoll 5s linear infinite;
}
.fk-deco-filmstrip.fk-filmstrip-left  { left: 0; }
.fk-deco-filmstrip.fk-filmstrip-right { right: 0; }
@keyframes filmRoll {
    0%   { background-position: 0 0; }
    100% { background-position: 0 44px; }
}

/* ─── SPOT CINÉMA (univers Vidéo) ─── */
.fk-deco-spot {
    position: fixed;
    inset: 0;
    z-index: -7;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    background: radial-gradient(ellipse 60vw 80vh at 50% 45%, transparent 0%, transparent 40%, rgba(0,0,0,0.75) 100%);
}

/* ============================================================
   6. SECTIONS UNIVERS — fond transparent (le calque global gère le visuel)
   ============================================================ */

.fk-universe {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.fk-universe-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.35) 100%);
}

.fk-universe-content {
    text-align: center;
    padding: 6rem 1.5rem 8rem;
    max-width: 1100px;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px) scale(0.92);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}
.fk-universe-content.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.fk-universe-content.is-leaving {
    opacity: 0.6;
    transform: translateY(-40px) scale(0.96);
}

/* Animation staggered des éléments à l'intérieur du contenu */
.fk-universe-content > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fk-universe-content.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}
.fk-universe-content.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.fk-universe-content.is-visible > *:nth-child(2) { transition-delay: 0.18s; }
.fk-universe-content.is-visible > *:nth-child(3) { transition-delay: 0.30s; }
.fk-universe-content.is-visible > *:nth-child(4) { transition-delay: 0.42s; }
.fk-universe-content.is-visible > *:nth-child(5) { transition-delay: 0.52s; }

.fk-universe-label {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-weight: 300;
}

.fk-universe-title {
    font-family: 'Pacifico', cursive;
    font-size: clamp(3rem, 9vw, 6rem);
    line-height: 1.05;
    color: #fff;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}

.fk-universe-desc {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.65;
}

.fk-universe-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.fk-universe-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}
.fk-universe-cta i { transition: transform 0.3s ease; }
.fk-universe-cta:hover i { transform: translateX(4px); }

/* ─── SECTION CONTACT (bas de home) — photo + glass épuré ─── */
.fk-contact-section {
    position: relative;
    padding: 8rem 1.5rem 10rem;
    isolation: isolate;
}
.fk-contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('../img/univers/moi.jpg');
    background-size: cover;
    background-position: center;
    will-change: transform;
    animation: kenburnsGlobal 55s ease-in-out infinite alternate;
}
.fk-contact-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.82) 100%);
}
/* Le wrapper container devient un grand glass panel comme les pages internes */
.fk-contact-section .container {
    background: var(--fk-glass-bg-med);
    backdrop-filter: var(--fk-glass-blur);
    -webkit-backdrop-filter: var(--fk-glass-blur);
    border: var(--fk-glass-bd);
    border-radius: 28px;
    box-shadow: var(--fk-glass-shadow);
    padding: 2.5rem;
    max-width: 1100px;
}
@media (max-width: 768px) {
    .fk-contact-section .container { padding: 1.8rem 1.2rem; border-radius: 22px; }
}

/* ─── ENRICHISSEMENT UNIVERS MOI : avatar, radar, stats, socials ─── */
.fk-radar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(300px, 60vmin, 600px);
    height: clamp(300px, 60vmin, 600px);
    pointer-events: none;
    z-index: 0;
}
.fk-radar span {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(168, 200, 255, 0.16);
    border-radius: 50%;
    animation: radarPulse 6s ease-out infinite;
    opacity: 0;
}
.fk-radar span:nth-child(2) { animation-delay: 1.5s; }
.fk-radar span:nth-child(3) { animation-delay: 3s;   }
.fk-radar span:nth-child(4) { animation-delay: 4.5s; }
@keyframes radarPulse {
    0%   { transform: scale(0.4); opacity: 0; border-color: rgba(168,200,255,0.5); }
    15%  { opacity: 1; }
    100% { transform: scale(1);   opacity: 0; border-color: rgba(168,200,255,0); }
}

.fk-avatar-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
}
.fk-avatar-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        rgba(79,195,247,0.8) 0%,
        rgba(42,124,247,0.4) 25%,
        rgba(168,200,255,0.2) 50%,
        rgba(42,124,247,0.4) 75%,
        rgba(79,195,247,0.8) 100%);
    animation: ringSpin 8s linear infinite;
    filter: blur(0.5px);
}
.fk-avatar-ring::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #07122b;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.fk-avatar-img {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    box-shadow: 0 0 0 3px rgba(7, 18, 43, 1),
                0 0 30px rgba(79, 195, 247, 0.4),
                0 0 60px rgba(42, 124, 247, 0.2);
}
.fk-avatar-status {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #34d399;
    border: 3px solid #07122b;
    z-index: 3;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
    animation: statusPulse 2.4s ease-in-out infinite;
}
@keyframes statusPulse {
    0%,100% { transform: scale(1);   box-shadow: 0 0 10px rgba(52,211,153,0.6); }
    50%     { transform: scale(1.1); box-shadow: 0 0 18px rgba(52,211,153,0.9); }
}

/* Tagline rotative */
.fk-tagline-rotator {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}
.fk-tagline-prefix {
    color: rgba(255, 255, 255, 0.7);
}
.fk-tagline-rotate {
    display: inline-block;
    color: #4fc3f7;
    font-weight: 700;
    min-width: 8ch;
    text-align: left;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-shadow: 0 0 16px rgba(79, 195, 247, 0.4);
}
.fk-tagline-rotate.is-leaving {
    opacity: 0;
    transform: translateY(-8px);
}
.fk-tagline-cursor {
    display: inline-block;
    color: #4fc3f7;
    font-weight: 300;
    animation: cursorBlink 1s steps(1) infinite;
}
@keyframes cursorBlink {
    0%, 50%  { opacity: 1; }
    50.01%,100% { opacity: 0; }
}

/* Bento stats */
.fk-hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin: 2rem auto 1.5rem;
    max-width: 600px;
}
.fk-hero-stat {
    flex: 1 1 100px;
    padding: 0.9rem 1.1rem;
    background: rgba(17, 34, 89, 0.45);
    border: 1px solid rgba(168, 200, 255, 0.15);
    border-radius: 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.3s ease;
}
.fk-hero-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 195, 247, 0.4);
}
.fk-hero-stat strong {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #4fc3f7;
    line-height: 1.1;
    text-shadow: 0 0 14px rgba(79, 195, 247, 0.35);
}
.fk-hero-stat span {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(168, 200, 255, 0.65);
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Réseaux sociaux + bouton explore */
.fk-hero-socials {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.5rem 0.4rem 0.9rem;
    margin-top: 1.5rem;
    background: rgba(7, 18, 43, 0.6);
    border: 1px solid rgba(168, 200, 255, 0.18);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.fk-hero-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.fk-hero-socials a i { font-size: 1rem; }
.fk-hero-socials a:hover {
    background: rgba(79, 195, 247, 0.15);
    color: #fff;
    transform: translateY(-2px);
}
.fk-hero-socials-sep {
    width: 1px;
    height: 26px;
    background: rgba(168, 200, 255, 0.18);
    margin: 0 0.3rem;
}
.fk-hero-explore {
    width: auto !important;
    padding: 0 1rem !important;
    border-radius: 999px !important;
    gap: 0.4rem !important;
    color: #fff !important;
    background: linear-gradient(135deg, #2a7cf7 0%, #4fc3f7 100%) !important;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    box-shadow: 0 4px 14px rgba(42, 124, 247, 0.35);
}
.fk-hero-explore:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(79, 195, 247, 0.5) !important;
}

@media (max-width: 768px) {
    .fk-avatar-wrap { width: 100px; height: 100px; }
    .fk-avatar-img  { width: 100px; height: 100px; }
    .fk-radar       { width: clamp(220px, 80vmin, 400px); height: clamp(220px, 80vmin, 400px); }
    .fk-hero-stat   { flex: 1 1 130px; padding: 0.7rem 0.8rem; }
}

.fk-scroll-hint {
    position: absolute;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 3;
}
.fk-scroll-hint::after {
    content: "";
    display: block;
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
}
@keyframes scrollBounce {
    0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50%     { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============================================================
   6c. SECTION TRACES enrichie (staggered + hover zoom)
   ============================================================ */

.fk-traces-section {
    position: relative;
    padding: 8rem 1.5rem 6rem;
    isolation: isolate;
}
/* Photo de fond pour la section traces : vagues/rochers */
.fk-traces-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url('../img/univers/traces.jpg');
    background-size: cover;
    background-position: center;
    will-change: transform;
    animation: kenburnsGlobal 50s ease-in-out infinite alternate;
}
.fk-traces-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.78) 100%);
}

.fk-traces-section .fk-trace-card {
    background: rgba(7, 18, 43, 0.55);
    border: 1px solid rgba(168, 200, 255, 0.12);
    border-radius: 14px;
    padding: 0;
    overflow: hidden;
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease,
                border-color 0.5s ease;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    will-change: transform, opacity;
}
.fk-traces-section .fk-trace-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.8s ease,
                box-shadow 0.5s ease,
                border-color 0.5s ease;
}
/* Stagger d'apparition */
.fk-traces-section .fk-trace-card.is-visible:nth-child(1)  { transition-delay: 0.05s; }
.fk-traces-section .fk-trace-card.is-visible:nth-child(2)  { transition-delay: 0.15s; }
.fk-traces-section .fk-trace-card.is-visible:nth-child(3)  { transition-delay: 0.25s; }
.fk-traces-section .fk-trace-card.is-visible:nth-child(4)  { transition-delay: 0.35s; }
.fk-traces-section .fk-trace-card.is-visible:nth-child(5)  { transition-delay: 0.45s; }
.fk-traces-section .fk-trace-card.is-visible:nth-child(6)  { transition-delay: 0.55s; }

/* Hover : juste les couleurs/bordure (le tilt JS gère le transform) */
.fk-traces-section .fk-trace-card:hover {
    border-color: rgba(79, 195, 247, 0.5);
}
.fk-traces-section .fk-trace-card.fk-tilt {
    transform-style: preserve-3d;
}

.fk-traces-section .fk-project-placeholder {
    height: 160px;
    position: relative;
    overflow: hidden;
}

/* Stats compteur en haut de section — palette neutre */
.fk-traces-stats {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(16px) saturate(170%);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
}
.fk-traces-stats strong {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}
.fk-traces-stats span {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

/* Ornement coins (style "pro") sur le titre de section */
.fk-traces-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.fk-traces-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   7. PAGES INTERNES — wrapper immersif
   ============================================================ */

.fk-page-immersive {
    position: relative;
    min-height: 100vh;
    padding-top: 4rem;
    padding-bottom: 8rem;
    isolation: isolate;
}
/* Photo de fond globale pour toutes les pages internes (style cleo.com) */
body.fk-immersive:not(.fk-home) {
    background: #07122b;
}
body.fk-immersive:not(.fk-home)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -10;
    background-image: url('../img/bg-pages.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: kenburnsGlobal 40s ease-in-out infinite alternate;
    will-change: transform;
}
/* Overlay sombre fixed pour lisibilité */
body.fk-immersive:not(.fk-home)::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -9;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(42, 124, 247, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(7, 18, 43, 0.55) 0%, rgba(2, 5, 14, 0.78) 100%);
    pointer-events: none;
}
@keyframes kenburnsGlobal {
    0%   { transform: scale(1.05) translate(0, 0); }
    100% { transform: scale(1.12) translate(-1.5%, -1%); }
}

/* Désactiver le ken-burns global sur perf-low / safari mobile (background-attachment fixed lourd) */
.fk-perf-low body.fk-immersive:not(.fk-home)::before { animation: none; background-attachment: scroll; }
@media (max-width: 768px) {
    body.fk-immersive:not(.fk-home)::before { background-attachment: scroll; }
}

body.fk-immersive footer { display: none; }
body.fk-immersive .container { padding-bottom: 2rem; }

/* ============================================================
   8. PAGES INTERNES — wrapper immersif (cartes, formulaires)
   ============================================================ */

body.fk-immersive .fk-blob,
body.fk-immersive .fk-hero-bg,
body.fk-immersive .fk-hero { display: none !important; }

body.fk-immersive:not(.fk-home) #main-content {
    padding-top: 5rem;
    padding-bottom: 10rem;
}

body.fk-immersive .fk-card {
    background: rgba(17, 34, 89, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.fk-immersive .fk-section { padding: 3rem 0; }
body.fk-immersive .fk-section-dark { background: transparent; }

body.fk-immersive .form-control,
body.fk-immersive .form-select {
    background: rgba(7, 18, 43, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e8f0ff;
}
body.fk-immersive .form-control:focus,
body.fk-immersive .form-select:focus {
    background: rgba(7, 18, 43, 0.8);
    border-color: rgba(42, 124, 247, 0.6);
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(42, 124, 247, 0.25);
}
body.fk-immersive .form-label { color: #b5d4ff; font-weight: 600; }
body.fk-immersive .btn-fk-primary { box-shadow: 0 6px 20px rgba(42, 124, 247, 0.35); }

.fk-skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: #2a7cf7;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    z-index: 99999;
    transition: top 0.2s ease;
}
.fk-skip-link:focus { top: 1rem; color: #fff; }

/* ============================================================
   9. MOBILE / PERF
   ============================================================ */

@media (max-width: 768px) {
    .fk-float-nav { padding: 0.35rem; }
    .fk-float-logo { width: 36px; height: 36px; }
    .fk-float-toggle { width: 36px; height: 36px; }
    .fk-float-label { display: none; }
    .fk-float-cta { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .fk-universe-content { padding: 4rem 1.2rem 7rem; }
    .fk-scroll-hint { bottom: 5rem; }
    .fk-deco-eq { height: 30vh; }
    .fk-deco-vinyl { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .fk-deco-eq .fk-eq-bar { animation: none; transform: scaleY(0.5); }
    .fk-deco-vinyl { animation: none; }
    .fk-bg-layer, .fk-universe-content { transition-duration: 0.3s; }
}

.fk-perf-low .fk-deco-eq .fk-eq-bar { animation: none; transform: scaleY(0.5); }
.fk-perf-low .fk-deco-vinyl { animation: none; opacity: 0 !important; }
.fk-perf-low .fk-deco-stars { display: none; }
.fk-perf-low #fk-loader.fk-loader-v2::before { animation: none; }
.fk-perf-low .fk-bg-layer { transition: opacity 0.3s linear; }

/* ============================================================
   9b. FULL LIQUID GLASS — Tous les composants passent en glass
        avec fines bordures bleu charte (sauf /admin)
   ============================================================ */

:root {
    /* Glass system neutre — plus de teinte bleue */
    --fk-glass-bg-light:    rgba(0, 0, 0, 0.22);
    --fk-glass-bg-med:      rgba(0, 0, 0, 0.38);
    --fk-glass-bg-strong:   rgba(0, 0, 0, 0.58);
    --fk-glass-bd:          1px solid rgba(255, 255, 255, 0.14);
    --fk-glass-bd-hover:    1px solid rgba(255, 255, 255, 0.32);
    --fk-glass-blur-soft:   blur(16px) saturate(170%);
    --fk-glass-blur:        blur(22px) saturate(180%);
    --fk-glass-blur-strong: blur(28px) saturate(200%);
    --fk-glass-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        inset 0 -1px 0 rgba(0, 0, 0, 0.12);
    --fk-glass-shadow-hover:
        0 14px 44px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* ─── CARDS TRACES (toutes pages) ─── */
body.fk-immersive .fk-trace-card,
body.fk-immersive a.fk-trace-card {
    background: var(--fk-glass-bg-med);
    backdrop-filter: var(--fk-glass-blur);
    -webkit-backdrop-filter: var(--fk-glass-blur);
    border: var(--fk-glass-bd);
    box-shadow: var(--fk-glass-shadow);
    border-radius: 18px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}
body.fk-immersive .fk-trace-card:hover {
    border: var(--fk-glass-bd-hover);
    box-shadow: var(--fk-glass-shadow-hover);
}

/* ─── BADGES (compétence + type) — glass tinté ─── */
body.fk-immersive .fk-badge-comp,
body.fk-immersive .fk-badge-type,
body.fk-immersive .fk-immat,
body.fk-immersive .fk-badge-comp-Comprendre,
body.fk-immersive .fk-badge-comp-Concevoir,
body.fk-immersive .fk-badge-comp-Exprimer,
body.fk-immersive .fk-badge-comp-Développer,
body.fk-immersive .fk-badge-comp-Entreprendre {
    background: var(--fk-glass-bg-med);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
body.fk-immersive .fk-immat {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Consolas', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ─── INPUTS / SELECT / TEXTAREA — glass field ─── */
body.fk-immersive .form-control,
body.fk-immersive .form-select,
body.fk-immersive textarea.form-control {
    background: var(--fk-glass-bg-light);
    backdrop-filter: var(--fk-glass-blur-soft);
    -webkit-backdrop-filter: var(--fk-glass-blur-soft);
    border: var(--fk-glass-bd);
    color: #e8f0ff;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
body.fk-immersive .form-control:hover,
body.fk-immersive .form-select:hover {
    background: rgba(7, 18, 43, 0.32);
}
body.fk-immersive .form-control:focus,
body.fk-immersive .form-select:focus {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.2);
    color: #fff;
}
body.fk-immersive .form-control::placeholder { color: rgba(255, 255, 255, 0.4); }
body.fk-immersive .form-label { color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.02em; }

/* ─── BOUTONS — full glass ─── */
body.fk-immersive .btn-fk-primary {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: var(--fk-glass-blur-soft);
    -webkit-backdrop-filter: var(--fk-glass-blur-soft);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    color: #000;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
body.fk-immersive .btn-fk-primary:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    color: #000;
}
body.fk-immersive .fk-btn-outline {
    background: var(--fk-glass-bg-light);
    backdrop-filter: var(--fk-glass-blur-soft);
    -webkit-backdrop-filter: var(--fk-glass-blur-soft);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 999px;
    padding: 0.65rem 1.4rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
body.fk-immersive .fk-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

/* ─── ALERTES (success / danger / info) ─── */
body.fk-immersive .fk-alert {
    backdrop-filter: var(--fk-glass-blur);
    -webkit-backdrop-filter: var(--fk-glass-blur);
    border: var(--fk-glass-bd);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    box-shadow: var(--fk-glass-shadow);
}
body.fk-immersive .fk-alert-success {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(110, 231, 183, 0.35);
    color: #6ee7b7;
}
body.fk-immersive .fk-alert-danger {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(252, 165, 165, 0.35);
    color: #fca5a5;
}
body.fk-immersive .fk-alert-info {
    background: rgba(42, 124, 247, 0.18);
    border-color: rgba(79, 195, 247, 0.35);
    color: #a8c8ff;
}

/* ─── CARDS génériques (.fk-card) ─── */
body.fk-immersive .fk-card {
    background: var(--fk-glass-bg-med);
    backdrop-filter: var(--fk-glass-blur);
    -webkit-backdrop-filter: var(--fk-glass-blur);
    border: var(--fk-glass-bd);
    box-shadow: var(--fk-glass-shadow);
    border-radius: 18px;
}

/* ─── PILLS / STATS / IMMAT — glass micro ─── */
body.fk-immersive .fk-traces-stats,
body.fk-immersive .fk-hero-stat,
body.fk-immersive .fk-hero-socials,
body.fk-immersive .fk-filter-pill {
    background: var(--fk-glass-bg-light);
    backdrop-filter: var(--fk-glass-blur-soft);
    -webkit-backdrop-filter: var(--fk-glass-blur-soft);
    border: var(--fk-glass-bd);
}

/* ─── EXCLUSION admin (le user veut pas de glass sur /admin) ─── */
body.fk-immersive[class*="admin"] .fk-card,
body.fk-immersive[class*="admin"] .form-control,
body.fk-immersive[class*="admin"] .btn-fk-primary {
    /* l'admin garde son style original */
}

/* ─── Détail d'une trace (page trace.php) : panel glass ─── */
body.fk-immersive .trace-detail-panel,
body.fk-immersive .fk-section-dark .fk-card {
    background: var(--fk-glass-bg-strong);
    backdrop-filter: var(--fk-glass-blur-strong);
    -webkit-backdrop-filter: var(--fk-glass-blur-strong);
    border: var(--fk-glass-bd);
    box-shadow: var(--fk-glass-shadow);
}

/* ─── PAGES INTERNES : tout flotte sur la photo de fond globale ─── */
body.fk-immersive:not(.fk-home) #main-content {
    position: relative;
}

/* Conteneur principal devient un GROS glass panel (style cleo) */
body.fk-immersive:not(.fk-home) #main-content .container {
    background: var(--fk-glass-bg-med);
    backdrop-filter: var(--fk-glass-blur);
    -webkit-backdrop-filter: var(--fk-glass-blur);
    border: var(--fk-glass-bd);
    border-radius: 28px;
    box-shadow: var(--fk-glass-shadow);
    padding: 2.5rem 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    position: relative;
    isolation: isolate;
}
body.fk-immersive:not(.fk-home) #main-content .container::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
    border-radius: 28px 28px 0 0;
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 768px) {
    body.fk-immersive:not(.fk-home) #main-content .container {
        padding: 1.8rem 1.2rem;
        border-radius: 22px;
    }
}

/* Titres des pages internes : style sobre dans glass */
body.fk-immersive:not(.fk-home) h1,
body.fk-immersive:not(.fk-home) h2,
body.fk-immersive:not(.fk-home) h3 {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Section dark : enlève le fond solide (le glass parent suffit) */
body.fk-immersive:not(.fk-home) .fk-section-dark {
    background: transparent !important;
}
body.fk-immersive:not(.fk-home) .fk-section {
    background: transparent;
    padding: 1.5rem 0;
}

/* Cards traces sur pages internes : double glass acceptable */
body.fk-immersive:not(.fk-home) .fk-trace-card {
    background: var(--fk-glass-bg-med);
    backdrop-filter: var(--fk-glass-blur-soft);
    -webkit-backdrop-filter: var(--fk-glass-blur-soft);
}

/* Inputs sur pages internes : encore plus transparent pour effet glass-on-glass */
body.fk-immersive:not(.fk-home) .form-control,
body.fk-immersive:not(.fk-home) .form-select {
    background: rgba(7, 18, 43, 0.35);
}
body.fk-immersive:not(.fk-home) .form-control:focus,
body.fk-immersive:not(.fk-home) .form-select:focus {
    background: rgba(7, 18, 43, 0.6);
}

/* ============================================================
   10. PERFORMANCE
   ============================================================ */

.fk-universe { content-visibility: auto; contain-intrinsic-size: 100vh; }

/* GPU hint */
.fk-bg-layer,
.fk-deco-stars,
.fk-deco-eq,
.fk-deco-vinyl,
.fk-deco-grain,
.fk-universe-content { transform: translateZ(0); backface-visibility: hidden; }
