/* INITIALIZATION & VARIABLES */
:root {
    --color-bg: #f4f4f0;
    --color-text: #000000;
    --color-pink: #ff00ff;
    --color-acid: #ccff00;
    --color-black: #000000;
    --color-white: #ffffff;

    --border-main: 3px solid var(--color-black);
    --shadow-main: 6px 6px 0px var(--color-black);
    --shadow-hover: 2px 2px 0px var(--color-black);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --font-pixel: 'VT323', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0V22L6 16L12 28L16 26L10 14H18L0 0Z' fill='black' stroke='white' stroke-width='2'/%3E%3C/svg%3E"), auto;
}

a,
button,
.project-card,
.btn,
.expertise-grid span {
    cursor: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 15h8v2H4z' fill='black' stroke='white' stroke-width='1'/%3E%3Cpath d='M20 15h8v2H20z' fill='black' stroke='white' stroke-width='1'/%3E%3Cpath d='M15 4h2v8h-2z' fill='black' stroke='white' stroke-width='1'/%3E%3Cpath d='M15 20h2v8h-2z' fill='black' stroke='white' stroke-width='1'/%3E%3Cpath d='M14 14h4v4h-4z' fill='%23ccff00' stroke='black' stroke-width='1'/%3E%3C/svg%3E") 16 16, pointer;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
}

.pixel-text {
    font-family: var(--font-pixel);
    font-size: 1.2em;
    letter-spacing: 2px;
}

.font-mono {
    font-family: var(--font-mono);
}

.highlight-pink {
    color: var(--color-pink);
    text-shadow: 2px 2px 0px var(--color-black);
    display: inline-block;
    animation: glitch 3s infinite;
}

@keyframes glitch {

    0%,
    100% {
        transform: translate(0);
        text-shadow: 2px 2px 0px var(--color-black);
    }

    10% {
        transform: translate(-2px, -2px);
        text-shadow: 2px 0px 0px red, -2px -2px 0px blue;
    }

    20% {
        transform: translate(2px, 2px);
        text-shadow: -2px 0px 0px green, 2px 2px 0px red;
    }

    30% {
        transform: translate(0);
        text-shadow: 2px 2px 0px var(--color-black);
    }
}

.highlight-acid {
    color: var(--color-acid);
    text-shadow: 2px 2px 0px var(--color-black);
}



/* Premium Grain Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/p6-dark.png");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

/* UTILITIES */
.border-bottom {
    border-bottom: var(--border-main);
}

.border-top {
    border-top: var(--border-main);
}

.border-light {
    border-bottom: 3px solid var(--color-white) !important;
}

.bg-black {
    background-color: var(--color-black);
    color: var(--color-white);
}

.bg-white {
    background-color: var(--color-white);
    color: var(--color-black);
}

.bg-pink {
    background-color: var(--color-pink);
}

.bg-acid {
    background-color: var(--color-acid);
}

.bg-dark {
    background-color: #111;
    color: var(--color-white);
}

.bg-grid {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.text-light {
    color: var(--color-white);
}

.text-black {
    color: var(--color-black);
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 4rem;
}

.container {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section, #work-grid {
    position: relative;
    scroll-margin-top: 100px;
}

.section-header {
    padding: 2rem 5%;
    border-bottom: var(--border-main);
    background: var(--color-white);
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
}

/* BUTTONS & BOXES */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border: var(--border-main);
    box-shadow: var(--shadow-main);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translate(4px, 4px);
    box-shadow: var(--shadow-hover);
}

.btn-primary {
    background-color: var(--color-acid);
    color: var(--color-black);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-large {
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
    width: 100%;
    text-align: center;
}

.box-brutalist {
    border: var(--border-main);
    padding: 2rem;
    box-shadow: var(--shadow-main);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff !important; /* Force solid white */
    border-bottom: var(--border-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Added shadow for depth */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
}

.nav-logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-black);
    font-weight: bold;
    font-family: var(--font-mono);
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--color-pink);
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.btn-nav {
    background: var(--color-acid);
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-black);
    box-shadow: 3px 3px 0px var(--color-black);
}

.btn-nav:hover {
    color: var(--color-black) !important;
    text-decoration: none !important;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px var(--color-black);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 999;
        display: flex;
        padding: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 2rem;
    }

    .burger {
        display: block !important;
        cursor: pointer;
        z-index: 1001;
    }
}

.burger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--color-black);
    position: absolute;
    transition: 0.3s;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger span:nth-child(3) {
    bottom: 0;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 7px;
}

