/* ── HERO SECTION (HOME PAGE) ────────────────────────────── */
.hero {
    position: relative;
    width: 100%;
    height: 85vh; /* Hauteur immersive conservée */
    display: flex;
    align-items: center;
    background-color: #000000;
    overflow: hidden;
    padding: 0 8%; /* Augmenté pour un aspect plus centré et aéré */
}

/* Slot d'image principal : Conteneur pour le JS */
#heroImgSlot {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%; /* Réduit pour laisser plus d'espace au vide */
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease-in-out;
}

/* Dégradé de lisibilité pour le texte sur l'image */
#heroImgSlot::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, #000000 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

/* Contenu injecté par JS */
.hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Alignement vertical de la fiche produit */
.hero-info {
    display: flex;
    flex-direction: column;
    align-items: center;    
    justify-content: center; 
    text-align: center;
    width: 100%;
    padding: 20px;
    pointer-events: auto !important;
}

/* L'image du produit (DÉZOOMÉE) */
.hero-image-display {
    max-height: 35vh;       /* Réduit de 40 à 35 pour créer de l'espace négatif */
    width: auto;
    object-fit: contain;
    margin: 10px 0;
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.9));
    animation: up 0.8s both;
}

/* Titre Produit (DÉZOOMÉ & AFFINÉ) */
.hero-title-product {
    font-family: 'Playfair Display', serif;
    /* On passe sur un multiplicateur plus fin (2.8vw au lieu de 4vw) */
    font-size: clamp(20px, 2.8vw, 36px); 
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;    /* Plus d'espace entre les lettres pour le prestige */
    margin: 8px 0;
    animation: up 0.6s both;
}

/* Prix */
.hero-price {
    font-size: 1.2rem;      /* Plus discret */
    color: #c5a059;         /* Or Maison Lamarque */
    font-weight: 400;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    animation: up 1s both;
}

/* Bouton d'action principal */
.hero-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px 35px;     /* Plus fin */
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: up 1.2s both;
    pointer-events: auto !important;
}

.hero-btn:hover {
    background: #c5a059;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

/* ── NAVIGATION (DOTS) ───────────────────────────────────── */
.hero-dots {
    position: absolute;
    bottom: 40px;
    left: 8%;
    display: flex;
    gap: 15px;
    z-index: 20;
}

.hero-dot {
    width: 30px;
    height: 1px;            /* Ligne plus fine */
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.hero-dot.active {
    background: #c5a059;
    width: 60px;
}

/* ── BANNIÈRE ADN (DÉZOOMÉE) ─────────────────── */
.banner-adn {
    display: flex;
    width: 100%;
    height: 50vh;           /* Réduit de 60vh pour un meilleur équilibre */
    background: #000000;
    color: #ffffff;
    overflow: hidden;
}

.ban-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6% 8%;
}

.ban-left h2 {
    color: #c5a059;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;      /* Plus élégant */
    letter-spacing: 6px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.ban-left p {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
}

#banRight img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 12s linear;
}

.banner-adn:hover #banRight img {
    transform: scale(1.1);
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes up {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}.icon-dropdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  color: #888888; /* Correspond à votre variable --grey */
  transition: transform var(--ease);
}

/* Effet au survol : la flèche tourne légèrement pour indiquer l'ouverture */
.open .icon-dropdown {
  transform: rotate(180deg);
}

/* ── CATEGORY HERO (POUR PAGES COLLECTIONS) ────────────────── */
.cat-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* 1. On diminue la hauteur minimale (ex: 15vh au lieu de 25vh) */
    min-height: 5vh; 
    background-color: #070707;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
    /* 2. On réduit l'espace vertical (ex: 30px au lieu de 60px) */
    padding: 10px 0; 
}

.cat-hero-ghost {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8vw;         /* Dézoomé de 10vw */
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12); /* Plus subtil */
    white-space: nowrap;
    z-index: 1;
    letter-spacing: 13px;
    text-transform: uppercase;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        height: 80vh;
        padding: 40px 30px;
    }

    #heroImgSlot {
        width: 100%;
        height: 100%;
        opacity: 0.6;
        z-index: 0;
    }
    
    .hero-info {
        justify-content: flex-end; 
        padding-bottom: 80px;
    }

    .hero-image-display {
        max-height: 28vh;   /* Évite l'aspect trop gros sur téléphone */
    }

    .hero-title-product {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }

    .hero-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 30px;
    }
}