/**
 * Hero Nouveautés - Hero Section
 * Theme: Hello Elementor Child
 * Version: 1.0.0
 */

.hero-nouveautes {
    position: relative;
    width: 100%;
    min-height: 85vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(193, 163, 95, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(193, 163, 95, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #c1a35f;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite ease-in-out;
}

.hero-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.hero-particle:nth-child(2) { top: 60%; left: 20%; animation-delay: 2s; }
.hero-particle:nth-child(3) { top: 40%; left: 80%; animation-delay: 4s; }
.hero-particle:nth-child(4) { top: 70%; left: 70%; animation-delay: 6s; }
.hero-particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 8s; }

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.6; }
    25% { transform: translateY(-30px) translateX(20px); opacity: 1; }
    50% { transform: translateY(-60px) translateX(-20px); opacity: 0.6; }
    75% { transform: translateY(-30px) translateX(20px); opacity: 1; }
}

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

.hero-content {
    color: #ffffff;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(193, 163, 95, 0.2);
    border: 2px solid #c1a35f;
    border-radius: 30px;
    color: #c1a35f;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #c1a35f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-btn-primary {
    background: #c1a35f;
    color: #ffffff;
    border: 2px solid #c1a35f;
}

.hero-btn-primary:hover {
    background: #ffffff;
    color: #c1a35f;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(193, 163, 95, 0.3);
}

.hero-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.hero-btn-secondary:hover {
    background: #ffffff;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* Section visuelle */
.hero-nv-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s backwards;
}

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

.hero-nv-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-nv-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 250px;
}

.hero-nv-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(193, 163, 95, 0.4);
}

.hero-nv-image-card:first-child {
    grid-row: span 2;
    min-height: 520px;
}

.hero-nv-image-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-nv-image-card:hover img {
    transform: scale(1.05);
}

/* Badge NEW */
.new-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #c1a35f;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(193, 163, 95, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Info overlay au survol */
.hero-nv-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    color: #ffffff;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-nv-image-card:hover .hero-nv-overlay {
    transform: translateY(0);
}

.hero-nv-product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.hero-nv-product-price {
    font-size: 20px;
    color: #c1a35f;
    font-weight: 700;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #c1a35f;
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 14px;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 30px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-nv-visual {
        order: -1;
    }

    .hero-stats {
        justify-content: space-around;
    }
}

@media (max-width: 640px) {
    .hero-nouveautes {
        min-height: auto;
    }

    .hero-container {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-nv-images {
        grid-template-columns: 1fr;
    }

    .hero-nv-image-card:first-child {
        grid-row: auto;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .hero-stat {
        flex: 1 1 40%;
    }
}
