/* ===== VARIABLES COULEURS CANDY POP ===== */
:root {
    --violet: #9B5DE5;
    --rose: #F15BB5;
    --jaune: #FEE440;
    --cyan: #00BBF9;
    --turquoise: #00F5D4;

    --bg-main: #050509;
    --bg-alt: #090915;
    --bg-deep: #05030C;
    --text-main: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.7);

    --glass-bg: rgba(7, 10, 25, 0.72);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-border-strong: rgba(255, 255, 255, 0.25);
}

/* ===== VOILE NOIR & BLANC GLOBAL ===== */

.site-main {
    position: relative;
}

/* Voile N&B global puissant */
.site-main::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, 0); /* transparent, juste pour couvrir tout le site */
    z-index: 100;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Quand Sparkles est activé ✨ */
body.enchanted .site-main::after {
    opacity: 0;
}

/* N&B global (site non enchanté) */
body:not(.enchanted) .site-main {
    filter: grayscale(1) brightness(0.85) contrast(1.1);
}

/* Quand Sparkles est activé ✨ */
body.enchanted .site-main {
    filter: none;
}

body .site-main {
    transition: filter 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(155, 93, 229, 0.25), transparent 60%),
        radial-gradient(circle at bottom right, rgba(0, 245, 212, 0.25), transparent 65%),
        linear-gradient(135deg, #050509 0%, #05030C 50%, #090915 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    filter: brightness(1.05) contrast(1.05);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    width: clamp(350px, 50vw, 850px) !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 24px !important;

    filter:
        drop-shadow(0 14px 40px rgba(0, 0, 0, 0.7))
        drop-shadow(0 0 40px rgba(155, 93, 229, 0.55))
        drop-shadow(0 0 70px rgba(241, 91, 181, 0.45));

    transform: translateY(20px);
    animation: titleSlide 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-main);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: subtitleSlide 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
    letter-spacing: 0.03em;
    text-shadow: 0 0 18px rgba(0, 191, 249, 0.35);
}

.scroll-down {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(7, 10, 25, 0.9), rgba(7, 7, 18, 0.96));
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
    opacity: 0;
    animation: scrollFade 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.4s both;
    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(0, 191, 249, 0.45);
}

.scroll-down::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(155, 93, 229, 0.3), transparent 60%);
    opacity: 0.7;
    mix-blend-mode: screen;
}

.scroll-down img {
    position: relative;
    width: 24px;
    height: 24px;
    display: block;
    filter: brightness(0) invert(1);
    z-index: 1;
}

.scroll-down:hover {
    background: linear-gradient(135deg, rgba(155, 93, 229, 0.3), rgba(0, 191, 249, 0.4));
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateX(-50%) translateY(-4px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.85),
        0 0 35px rgba(0, 245, 212, 0.7);
}

.scroll-down:active {
    transform: translateX(-50%) scale(0.95);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes subtitleSlide {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== NEXT SECTION (simple) ===== */
.next-section {
    min-height: 50vh;
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    text-align: center;
}

.next-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    color: var(--text-main);
    margin: 0 0 20px 0;
}

.next-section p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 24px;
    }

    .hero-title {
        letter-spacing: -0.03em;
    }

    .scroll-down {
        bottom: 40px;
        padding: 14px;
    }

    .scroll-down img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0 20px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ===== PAPILLONS MAGNÉTIQUES ULTRA FLUIDES & INTERACTIFS ===== */
.butterflies {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.butterfly {
    position: absolute;
    width: 80px;
    height: 80px;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);

    opacity: 0.9;
    filter:
        drop-shadow(0 6px 20px rgba(0, 0, 0, 0.9))
        drop-shadow(0 0 30px rgba(241, 91, 181, 0.8))
        drop-shadow(0 0 55px rgba(0, 245, 212, 0.85));

    transition:
        transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
        opacity 0.35s ease-out,
        filter 0.35s ease-out;

    will-change: transform, opacity, filter;
    pointer-events: auto;
}

