/* --- ПАЛИТРА ДИЗАЙНА (Suave, Élégant & Haute Joaillerie) --- */
        :root {
            --blanc-pur: #ffffff;
            --blanc-soie: #fcfbfa; 
            --or-champagne: #dfcfb5; 
            --or-artisan: #c5a880; 
            --or-fond: #f5f0e6; 
            --nacre-perle: #f9f6f0; 
            --texte-sombre: #332f29; 
            --texte-leger: #7c7263;
            --police-titre: 'Playfair Display', Georgia, serif;
            --police-corps: 'Montserrat', sans-serif;
        }

        /* --- СБРОС СТИЛЕЙ И БАЗА --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--police-corps);
            background-color: var(--blanc-soie);
            color: var(--texte-sombre);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* --- КЛЮЧЕВЫЕ АНИМАЦИИ (Мягкое мерцание и покачивание) --- */
        @keyframes плавное-мерцание {
            0%, 100% { opacity: 0.4; transform: scale(0.95); }
            50% { opacity: 1; transform: scale(1.05); }
        }

        @keyframes мягкий-подъем {
            0% { transform: translateY(0); }
            50% { transform: translateY(-4px); }
            100% { transform: translateY(0); }
        }

        @keyframes перламутровый-блеск {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* --- ИНФОРМАЦИОННАЯ ПАНЕЛЬ --- */
        .top-bar {
            background-color: var(--texte-sombre);
            color: var(--or-champagne);
            text-align: center;
            padding: 12px;
            font-size: 0.75rem;
            letter-spacing: 2px;
            font-weight: 300;
            text-transform: uppercase;
            position: relative;
        }

        .sparkle-mini {
            display: inline-block;
            animation: плавное-мерцание 2.5s infinite ease-in-out;
            color: var(--or-artisan);
            margin: 0 6px;
        }

        /* --- ШАПКА САЙТА (НАВИГАЦИЯ) --- */
        header {
            background-color: rgba(252, 251, 250, 0.98);
            backdrop-filter: blur(8px);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid var(--or-fond); 
        }

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

        /* LOGO MODIFIÉ : conserve la structure de lien mais intègre le SVG */
        /* --- LOGO CORRIGÉ (Couleur & Animation) --- */
        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            height: 60px; 
            transition: opacity 0.3s ease;
        }

        .logo svg {
            height: 100%;
            width: auto;
            /* Applique votre couleur Or Artisan */
            fill: var(--texte-sombre);
            transition: all 0.4s ease;
        }

        /* Réactivation de l'animation au survol du logo */
        .logo:hover svg {
            fill: var(--or-artisan);
            transform: scale(1.02);
        }
		
		footer {
			display: flex;
			flex-direction: column;
			align-items: center; /* Aligne tout au centre horizontalement */
			justify-content: center;
			padding: 60px 20px;
			text-align: center;
			width: 100%;
			background-color: var(--blanc-soie);
			text-align: center;
		}

        .nav-right {
            display: flex;
            align-items: center;
            gap: 35px;
        }

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

        .nav-links a {
            text-decoration: none;
            color: var(--texte-leger);
            font-size: 0.8rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            transition: color 0.4s ease;
        }

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

        /* --- СЕЛЕКТОР ЯЗЫКА --- */
        .lang-switch {
            display: flex;
            gap: 8px;
            font-size: 0.75rem;
            letter-spacing: 1px;
        }

        .lang-btn {
            background: none;
            border: none;
            color: var(--texte-leger);
            cursor: pointer;
            padding: 2px 6px;
            font-family: var(--police-corps);
            transition: all 0.3s ease;
            text-transform: uppercase;
            font-weight: 400;
        }

        .lang-btn:hover {
            color: var(--texte-sombre);
        }

        .lang-btn.active {
            color: var(--texte-sombre);
            font-weight: 500;
            border-bottom: 1px solid var(--or-artisan);
        }

        /* --- GESTION DU RESTE DU CODE IDENTIQUE --- */
        .hero { padding: 120px 20px; text-align: center; max-width: 850px; margin: 0 auto; width: 100%; position: relative; }
        .hero-pearl-1, .hero-pearl-2 { position: absolute; background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f7f3eb 50%, #dfcfb5 100%); border-radius: 50%; box-shadow: inset -1px -1px 4px rgba(0,0,0,0.03), 1px 3px 8px rgba(51,47,41,0.06); animation: мягкий-подъем 6s infinite ease-in-out; }
        .hero-pearl-1 { width: 12px; height: 12px; top: 25%; left: 3%; animation-delay: 0s; }
        .hero-pearl-2 { width: 8px; height: 8px; bottom: 20%; right: 5%; animation-delay: 2s; }
        .hero-badge { font-size: 0.7rem; color: var(--texte-sombre); margin-bottom: 25px; display: inline-block; background-color: var(--or-fond); padding: 5px 16px; letter-spacing: 2px; text-transform: uppercase; font-weight: 400; }
        .hero h1 { font-family: var(--police-titre); font-size: 3.2rem; font-weight: 400; line-height: 1.25; margin-bottom: 25px; color: var(--texte-sombre); letter-spacing: -0.5px; }
        .hero p { font-size: 1.05rem; color: var(--texte-leger); margin-bottom: 40px; font-style: italic; font-family: var(--police-titre); padding: 0 40px; }
        .btn { display: inline-block; padding: 16px 45px; background-color: var(--texte-sombre); color: var(--blanc-pur); text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; transition: all 0.4s ease; }
		.btn-action { display: inline-block; padding: 16px 45px; background-color: rgb(197, 168, 128); color: var(--blanc-pur); text-decoration: none; font-size: 0.8rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; transition: all 0.4s ease; }
		.btn-action:hover { background-color: var(--texte-sombre); transform: translateY(-1px); box-shadow: 0 5px 15px rgba(197,168,128,0.15); }
		.btn:hover { background-color: var(--or-artisan); transform: translateY(-1px); box-shadow: 0 5px 15px rgba(197,168,128,0.15); }
        .products-section { max-width: 1200px; margin: 60px auto 100px auto; padding: 0 20px; width: 100%; }
        .section-title { text-align: center; font-family: var(--police-titre); font-size: 2.4rem; font-weight: 400; margin-bottom: 50px; letter-spacing: 1px; }
        .products-grid { display: grid; box-sizing: border-box; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; width: 100%; }
        .product-card { background: var(--blanc-pur); border: 1px solid rgba(223, 207, 181, 0.4); padding: 45px 30px; text-align: center; transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); display: flex; flex-direction: column; align-items: center; width: 100%; position: relative; }
        .product-card:hover { border-color: var(--or-artisan); transform: translateY(-5px); background: linear-gradient(135deg, #ffffff 0%, var(--nacre-perle) 50%, #ffffff 100%); background-size: 200% 200%; animation: перламутровый-блеск 4s infinite ease; box-shadow: 0 10px 30px rgba(51,47,41,0.04); }
        .product-sparkle { position: absolute; top: 25px; right: 25px; color: var(--or-artisan); opacity: 0; transition: opacity 0.4s ease, transform 0.4s ease; font-size: 1rem; }
        .product-card:hover .product-sparkle { opacity: 1; transform: scale(1.1); }
        .svg-container { width: 100px; height: 100px; margin-bottom: 30px; display: flex; justify-content: center; align-items: center; background-color: var(--blanc-soie); border: 1px solid var(--or-fond); border-radius: 50%; transition: all 0.5s ease; }
        .product-card:hover .svg-container { background-color: var(--blanc-pur); border-color: var(--or-artisan); }
        .product-tag { font-size: 0.7rem; color: var(--texte-leger); margin-bottom: 12px; font-weight: 400; text-transform: uppercase; letter-spacing: 1.5px; }
        .product-name { font-family: var(--police-titre); font-size: 1.4rem; font-weight: 400; margin-bottom: 12px; color: var(--texte-sombre); }
        .product-desc { font-size: 0.85rem; color: var(--texte-leger); margin-bottom: 25px; max-width: 250px; font-weight: 300; }
		.product-desc2 { font-size: 0.85rem; color: var(--texte-leger); margin-bottom: 25px; font-weight: 300; }
        .product-price { font-size: 1.1rem; color: var(--texte-sombre); font-weight: 400; margin-bottom: 25px; letter-spacing: 1px; }
        .btn-secondary { background: transparent; color: var(--texte-sombre); border: 1px solid var(--texte-sombre); padding: 12px 30px; text-decoration: none; font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase; transition: all 0.4s ease; }
        .btn-secondary:hover { background-color: var(--texte-sombre); color: var(--blanc-pur); }
        .creator-section { max-width: 1200px; margin: 100px auto; padding: 0 20px; width: 100%; }
        .creator-container { background-color: var(--blanc-pur); border: 1px solid rgba(223, 207, 181, 0.4); padding: 80px 60px; display: flex; align-items: center; gap: 60px; }
        .creator-image-box { flex: 0 0 320px; height: 400px; background-color: var(--nacre-perle); border: 1px solid var(--or-fond); display: flex; justify-content: center; align-items: center; position: relative; }
        .creator-image-box::before { content: ''; position: absolute; top: -15px; left: -15px; right: 15px; bottom: 15px; border: 1px solid var(--or-champagne); z-index: 0; pointer-events: none; }
        .creator-image-box svg { position: relative; z-index: 1; }
        .creator-content { flex: 1; }
        .creator-subtitle { font-size: 0.75rem; color: var(--or-artisan); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; font-weight: 500; }
        .creator-name { font-family: var(--police-titre); font-size: 2.6rem; font-weight: 400; color: var(--texte-sombre); margin-bottom: 25px; line-height: 1.2; }
        .creator-text { color: var(--texte-leger); font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
        .creator-signature { font-family: var(--police-titre); font-style: italic; color: var(--texte-sombre); font-size: 1.2rem; margin-top: 30px; display: inline-block; border-top: 1px solid var(--or-champagne); padding-top: 10px; }
        .gift-experience { background-color: var(--blanc-pur); border-top: 1px solid var(--or-fond); border-bottom: 1px solid var(--or-fond); padding: 80px 20px; text-align: center; width: 100%; }
        .gift-container { max-width: 800px; margin: 0 auto; width: 100%; }
        .gift-container svg { margin-bottom: 20px; animation: мягкий-подъем 5s infinite ease-in-out; }
        .gift-container h2 { font-family: var(--police-titre); font-size: 2.2rem; font-weight: 400; margin-bottom: 20px; letter-spacing: 0.5px; }
        .gift-container p { color: var(--texte-leger); font-style: italic; font-family: var(--police-titre); max-width: 650px; margin: 0 auto 35px auto; line-height: 1.8; font-size: 1rem; }
        footer p { font-size: 0.75rem; color: var(--texte-leger); letter-spacing: 0.5px; }

        @media (max-width: 768px) {
            .nav-container { flex-direction: column; gap: 20px; padding: 20px 10px; }
            .nav-right { flex-direction: column; gap: 15px; }
            .nav-links { gap: 20px; justify-content: center; }
            .hero { padding: 70px 15px; }
            .hero h1 { font-size: 2.2rem; }
            .hero p { font-size: 0.95rem; padding: 0; }
            .section-title { font-size: 1.8rem; }
            .products-grid { grid-template-columns: 1fr; gap: 30px; }
            .creator-container { flex-direction: column; padding: 40px 20px; gap: 40px; }
            .creator-image-box { flex: 0 0 auto; width: 100%; height: 320px; }
            .creator-name { font-size: 2rem; }
        }
        
        @media (max-width: 480px) {
            .logo { height: 60px !important; }
            .nav-container { padding: 15px 10px !important; }
            .nav-right { gap: 15px !important; }
        }
        
        .close-btn { position: absolute; top: -40px; right: 0; background: transparent; border: 1px solid white; color: white; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
        .close-btn:hover { background: white; color: var(--texte-sombre); transform: rotate(90deg); }
        .insta-section { padding: 60px 20px; max-width: 1000px; margin: 0 auto; }
        .insta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
        .insta-grid img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; transition: transform 0.3s ease; }
        .insta-grid img:hover { transform: scale(1.02); }
		
		/* Style spécifique pour la page collection */
.collection-page {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.collection-hero {
    text-align: center;
    margin-bottom: 80px;
}

.collection-hero h1 {
    font-family: var(--police-titre);
    font-size: 3rem;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 450px;
    background-color: var(--or-fond);
}

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

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

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(51, 47, 41, 0.8));
    color: var(--blanc-pur);
    opacity: 0;
    transition: opacity 0.4s ease;
    text-align: center;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay .btn-secondary {
    border-color: var(--blanc-pur);
    color: var(--blanc-pur);
    margin-top: 15px;
}

.overlay .btn-secondary:hover {
    background: var(--blanc-pur);
    color: var(--texte-sombre);
}

/* Espacement spécifique pour la page collection */
.collection-page {
    max-width: 1200px;
    margin: 60px auto 100px auto;
    padding: 0 20px;
}

/* On réutilise les classes existantes pour le titre et la grille */
.collection-page .section-title {
    margin-bottom: 80px;
}

.gallery-section {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 20px;
}

/* Style unifié pour les cadres de galerie (façon Portrait) */
.gallery-frame {
    background: var(--blanc-pur);
    padding: 10px; /* Espace blanc interne */
    border: 1px solid rgba(197, 168, 128, 0.2);
    box-shadow: 0 10px 30px rgba(51, 47, 41, 0.05);
    position: relative;
    transition: all 0.5s ease;
}

/* Ajout du filet décoratif similaire au bloc créateur */
.gallery-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--or-champagne);
    z-index: 0;
    pointer-events: none;
}

.gallery-image-box {
    width: 100%;
    height: 400px; /* Ajusté pour correspondre au style portrait */
    overflow: hidden;
    background-color: var(--nacre-perle);
    position: relative;
    z-index: 1;
}

.gallery-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.gallery-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(197, 168, 128, 0.15);
}

