/* ==============================
   HOME DESING — Luxe Noir & Or
   ============================== */

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark2: #1a1a1a;
    --gold: #c8a458;
    --gold-light: #d4b76a;
    --gold-dim: rgba(200,164,88,0.15);
    --white: #ffffff;
    --gray: #888888;
    --gray-light: #aaaaaa;
    --text: #e0e0e0;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* =========== NAVBAR =========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
}

.logo span {
    color: var(--gold);
    font-weight: 600;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =========== HERO =========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1600') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 5%;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 200;
    letter-spacing: 3px;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 17px;
    color: var(--gray-light);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 300;
}

.btn-hero {
    display: inline-block;
    padding: 16px 48px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.4s ease;
}

.btn-hero:hover {
    background: var(--gold);
    color: var(--black);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--gold);
    animation: bounce 2s infinite;
}

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

/* =========== SECTIONS COMMON =========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    font-size: 13px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 400;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 200;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.title-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
}

/* =========== SERVICES =========== */
.services {
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--dark2);
    border: 1px solid rgba(200,164,88,0.1);
    border-radius: 12px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200,164,88,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.service-icon {
    color: var(--gold);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* =========== COLLECTIONS =========== */
.collections {
    padding: 120px 5%;
    background: var(--dark);
}

.collections-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.collection-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--dark2);
    border: 1px solid rgba(200,164,88,0.1);
    transition: all 0.4s ease;
}

.collection-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200,164,88,0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.collection-img {
    height: 280px;
    overflow: hidden;
}

.collection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collection-card:hover .collection-img img {
    transform: scale(1.08);
}

.collection-info {
    padding: 28px;
}

.collection-info h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.collection-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.collection-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.collection-card:hover .collection-link {
    gap: 14px;
}

/* =========== GALERIE =========== */
.galerie {
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.galerie-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 300px;
    cursor: pointer;
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galerie-item:hover img {
    transform: scale(1.05);
}

.galerie-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(10,10,10,0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.galerie-item:hover::after {
    opacity: 1;
}

/* =========== REASSURANCE =========== */
.reassurance {
    padding: 80px 5%;
    background: var(--dark);
}

.reassurance-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.reassurance-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    border: 1px solid rgba(200,164,88,0.08);
    transition: all 0.3s ease;
}

.reassurance-item:hover {
    transform: translateY(-4px);
    border-color: rgba(200,164,88,0.2);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.reassurance-item svg {
    color: var(--gold);
    margin-bottom: 16px;
}

.reassurance-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.reassurance-item p {
    font-size: 13px;
    color: var(--gray);
}

/* =========== CONTACT =========== */
.contact {
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gold-dim);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.contact-block h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-block p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(200,164,88,0.15);
}

/* =========== FOOTER =========== */
.footer {
    background: var(--dark);
    border-top: 1px solid rgba(200,164,88,0.1);
    padding: 80px 5% 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray);
    margin-top: 16px;
    line-height: 1.7;
    max-width: 300px;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--gray);
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-contact p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(200,164,88,0.1);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray);
    letter-spacing: 1px;
}

/* =========== REVEAL ANIMATION =========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback si IntersectionObserver ne detecte pas */
@keyframes revealFallback {
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: revealFallback 0.8s ease 0.5s forwards;
}

/* =========== LIGHTBOX =========== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox.active {
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 40px;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--gold);
}

/* =========== RESPONSIVE =========== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reassurance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        transition: right 0.4s ease;
    }

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

    .nav-links a {
        font-size: 16px;
        letter-spacing: 4px;
    }

    .hero-title {
        letter-spacing: 1px;
    }

    .services {
        padding: 80px 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .collections {
        padding: 80px 5%;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .galerie {
        padding: 80px 5%;
    }

    .galerie-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .galerie-item {
        height: 200px;
    }

    .reassurance {
        padding: 60px 5%;
    }

    .reassurance-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .reassurance-item {
        padding: 24px 16px;
    }

    .contact {
        padding: 80px 5%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        padding: 60px 5% 0;
    }
}

@media (max-width: 480px) {
    .galerie-grid {
        grid-template-columns: 1fr;
    }

    .reassurance-grid {
        grid-template-columns: 1fr;
    }

    .collection-img {
        height: 220px;
    }
}