@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ========================================
   VARIABLES CSS POUR LES THÈMES
   ======================================== */
:root {
    --bg-color: #1A1A1A;
    --text-color: #FFFFFF;
    --border-color: #FFFFFF;
    
    /* Échelle typographique harmonisée */
    --font-size-xs: 0.875rem;      /* 14px */
    --font-size-sm: 1rem;           /* 16px */
    --font-size-base: 1.125rem;     /* 18px */
    --font-size-md: 1.5rem;         /* 24px */
    --font-size-lg: 2rem;           /* 32px */
    --font-size-xl: 3rem;           /* 48px */
    --font-size-2xl: 4rem;          /* 64px */
    --font-size-3xl: 6rem;          /* 96px */
    
    /* Espacements harmonisés */
    --spacing-xs: 0.5rem;           /* 8px */
    --spacing-sm: 1rem;             /* 16px */
    --spacing-md: 1.5rem;           /* 24px */
    --spacing-lg: 2rem;             /* 32px */
    --spacing-xl: 3rem;             /* 48px */
    --spacing-2xl: 4rem;            /* 64px */
    --spacing-3xl: 6rem;            /* 96px */
    
    /* Conteneurs */
    --container-sm: 768px;
    --container-md: 1000px;
    --container-lg: 1200px;
    --container-padding: 5%;
}

/* Thème Accor */
body.theme-accor {
    --bg-color: #F1D6B3;
    --text-color: #1A1A1A;
    --border-color: #1A1A1A;
}

/* Thème Cold Laundry */
body.theme-coldlaundry {
    --bg-color: #C9BBBA;
    --text-color: #1A1A1A;
    --border-color: #1A1A1A;
}

/* Thème Hutchinson */
body.theme-hutchinson {
    --bg-color: #191919;
    --text-color: #FFFFFF;
    --border-color: #FFFFFF;
}

/* ========================================
   STYLES DE BASE
   ======================================== */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", serif;
    background-color: var(--bg-color);
    color: var(--text-color);

}

body.menu-open {
    overflow: hidden;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    background-color: var(--bg-color);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    box-sizing: border-box;
    z-index: 1000;
    transition: transform 0.3s ease-out;
}

header.hide {
    transform: translateY(-100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: calc(100% - calc(var(--container-padding) * 2));
    margin: 0 auto;
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md) var(--container-padding);
}