.gallery-frame:hover img {
    transform: scale(1.35);
}

/* Responsive pour la galerie */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
        gap: 20px;
    }
    
    .gallery-frame {
        padding: 10px; /* Cadre plus fin sur petit écran */
    }
    
    .gallery-image-box {
        height: 280px; /* Hauteur adaptée aux écrans plus petits */
    }
	
	
	/* Style pour la description */
.collection-description {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.8;
    color: var(--texte-leger);
    font-size: 0.95rem;
    text-align: center;
}

.collection-description p {
    margin-bottom: 15px;
}

/* Correction pour mobile sur le texte */
@media (max-width: 600px) {
    .collection-description {
        padding: 0 15px;
        font-size: 0.9rem;
    }
    
    /* Assurer que le bouton ne dépasse pas */
    .btn-secondary.btn-gift-link {
        width: 90%;
        text-align: center;
    }
}

/* --- CORRECTIONS POUR LE RESPONSIVE MOBILE --- */
@media (max-width: 600px) {
    /* Force le conteneur principal à ne jamais dépasser la largeur de l'écran */
    .collection-page {
        width: 100% !important;
        padding: 20px 10px !important;
        overflow-x: hidden; /* Empêche le défilement horizontal */
    }

    /* Force la grille à s'adapter */
    .gallery-grid {
        grid-template-columns: 1fr !important; /* Une seule colonne */
        gap: 20px !important;
        padding: 0 !important;
    }

    /* Ajuste la description pour mobile */
    .collection-description {
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box;
    }

    /* Assure que le bouton reste centré et ne déborde pas */
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        display: block;
        margin: 0 auto;
    }
}


/* --- RÉINITIALISATION RESPONSIVE MOBILE EXTRÊME --- */
@media screen and (max-width: 600px) {
    body, html {
        width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .collection-page, 
    .gallery-section, 
    .collection-description {
        width: 100vw !important; /* Force la largeur de la vue */
        max-width: 100vw !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .gallery-grid {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Une seule colonne */
        width: 100% !important;
    }

    .gallery-frame {
        width: 100% !important;
        height: auto !important;
    }
}