/* MARQUEE */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: var(--color-black);
    color: var(--color-white);
    padding: 1rem 0;
    white-space: nowrap;
    display: flex;
}

.top-marquee {
    margin-top: 80px;
    /* offset for navbar */
    border-bottom: var(--border-main);
}

.bottom-marquee {
    background: var(--color-white);
    color: var(--color-black);
}

.marquee {
    display: flex;
    animation: marquee 20s linear infinite;
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.marquee span {
    padding-right: 2rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

/* HERO */
.hero-section {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    gap: 4rem;
}

@media (max-width: 900px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding-top: 2rem;
    }

    .hero-content {
        order: 2;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-graphics {
        order: 1;
        width: 100%;
        height: auto;
        min-height: 400px;
        margin-bottom: 2rem;
    }
}

.hero-content {
    flex: 1.2;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 9vw, 5.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0px;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    /* Espace équilibré */
}

.hero-subtitle {
    font-size: 1rem;
    font-family: var(--font-mono);
    margin-bottom: 1.2rem;
    background: var(--color-black);
    color: var(--color-white);
    display: inline-block;
    padding: 0.3rem 0.8rem;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-graphics {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.graphic-shape {
    position: absolute;
    border: var(--border-main);
    box-shadow: var(--shadow-main);
}

.hero-portrait-wrapper {
    position: relative;
    width: 350px;
    height: 450px;
    border: var(--border-main);
    box-shadow: 12px 12px 0px var(--color-pink);
    border-radius: 20px;
    overflow: hidden;
    transform: rotate(2deg);
    animation: floating 6s ease-in-out infinite, pulse-shadow 3s infinite alternate;
    z-index: 2;
}

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(2deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }

    100% {
        transform: translateY(0px) rotate(2deg);
    }
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 8px 8px 0px var(--color-pink);
    }

    100% {
        box-shadow: 16px 16px 0px var(--color-acid);
    }
}

.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--color-acid);
    border-radius: 50%;
    transform: translate(-50px, 50px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticker {
    font-family: var(--font-pixel);
    font-size: 3rem;
    font-weight: bold;
    transform: rotate(-15deg);
}

.window-label {
    display: inline-block;
    border: var(--border-main);
    background: var(--color-white);
    padding: 0.2rem 1rem;
    font-family: var(--font-mono);
    font-weight: bold;
    margin-bottom: 2rem;
    box-shadow: 4px 4px 0px var(--color-pink);
}

/* =====================
   ABOUT V6 (DASHBOARD)
   ===================== */
.about-v6-dashboard {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    padding: 3rem 0;
}

/* Base Box */
.dash-box {
    background: white;
    border: 3px solid black !important;
    box-shadow: 5px 5px 0px black !important; /* Reduced shadow for mobile and general neatness */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%; /* Ensure uniform height */
}

/* Base Box Hover */
.dash-box:hover {
    box-shadow: 8px 8px 0px var(--color-pink) !important;
}

.dash-header {
    padding: 0.8rem 1.2rem;
    border-bottom: 3px solid black;
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.dash-body {
    padding: 1.5rem;
    flex-grow: 1;
}

/* Grid areas */
.box-pink {
    grid-column: span 3;
}

.box-acid {
    grid-column: span 9;
}

.box-black {
    grid-column: span 12; /* Full width for better readability on smaller screens */
}

.box-white {
    grid-column: span 12; /* Full width for better readability on smaller screens */
}

.dash-footer {
    grid-column: span 12;
    margin-top: 1rem;
}

/* Colors headers */
.box-pink .dash-header {
    background: var(--color-pink);
    color: white;
}

.box-acid .dash-header {
    background: var(--color-acid);
    color: black;
}

.box-black .dash-header {
    background: black;
    color: var(--color-acid);
}

.box-white .dash-header {
    background: white;
    color: black;
}

/* Box Content Details */
.status-item {
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.status-item .label {
    opacity: 0.5;
}

.status-badge {
    margin-top: 1.5rem;
    display: inline-block;
    background: #00e676;
    color: black;
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
    font-weight: 900;
    border: 2px solid black;
}

.dash-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive title size */
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 900;
}

.expertise-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.expertise-grid span {
    background: var(--color-white);
    padding: 0.4rem 0.8rem;
    border: 2px solid black;
    font-size: 0.75rem;
    font-weight: 900;
    font-family: var(--font-mono);
    box-shadow: 4px 4px 0 black;
    transition: all 0.15s ease;
    display: inline-block;
}

.expertise-grid span:hover {
    transform: translate(-1px, -1px);
    box-shadow: 6px 6px 0 var(--color-acid);
    background: var(--color-white);
}

.dash-divider {
    border-top: 2px dashed black;
    margin: 1rem 0;
    opacity: 0.2;
}

.font-mono.small {
    font-size: 0.85rem;
}

/* Custom CV Button */
.btn-cv-brutal {
    display: block;
    width: 100%;
    padding: 1.5rem;
    background: var(--color-acid);
    border: 4px solid black;
    box-shadow: 8px 8px 0px black;
    text-align: center;
    color: black;
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-cv-brutal:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px black;
    background: var(--color-pink);
    color: white;
}

/* Responsiveness */
@media (max-width: 900px) {

    .box-pink,
    .box-acid,
    .box-black,
    .box-white {
        grid-column: span 12;
    }
}

/* Legacy sticker-large */
.sticker-large {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    padding: 1rem 2rem;
    border: var(--border-main);
    box-shadow: var(--shadow-main);
    transform: rotate(5deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: grab;
}

.sticker-large:hover {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 12px 12px 0px var(--color-black);
}

/* SKILLS */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
}

.skill-card {
    padding: 3rem;
    border-right: var(--border-main);
    border-bottom: var(--border-main);
    background: var(--color-white);
    transition: background 0.3s;
    position: relative;
    z-index: 5;
    /* Sous les icônes */
}

.skill-card h3,
.skill-card p {
    position: relative;
    z-index: 6;
}

.skill-card:hover {
    background: var(--color-acid);
    box-shadow: inset 0 0 0 4px var(--color-black);
}

@media (min-width: 1200px) {
    .skill-span-2 {
        grid-column: span 2;
    }
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

/* EXPERIENCE */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.timeline-date {
    font-size: 1.5rem;
    font-weight: bold;
    padding-top: 1rem;
    border-top: 4px solid var(--color-acid);
}

.timeline-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-family: var(--font-mono);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.separator {
    border: 0;
    border-top: 2px dashed rgba(255, 255, 255, 0.3);
    margin: 2rem 0;
}

/* FEATURED PROJECT - FIXED VERTICAL LAYOUT */
.featured-project-container {
    padding: 2rem 5% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

.featured-project-window {
    background: var(--color-white) !important;
    border: var(--border-main) !important;
    box-shadow: 12px 12px 0px var(--color-black) !important;
    display: block !important;
    overflow: hidden !important;
}

.featured-project-content {
    display: block !important;
    width: 100% !important;
}

.info-header {
    padding: 2rem !important;
    border-bottom: var(--border-main) !important;
    background: var(--color-white) !important;
    text-align: left !important;
}

.info-header h3 {
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
}

.video-side {
    width: 100% !important;
    background: #000 !important;
    border-bottom: var(--border-main) !important;
}

.video-wrapper {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    max-height: 500px !important;
    background: #000 !important;
}

.video-wrapper video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    /* Forces the whole video/poster to be visible */
    display: block !important;
}

.info-body {
    padding: 2.5rem !important;
    background: var(--color-white) !important;
}

.featured-desc {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    color: var(--color-black) !important;
}

@media (max-width: 768px) {
    .featured-project-container {
        padding: 1rem 5% !important;
    }

    .info-header,
    .info-body {
        padding: 1.5rem !important;
    }
}


/* PROJECTS GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: stretch;
    gap: 3rem;
    padding: 3rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-black);
    border: var(--border-main);
    background: var(--color-white);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: var(--shadow-main);
}

.project-card:hover {
    background: var(--color-pink);
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px var(--color-black);
}

.project-img-wrapper {
    position: relative;
    height: 280px;
    border-bottom: var(--border-main);
    overflow: hidden;
    padding: 1rem;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: var(--border-main);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.8s ease;
    filter: grayscale(80%) contrast(1.2);
}

.project-card:hover .project-img {
    transform: scale(1.1) rotate(-2deg);
    filter: grayscale(0%) contrast(1);
}

.project-card:hover .img-placeholder {
    transform: scale(1.05);
}

.bg-pattern-1 {
    background: repeating-linear-gradient(45deg, var(--color-black), var(--color-black) 10px, transparent 10px, transparent 20px);
}

.bg-pattern-2 {
    background: radial-gradient(circle, var(--color-black) 2px, transparent 2px);
    background-size: 15px 15px;
}

.bg-pattern-3 {
    background: repeating-linear-gradient(-45deg, var(--color-black), var(--color-black) 5px, var(--color-acid) 5px, var(--color-acid) 10px);
}

.bg-pattern-4 {
    background: repeating-radial-gradient(circle, var(--color-pink), var(--color-pink) 10px, var(--color-black) 10px, var(--color-black) 20px);
}

.project-tags {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    gap: 0.5rem;
}

.project-tags span {
    background: var(--color-white);
    border: 2px solid var(--color-black);
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.project-info {
    padding: 2rem;
    background: inherit;
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* CONTACT */
.click-indicator {
    position: absolute;
    top: -50px;
    left: 50%;
    margin-left: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-black);
    animation: float-arrow 2s infinite ease-in-out;
    pointer-events: none;
    z-index: 10;
}

@keyframes float-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@media (max-width: 768px) {
    .click-indicator {
        margin-left: 80px;
        top: -60px;
    }
    @keyframes float-arrow {
        0%, 100% { transform: translateY(0) scale(0.8); }
        50% { transform: translateY(10px) scale(0.8); }
    }
}

@keyframes glitch-light {
    0%, 100% {
        transform: translate(0);
        text-shadow: 1px 1px 0px rgba(0, 255, 255, 0.6), -1px -1px 0px rgba(255, 0, 255, 0.6);
    }
    33% {
        transform: translate(-1px, 0.5px);
        text-shadow: -1px 1.5px 0px rgba(0, 255, 255, 0.6), 1.5px -1px 0px rgba(255, 255, 0, 0.6);
    }
    66% {
        transform: translate(1px, -1px);
        text-shadow: 1.5px -1.5px 0px rgba(255, 0, 255, 0.6), -1.5px 1.5px 0px rgba(0, 255, 255, 0.6);
    }
}

.contact-huge-title {
    font-size: clamp(2rem, 6vw, 4rem);
    /* Réduit encore pour être plus discret */
    white-space: nowrap;
    text-align: center;
    display: block;
    /* Retour au bloc classique pour un centrage text-align facile */
    width: 100%;
    margin: 0 auto 3rem auto;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 900;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: glitch-light 5s ease-in-out infinite;
}

.contact-huge-title:hover {
    color: var(--color-pink);
    transform: scale(1.05) rotate(-2deg);
    text-shadow: 6px 6px 0px var(--color-black);
    animation: none;
}

.contact-container {
    max-width: 800px;
}

.contact-box h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-box p {
    font-size: 1.25rem;
    font-family: var(--font-mono);
}

/* ANIMATIONS (Managed by GSAP) */
/* The previous static CSS animations were removed to allow GSAP and ScrollTrigger to fully control the elements' natural starting opacities. */

/* FLOATING ICONS CSS */
#skills {
    position: relative;
}

/* Ensure container for absolute icons */

.floating-icons-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.floating-icon {
    position: absolute;
    width: 85px;
    height: 85px;
    opacity: 0.6;
    top: var(--top);
    left: var(--left);
    /* animation: float-skills 8s ease-in-out infinite alternate; <- SUPPRIMÉ POUR JS */
    /* transition: transform 0.2s ease, opacity 0.3s ease; -- Supprimé car conflit avec GSAP */
    filter: none;
    z-index: 100;
    /* AU-DESSUS DES CONTENEURS */
    user-select: none;
    pointer-events: none;
}

#skills:hover .floating-icon {
    opacity: 0.8;
}

@keyframes float-skills {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(30px, -50px) rotate(15deg);
    }
}

@media (max-width: 768px) {
    .floating-icon {
        width: 35px;
        height: 35px;
    }
}

/* FOOTER STYLES */
.footer {
    padding: 6rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 3rem;
    padding-top: 0;
    padding-bottom: 0;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--color-acid);
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 1.2rem;
    transition: 0.2s;
}

.social-links a:hover {
    color: var(--color-pink);
    transform: translateY(-5px);
}

.opacity-50 {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* BOUTON OFF SKILLS */
#btn-off-logos {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #000;
    color: #ccff00;
    border: 3px solid #000;
    padding: 0.5rem 2.5rem;
    font-family: 'Space Mono', monospace;
    font-weight: 900;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 6px 6px 0px #ccff00;
    transition: all 0.2s ease;
    z-index: 200;
    min-width: 100px;
    /* Assure une largeur minimum sympa */
    pointer-events: auto !important;
    /* Pour être sûr qu'on peut cliquer dessus */
}

#btn-off-logos:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px #ff00ff;
    color: #ff00ff;
}

#btn-off-logos:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #ccff00;
}

/* Responsive Video */
.video-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.video-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}