
/* ========== HERO SECTION PRODUITS ========== */
.products-hero {
    min-height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)), 
                url('https://images.unsplash.com/photo-1584541221118-f6784299c6e8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-block;
    background: rgba(211, 47, 47, 0.2);
    color: var(--or);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(211, 47, 47, 0.3);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--or), var(--rouge));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--blanc);
    opacity: 0.9;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-divider {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rouge), var(--or), transparent);
    margin: 2rem auto;
    border-radius: 2px;
}

/* ========== GRILLE PRODUITS ========== */
.products-grid-section {
    padding: 4rem 0 8rem;
    background: var(--noir);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

/* Carte Produit */
.product-card {
    background: linear-gradient(145deg, var(--gris-fonce), #0a0a0a);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-15px);
    border-color: rgba(211, 47, 47, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(211, 47, 47, 0.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-new {
    background: linear-gradient(135deg, var(--or), #FF8F00);
    color: var(--noir);
}

.badge-popular {
    background: linear-gradient(135deg, var(--rouge), #B71C1C);
    color: var(--blanc);
}

.badge-promo {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: var(--blanc);
}

.product-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background: rgba(211, 47, 47, 0.9);
    color: var(--blanc);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .quick-view {
    transform: translateY(0);
}

.product-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--or);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blanc);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-description {
    color: var(--blanc);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.product-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--blanc);
    opacity: 0.7;
    font-size: 0.9rem;
}

.spec-item i {
    color: var(--rouge);
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--or);
}

.product-price .old-price {
    font-size: 1rem;
    color: var(--gris-clair);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.add-to-cart {
    background: rgba(211, 47, 47, 0.1);
    color: var(--rouge);
    border: 2px solid var(--rouge);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--rouge);
    color: var(--blanc);
    transform: translateX(5px);
}

/* ========== SECTION FEATURES ========== */
.product-features {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0a0a, var(--gris-fonce));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: rgba(211, 47, 47, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--or);
    font-size: 2rem;
    border: 2px solid rgba(211, 47, 47, 0.3);
}

.feature-item h3 {
    font-size: 1.4rem;
    color: var(--blanc);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--blanc);
    opacity: 0.8;
    font-size: 1rem;
}

/* ================= ANIMS ================= */
    @keyframes fadeInUp{ from{opacity:0; transform: translateY(30px);} to{opacity:1; transform: translateY(0);} }
    @keyframes pulse{
      0%,100%{ transform:scale(1); box-shadow: 0 0 20px rgba(211,47,47,.3); }
      50%{ transform:scale(1.05); box-shadow: 0 0 30px rgba(211,47,47,.5); }
    }

    /* ================= RESPONSIVE ================= */
    @media (max-width: 992px){
      .hero-title{ font-size: 3.5rem; }
      .hero-subtitle{ font-size: 1.5rem; }
    }

    /* ========== MOBILE MENU FULLSCREEN ========== */
    @media (max-width: 768px){
      .hamburger{ display:flex; }

      .nav-menu{
        position: fixed;
        top: 0;
        right: -100vw;
        width: 100vw;
        height: 100vh;
        background: #0a0a0a;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 5.2rem 1.6rem 2rem;
        gap: 0;
        transition: right .35s ease;
        z-index: 1190; /* au dessus overlay */
        overflow-y: auto;
      }

      .nav-menu.active{ right: 0; }

      .nav-link{
        padding: 1.1rem 0;
        border-bottom: 1px solid #222;
        border-radius: 0;
      }

      /* Dropdown mobile en mode "accordion" */
      .dropdown-content{
        position: static;
        border: none;
        border-radius: 0;
        background: #111;
        margin: 0.2rem 0 0.8rem 1rem;
        min-width: auto;
      }

      .dropdown.active .dropdown-content{ display:block; }

      .dropdown-content a{
        padding: 1rem 0;
        border-bottom: 1px solid #222;
      }

      /* HERO */
      .hero-minimal{ padding: 1rem; }
      .hero-title{ font-size: 2.6rem; }
      .hero-subtitle{ font-size: 1.2rem; }
      .cta-buttons{ flex-direction: column; }
      .btn{ width:100%; max-width: 320px; justify-content:center; }
      .section-title-simple h2{ font-size: 2.2rem; }
      .features-grid-simple{ grid-template-columns: 1fr; }
    }

    @media (max-width: 576px){
      .hero-title{ font-size: 2.2rem; }
      .hero-subtitle{ font-size: 1.05rem; }
      .feature-item{ padding: 2rem; }
    }