:root {
    --gold: #c5a059;
    --dark: #0f0f0f;
    --text: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0; background: var(--dark); color: var(--text);
    font-family: 'Raleway', sans-serif; -webkit-font-smoothing: antialiased;
}

html, body { 
    overflow-x: hidden; 
    width: 100%; 
    margin: 0; 
    padding: 0; 
    position: relative; /* Indispensable pour contenir le menu caché */ 
}

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; text-transform: uppercase; letter-spacing: 3px; }

/* Nav & Logo (Fixe au scroll) */
.main-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 50px; 
    position: fixed; /* Garde le menu toujours en haut */
    top: 0; left: 0; width: 100%; z-index: 1000; box-sizing: border-box;
    background: rgba(10, 10, 10, 0.95); /* Fond sombre transparent */
    backdrop-filter: blur(10px); /* Effet verre fumé Luxe */
    border-bottom: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}
.main-logo { height: 50px; width: auto; }
.nav-links { display: flex; list-style: none; margin: 0; }
.nav-links li { margin-left: 25px; }
.nav-links a { color: white; text-decoration: none; font-size: 0.75rem; letter-spacing: 2px; transition: 0.3s; text-transform: uppercase;}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* Design du bouton Burger (invisible sur PC) */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.burger span {
    width: 25px; height: 2px;
    background-color: var(--gold);
    transition: all 0.3s ease;
}

/* Hero */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-container video { width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }

.hero-content { position: relative; z-index: 10; text-align: center; }
.hero h1 { font-size: 5rem; color: white; margin: 0; }
.subtitle { font-size: 1.2rem; color: var(--gold); margin-bottom: 40px; font-style: italic; }

/* Bouton Luxe Harmonisé */
.btn-luxury {
    padding: 12px 35px; border: 1px solid var(--gold); color: white;
    text-decoration: none; font-size: 0.8rem; letter-spacing: 2px;
    text-transform: uppercase; transition: all 0.4s ease;
    display: inline-block; background: transparent;
}
.btn-luxury:hover { background: var(--gold); color: black; box-shadow: 0 0 15px rgba(197, 160, 89, 0.4); }

/* Sections */
.intro-section { padding: 80px 10%; text-align: center; }
.main-desc { max-width: 700px; margin: 0 auto; line-height: 1.8; font-size: 1.1rem; }

.gallery-preview { display: flex; height: 50vh; }
.grid-item { position: relative; flex: 1; overflow: hidden; border: 1px solid #1a1a1a; }
.grid-item img { width: 100%; height: 100%; object-fit: cover; transition: 1.5s; }
.grid-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.5);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    opacity: 0.9; transition: 0.5s;
}
.grid-item:hover img { transform: scale(1.1); }

/* --- Nouveau Footer Luxe --- */
 .main-footer { 
     background: #0a0a0a; 
     border-top: 1px solid #1a1a1a; 
     padding: 60px 5% 20px; 
     color: #bbb; 
 } 
 
 .footer-grid { 
     display: grid; 
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
     gap: 40px; 
     margin-bottom: 50px; 
 } 
 
 .footer-title { 
     color: var(--gold); 
     font-family: 'Cormorant Garamond', serif; 
     font-size: 1.5rem; 
     letter-spacing: 1px; 
     margin-bottom: 25px; 
     text-transform: uppercase; 
 } 
 
 /* Colonne Expo */ 
 .img-small-expo { width: 120px; border: 1px solid var(--gold); padding: 3px; margin-bottom: 10px; } 
 .footer-expo p { font-size: 0.85rem; line-height: 1.5; } 
 .footer-expo strong { color: #fff; } 
 
 /* Colonne Contact & Réseaux */ 
 .contact-row { 
     display: flex; 
     align-items: flex-start; 
     gap: 15px; 
     margin-bottom: 15px; 
 } 
 
 .footer-icon { 
     width: 20px; 
     height: 20px; 
     object-fit: contain; 
     margin-top: 2px; 
 } 
 
 .contact-row a { 
     color: #bbb; 
     text-decoration: none; 
     font-size: 0.9rem; 
     transition: 0.3s; 
     line-height: 1.5; 
 } 
 
 .contact-row a:hover { color: var(--gold); } 
 
 .phone-numbers { 
     display: flex; 
     flex-direction: column; 
 } 
 
 /* Colonne Map */ 
 .footer-map iframe { 
     border-radius: 4px; 
     filter: grayscale(80%) contrast(1.2); /* Rendu sobre de la carte pour coller au design noir/or */ 
     transition: 0.4s; 
 } 
 
 .footer-map iframe:hover { 
     filter: grayscale(0%); 
 } 
 
 /* Bottom */ 
 .footer-bottom { 
     text-align: center; 
     font-size: 0.75rem; 
     color: #555; 
     border-top: 1px solid #1a1a1a; 
     padding-top: 25px; 
 } 
 
 .credits { margin-top: 5px; }
/* --- Styles Spécifiques Page Catalogue --- */

.catalog-page .main-nav {
    position: relative; /* Pour que la barre ne survole pas le contenu sur cette page */
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
}

.page-header {
    text-align: center;
    padding: 80px 20px 40px;
    background: var(--dark);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 10px;
}

/* Grille CSS pour les articles */
.catalog-section {
    padding: 40px 10%;
    background: #111; /* Léger contraste avec le fond noir */
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

/* Design de la Carte Produit (Luxe et Ombragée) */
.art-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Ombrage profond */
    display: flex;
    flex-direction: column;
}

.art-card:hover {
    transform: translateY(-5px); /* Effet de soulèvement au survol */
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.15); /* Ombre dorée légère au survol */
    border-color: #333;
}

