/* ==========================================================================
   SECTION HERO MERCHANDISING
   ========================================================================== */

/* Hero Style Merchandising V2 */
.hero-merchandising-v2 {
    min-height: 100vh;
    background: #000;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 20px;
}

/* Sur grands écrans, on réduit l'alignement centré */
@media (min-width: 1025px) {
    .hero-merchandising-v2 {
        align-items: flex-start;
        padding-top: 40px;
    }
}

/* Fond noir pur */
.hero-merchandising-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 1;
}

.hero-merchandising-v2::after {
    display: none;
}

.hero-content-v2 {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Partie gauche - Texte */
.hero-left {
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.3s forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-left .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,0,0,0.1);
    border: 1px solid rgba(255,0,0,0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ff0000;
    margin-bottom: 30px;
}

.badge-new {
    background: #ff0000;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
}

.hero-left h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.hero-left h1 .line1 {
    display: block;
    color: #fff;
}

.hero-left h1 .line2 {
    display: block;
    color: #ff0000;
    margin-top: 10px;
}

.hero-left .subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #ff0000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #ff0000;
    color: #ff0000;
}

/* Partie droite - Visual */
.hero-right {
    position: relative;
    height: 600px;
    opacity: 0;
    animation: slideInRight 1s ease-out 0.5s forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Container pour les produits */
.floating-products {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central element */
.merch-center {
    width: 150px;
    height: 150px;
    background: rgba(255,0,0,0.15);
    border: 3px solid rgba(255,0,0,0.6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 40px rgba(255,0,0,0.4);
    transition: all 0.3s ease;
}

.merch-center:hover {
    background: rgba(255,0,0,0.25);
    box-shadow: 0 0 60px rgba(255,0,0,0.6);
    transform: scale(1.05);
}

.merch-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.merch-label {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

/* Product cards - positions fixes sans chevauchement */
.product-card {
    position: absolute;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 20px;
    width: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.product-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,0,0,0.5);
    box-shadow: 0 10px 30px rgba(255,0,0,0.3);
}

/* Positions en croix pour éviter le chevauchement */
.product-card:nth-child(1) {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: float1 8s ease-in-out infinite;
}

.product-card:nth-child(2) {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    animation: float2 10s ease-in-out infinite;
    animation-delay: 2s;
}

.product-card:nth-child(3) {
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation: float1 9s ease-in-out infinite;
    animation-delay: 4s;
}

.product-card:nth-child(4) {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    animation: float2 11s ease-in-out infinite;
    animation-delay: 6s;
}

/* Animations simples */
@keyframes float1 {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 10px)); }
}

.product-emoji {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.product-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 20px;
}

.product-price {
    color: #ff0000;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Promo badge - position fixe */
.promo-badge {
    position: absolute;
    top: 15%;
    right: 15%;
    background: #ff0000;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    animation: pulse 2s infinite;
    box-shadow: 0 5px 20px rgba(255,0,0,0.5);
    transform: rotate(15deg);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.scroll-indicator span {
    display: block;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, #666, transparent);
    margin: 0 auto;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ==========================================================================
   SECTION MERCHANDISING PRODUITS
   ========================================================================== */

.merch-products-section {
    background: #f8f8f8;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.merch-products-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Grille des produits */
.merch-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Carte produit */
.merch-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.merch-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Image produit */
.merch-product-image {
    width: 100%;
    height: 300px;
    background: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.merch-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.merch-product-card:hover .merch-product-image img {
    transform: scale(1.1);
}

/* Badge nouveau */
.merch-product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff0000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contenu produit */
.merch-product-content {
    padding: 30px;
}

.merch-product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.merch-product-price {
    font-size: 1.75rem;
    color: #ff0000;
    font-weight: 700;
    margin-bottom: 20px;
}

.merch-product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.merch-product-features {
    margin-bottom: 25px;
}

.merch-product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.merch-product-features li {
    padding: 8px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.merch-product-features li::before {
    content: '✓';
    color: #ff0000;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Bouton commander */
.merch-product-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.merch-product-button:hover {
    background: #ff0000;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Responsive Hero Merchandising */
@media (max-width: 1024px) {
    .hero-merchandising-v2 {
        align-items: center;
        padding-top: 40px;
    }
    
    .hero-content-v2 {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-left .subtitle {
        margin: 0 auto 40px;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-right {
        height: 400px;
        margin-top: 20px;
    }
    
    .product-card {
        width: 140px;
        padding: 15px;
    }
    
    .merch-center {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .hero-merchandising-v2 {
        padding: 20px;
        min-height: 100vh;
        align-items: flex-start;
        padding-top: 80px;
    }
    
    .hero-content-v2 {
        padding: 0 20px;
    }
    
    .hero-left .badge {
        font-size: 11px;
        padding: 6px 16px;
        margin-bottom: 20px;
    }
    
    .hero-left h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero-left h1 .line2 {
        margin-top: 5px;
    }
    
    .hero-left .subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .hero-right {
        height: 350px;
        margin-top: 40px;
    }
    
    .product-card {
        width: 120px;
        padding: 12px;
    }
    
    .product-card:nth-child(4) {
        display: none;
    }
    
    .product-emoji {
        font-size: 2rem;
    }
    
    .product-name {
        font-size: 0.8rem;
    }
    
    .promo-badge {
        font-size: 0.875rem;
        padding: 8px 16px;
        top: 10%;
        right: 10%;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    /* Section Produits responsive */
    .merch-products-section {
        padding: 60px 0;
    }
    
    .merch-products-container {
        padding: 0 20px;
    }
    
    .merch-products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .merch-product-image {
        height: 250px;
    }
}