/* Positions et animations de base */
.butterfly:nth-child(1) {
    --base-x: 25%;
    --base-y: 25%;
    animation:
        drift1 14s ease-in-out infinite alternate,
        flutter 1.4s ease-in-out infinite;
}

.butterfly:nth-child(2) {
    --base-x: 75%;
    --base-y: 20%;
    animation:
        drift2 18s ease-in-out infinite alternate,
        flutter 1.6s ease-in-out infinite 0.2s;
}

.butterfly:nth-child(3) {
    --base-x: 15%;
    --base-y: 65%;
    animation:
        drift3 16s ease-in-out infinite alternate,
        flutter 1.5s ease-in-out infinite 0.4s;
}

.butterfly:nth-child(4) {
    --base-x: 85%;
    --base-y: 55%;
    animation:
        drift4 20s ease-in-out infinite alternate,
        flutter 1.7s ease-in-out infinite 0.6s;
}

/* Animations de flottement naturel */
@keyframes drift1 {
    0%   { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); }
    25%  { transform: translate(-50%, -50%) translate(10px, -20px) rotate(6deg); }
    50%  { transform: translate(-50%, -50%) translate(-8px, -10px) rotate(-4deg); }
    75%  { transform: translate(-50%, -50%) translate(14px, -5px) rotate(8deg); }
    100% { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); }
}

@keyframes drift2 {
    0%   { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); }
    33%  { transform: translate(-50%, -50%) translate(-14px, -18px) rotate(-5deg); }
    66%  { transform: translate(-50%, -50%) translate(10px, -8px) rotate(7deg); }
    100% { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); }
}

@keyframes drift3 {
    0%   { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); }
    50%  { transform: translate(-50%, -50%) translate(18px, -10px) rotate(10deg); }
    100% { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); }
}

@keyframes drift4 {
    0%   { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); }
    40%  { transform: translate(-50%, -50%) translate(-16px, -20px) rotate(-7deg); }
    80%  { transform: translate(-50%, -50%) translate(12px, -12px) rotate(5deg); }
    100% { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); }
}

/* Battement d'ailes subtil */
@keyframes flutter {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.06) rotate(2deg);
    }
}

/* EFFET HOVER MAGIQUE */
.butterfly:hover {
    animation-play-state: paused;

    opacity: 1;
    filter:
        drop-shadow(0 12px 40px rgba(0, 0, 0, 1))
        drop-shadow(0 0 55px rgba(155, 93, 229, 1))
        drop-shadow(0 0 85px rgba(241, 91, 181, 1));

    transform:
        translate(-50%, -50%)
        translate(0, -14px)
        scale(1.26)
        rotate(8deg);

    transition:
        transform 0.25s cubic-bezier(0.68, -0.55, 0.265, 1.55),
        filter 0.25s ease-out,
        opacity 0.25s ease-out;
}

.butterfly:not(:hover) {
    transition:
        transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1),
        filter 0.35s ease-out,
        opacity 0.35s ease-out;
}

/* RESPONSIVE PAPILLONS */
@media (max-width: 1024px) {
    .butterfly { width: 65px; height: 65px; }
}

@media (max-width: 768px) {
    .butterfly { width: 55px; height: 55px; }
}

@media (max-width: 480px) {
    .butterfly { width: 42px; height: 42px; }
}

/* ===== SECTION PROJET À 2 COLONNES ===== */
.next-section {
    min-height: 100vh;
    padding: 120px 5% 100px;
    background:
        radial-gradient(circle at top left, rgba(155, 93, 229, 0.35), transparent 55%),
        radial-gradient(circle at bottom right, rgba(0, 245, 212, 0.3), transparent 60%),
        linear-gradient(135deg, #050509 0%, #05030C 50%, #090915 100%);
    position: relative;
    overflow: hidden;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.content-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    text-align: left;
    align-items: flex-start;
}

.project-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--violet), var(--rose), var(--jaune));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
    font-family: 'Outfit', bold;
    text-shadow:
        0 0 30px rgba(155, 93, 229, 0.7),
        0 0 40px rgba(241, 91, 181, 0.4);
}