/* Vignette Image */
.art-image {
    height: 250px;
    background: #ffffff; /* FOND BLANC ICI */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    border-radius: 2px 2px 0 0; /* Léger arrondi en haut pour s'intégrer à la carte */
}

.art-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Garde les proportions de tes images PNG détourées */
    transition: transform 0.6s ease;
}

.art-card:hover .art-image img {
    transform: scale(1.05); /* Zoom très léger de l'objet */
}

/* Textes de la carte */
.art-details {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.art-ref {
    display: block;
    font-size: 0.65rem;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.art-details h3 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.art-desc {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1; /* Pousse le prix vers le bas */
}

.art-desc strong {
    color: #ccc;
    font-weight: 600;
}

.art-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin: 0;
    font-weight: bold;
}
/* --- Fenêtre Modale (Pop-up) --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.85); 
    align-items: center; justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #111;
    padding: 40px; 
    border: 1px solid var(--gold); 
    border-radius: 4px; 
    max-width: 800px; width: 90%; 
    display: flex; gap: 40px; 
    position: relative;
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.1);
}

.close-modal {
    position: absolute; 
    top: 10px; right: 20px; 
    color: #666; 
    font-size: 35px; 
    cursor: pointer; 
    transition: 0.3s;
}

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

.modal-left { 
    flex: 1; display: flex; align-items: center; justify-content: center; 
    background: #ffffff; /* Le fond blanc corrigé */
    padding: 20px; border-radius: 4px 0 0 4px;
}
.modal-left img { max-width: 100%; max-height: 50vh; object-fit: contain; }

.modal-right { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.modal-right h3 { font-size: 2rem; color: var(--gold); margin-bottom: 20px; }
.modal-right .art-desc { font-size: 1.1rem; }

/* Responsive Mobile */
@media (max-width: 768px) {
    .modal-content { flex-direction: column; max-height: 90vh; overflow-y: auto; }
    .modal-left { border-radius: 4px 4px 0 0; }
}
/* --- Styles Spécifiques Page Knowledge --- */

.knowledge-page .main-nav {
    position: relative;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
}

.story-section {
    padding: 80px 10%;
    background: var(--dark);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
}

.divider-gold {
    width: 60px;
    height: 2px;
    background-color: var(--gold);
    margin-bottom: 30px;
}

.story-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.story-text em {
    color: #888;
    font-size: 0.95rem;
}

.story-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.story-images img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(20%);
    transition: 0.5s;
    border: 1px solid #222;
}

.story-images img:hover {
    filter: grayscale(0%);
}

.img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Bannière d'appel à l'action */
.action-banner {
    padding: 100px 20px;
    text-align: center;
    background: #111;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.action-banner h2 {
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 900px) {
    .story-grid { grid-template-columns: 1fr; }
}
/* --- Styles Spécifiques Page Gallery --- */

.gallery-page .main-nav {
    position: relative;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
}

.gallery-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: #bbb;
    line-height: 1.8;
}

