:root {
    --bg-color: #010005;
    --text-color: #FAFAFA;
    --accent-purple: #4000FF; 
    --accent-light: #7A4EFF;
    
    --font-headline: orpheuspro, serif; 
    --font-text: spectral, sans-serif; 
    --font-weight-thin: 200; 
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none !important; }

html:focus-within {
    filter: none !important;
}

*:focus {
    outline: none !important;
    box-shadow: none !important;
    filter: none !important;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100vw;
    min-height: 100vh;
    /* On remet le comportement par défaut */
    overflow-x: hidden;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    display: none;
}

html {
    overflow-y: scroll;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

/* --- ANIMATIONS --- */
@keyframes luxeReveal { 0% { opacity: 0; transform: translateY(50px) scale(0.98); filter: blur(15px); } 100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes luxeSlideDown { 0% { opacity: 0; transform: translateY(-40px); filter: blur(10px); } 100% { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes navReveal { 0% { opacity: 0; transform: translate(-50%, 50px) scale(0.9); filter: blur(10px); } 100% { opacity: 1; transform: translate(-50%, 0) scale(1); filter: blur(0); } }
@keyframes typeText { from { opacity: 0; width: 0; } to { opacity: 1; width: 145px; } }
@keyframes growLine { from { width: 0; } to { width: 500px; } }
@keyframes growLineVertical { from { opacity: 0; height: 0; } to { opacity: 0.5; height: 30px; } }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 25% { transform: translate(8px, -8px); } 50% { transform: translate(-5px, 8px); } 75% { transform: translate(5px, 5px); } }

/* --- UI FIXE --- */
.top-header { position: fixed; top: 40px; width: 100%; display: flex; justify-content: center; z-index: 100; opacity: 0; animation: luxeSlideDown 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.1s; pointer-events: none; }
.logo { pointer-events: auto; }
.logo { text-decoration: none; display: block; }
.logo img { width: 55px; height: auto; display: block; }

.floating-nav { position: fixed; bottom: 50px; left: 50%; transform: translateX(-50%); background: rgba(20, 20, 20, 0.9); border: 1px solid rgba(255, 255, 255, 0.1); padding: 6px; border-radius: 3px; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.3); opacity: 0; animation: navReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 1.0s; }
.floating-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.floating-nav a { text-decoration: none; color: rgba(255, 255, 255, 0.6); font-family: var(--font-text); font-size: 16px; font-weight: 400; padding: 12px 20px; border-radius: 3px; transition: all 0.3s ease; display: block; line-height: 1; }
.floating-nav a.active { background: var(--accent-purple); color: #FFFFFF; box-shadow: 0 4px 15px rgba(64, 0, 255, 0.4); font-weight: 500; }
.floating-nav a:hover:not(.active) { background-color: rgba(255, 255, 255, 0.05); color: #FFFFFF; text-shadow: 0 0 12px rgba(255, 255, 255, 0.6); }

.phone-contact-btn {
    position: absolute;
    top: 40px;
    right: 4%;
    width: 40px;
    height: 40px;
    border: 1.5px solid #FAFAFA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FAFAFA;
    text-decoration: none;
    z-index: 10;
    transition: all 0.3s ease;
}

.phone-contact-btn:hover {
    background: #4000FF;
    border-color: #4000FF;
    color: #FAFAFA;
}

.phone-contact-btn i {
    font-size: 16px;
}

/* --- HERO SECTION --- */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.canvas-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
#waveCanvas { width: 100%; height: 100%; will-change: transform; filter: blur(40px); opacity: 1; }

.hero-content { 
    z-index: 5; 
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
}

.hero-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.welcome-text { 
    font-family: var(--font-headline); 
    font-size: 4rem; 
    font-weight: 400; 
    font-style: italic; 
    display: block; 
    margin-bottom: -15px; 
    margin-top: -10px;
    color: #906CFF;
    line-height: 1; 
    font-synthesis: none; 
    text-rendering: optimizeLegibility; 
    opacity: 0; 
    animation: luxeReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    animation-delay: 0.3s;
}
.welcome-text .letter-w { font-feature-settings: "swsh" 1; display: inline; }
.welcome-text .letter-l { font-feature-settings: "ss04" 1; display: inline; }

.headline { 
    font-family: var(--font-headline); 
    font-size: 5.5rem; 
    line-height: 0.9; 
    font-weight: 400; 
    margin-bottom: 0; 
    margin-top: -10px;
    opacity: 0; 
    animation: luxeReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    animation-delay: 0.5s; 
}

.hero-bottom { 
    position: absolute; 
    bottom: 50px; 
    right: 4%; 
    display: flex; 
    align-items: flex-end; 
    justify-content: flex-end; 
    pointer-events: none; 
    z-index: 10;
}

.scroll-indicator { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 8px; 
    font-family: var(--font-text); 
    font-weight: var(--font-weight-thin); 
    font-size: 18px; 
    color: var(--text-color); 
    opacity: 0; 
    animation: luxeReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    animation-delay: 0.7s; 
    position: relative;
    margin-top: 40px;
}
.scroll-indicator span { 
    display: block; 
    overflow: hidden; 
    white-space: nowrap; 
    opacity: 0;
    animation: typeText 1.5s steps(30, end) forwards; 
    animation-delay: 2s; 
}
.scroll-indicator .line { 
    width: 1px; 
    height: 30px; 
    background-color: var(--text-color); 
    opacity: 0; 
    animation: growLineVertical 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    animation-delay: 3.5s; 
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.project-card { 
    pointer-events: auto; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    opacity: 0; 
    animation: luxeReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    animation-delay: 0.8s; 
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover {
    transform: translateY(-6px);
}
.project-card:hover .card-visual {
    border-color: rgba(255, 255, 255, 0.6);
}
.project-label { 
    font-family: var(--font-text); 
    font-weight: var(--font-weight-thin); 
    font-size: 18px; 
    color: var(--text-color); 
    line-height: 1; 
}
.card-visual { 
    width: 280px; 
    height: 160px; 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    border-radius: 3px; 
    overflow: hidden; 
    background: #000; 
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.card-visual img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.8; 
    transition: opacity 0.3s ease; 
}
.card-visual:hover img { opacity: 1; }

/* --- PASSION SECTION --- */
#passion {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 4%;
    background-color: var(--bg-color);
    position: relative;
}

#sphere-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

#sphere-container canvas {
    display: block;
}

.section-title {
    font-family: orpheuspro, serif;
    font-size: 5.5rem;
    line-height: 0.61;
    font-weight: 400;
    color: var(--text-color);
    text-align: left;
    font-feature-settings: "salt" 1;
    position: absolute;
    left: 14%;
    top: 25%;
    z-index: 2;
    max-width: 800px;
}

.section-title .highlight {
    color: #7A4EFF;
    max-width: 600px;
    position: relative;
    z-index: 2;
    margin-left: 4%;
}

.passion-btn {
    position: absolute;
    left: 14%;
    top: calc(14% + 17rem);
    background: #4000FF;
    color: #FFFFFF;
    border: none;
    padding: 13px 18px;
    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 400;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 21px rgba(64, 0, 255, 0.3);
    letter-spacing: 1px;
    z-index: 2;
    text-decoration: none;
}

.passion-btn:hover {
    background: #2d00b8;
    box-shadow: 0 13px 34px rgba(64, 0, 255, 0.5);
    transform: translateY(-3px);
}

/* --- LABELS --- */
.label-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 13px;
    opacity: 0;
    animation: luxeReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, float 8s ease-in-out 1.5s infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 3px;
    width: fit-content;
}

.label-item.sound-design {
    left: 21%;
    top: 76%;
    animation-delay: 1.2s, 1.8s;
}

.label-item.web-design {
    left: 68%;
    top: 13%;
    animation-delay: 1.2s, 2.5s;
}

.label-item.branding {
    left: 76%;
    top: 34%;
    animation-delay: 1.2s, 3.2s;
}

.label-item.photography {
    left: 76%;
    top: 55%;
    animation-delay: 1.2s, 4s;
}

.label-item.video-editing {
    left: 68%;
    top: 76%;
    animation-delay: 1.2s, 4.8s;
}

.label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7A4EFF;
    flex-shrink: 0;
    position: relative;
    --line-angle: -25deg;
}

.label-dot::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 1px;
    background: linear-gradient(to right, #7A4EFF, rgba(122, 78, 255, 0));
    left: 6px;
    top: 50%;
    transform: translateY(-50%) rotate(var(--line-angle));
    transform-origin: left center;
    pointer-events: none;
}

.label-text {
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-transform: capitalize;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* --- SELECTED WORKS SECTION --- */
#selected-works {
    width: 100%;
    min-height: 100vh;
    padding: 20px 4% 80px 4%;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 120px;
}

@keyframes bandFlow {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.band {
    position: absolute;
    z-index: -1;
    width: 300vw;
    height: 160px;
    opacity: 0;
    left: -100vw;
    filter: blur(30px);
}

.band-1 {
    background: #4000FF;
    border-radius: 0;
    top: 35%;
}

.band-2 {
    background: #7A4EFF;
    border-radius: 0;
    top: 45%;
}

.band-3 {
    background: #906CFF;
    border-radius: 0;
    top: 55%;
}

.works-title {
    font-family: orpheuspro, serif;
    font-size: 5.5rem;
    line-height: 0.9;
    font-weight: 400;
    color: #FAFAFA;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.work-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.work-card:hover {
    transform: translateY(-8px);
}

.work-image {
    width: 100%;
    height: 280px;
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #000;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-image img {
    opacity: 1;
    transform: scale(1.05);
}

.work-info {
    position: relative;
    padding: 8px 0;
    z-index: 2;
}

.work-name {
    font-family: var(--font-headline);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 3px;
}

.work-tags {
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* --- CONTACT SECTION --- */
#contact {
    width: 100%;
    min-height: 100vh;
    padding: 80px 4%;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.contact-title {
    font-family: var(--font-headline);
    font-size: 5.5rem;
    line-height: 0.9;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 20px;
}

.contact-subtitle {
    font-family: var(--font-text);
    font-size: 24px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 80px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px;
    margin-bottom: 100px;
}

.contact-item h3 {
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: 13px;
}

.contact-item a,
.contact-item p {
    font-family: var(--font-text);
    font-size: 18px;
    font-weight: 300;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-purple);
}

.contact-socials {
    display: flex;
    gap: 34px;
    justify-content: center;
}

.social-link {
    font-family: var(--font-text);
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    padding-bottom: 5px;
}

.social-link:hover {
    color: var(--accent-purple);
    border-bottom: 1px solid var(--accent-purple);
}

/* --- RESPONSIVE --- */

/* Tablette */
@media (max-width: 1024px) {
    .welcome-text { font-size: 3rem; }
    .headline { font-size: 4rem; }
    
    .section-title { font-size: 6rem; left: 8%; top: 8%; }
    .passion-btn { left: 8%; top: calc(8% + 14rem); }
    
    .label-item.sound-design { left: 13%; top: 72%; }
    .label-item.web-design { left: 68%; top: 13%; }
    .label-item.branding { left: 76%; top: 34%; }
    .label-item.photography { left: 76%; top: 55%; }
    .label-item.video-editing { left: 68%; top: 76%; }
    
    .works-title { font-size: 4.5rem; }
    .works-grid { grid-template-columns: repeat(2, 1fr); gap: 21px; }
    .work-image { min-height: 350px; }
}

/* Mobile */
@media (max-width: 768px) {
    .top-header { top: 21px; }
    .logo img { width: 55px; }
    
    .floating-nav { bottom: 21px; padding: 8px; left: 50%; transform: translateX(-50%); width: auto; }
    .floating-nav ul { justify-content: center; gap: 4px; }
    .floating-nav a { font-size: 19px; padding: 14px 26px; }
    
    .phone-contact-btn { 
        width: 44px; 
        height: 44px; 
        font-size: 18px;
        top: 21px;
        right: 21px;
    }

    /* --- HERO MOBILE --- */
    #hero {
        justify-content: flex-start;
        padding-top: 180px;
    }

    .hero-content {
        flex: none;
    }
    
    .welcome-text { font-size: 2.4rem; margin-bottom: -8px; }
    .headline { font-size: 3.8rem; line-height: 1.05; }
    
    .scroll-indicator { margin-top: 120px; margin-bottom: 0; }
    .scroll-indicator span { font-size: 16px; }
    
    .hero-bottom { 
        position: absolute;
        bottom: 110px;
        left: 0;
        right: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 0 21px;
    }
    
    .project-card { 
        align-items: flex-start;
        width: 100%;
    }
    .project-label { font-size: 14px; }
    .card-visual { 
        width: 100%; 
        height: auto;
        aspect-ratio: 16 / 9;
    }
    
    /* --- PASSION SECTION MOBILE --- */
    #passion { 
        padding: 0;
        justify-content: center;
        align-items: center;
    }

    .section-title { 
        position: absolute;
        left: 50%;
        top: 18%;
        transform: translateX(-50%);
        font-size: 4rem; 
        text-align: center;
        line-height: 0.75;
        z-index: 2;
        white-space: nowrap;
    }

    .section-title .highlight {
        margin-left: 0;
    }
    
    .passion-btn { 
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: 24%;
        font-size: 15px;
        padding: 12px 22px;
        z-index: 2;
        width: auto;
        height: auto;
        align-self: center;
        min-height: 0;
    }
    
    .label-item { 
        padding: 5px 10px;
        gap: 8px;
        display: flex;
        opacity: 1;
        animation: float 8s ease-in-out infinite;
        z-index: 3;
    }

    .label-dot::after {
        width: 150px;
    }
    
    .label-text { font-size: 11px; }
    .label-dot { width: 5px; height: 5px; }
    
    .label-item.sound-design { left: 5%; top: auto; bottom: 30%; right: auto; animation-delay: 0s; }
    .label-item.web-design { left: auto; right: 3%; top: 36%; animation-delay: 1s; }
    .label-item.branding { left: auto; right: 3%; top: 46%; animation-delay: 2s; }
    .label-item.photography { left: auto; right: 3%; top: 56%; animation-delay: 3s; }
    .label-item.video-editing { left: auto; right: 3%; top: 66%; animation-delay: 4s; }
    
    #selected-works { padding: 90px 5% 75px; height: 100vh; overflow-y: auto; -webkit-overflow-scrolling: touch; justify-content: center; align-items: center; }
    .works-title { font-size: 3.8rem; margin-bottom: 32px; }
    .works-grid { 
        grid-template-columns: 1fr; 
        gap: 6px;
        max-width: 100%;
    }
    
    .work-image { min-height: 0; height: auto; aspect-ratio: 2.2/1; }
    .work-image img { height: 100%; }
    .work-info { position: relative; bottom: auto; left: auto; padding: 3px 0; }
    .work-name { font-size: 12px; }
    .work-tags { font-size: 9px; }

    /* --- CONTACT SECTION MOBILE --- */
    #contact { padding: 80px 8% 100px; align-items: center; justify-content: center; }
    .contact-container { text-align: center; }
    .contact-title { font-size: 5rem; margin-bottom: 14px; }
    .contact-subtitle { font-size: 22px; margin-bottom: 80px; }
    .contact-info { 
        grid-template-columns: 1fr; 
        gap: 55px; 
        margin-bottom: 80px;
        text-align: center;
    }
    .contact-item h3 { font-size: 16px; letter-spacing: 2.5px; margin-bottom: 10px; }
    .contact-item a,
    .contact-item p { font-size: 20px; }
    .contact-socials { justify-content: center; margin-top: 10px; }
    .social-link { font-size: 40px; }
}

/* Petits mobiles */
@media (max-width: 480px) {
    .logo img { width: 50px; }
    
    .welcome-text { font-size: 2rem; }
    .headline { font-size: 2.5rem; }
    
    .section-title { font-size: 3rem; }
    
    .passion-btn { 
        font-size: 14px;
        padding: 10px 20px;
        top: auto;
        bottom: 22%;
    }

    .label-text { font-size: 10px; }
    
    .works-title { font-size: 2.5rem; }
    .work-image { min-height: 0; }
    .work-name { font-size: 13px; }

    .contact-title { font-size: 4rem; }
    .contact-subtitle { font-size: 18px; margin-bottom: 60px; }
    .contact-info { gap: 40px; margin-bottom: 60px; }
    .contact-item h3 { font-size: 14px; }
    .contact-item a,
    .contact-item p { font-size: 18px; }
    .social-link { font-size: 26px; }
}