.project-description {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    color: var(--text-main);
    max-width: 500px;
    margin: 0;
    text-align: left;
    text-shadow: 0 0 16px rgba(0, 0, 0, 0.9);
}

.project-btn {
    display: inline-flex;
    font-family: 'Outfit', bold;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(7, 10, 25, 0.8);
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    backdrop-filter: blur(22px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: fit-content;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(0, 191, 249, 0.4);
}

.project-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(155, 93, 229, 0.7), rgba(0, 191, 249, 0.7));
    opacity: 0.7;
    transition: left 0.6s;
    mix-blend-mode: screen;
}

.project-btn:hover::before {
    left: 120%;
}

.project-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease-out;
}

.project-btn:hover {
    border-color: var(--glass-border-strong);
    background: rgba(7, 10, 25, 0.9);
    transform: translateY(-3px);
    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(0, 245, 212, 0.8);
}

.project-btn:hover img {
    transform: translateX(6px);
}

/* IMAGE NOIR & BLANC → COULEUR AU HOVER */
.content-right {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image-link {
    position: relative;
    display: block;
    width: 100%;
    height: 500px;
    max-width: 600px;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: radial-gradient(circle at top, rgba(155, 93, 229, 0.35), transparent 55%);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.project-image-link:hover .project-image {
    filter: grayscale(0%) contrast(1.08) brightness(1.05) saturate(1.15);
    transform: scale(1.03);
}

.project-image-link:hover {
    transform: translateY(-10px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 55px rgba(0, 191, 249, 0.75);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.14) 50%, transparent 75%);
    opacity: 0;
    transition: opacity 0.4s ease-out;
    pointer-events: none;
}

.project-image-link:hover .image-overlay {
    opacity: 1;
    animation: shimmer 1.5s infinite;
}

/* Shimmer (réutilisé) */
@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* RESPONSIVE SECTION PROJET */
@media (max-width: 1024px) {
    .project-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .content-right {
        order: -1;
    }

    .project-image-link {
        height: 400px;
    }

    .project-description {
        text-align: center;
        margin-inline: auto;
    }

    .project-btn {
        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    .next-section {
        padding: 80px 5% 60px;
    }

    .project-image-link {
        height: 300px;
        border-radius: 16px;
    }
}

/* ===== SECTION IMMERSIVE OEUVRES ===== */
.immersive-scroll-section {
    position: relative;
    height: 500vh;
    background:
        radial-gradient(circle at top left, rgba(155, 93, 229, 0.35), transparent 60%),
        radial-gradient(circle at top right, rgba(0, 191, 249, 0.35), transparent 65%),
        radial-gradient(circle at bottom, rgba(0, 245, 212, 0.35), transparent 70%),
        #050509;
}

.scroll-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.vertical-scroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease;
}

.vertical-scroll.hidden {
    opacity: 0;
    pointer-events: none;
}

.main-oeuvre {
    position: relative;
    width: 20vh;
    height: 20vh;
    transition: width 0.1s ease-out, height 0.1s ease-out;
    cursor: default;
    overflow: hidden;
    border-radius: 14px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 20px 60px rgba(0, 0, 0, 0.8);
    background: radial-gradient(circle at top, rgba(155, 93, 229, 0.4), rgba(0, 0, 0, 0.95));
}

.main-oeuvre img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.8s ease;
}

.main-oeuvre.zoomed img {
    filter: grayscale(0%);
}

.main-oeuvre.zoomed {
    cursor: pointer;
}

.main-oeuvre .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7));
    opacity: 1;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.main-oeuvre.zoomed .overlay {
    opacity: 0;
}

.main-oeuvre .oeuvre-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.main-oeuvre.zoomed .oeuvre-link {
    pointer-events: auto;
}

/* ===== SCROLL HORIZONTAL ===== */
.horizontal-scroll {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease;
    overflow: hidden;
}

.horizontal-scroll.visible {
    opacity: 1;
    pointer-events: auto;
}

