/* --- CHARTE GRAPHIQUE --- */
:root {
    --black: #050505;
    --dark-grey: #111;
    --gold: #c5a059;
    --gold-glow: rgba(197, 160, 89, 0.3);
    --red: #c0392b;
    --text: #f0f0f0;
}

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

body { 
    background-color: var(--black); 
    color: var(--text); 
    font-family: 'Montserrat', sans-serif; 
    overflow-x: hidden;
}

/* --- ANIMATIONS --- */
.fade-in-up { opacity: 0; transform: translateY(40px); transition: 0.8s ease-out; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* --- GATE 18+ --- */
.gate-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999;
    background: url('img/1.jpg') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center;
}
.gate-overlay::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.92); }

.gate-box {
    position: relative; z-index: 2; border: 1px solid var(--gold); padding: 60px;
    background: rgba(10,10,10,0.8); backdrop-filter: blur(10px); text-align: center;
    box-shadow: 0 0 50px var(--gold-glow); max-width: 600px; width: 90%;
}
.gate-logo { font-family: 'Cinzel', serif; font-size: 3rem; color: var(--gold); letter-spacing: 5px; margin-bottom: 20px; }
.gate-text { color: #ccc; margin-bottom: 40px; font-size: 0.9rem; letter-spacing: 1px; line-height: 1.6; }
.btn-enter {
    background: transparent; border: 1px solid var(--gold); color: var(--gold);
    padding: 15px 50px; font-family: 'Cinzel', serif; font-size: 1.2rem; cursor: pointer;
    transition: 0.4s; text-transform: uppercase; letter-spacing: 3px;
}
.btn-enter:hover { background: var(--gold); color: black; box-shadow: 0 0 30px var(--gold); }

/* --- NAVBAR PC --- */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 25px 5%;
    display: flex; justify-content: space-between; align-items: center; z-index: 100;
    transition: 0.4s;
}
.navbar.scrolled { background: rgba(0,0,0,0.95); padding: 15px 5%; border-bottom: 1px solid #222; }

.nav-logo { font-family: 'Cinzel', serif; font-size: 1.8rem; font-weight: 700; letter-spacing: 2px; }
.nav-logo span { color: var(--gold); }

.nav-links a {
    color: white; text-decoration: none; margin-left: 30px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px;
    position: relative; transition: 0.3s;
}
.nav-links a:hover { color: var(--gold); }
.btn-gold { border: 1px solid var(--gold); padding: 10px 25px; color: var(--gold) !important; }
.btn-gold:hover { background: var(--gold); color: black !important; }

/* --- HERO --- */
.hero {
    height: 100vh; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('img/2.jpg') center/cover;
    filter: brightness(0.4) contrast(1.2); transform: scale(1.1);
    animation: breathe 20s infinite alternate;
}
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.15); } }

