  /* ==========================================
   LENSTUDIO — Équipement CSS Optimisé
   ========================================== */

:root {
    --red: #ff0000;
    --dark-gray: #545454;
    --light-gray: #a6a6a6;
    --black: #000000;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --nav-bg: rgba(0, 0, 0, 0.85);
    --border-light: rgba(255, 255, 255, 0.06);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4rem;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: padding 0.3s ease;
}

.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.08em;
    color: var(--white);
    text-decoration: none;
}
.nav-logo span { color: var(--red); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
    background: var(--red);
    color: var(--white) !important;
    padding: 0.55rem 1.4rem;
    border-radius: 2px;
    transition: transform 0.2s ease, background 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); filter: brightness(1.1); }

/* --- HERO --- */
#hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 4rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 55%, var(--black) 100%),
        url('https://images.unsplash.com/photo-1598387180429-b3f7d6e3efd7?w=1600&q=80') center/cover no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,0,0,0.08) 0%, transparent 70%);
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.hero-eyebrow::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--red);
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 0.88;
    color: var(--white);
    margin-bottom: 1.5rem;
    z-index: 2;
}
.hero-title .accent { color: var(--red); }

.hero-sub {
    font-size: 1rem;
    color: var(--light-gray);
    font-weight: 300;
    max-width: 520px;
    line-height: 1.7;
    z-index: 2;
}

/* --- STATS STRIP --- */
.stats-strip {
    background: #0a0a0a;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat-item {
    padding: 2rem 3rem;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}
.stat-item:last-child { border-right: none; }

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    line-height: 1;
    color: var(--white);
}
.stat-num span { color: var(--red); }

/* --- EQUIP GRID --- */
#categories { padding: 7rem 4rem; background: var(--black); }

.category-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.category-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 0.06em;
}

.equip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2px; /* Espacement minimal pour look pro */
}

.equip-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #111;
}

.equip-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(25%) brightness(0.65);
    transition: var(--transition-smooth);
    will-change: transform, filter;
}

.equip-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) brightness(0.75);
}

.equip-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem;
}

.equip-card-desc {
    font-size: 0.75rem;
    color: var(--light-gray);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.equip-card:hover .equip-card-desc {
    max-height: 80px;
    opacity: 1;
    margin-top: 0.5rem;
}

/* FOOTER */
footer {
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 5rem 4rem 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.06em;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand-name span {
    color: var(--red);
}

.footer-brand-desc {
    font-size: 0.82rem;
    color: var(--light-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 240px;
}

.social-links {
    display: flex;
    gap: 0.7rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: border-color 0.2s, color 0.2s;
}

.social-link:hover {
    border-color: var(--red);
    color: var(--red);
}

.footer-col-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.72rem;
    color: rgba(166, 166, 166, 0.5);
}

.footer-bottom a {
    color: rgba(166, 166, 166, 0.5);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--light-gray);
}

/* --- ANIMATIONS --- */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    #hero, #categories, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}