:root {
    --black: #161819;
    --dark-gray: #1A1C1D;
    --green: #23E1C4;
    --green-glow: rgba(35, 225, 196, 0.2);
    --green-subtle: rgba(35, 225, 196, 0.05);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'JetBrains Mono', monospace; background: var(--black); color: #ffffff; overflow-x: hidden; line-height: 1.6; }
html { scroll-behavior: smooth; }
body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 50%, var(--green-subtle) 0%, transparent 50%), radial-gradient(circle at 80% 80%, var(--green-glow) 0%, transparent 40%); animation: bgPulse 15s ease-in-out infinite; pointer-events: none; z-index: 0; }
@keyframes bgPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.6; } }
.container { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 0 4rem; }
header { padding: 1.5rem 0; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(22, 24, 25, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.header-container { max-width: 1400px; margin: 0 auto; padding: 0 4rem; display: flex; justify-content: space-between; align-items: center; }
.logo-section { display: flex; align-items: center; gap: 1rem; }
.logo-image { width: 45px; height: 45px; border-radius: 8px; object-fit: cover; }
.logo-text { font-family: 'Syne', sans-serif; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; background: linear-gradient(135deg, #ffffff 0%, var(--green) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; }
.nav-menu { display: flex; align-items: center; gap: 3rem; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.95rem; transition: all 0.3s ease; padding: 0.6rem 0; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--green); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--green); }
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 0.4rem; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; transition: all 0.3s ease; padding: 0.6rem 0; position: relative; }
.dropdown-toggle::before { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--green); transition: width 0.3s ease; }
.dropdown:hover .dropdown-toggle::before { width: 100%; }
.dropdown-toggle:hover { color: var(--green); }
.dropdown-toggle::after { content: '▼'; font-size: 0.65rem; transition: transform 0.3s ease; }
.dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 0.5rem); left: 0; background: rgba(26, 28, 29, 0.98); backdrop-filter: blur(20px); border: 1px solid rgba(35, 225, 196, 0.2); border-radius: 12px; padding: 0.8rem 0; min-width: 200px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { padding: 0.8rem 1.5rem; display: flex; align-items: center; gap: 0.8rem; color: rgba(255, 255, 255, 0.75); font-size: 0.88rem; transition: all 0.2s ease; }
.menu-icon { width: 16px; height: 16px; opacity: 0.7; transition: all 0.2s ease; }
.dropdown-menu a:hover .menu-icon { opacity: 1; transform: scale(1.1); }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: rgba(35, 225, 196, 0.1); color: var(--green); padding-left: 1.8rem; }
.header-social { display: flex; gap: 1rem; }
.social-icon { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: all 0.3s ease; }
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { border-color: var(--green); color: var(--green); background: rgba(35, 225, 196, 0.1); transform: translateY(-3px); }
.video-hero { margin-top: 80px; position: relative; width: 100%; height: 85vh; overflow: hidden; border-radius: 0 0 32px 32px; }
.video-container { position: relative; width: 100%; height: 100%; background: var(--dark-gray); }
.video-container video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; object-fit: cover; }
.video-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 4rem; background: linear-gradient(to top, rgba(22, 24, 25, 0.95) 0%, transparent 100%); z-index: 10; pointer-events: none; }
.video-overlay > * { pointer-events: auto; }
.project-tag { display: inline-block; padding: 0.5rem 1.2rem; background: rgba(35, 225, 196, 0.1); color: var(--green); border: 1px solid var(--green); border-radius: 50px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 1rem; }
.project-title { font-family: 'Syne', sans-serif; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.03em; line-height: 1.1; }
.project-subtitle { font-size: 1.1rem; color: rgba(255, 255, 255, 0.7); max-width: 700px; margin-bottom: 2rem; }
.youtube-btn { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1rem 2rem; background: var(--green); color: var(--black); border: none; border-radius: 50px; font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.3s ease; }
.youtube-btn:hover { transform: scale(1.05); box-shadow: 0 10px 40px rgba(35, 225, 196, 0.6); }
.youtube-btn svg { width: 20px; height: 20px; }
section { padding: 8rem 0; position: relative; }
.section-header { margin-bottom: 4rem; text-align: center; }
.section-label { font-size: 0.7rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; margin-bottom: 1rem; }
.section-title { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.section-description { font-size: 1.05rem; color: rgba(255, 255, 255, 0.7); max-width: 800px; margin: 0 auto; line-height: 1.8; }
.project-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.info-card { background: var(--dark-gray); padding: 2rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); transition: all 0.3s ease; }
.info-card:hover { border-color: var(--green); background: rgba(35, 225, 196, 0.05); transform: translateY(-4px); }
.info-label { font-size: 0.75rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.8rem; font-weight: 600; }
.info-value { font-size: 1.1rem; color: #ffffff; font-weight: 500; }
.instagram-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.instagram-post { position: relative; aspect-ratio: 1/1; background: var(--dark-gray); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.3s ease; }
.instagram-post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.instagram-post:hover img { transform: scale(1.05); }
.instagram-post::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(35, 225, 196, 0.3) 0%, transparent 100%); opacity: 0; transition: opacity 0.3s ease; }
.instagram-post:hover::after { opacity: 1; }
.instagram-link { display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 3rem; padding: 1rem 2rem; background: transparent; color: var(--green); border: 2px solid var(--green); border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.instagram-link:hover { background: var(--green); color: var(--black); transform: scale(1.05); }
.preproduction-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.preproduction-item { position: relative; border-radius: 16px; overflow: hidden; background: var(--dark-gray); aspect-ratio: 16/9; }
.preproduction-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.before-after-container { display: grid; gap: 3rem; }
.comparison-slider { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; border-radius: 16px; background: var(--dark-gray); cursor: ew-resize; }
.comparison-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.comparison-slider .after-image { clip-path: inset(0 50% 0 0); }
.slider-handle { position: absolute; top: 0; left: 50%; width: 4px; height: 100%; background: var(--green); transform: translateX(-50%); z-index: 10; }
.slider-handle::before { content: '⟷'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--black); box-shadow: 0 4px 20px rgba(35, 225, 196, 0.5); }
.comparison-labels { position: absolute; top: 1.5rem; left: 1.5rem; right: 1.5rem; display: flex; justify-content: space-between; z-index: 5; }
.label { padding: 0.5rem 1.2rem; background: rgba(22, 24, 25, 0.9); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.equipment-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.equipment-item { background: var(--dark-gray); padding: 2rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); }
.equipment-item h4 { font-family: 'Syne', sans-serif; color: var(--green); font-size: 1.1rem; margin-bottom: 1rem; font-weight: 600; }
.equipment-item ul { list-style: none; padding: 0; }
.equipment-item li { padding: 0.5rem 0; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; line-height: 1.6; }
.equipment-item li::before { content: '→'; color: var(--green); margin-right: 0.8rem; }
.postprod-grid { display: grid; gap: 2rem; }
.postprod-item { background: var(--dark-gray); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.05); }
.postprod-item img { width: 100%; height: auto; display: block; }
.postprod-caption { padding: 1.5rem; }
.postprod-caption h4 { font-family: 'Syne', sans-serif; font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--green); }
.postprod-caption p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.credits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.credit-item { text-align: center; }
.credit-role { font-size: 0.75rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.5rem; font-weight: 600; }
.credit-name { font-size: 1.1rem; color: #ffffff; font-weight: 500; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.stat-item { padding: 2rem; background: var(--dark-gray); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); }
.stat-number { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; color: var(--green); margin-bottom: 0.5rem; }
.stat-label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); text-transform: uppercase; letter-spacing: 0.1em; }
.cta-section { background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%); border-radius: 24px; padding: 5rem 4rem; text-align: center; border: 1px solid rgba(35, 225, 196, 0.2); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 50%; left: 50%; width: 300px; height: 300px; background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%); transform: translate(-50%, -50%); animation: ctaPulse 4s ease-in-out infinite; }
@keyframes ctaPulse { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; } 50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; } }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-family: 'Syne', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.cta-description { font-size: 1.1rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.8rem; padding: 1.2rem 2.5rem; font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 600; text-decoration: none; border-radius: 50px; transition: all 0.3s ease; }
.btn-primary { background: var(--green); color: var(--black); }
.btn-primary:hover { transform: scale(1.05); box-shadow: 0 10px 40px rgba(35, 225, 196, 0.5); }
.btn-secondary { background: transparent; color: #ffffff; border: 2px solid rgba(255, 255, 255, 0.2); }
.btn-secondary:hover { border-color: var(--green); color: var(--green); background: rgba(35, 225, 196, 0.1); }
footer { padding: 5rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-logo-section { display: flex; align-items: center; gap: 1rem; }
.footer-logo { width: 50px; height: 50px; border-radius: 8px; }
.footer-brand-name { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--green); }
.footer-contact { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-contact-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); text-decoration: none; transition: color 0.3s ease; }
.footer-contact-item:hover { color: var(--green); }
.footer-contact-icon { width: 18px; height: 18px; color: var(--green); }
.footer-social { display: flex; flex-direction: column; }
.footer-section-title { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.footer-social-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-social .social-icon { width: 45px; height: 45px; }
.footer-bottom { text-align: center; padding-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.copyright { font-size: 0.82rem; color: rgba(255, 255, 255, 0.4); }
.scroll-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 55px; height: 55px; background: var(--green); color: var(--black); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.4rem; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999; }
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(35, 225, 196, 0.6); }
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.mobile-menu-toggle span { width: 25px; height: 2px; background: var(--green); transition: all 0.3s ease; }
@media (max-width: 1024px) {
    .container, .header-container { padding: 0 2rem; }
    .video-overlay { padding: 2rem; }
    .footer-main { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
    .nav-menu { position: fixed; top: 80px; left: 0; right: 0; background: rgba(22, 24, 25, 0.98); backdrop-filter: blur(20px); flex-direction: column; padding: 2rem; gap: 2rem; opacity: 0; visibility: hidden; transform: translateY(-20px); transition: all 0.3s ease; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .nav-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-links { flex-direction: column; gap: 1rem; }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; background: rgba(35, 225, 196, 0.05); margin-top: 0.5rem; display: none; }
    .dropdown.active .dropdown-menu { display: block; }
    section { padding: 4rem 0; }
    .instagram-grid, .preproduction-grid { grid-template-columns: 1fr; }
    .cta-section { padding: 3rem 2rem; }
    .cta-buttons { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}

/* ─── CATEGORY HEADER FIXES ─── */
.category-header {
    padding: 8rem 0 4rem;
    text-align: center;
}

.category-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.category-breadcrumb a {
    color: var(--green);
    text-decoration: none;
}

.category-title-main {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    white-space: nowrap; /* Force one line */
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.category-count {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(35, 225, 196, 0.1);
    border: 1px solid rgba(35, 225, 196, 0.3);
    border-radius: 50px;
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 600;
}

.category-projects {
    padding: 4rem 0;
}

.category-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* ─── CTA FIX TO MATCH IMAGE ─── */
.cta-section {
    background: rgba(22, 24, 25, 0.95);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 4rem auto;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(35, 225, 196, 0.15);
    max-width: 700px; /* Reduced width to match the image */
}

.cta-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.cta-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--green);
    color: #000000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s;
}

.btn-secondary:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.8);
}

/* ─── PROJECT TYPE BADGE ─── */
.project-type {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: rgba(22, 24, 25, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(35, 225, 196, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-type svg {
    width: 14px;
    height: 14px;
}

.project-card:hover .project-type {
    opacity: 1;
    transform: translateY(0);
}

/* Défloutage complet de l'image au hover */
.project-card:hover .project-thumbnail {
    filter: blur(0px) brightness(1.1);
    transform: scale(1.05);
}

.project-thumbnail {
    filter: blur(2px) brightness(0.9);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