.logo {
    font-size: var(--font-size-lg);
    font-weight: bold;
    text-decoration: none;
    color: var(--text-color);
    z-index: 1001;
    display: inline-block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: var(--font-size-base);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--border-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

/* Specific hover colors for navigation links */
.nav-links a[href="#about"]::after {
    background-color: #f398fd;
}

.nav-links a[href="#projects"]::after {
    background-color: #85ee3d;
}

.nav-links a[href="#contact"]::after {
    background-color: #edd03b;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.close-project {
    font-size: 28px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.close-project:hover {
    transform: rotate(90deg);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
main {
    padding-top: 5vh;
}

section {
    min-height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Background animé avec effet hand-drawn */
#background-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(images/hero/mami-logo-background.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
}

/* Textes aux 4 coins du hero */
.hero-corner {
    position: absolute;
    font-size: var(--font-size-xs);
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--text-color);
    z-index: 2;
    font-family: "Space Mono", monospace;
}

.hero-top-left {
    top: calc(var(--container-padding) + 80px);
    left: var(--container-padding);
}

.hero-top-right {
    top: calc(var(--container-padding) + 80px);
    right: var(--container-padding);
}

.hero-bottom-left {
    bottom: var(--container-padding);
    left: var(--container-padding);
}

.hero-bottom-right {
    bottom: var(--container-padding);
    right: var(--container-padding);
}



/* Container du visage MAMI */
#face-container {
    position: relative;
    width: 602px;
    height: 451px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* Curseur personnalisé */
#custom-cursor {
        display: none;
    }

/* Calque de base pour les layers du visage */
.face-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Animation boiling pour effet hand-drawn */
@keyframes boiling {
    0%, 100% { filter: url(#turbulence-1); }
    33% { filter: url(#turbulence-2); }
    66% { filter: url(#turbulence-3); }
}

.hand-drawn {
    animation: boiling 0.8s infinite;
}

/* Transitions pour les animations du visage */
.face-layer.animated {
    transition: transform 0.2s ease-out;
}

/* Z-index de superposition des layers */
#layer-01 { z-index: 1; }
#layer-02 { z-index: 2; }
#layer-03 { z-index: 3; }
#layer-04 { z-index: 4; }
#layer-05 { z-index: 5; }
#layer-06 { z-index: 6; }
#layer-07 { z-index: 7; }
#layer-08 { z-index: 8; }
#layer-09 { z-index: 9; }
#layer-10 { z-index: 10; }
#layer-11 { z-index: 11; }
#layer-12 { z-index: 12; }
#layer-13 { z-index: 13; }
#layer-14 { z-index: 14; }
#layer-15 { z-index: 15; }
#layer-16 { z-index: 16; }
#layer-17 { z-index: 17; }




/* ========================================
   ABOUT SECTION
   ======================================== */
.about-content {
    width: 100%;
    max-width: calc(70% - calc(var(--container-padding) * 2));
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 30vh;
    padding-top: calc(var(--container-padding) + 80px);
    padding-bottom: calc(var(--container-padding) + 80px);
}

.about-text {
    font-size: var(--font-size-xl);
    font-weight: 400;
    text-align: left;
    color: var(--text-color);
    line-height: 1.3;
}

.about-text-prefix {
    font-size: var(--font-size-md);
    font-weight: 200;
    display: block;
    margin-bottom: var(--spacing-sm);
    font-family: "Space Mono", monospace;
}

.about-text .visible {
    opacity: 1;
}

/* Bouton Game Boy style hand-drawn - Style de base */
.gameboy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85em;
    position: relative;
    transform: translateY(-0.05em);
    transition: all 0.15s ease;
    cursor: pointer;
    filter: url(#turbulence-2);
    animation: boiling 0.8s infinite;
    line-height: 1;
    padding: 0;
    vertical-align: baseline;
}

.gameboy-button::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 25%;
    height: 25%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(2px);
}

/* Bouton Y - Vert */
.gameboy-y {
    background-color: #85ee3d;
    box-shadow: 
        0 3px 0 #5fb81f,
        0 6px 8px rgba(0, 0, 0, 0.2);
    color: #4ab104;
}

.gameboy-y:hover {
    background-color: #9ef55c;
    transform: translateY(0.05em);
    box-shadow: 
        0 1px 0 #5fb81f,
        0 3px 5px rgba(0, 0, 0, 0.2);
}

.gameboy-y:active {
    transform: translateY(0.1em);
    box-shadow: 
        0 0 0 #5fb81f,
        0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Bouton X - Bleu */
.gameboy-x {
    background-color: #3b51ed;
    box-shadow: 
        0 3px 0 #2639b8,
        0 6px 8px rgba(0, 0, 0, 0.2);
    color: #0320ec;
}

.gameboy-x:hover {
    background-color: #475bea;
    transform: translateY(0.05em);
    box-shadow: 
        0 1px 0 #2639b8,
        0 3px 5px rgba(0, 0, 0, 0.2);
}

.gameboy-x:active {
    transform: translateY(0.1em);
    box-shadow: 
        0 0 0 #2639b8,
        0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Bouton A - Rose */
.gameboy-a {
    background-color: #f398fd;
    box-shadow: 
        0 3px 0 #c766d1,
        0 6px 8px rgba(0, 0, 0, 0.2);
    color: #ee63fd;    
}

.gameboy-a:hover {
    background-color: #f6b1fe;
    transform: translateY(0.05em);
    box-shadow: 
        0 1px 0 #c766d1,
        0 3px 5px rgba(0, 0, 0, 0.2);
}

.gameboy-a:active {
    transform: translateY(0.1em);
    box-shadow: 
        0 0 0 #c766d1,
        0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Bouton B - Jaune */
.gameboy-b {
    background-color: #edd03b;
    box-shadow: 
        0 3px 0 #b8941a,
        0 6px 8px rgba(0, 0, 0, 0.2);
    color: #b99c05;    
}

.gameboy-b:hover {
    background-color: #f5dd5a;
    transform: translateY(0.05em);
    box-shadow: 
        0 1px 0 #b8941a,
        0 3px 5px rgba(0, 0, 0, 0.2);
}

.gameboy-b:active {
    transform: translateY(0.1em);
    box-shadow: 
        0 0 0 #b8941a,
        0 1px 3px rgba(0, 0, 0, 0.2);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.wrapper {
    width: 100%;
    max-width: calc(100% - calc(var(--container-padding) * 2));
    margin: 0 auto;
}

.project-list {
    display: flex;
    flex-direction: column;
}

.project {
    border-bottom: 0.5px solid var(--border-color);
    padding: var(--spacing-lg) 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.project.one {
    border-top: 0.5px solid var(--border-color);
}

.project a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-color);
    flex-wrap: wrap;
}

.project-title {
    position: relative;
    font-size: var(--font-size-3xl);
    font-weight: 400;
    margin: 0;
    left: 0.3em;
    transition: transform 0.3s ease;
    line-height: 1.1;
}

.project-number {
    position: absolute;
    top: 1em;
    left: -1.4em;
    font-size: var(--font-size-base);
    font-weight: 400;
    font-family: "Space Mono", monospace;
}

.project-categ {
    font-size: var(--font-size-md);
    font-weight: 300;
    color: var(--text-color);
    text-align: right;
    display: flex;
    align-items: center;
    font-family: "Space Mono", monospace;
}

.project:hover .project-title {
    transform: translateX(40px);
}

.project-image {
    position: absolute;
    bottom: -30px;
    right: 250px;
    width: 300px;
    height: 300px;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateY(100%) rotate(0deg);
    transition: opacity 0.7s, transform 0.7s;
    pointer-events: none;
}

.project:hover .project-image {
    opacity: 0.9;
    transform: translateY(0) rotate(15deg);
}

.project-image-link {
    display: block;
    text-decoration: none;
}

/* ========================================
   PROJECT DETAIL PAGES
   ======================================== */
.bloc-projet {
    max-width: var(--container-md);
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    width: 100%;
    box-sizing: border-box;
}

.section-project {
    margin-bottom: var(--spacing-3xl);
}

.texte {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.texte h2 {
    margin-top: var(--spacing-3xl);
    font-size: var(--font-size-2xl);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.texte p {
    font-size: var(--font-size-base);
    line-height: 1.7;
    max-width: 100ch;
}

.texte a {
    color: var(--text-color);
    text-decoration: underline;
}

.maquette {
    margin-top: var(--spacing-xl);
}

.maquette img,
.maquette video {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ========================================
   NEXT PROJECT NAVIGATION
   ======================================== */
.next-project-nav {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
    padding: 0;
}

.bloc-projet .right-content {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
    padding: 0;
}

.bloc-projet .underline {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.bloc-projet .underline li {
    margin: 0;
}

.bloc-projet .underline a {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--font-size-base);
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.bloc-projet .underline a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--border-color);
    transition: width 0.3s ease;
}

.bloc-projet .underline a:hover::after {
    width: 100%;
    left: 0;
    right: auto;
} 

/* Couleurs spécifiques Next Project par page */
body.theme-hutchinson .bloc-projet .underline a::after {
    background-color: #f398fd; /* Rose */
}

body.theme-accor .bloc-projet .underline a::after {
    background-color: #3b51ed; /* Bleu */
}

body.theme-coldlaundry .bloc-projet .underline a::after {
    background-color: #85ee3d; /* Vert */
}


/* ========================================
   FOOTER
   ======================================== */
footer {
    max-width: 100%;
    width: 100%;
    margin-top:  var(--spacing-3xl);
    padding: var(--spacing-3xl) var(--container-padding) 0;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 30vh;
    font-size: var(--font-size-sm);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-bottom: var(--spacing-xs);
}

.footer-bottom {
    width: 100%;
    overflow: hidden;
    margin-top: auto;
}

.copyright {
    font-size: var(--font-size-xs);
    font-family: "Space Mono", monospace;
}

.brand-svg {
    width: 100%;
    height: auto;
    fill: var(--text-color);
    display: block;
    transform: translateY(25%);
}

/* Styles pour les liens dans le footer uniquement */
footer .social-links,
footer .next-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

footer .social-links li,
footer .next-links li {
    margin: 0;
}

footer .social-links a,
footer .next-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: var(--font-size-base);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

footer .social-links a::after,
footer .next-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--border-color);
    transition: width 0.3s ease;
}

footer .social-links a:hover::after,
footer .next-links a:hover::after {
    width: 100%;
    left: 0;
    right: auto;
}

/* Specific hover colors for footer social links */
footer .social-links a[href*="linkedin"]::after,
footer .social-links li:first-child a::after {
    background-color: #3b51ed;
}

footer .social-links a[href*="instagram"]::after,
footer .social-links li:last-child a::after {
    background-color: #f398fd;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (hover: hover) {
    .project:hover .project-title {
        transform: translateX(20px);
    }

    .project-image {
        position: absolute;
        bottom: -25px;
        right: 250px;
        width: 300px;
        height: 300px;
        opacity: 0;
        transform: translateY(30%) rotate(5deg);
        transition: opacity 0.7s, transform 0.7s;
        pointer-events: none;
    }
}

@media (max-width: 768px) {
    :root {
        /* Ajustement de l'échelle typographique pour mobile */
        --font-size-xs: 0.75rem;        /* 12px */
        --font-size-sm: 0.875rem;       /* 14px */
        --font-size-base: 1rem;         /* 16px */
        --font-size-md: 1.25rem;        /* 20px */
        --font-size-lg: 1.75rem;        /* 28px */
        --font-size-xl: 2.25rem;        /* 36px */
        --font-size-2xl: 2.5rem;        /* 40px */
        --font-size-3xl: 2.75rem;       /* 44px */
        
        /* Ajustement des espacements pour mobile */
        --spacing-xs: 0.5rem;           /* 8px */
        --spacing-sm: 0.75rem;          /* 12px */
        --spacing-md: 1rem;             /* 16px */
        --spacing-lg: 1.5rem;           /* 24px */
        --spacing-xl: 2rem;             /* 32px */
        --spacing-2xl: 2.5rem;          /* 40px */
        --spacing-3xl: 3rem;            /* 48px */
        
        --container-padding: 1rem;
    }

    /* NAVIGATION MOBILE */
    nav {
        padding: var(--spacing-md) var(--container-padding);
    }

    .logo {
        font-size: var(--font-size-lg);
    }

    .nav-links {
        position: fixed;
        left: 0;
        top: 0;
        flex-direction: column;
        background-color: rgba(248, 248, 248, 0.95);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        clip-path: circle(100px at 100% -20%);
        -webkit-clip-path: circle(100px at 100% -20%);
        pointer-events: none;
        opacity: 0;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-xl);
    }

    .nav-links.active {
        clip-path: circle(1000px at 90% -10%);
        -webkit-clip-path: circle(1000px at 90% -10%);
        pointer-events: all;
        opacity: 1;
    }

    .nav-links li a {
        font-size: var(--font-size-lg);
        color: #333;
        transition: color 0.3s ease;
    }

    .nav-links li a:hover {
        color: #000000;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: var(--spacing-md);
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .close-project {
        display: block;
        position: absolute;
        right: var(--spacing-md);
    }

    /* SECTION ABOUT MOBILE */
    .about-text-prefix {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-md);
    }

    .about-text {
        font-size: var(--font-size-lg);
        max-width: 100%;
        line-height: 1.4;
    }

    .about-content {
        max-width: calc(100% - calc(var(--container-padding) * 2));
        padding: var(--spacing-sm) var(--container-padding);
        min-height: 50vh;
    }

    /* HERO MOBILE */
    #face-container {
        width: 90vw;
        height: auto;
        max-width: 400px;
        aspect-ratio: 602 / 451;
    }

    #custom-cursor {
        display: none;
    }

    #background-layer {
        background-size: cover;
    }

    .hero {
    height: 70vh;
    }

    #background-layer {
    height: 80%;
}

    /* Textes aux coins du hero en mobile */
    .hero-corner {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }

    .hero-top-left {
        top: calc(var(--container-padding) + 40px);
        left: var(--container-padding);
    }

    .hero-top-right {
        top: calc(var(--container-padding) + 40px);
        right: var(--container-padding);
    }

    .hero-bottom-left {
        bottom: calc(var(--container-padding) - 10px);
        left: var(--container-padding);
    }

    .hero-bottom-right {
        bottom: calc(var(--container-padding) - 10px);
        right: var(--container-padding);
    }

    /* PROJECTS LIST MOBILE */
    .wrapper {
        padding: var(--spacing-sm) var(--container-padding);
    }

    .project {
        padding: var(--spacing-2xl) 0;
    }

    .project-title {
        text-align: center;
        font-size: var(--font-size-xl);
        line-height: 1;
        left: 0;
    }

    .project-number {
    position: relative;
    top: 0em;
    left: 0.2em;
    }

    .project-categ {
        display: none;
    }

    .project a {
        flex-direction: column;
    }

    .project-image {
        display: block;
        position: static;
        opacity: 1;
        transform: none;
        margin: var(--spacing-md) auto 0;
        width: 100%;
        max-width: 200px;
        height: auto;
        aspect-ratio: 1 / 1;
    }


    /* PROJECT DETAIL PAGES MOBILE */
    .bloc-projet {
        max-width: 100%;
        padding: var(--spacing-xl) var(--container-padding);
        margin: 0;
        margin-top: 2em;
    }

    .section-project {
        margin-bottom: var(--spacing-xl);
    }

    .texte h2 {
        margin-top: var(--spacing-2xl);
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-md);
    }

    .texte p {
        font-size: var(--font-size-sm);
        line-height: 1.6;
    }

    /* CTA UNDERLINE MOBILE (pages projet) */
    .bloc-projet .right-content {
        justify-content: center;
        margin-top: var(--spacing-2xl);
        margin-bottom: var(--spacing-2xl);
        text-align: center;
    }

    .bloc-projet .underline {
        text-align: center;
    }

    .bloc-projet .underline a {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: var(--font-size-base);
        border-width: 2px;
    }

    /* FOOTER MOBILE */
    footer {
        max-width: 100%;
        padding: var(--spacing-2xl) var(--container-padding) 0;
        min-height: 20vh;
    }

    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-bottom: var(--spacing-lg);
    }

    .footer-bottom {
        margin-top: var(--spacing-xl);
    }

    footer .social-links {
        flex-direction: row;
        gap: var(--spacing-sm);
        margin: 0;
    }

    footer .social-links li a {
        font-size: var(--font-size-sm);
    }

    .copyright {
        font-size: var(--font-size-xs);
    }

    /* DÉSACTIVATION HAND-DRAWN ANIMATION */
    .hand-drawn {
        animation: none !important;
        filter: none !important;
    }

    /* DÉSACTIVATION ANIMATIONS GSAP */
    .project,
    .project *,
    section,
    section * {
        animation: none !important;
        transition: none !important;
    }

    /* HEADER FIXE - PAS DE HIDE/SHOW */
    header {
        transform: translateY(0) !important;
        transition: none !important;
    }

    header.hide {
        transform: translateY(0) !important;
    }

    /* DÉSACTIVATION HOVER PROJECTS */
    .project:hover .project-title {
        transform: none !important;
    }

    .project:hover .project-image {
        transform: none !important;
    }

    .project-title {
        transition: none !important;
    }

    /* DÉSACTIVATION ANIMATIONS FACE LAYERS */
    .face-layer.animated {
        transition: none !important;
        transform: none !important;
    }

    #face-container {
        filter: none !important;
    }

    /* HERO MOBILE - IMAGE STATIQUE */
    #face-container .face-layer {
        display: none !important;
    }

    /* Si vous voulez afficher une image de remplacement */
    #face-container::before {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background-image: url('images/hero/mami-mobile-static.png');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    /* DÉSACTIVATION ANIMATIONS UNDERLINE */
    .nav-links a::after,
    footer .social-links a::after,
    footer .next-links a::after,
    .bloc-projet .underline a::after {
        transition: none !important;
    }

    /* Garder l'underline visible en permanence sur mobile si désiré */
    .nav-links a::after {
        width: 0 !important;
    }

    /* DÉSACTIVATION TRANSITIONS BUTTONS GAMEBOY */
    .gameboy-button {
        animation: none !important;
        filter: none !important;
        transition: none !important;
        transform: translateY(-0.05em) !important;
    }

    .gameboy-button:hover,
    .gameboy-button:active {
        transform: translateY(-0.05em) !important;
        box-shadow: 
            0 3px 0 currentColor,
            0 6px 8px rgba(0, 0, 0, 0.2) !important;
    }

    /* DÉSACTIVATION BACKGROUND ANIMÉ */
    #background-layer {
        animation: none !important;
        filter: none !important;
    }

    /* DÉSACTIVATION SCROLL ANIMATIONS */
    * {
        scroll-behavior: auto !important;
    }
}
