/* --- STYLE.CSS FINAL (Roboto, Justifié & Kaki) --- */

/* 1. IMPORTS & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-color: #f0f0f0;
    --accent-color: #C5A065; 
    --kaki-color: #676642;   /* KAKI CLIENT */
    
    /* BACKGROUND GRADIENT */
    --main-gradient: linear-gradient(180deg, var(--bg-color) 0%, #1a1a10 60%, var(--kaki-color) 100%);
    
    /* GLASSMORPHISM */
    --noise-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-blur: blur(10px);
}

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

body { 
    background: var(--main-gradient); 
    background-attachment: fixed;
    color: var(--text-color); 
    font-family: 'Roboto', sans-serif;
    line-height: 1.6; 
    font-weight: 400; 
    min-height: 100vh;
    overflow-x: hidden; 
}

/* 2. TYPOGRAPHIE & PARAGRAPHES */
h1, h2, h3, h4, strong, b {
    font-weight: 700;
    text-transform: uppercase;
}

p {
    text-align: justify; 
    margin-bottom: 1.2rem; 
    opacity: 0.9; 
}

.center-text p, .hero p, .price-desc, .text-center {
    text-align: center; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* 3. BACKGROUND ANIMÉ */
.background-shapes { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mix-blend-mode: overlay; opacity: 0.1; }
.shape { position: absolute; filter: blur(100px); border-radius: 50%; }
.shape-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: var(--kaki-color); }
.shape-2 { bottom: -10%; right: -10%; width: 50vw; height: 50vw; background: #333; }

/* 4. NAVIGATION */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; position: sticky; top: 0; z-index: 1000;
    background: rgba(5,5,5,0.95); border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo a { font-weight: 700; font-size: 1.2rem; letter-spacing: 2px; color: #fff; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.85rem; text-transform: uppercase; color: #bbb; font-weight: 500; }
.nav-links a:hover, .nav-links .active { color: var(--kaki-color); }
.highlight { color: var(--kaki-color); }

/* 5. ELEMENTS UI */
.glass {
    background: var(--glass-bg); border: var(--glass-border);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 8px; padding: 40px; position: relative; overflow: hidden;
    transition: transform 0.3s;
}
.glass::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: var(--noise-texture); opacity: 0.4; pointer-events: none; z-index: 0; }
.glass > * { position: relative; z-index: 1; }
.glass:hover { border-color: var(--kaki-color); transform: translateY(-3px); }

.photo-frame { border: 1px solid rgba(255, 255, 255, 0.8); }

/* BOUTONS */
.btn { 
    display: inline-block; padding: 12px 30px; text-transform: uppercase; 
    font-size: 0.8rem; letter-spacing: 2px; font-weight: 700; cursor: pointer; 
    border-radius: 4px; border: 1px solid transparent; text-align: center;
    transition: all 0.3s ease; 
}

.btn-gold { background: var(--kaki-color); color: #fff; }
.btn-transparent { border-color: rgba(255,255,255,0.3); color: #fff; background: transparent; }
.btn-gold-outline { border-color: var(--kaki-color); color: var(--kaki-color); background: transparent; padding: 10px 20px; }
.full-width { width: 100%; display: block; }

.btn:hover, .btn-gold:hover, .btn-transparent:hover, .btn-gold-outline:hover {
    background-color: var(--kaki-color) !important; 
    border-color: var(--kaki-color) !important;     
    color: #ffffff !important;                      
    opacity: 1; transform: translateY(-2px); 
}

/* 6. LAYOUT */
.section-padding { padding: 80px 5%; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2rem; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 2px; border-left: 3px solid var(--kaki-color); padding-left: 15px; font-weight: 700; }
.center-title { text-align: center; border-left: none; }
.center-text { text-align: center; }
.page-header { text-align: center; padding: 80px 5% 40px; }

/* Hero */
.hero { min-height: 85vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 5%; }
.hero h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
.hero p { font-size: 1.2rem; opacity: 0.8; max-width: 700px; margin: 0 auto 40px; text-align: center; } 
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Piliers */
.pillars-grid { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; text-align: center; margin-bottom: 50px; }
.pillar-item { width: 250px; }
.pillar-item p { text-align: center; margin-bottom: 0; } 
.icon-circle { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; border: 2px solid var(--kaki-color); display: flex; align-items: center; justify-content: center; font-size: 2rem; background: rgba(103, 102, 66, 0.1); }

/* Split Sections */
.split-section { display: flex; align-items: center; gap: 50px; margin: 50px auto; }
.split-text { flex: 1; }
.split-image-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.split-image-grid img { width: 100%; height: 200px; object-fit: cover; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.split-image-single { flex: 1; display: flex; justify-content: center; }
.split-image-single img { max-width: 100%; max-height: 500px; }

/* Boutique Grid */
.shop-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; max-width: 1200px; margin: 0 auto; padding-bottom: 50px;
    align-items: stretch; 
}
.product-card { padding: 0; display: flex; flex-direction: column; }
.product-card img { width: 100%; height: 250px; object-fit: cover; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.product-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; }

/* Accordéon Livres */
.book-details { display: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 0.9rem; line-height: 1.8; }
.book-details.visible { display: block; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* 8. PODCAST & SLIDER */
.horizontal-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.horizontal-scroll::-webkit-scrollbar { height: 5px; }
.horizontal-scroll::-webkit-scrollbar-thumb { background: var(--kaki-color); border-radius: 10px; }
.video-card { min-width: 85vw; scroll-snap-align: center; }
@media (min-width: 768px) { .video-card { min-width: 400px; } }

/* 9. PARTENAIRES */
.partner-desc ul { list-style: disc; padding-left: 20px; margin-top: 15px; opacity: 0.8; }
.partner-desc li { margin-bottom: 10px; }

/* 10. PANIER */
.cart-layout { display: flex; gap: 40px; align-items: flex-start; padding-top: 50px; }
.cart-summary { flex: 1; }
.payment-section { flex: 1; }
.cart-item { display: flex; gap: 20px; align-items: center; border-bottom: 1px solid #333; padding-bottom: 20px; margin-bottom: 20px; position: relative; }
.cart-item img { width: 70px; height: 70px; object-fit: cover; }
.remove-btn { position: absolute; right: 0; top: 10px; background: none; border: none; color: #666; font-size: 1.5rem; cursor: pointer; }

/* 11. FOOTER & CONTACT */
footer { text-align: center; padding: 50px; border-top: 1px solid #222; margin-top: 50px; opacity: 0.6; }

.contact-layout-split { display: flex; gap: 50px; align-items: flex-start; }
.contact-left-visual { flex: 1; min-height: 600px; }
.contact-right-content { flex: 1.5; display: flex; flex-direction: column; }

.contact-infos-header { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin-bottom: 40px; width: 100%; }
.contact-infos-header p { font-size: 0.9rem; opacity: 0.8; margin-bottom: 10px; }
.info-row { display: flex; justify-content: center; align-items: center; gap: 30px; font-weight: 500; color: var(--kaki-color); flex-wrap: wrap; }

.contact-form-grid { padding: 40px; }
.form-row { display: flex; gap: 30px; margin-bottom: 10px; }
.form-row .input-group { flex: 1; }
.input-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.input-group label { font-size: 0.8rem; margin-bottom: 5px; opacity: 0.6; }
.input-group input, .input-group select { background: transparent; border: none; border-bottom: 1px solid #555; padding: 10px 0; color: #fff; outline: none; width: 100%; font-family: 'Roboto', sans-serif; }
.input-group input:focus, textarea:focus, select:focus { border-bottom-color: var(--kaki-color) !important; outline: none; }

/* --- CORRECTION ULTIME MENU MOBILE ET BURGER --- */

/* 1. Sur PC : On cache le burger et on prépare ses traits */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--kaki-color); 
    margin: 5px;
    transition: all 0.3s ease;
}

/* 2. Sur Mobile : Réglages d'affichage */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2rem; }
    .split-section { flex-direction: column; }
    .reverse-mobile { flex-direction: column-reverse; }
    .contact-layout-split { flex-direction: column; }
    .contact-left-visual { display: none; } 
    .form-row { flex-direction: column; gap: 0; }
    .contact-infos-header { text-align: center; }
    .info-row { justify-content: center; flex-direction: column; gap: 5px; }
    .cart-layout { flex-direction: column; }
}

@media screen and (max-width: 768px) {
    /* Empêcher le conteneur parent de cacher le menu */
    .navbar {
        overflow: visible !important;
    }
    
    /* Annuler le flou qui bloque l'affichage sur iOS/Instagram */
    .navbar.glass {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Le menu en plein écran noir opaque */
    .nav-links {
        position: fixed !important;
        right: 0 !important;
        top: 0 !important;
        height: 100vh !important;
        background-color: #050505 !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 9999 !important;
    }

    .nav-links li {
        margin: 25px 0;
        opacity: 0;
    }
    
    .nav-links a {
        font-size: 24px;
        color: #fff;
    }

    /* Forcer l'affichage du burger sur mobile */
    .burger {
        display: block !important;
        cursor: pointer;
        z-index: 10000 !important; 
        position: relative;
    }
}

/* Animations JS du Menu Mobile (Doit être en dehors du @media) */
.nav-active {
    transform: translateX(0%) !important;
}

@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); background-color: var(--kaki-color) !important; }
.toggle .line2 { opacity: 0; }
.toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); background-color: var(--kaki-color) !important; }

/* --- BOUTONS FLOTTANTS (Instagram & WhatsApp) --- */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px;
    background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background-color: #128C7E; }
.whatsapp-icon { width: 35px; height: 35px; fill: white; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.instagram-float {
    position: fixed; width: 60px; height: 60px; bottom: 100px; right: 30px;
    background-color: #fff; color: #FFF; border-radius: 50px; text-align: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; animation: pulse 2s infinite;
}
.instagram-float img { width: 40px; height: 40px; }
.instagram-float:hover { transform: scale(1.1); }