/* --- Variables de Couleurs --- */
:root {
    --indigo-nuit: #4B0082;
    --ardoise-royale: #6A5ACD;
    --orange-neon: #ff006a;
    --gris-brume: #F5F5F5;
    --sombre-mat: #111111;
}


/* --- Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

body {
    background-color: var(--sombre-mat);
    color: var(--gris-brume);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

/* --- Typographie --- */
h1,
.project-item {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
}

/* --- Header et Burger --- */
.main-header {
    position: fixed;
    top: 0%;
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
    pointer-events: none;
}

.logo,
.burger-menu {
    pointer-events: auto;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    width: 10%;
    transition: opacity 0.3s ease; 
}

.logo.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.burger-menu {
    cursor: pointer;
    width: 50px;
    height: 50px;
    border: 5px solid var(--gris-brume);
    border-radius: 50%;
    position: relative;
    transition: border-color 0.3s;
}

.burger-menu:hover {
    border-color: var(--orange-neon);
}

.line {
    width: 20px;
    height: 3px;
    background-color: var(--gris-brume);
    position: absolute;
    left: 50%;
    transition: top 0.3s ease, transform 0.3s ease, background-color 0.3s;
}

.burger-menu:hover .line {
    background-color: var(--orange-neon);
}

.line:nth-child(1) {
    top: 38%;
    transform: translateX(-50%);
}

.line:nth-child(2) {
    top: 58%;
    transform: translateX(-50%);
}

.burger-menu.is-open .line:nth-child(1) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.burger-menu.is-open .line:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* --- Hero Section --- */
.hero-section {
    height: 102vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url('FondAO.png') center/cover no-repeat;
}

.hero-title {
    font-size: 6rem;
    color: #FFF;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

/* --- Overlay Menu --- */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -120%;
    width: 100vw;
    height: 100vh;
    background-color: rgba(17, 17, 17, 0.075);
    display: flex;
    z-index: 100;
    transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(150px);
    -webkit-backdrop-filter: blur(50px);
}

.menu-overlay.active {
    right: 0;
}

/* --- Zone Gauche --- */
.menu-preview {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.preview-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
}

.preview-bg.is-visible {
    opacity: 1;
}

.preview-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    z-index: 1;
}

/* --- Zone Droite --- */
.menu-content {
    width: 50%;
    height: 100%;
    padding: 80px;
    background: linear-gradient(135deg, #4A1B2C 0%, #15080E 100%);
    display: flex;
    flex-direction: column;
    position: relative;
}

.menu-categories {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.menu-categories a {
    color: var(--gris-brume);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0.6;
    transition: opacity 0.3s;
    padding: 5px 20px;
}

.menu-categories a.active,
.menu-categories a:hover {
    opacity: 1;
    background-color: var(--gris-brume);
    color: var(--sombre-mat);
    padding: 5px 20px;
    border-radius: 20px;
}

.project-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-item {
    font-size: 3rem;
    cursor: pointer;
    color: var(--gris-brume);
    transition: color 0.2s, transform 0.2s;
    transform-origin: left;
}

.project-item:hover {
    color: var(--orange-neon);
}

/* --- Section Projets --- */
.project-section {
    position: relative;
    z-index: 1;
}

.sticky-bg {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.scroll-content {
    position: relative;
    width: 100%;
    z-index: 2;
    margin-top: -100vh;
}

.spacer {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 40px 10%;
    background: linear-gradient(to bottom, rgba(17, 17, 17, 0) 50%, rgba(17, 17, 17, 0.95) 100%);
}

.spacer h2 {
    font-family: 'Anton', sans-serif;
    font-size: 8rem;
    margin: 0;
    color: var(--gris-brume);
}

.split-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px 10% 150px 10%;
    gap: 50px;
    background-color: rgba(17, 17, 17, 0.95);
    min-height: 100vh;
}

/* --- Colonne de Gauche --- */
.info-col {
    width: 40%;
    position: sticky;
    top: 150px;
}

.info-col .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--orange-neon);
    margin-bottom: 20px;
    line-height: 1.2;
}

.info-col .desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gris-brume);
}

/* --- Colonne de Droite --- */
.gallery-col {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-col img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

/* --- Version Mobile --- */