.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 20px; }
.hero-subtitle { color: var(--gold); letter-spacing: 5px; text-transform: uppercase; font-size: 1rem; margin-bottom: 20px; display: block; }
.hero-title {
    font-family: 'Cinzel', serif; font-size: 4.5rem; line-height: 1.1; margin-bottom: 30px;
    background: linear-gradient(45deg, #fff, #999); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.scroll-down { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.scroll-down i { color: var(--gold); font-size: 2rem; }
@keyframes bounce { 0%, 100% {transform:translate(-50%,0);} 50% {transform:translate(-50%,-10px);} }

/* --- CATEGORIES --- */
.categories { padding: 100px 5%; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.cat-card { height: 400px; position: relative; overflow: hidden; cursor: pointer; border: 1px solid #222; }
.cat-img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; filter: grayscale(100%) brightness(0.7); }
.cat-card:hover .cat-img { transform: scale(1.1); filter: grayscale(0%) brightness(1); }
.cat-overlay {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3); transition: 0.4s;
}
.cat-card:hover .cat-overlay { background: rgba(0,0,0,0.6); }
.cat-title { font-family: 'Cinzel', serif; font-size: 2rem; color: white; border-bottom: 2px solid var(--gold); padding-bottom: 10px; }

/* --- COLLECTION --- */
.collection { padding: 100px 5%; background: #080808; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-family: 'Cinzel', serif; font-size: 3rem; margin-bottom: 15px; }
.section-header span { color: var(--gold); font-style: italic; font-size: 1.2rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 40px; }
.product-card { background: #111; position: relative; overflow: hidden; border: 1px solid #222; transition: 0.3s; }
.product-card:hover { border-color: var(--gold); transform: translateY(-5px); }

.product-img-wrap { height: 380px; overflow: hidden; position: relative; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.product-card:hover img { transform: scale(1.05); opacity: 0.6; }

.view-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
    background: rgba(197, 160, 89, 0.9); color: black; padding: 15px 30px; text-decoration: none;
    font-family: 'Cinzel', serif; font-weight: bold; transition: 0.4s; opacity: 0;
}
.product-card:hover .view-btn { transform: translate(-50%, -50%) scale(1); opacity: 1; }

.product-info { padding: 25px; text-align: center; }
.product-title { font-size: 1.1rem; letter-spacing: 1px; color: #fff; margin-bottom: 8px; }
.product-price { color: var(--gold); font-family: 'Cinzel', serif; font-size: 1.3rem; }

/* --- MANIFESTO --- */
.manifesto {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('img/3.jpg');
    background-attachment: fixed; background-size: cover; background-position: center;
    padding: 150px 10%; text-align: center;
}
.manifesto h2 { font-family: 'Cinzel', serif; font-size: 2.5rem; color: var(--gold); margin-bottom: 30px; }
.manifesto p { font-size: 1.2rem; line-height: 2; max-width: 800px; margin: 0 auto; color: #ddd; }

/* =============================================
   OPTIMISATION MOBILE (MODE APPLICATION)
   ============================================= */
.mobile-nav { display: none; }

@media (max-width: 768px) {
    /* 1. TYPOGRAPHIE & ESPACES */
    body { padding-bottom: 80px; } /* Espace pour la barre du bas */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    .container, .main { padding: 15px !important; margin: 0 !important; width: 100% !important; }

    /* 2. NAVBAR DU HAUT (Simplifiée) */
    .navbar { padding: 15px; background: rgba(0,0,0,0.95); }
    .nav-links { display: none; } /* On cache les liens haut, ils passent en bas */
    .nav-logo { font-size: 1.4rem; margin: 0 auto; }

    /* 3. BARRE DE NAVIGATION DU BAS (STYLE APP) */
    .mobile-nav {
        display: flex; justify-content: space-around; align-items: center;
        position: fixed; bottom: 0; left: 0; width: 100%;
        background: #0a0a0a; border-top: 1px solid #222;
        padding: 10px 0; z-index: 9999;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    }

    .nav-item {
        color: #666; text-decoration: none; text-align: center;
        display: flex; flex-direction: column; align-items: center;
        font-size: 0.7rem; flex: 1; transition: 0.2s;
    }
    .nav-item i { font-size: 1.4rem; margin-bottom: 4px; }
    
    .nav-item.active { color: #c5a059; }
    .nav-item.highlight { 
        color: white; background: #c0392b; 
        width: 50px; height: 50px; border-radius: 50%; 
        justify-content: center; margin-top: -25px; 
        box-shadow: 0 5px 15px rgba(192, 57, 43, 0.4); border: 2px solid #000;
    }
    .nav-item.highlight i { margin: 0; font-size: 1.6rem; }

    /* 4. ADAPTATIONS ELEMENTS */
    .grid, .stats-grid, .wish-grid { grid-template-columns: 1fr !important; gap: 20px; }
    .product-img-wrap, .img-wrap { height: 300px; }
    .view-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); background: rgba(0,0,0,0.6); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; top: 50%; left: 50%; }
    input, select, textarea { font-size: 16px !important; padding: 15px !important; }
    .btn, button { padding: 18px !important; font-size: 1rem !important; }
    
    /* 5. HERO TEXTE */
    .hero-title { font-size: 2.2rem; line-height: 1.2; margin-bottom: 20px; }
    .hero p { font-size: 0.95rem; padding: 0 10px; }
    .scroll-down { display: none; }
}