.oeuvres-carousel {
    display: flex;
    gap: 8rem;
    align-items: center;
    padding: 0 10%;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Première oeuvre dans le carousel (clone de la main-oeuvre) */
.oeuvre-item.first {
    width: 60vh;
    height: 60vh;
}

.oeuvre-item {
    position: relative;
    width: 60vh;
    height: 60vh;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 18px;
    cursor: default;
    transition: transform 0.5s ease, filter 0.8s ease, box-shadow 0.5s ease;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 30px 90px rgba(0, 0, 0, 0.9);
    background:
        radial-gradient(circle at top, rgba(155, 93, 229, 0.4), transparent 60%),
        radial-gradient(circle at bottom, rgba(0, 245, 212, 0.35), transparent 60%);
}

.oeuvre-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.8s ease;
}

.oeuvre-item.grayscale img {
    filter: grayscale(100%);
}

.oeuvre-item:not(.grayscale) {
    cursor: pointer;
}

.oeuvre-item:not(.grayscale) img {
    filter: grayscale(0%);
}

.oeuvre-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.55), transparent 80%);
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.oeuvre-item:not(.grayscale) .overlay {
    opacity: 0;
}

.oeuvre-item .oeuvre-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.oeuvre-item:not(.grayscale) .oeuvre-link {
    pointer-events: auto;
}

/* Animation de mise en avant */
.oeuvre-item.active {
    transform: scale(1.05);
    z-index: 10;
    box-shadow:
        0 40px 110px rgba(0, 0, 0, 1),
        0 0 65px rgba(0, 191, 249, 0.9);
}

/* ===== CTA FINAL IMMERSIF ===== */
.final-cta {
    position: absolute;
    font-family: 'Outfit', bold;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.2s ease;
    z-index: 100;
    background: radial-gradient(circle at center, rgba(155, 93, 229, 0.3) 0%, rgba(5, 5, 12, 0.96) 70%);
}

.final-cta.visible {
    opacity: 1;
    pointer-events: auto;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
        rgba(155, 93, 229, 0.45) 0%,
        rgba(241, 91, 181, 0.25) 40%,
        transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.55;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.9;
    }
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
    padding: 0 2rem;
    color: var(--text-main);
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(
        135deg,
        var(--violet) 0%,
        var(--rose) 30%,
        var(--jaune) 55%,
        var(--cyan) 80%,
        var(--turquoise) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerTitle 3s ease-in-out infinite;
    background-size: 250% 250%;
    text-shadow:
        0 0 35px rgba(155, 93, 229, 0.8),
        0 0 45px rgba(241, 91, 181, 0.7);
}

@keyframes shimmerTitle {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.btn-vers-archives {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.8rem 3.5rem;
    background: rgba(7, 10, 25, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: white;
    text-decoration: none;
    border-radius: 60px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.85),
        0 0 40px rgba(155, 93, 229, 0.7);
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

/* Gradient animé en arrière-plan */
.btn-vers-archives::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 140%;
    height: 100%;
    background: linear-gradient(120deg,
        rgba(155, 93, 229, 0.65),
        rgba(241, 91, 181, 0.7),
        rgba(254, 228, 64, 0.7),
        rgba(0, 191, 249, 0.7),
        rgba(0, 245, 212, 0.7)
    );
    opacity: 0.0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Effet de lumière qui traverse */
.btn-vers-archives::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.7s ease;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.btn-vers-archives:hover::before {
    opacity: 1;
}

.btn-vers-archives:hover::after {
    left: 120%;
}

.btn-vers-archives:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(7, 10, 25, 0.98);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 1),
        0 0 70px rgba(0, 245, 212, 0.9),
        0 0 50px rgba(254, 228, 64, 0.9);
    animation-play-state: paused;
}

.btn-vers-archives:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.btn-vers-archives:hover .btn-arrow {
    transform: translateX(5px);
}

/* Particules magiques autour du CTA */
.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--cyan), var(--turquoise));
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 20%;
    top: 30%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 80%;
    top: 40%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    left: 50%;
    top: 20%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    left: 30%;
    top: 70%;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    left: 70%;
    top: 65%;
    animation-delay: 0.5s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-30px) scale(1.6);
        opacity: 1;
    }
}