/* Section Vidéos */
.video-section {
    padding: 40px 5%;
    background: var(--dark);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border: 1px solid #333;
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

/* Section Highlight Event (Sofitel) */
.event-highlight {
    background: #111;
    padding: 80px 10%;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.event-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.event-text h2 { color: var(--gold); font-size: 2.5rem; margin-bottom: 10px; }
.event-date { display: block; font-family: 'Raleway', sans-serif; color: #888; margin-bottom: 20px; letter-spacing: 2px; }
.event-text p { color: #ccc; line-height: 1.7; }

.event-image img { width: 100%; border-radius: 2px; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }

/* Grille Masonry Images */
.photo-gallery {
    padding: 60px 5%;
    background: var(--dark);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    grid-auto-flow: dense;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: 0.4s;
    filter: brightness(0.8);
}

.gallery-img:hover {
    filter: brightness(1);
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Modal pour Images Simples */
.modal-content-img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border: 2px solid #333;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.close-img-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

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

/* Responsive */
@media (max-width: 900px) {
    .video-grid, .event-grid { grid-template-columns: 1fr; }
}
/* --- Section About Us (Accueil) --- */
.about-section {
    padding: 100px 10%;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-section .divider-gold {
    margin: 0 auto 50px auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    color: #bbb;
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-content p {
    margin-bottom: 20px;
}

.award-box {
    margin-top: 30px;
    padding-left: 20px;
    border-left: 2px solid var(--gold);
    color: #fff;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* Logo centré en bas du footer */
.footer-bottom-logo {
    display: block;
    margin: 0 auto 15px auto;
    height: 50px; /* Ajuste la taille si besoin */
    width: auto;
    opacity: 0.7; /* Légère transparence pour un effet plus chic */
    transition: 0.3s;
}

.footer-bottom-logo:hover {
    opacity: 1;
}
/* ========================================= */
/* RESPONSIVE & MOBILE DESIGN          */
/* ========================================= */

@media (max-width: 850px) {
    /* 1. Textes et Espacements */
    .hero h1 { 
        font-size: 11vw; /* La taille va s'adapter automatiquement à la largeur de l'écran */ 
        white-space: nowrap; /* Empêche le texte de passer à la ligne */ 
    }
    h2, .section-title, .event-text h2 { font-size: 2rem; }
    .subtitle { font-size: 1rem; }
    
    /* Réduction des marges sur mobile */
    .intro-section, .about-section, .catalog-section, .photo-gallery, .event-highlight, .story-section { 
        padding: 50px 5%; 
    }

    /* 2. Menu Burger Mobile */
    .main-nav { padding: 15px 20px; flex-direction: row; }
    
    .burger { 
        display: flex; 
        gap: 7px; /* Espace entre les lignes pour un look plus imposant */
    }
    
    .burger span {
        width: 35px; /* Icone plus grosse */
        height: 3px; /* Icone plus épaisse */
        background-color: var(--gold);
        transition: all 0.3s ease;
    }
    
    .nav-links { 
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 100%; 
        height: 100vh; 
        background: #0a0a0a; 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        transition: 0.4s ease; 
        visibility: hidden; 
        z-index: 999;
    }

    .nav-active { 
        right: 0; 
        visibility: visible; 
    }

    /* Animation de la croix */
    .toggle .line1 { transform: rotate(-45deg) translate(-7px, 7px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-7px, -7px); }

    /* Alignement parfait des icônes de contact */
    .contact-row { 
        display: flex; 
        align-items: center; /* Aligne l'icône et le texte sur la même ligne horizontale */ 
        justify-content: flex-start; /* Aligne le tout à gauche de sa colonne */ 
        gap: 15px; 
        margin-bottom: 20px; 
        text-align: left; /* Assure que le texte ne se centre pas tout seul */ 
    } 
 
    /* Pour que les icônes aient toutes la même emprise visuelle */ 
    .footer-icon { 
        width: 24px; /* Un peu plus grand pour le mobile */ 
        height: 24px; 
        flex-shrink: 0; /* Empêche l'icône de s'écraser si le texte est long */ 
    } 
 
    .footer-grid { 
        display: grid; 
        grid-template-columns: 1fr; 
        text-align: left; /* On repasse en alignement gauche pour la lecture */ 
        gap: 40px; 
    }
    
    .nav-links li { margin: 20px 0; } 
    .nav-links a { font-size: 1.2rem; } 

    /* Classe activée par le Javascript pour ouvrir le menu */ 
    .nav-active { 
        right: 0; 
        visibility: visible; /* Le rend visible seulement quand activé */ 
    } 
    
    /* Animation de la croix du burger */ 
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 5px); } 
    .toggle .line2 { opacity: 0; } 
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -5px); }

    /* 3. Grilles transformées en 1 seule colonne */
    .intro-grid, .about-content, .story-grid, .event-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    /* 4. Page d'accueil : Les 2 grandes photos */
    .gallery-preview { 
        flex-direction: column; 
        height: auto; 
    }
    .grid-item { 
        height: 350px; 
    }

    

    /* 6. Fenêtres Modales (Pop-up) */
    .modal-content {
        flex-direction: column;
        padding: 20px;
        margin: 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-left { border-radius: 4px 4px 0 0; padding: 10px; }
    .modal-right { text-align: center; padding-top: 15px; }
    .close-modal { top: 5px; right: 15px; z-index: 10; color: black; }
}
