/* 
=========================================================
   FICHIER : assets/css/style.css
   THEME : Clean Luxury (White / Greige / Gold)
========================================================= 
*/

:root {
    /* --- PALETTE DE COULEURS --- */
    --gold: #D4AF37;           /* Or standard */
    --gold-dark: #B4942B;      /* Or plus foncé pour le texte lisible */
    --gold-light: #F9F1D8;     /* Or très pâle pour les fonds */
    
    /* Fond principal : "Greige" (Gris/Beige très léger) */
    --bg-body: #F5F5F0; 
    
    /* Couleurs neutres */
    --white: #FFFFFF;
    --dark-text: #1a1a1a;      /* Noir non pur pour le texte */
    --muted-text: #666666;     /* Gris pour les sous-titres */
    --border-light: rgba(0, 0, 0, 0.05);

    /* --- OMBRES & ÉLÉVATION --- */
    /* Ombre douce pour l'état par défaut */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    /* Ombre plus marquée au survol */
    --shadow-hover: 0 20px 50px rgba(212, 175, 55, 0.15);
    
    /* --- ARRONDIS --- */
    --radius-card: 20px;
    --radius-btn: 50px;
}

/* =========================================
   1. BASES & RESET
   ========================================= */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--bg-body);
    color: var(--dark-text);
    font-family: 'Manrope', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-title {
    font-family: 'Playfair Display', serif;
    color: #000;
    font-weight: 700;
}

a {
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Utilitaires Images */
.object-fit-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   2. NAVIGATION (NAVBAR)
   ========================================= */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-brand {
    color: #000 !important;
    letter-spacing: 1px;
}

/* Hamburger Menu (Noir) */
.navbar-toggler {
    border: none !important;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-line {
    display: block;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transition: 0.3s;
}

.line-1 { width: 30px; }
.line-2 { width: 20px; }
.line-3 { width: 30px; }

/* Menu Drawer (Offcanvas) */
.offcanvas {
    background-color: var(--bg-body) !important;
}

.offcanvas-header .btn-close {
    opacity: 1;
    filter: none; /* Reste noir par défaut */
}

/* Liens du menu mobile */
.nav-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark-text) !important;
}
.nav-link:hover {
    color: var(--gold) !important;
    transform: translateX(5px);
}

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero-section {
    min-height: 90vh; /* Hauteur écran quasi complète */
    padding-top: 80px; /* Espace pour la navbar fixe */
    display: flex;
    align-items: center;
    position: relative;
    /* Dégradé subtil : Fond Greige vers une touche dorée très légère */
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
                var(--bg-body);
}

.animate-pulse-slow {
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* =========================================
   4. COMPOSANTS CARTES (ELEVATION)
   ========================================= */
/* C'est la classe principale pour tous les conteneurs blancs */
.elevation-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Bordure blanche subtile */
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
}

.elevation-card:hover {
    transform: translateY(-8px); /* L'effet de lévitation */
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.2);
}

/* =========================================
   5. BOUTONS
   ========================================= */
.btn-gold {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-btn);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #000;
    color: var(--gold);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    padding: 10px 25px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #fff;
}

/* Bouton principal du Hero (Noir vers Or) */
.btn-commencer {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #000;
    color: #fff;
    padding: 15px 45px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid transparent;
}

.btn-commencer span {
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.btn-commencer small {
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.8;
    font-weight: 300;
}

.btn-commencer:hover {
    background: var(--gold);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

/* =========================================
   6. PRODUITS (GRID CLEAN)
   ========================================= */
.product-grid-item {
    background: transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

/* Conteneur Image Produit : Fond Blanc + Ombre */
.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Ratio 1:1 Carré parfait */
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft); /* Ombre douce sur l'image */
}

.product-image-wrapper img, 
.product-image-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Zoom élégant au survol */
.product-grid-item:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 5px;
    line-height: 1.4;
}

.product-price {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--gold-dark);
}

/* Petites flèches carrousel produit (au survol) */
.mini-carousel-control {
    width: 30px;
    opacity: 0;
    transition: 0.3s;
}
.product-grid-item:hover .mini-carousel-control {
    opacity: 1;
}
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.3); /* Fond sombre semi-transparent */
    border-radius: 50%;
    background-size: 50%;
}

/* =========================================
   7. SECTION COMMUNAUTÉ
   ========================================= */
.community-section {
    background: var(--white);
    margin-top: 60px;
    padding: 100px 0;
    /* Pour casser la monotonie du Greige, on met une section blanche pure */
    box-shadow: 0 0 60px rgba(0,0,0,0.03); 
    position: relative;
    z-index: 1;
}

/* Visuel Abstrait (Cercle tournant) */
.visual-circle-outer {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.visual-circle-inner {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--bg-body); /* Reprend la couleur du fond body */
    border: 8px solid var(--white); /* Bordure blanche épaisse */
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   8. JOURNAL / BLOG
   ========================================= */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-card);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--gold);
}

.blog-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-content {
    padding: 25px;
}

/* =========================================
   9. FOOTER
   ========================================= */
/* On garde le footer sombre pour structurer la page */
footer {
    background-color: #0a0a0a;
    color: #fff;
    margin-top: 80px;
    padding-top: 80px;
    padding-bottom: 40px;
    border-top-left-radius: 60px; /* Courbe moderne */
    border-top-right-radius: 60px;
}

footer h3, footer h5 {
    color: var(--gold);
}

footer a {
    color: #888;
}

footer a:hover {
    color: #fff;
}

footer .btn-outline-gold {
    border-color: var(--gold);
    color: var(--gold);
}
footer .btn-outline-gold:hover {
    background: var(--gold);
    color: #000;
}

/* =========================================
   10. MOBILE BOTTOM NAV
   ========================================= */
.bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.08);
    z-index: 9999;
}

.bottom-nav a {
    color: #999;
    font-size: 0.75rem;
    transition: 0.3s;
}

.bottom-nav a i {
    font-size: 1.4rem;
    margin-bottom: 2px;
    display: block;
}

.bottom-nav a.active, .bottom-nav a:hover {
    color: var(--gold-dark);
}

/* =========================================
   11. UTILITAIRES TEXTE
   ========================================= */
.text-gold { color: var(--gold-dark) !important; }
.text-muted { color: var(--muted-text) !important; }
.letter-spacing-2 { letter-spacing: 2px; }

/* Limitation de lignes (pour les résumés) */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}