/* Styles pour la bannière promotionnelle */
.promo-banner-container {
    margin: 20px 0 40px 0;
    position: relative;
    z-index: 5;
}

.promo-banner {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    animation: slideInPromo 0.5s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.promo-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Motifs de fond */
.promo-banner-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

.promo-banner-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -50px;
    left: -50px;
}

.promo-banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    padding: 30px 35px;
}

.promo-banner-text {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    flex: 1;
}

/* Wrapper pour l'icône avec animation */
.promo-banner-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.promo-banner-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.promo-banner:hover .promo-banner-icon {
    transform: scale(1.05) rotate(5deg);
}

.promo-banner-icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    animation: pulseIcon 2s infinite;
    z-index: 1;
}

@keyframes pulseIcon {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}

.promo-banner-icon-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.promo-banner-icon-placeholder i {
    font-size: 2.5rem;
    color: white;
}

.promo-banner-info {
    flex: 1;
}

.promo-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.promo-banner-tag i {
    font-size: 0.7rem;
    color: #ffd700;
}

.promo-banner-info h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.promo-banner-info p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
    max-width: 500px;
}

.promo-banner-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 14px 32px;
    border-radius: 60px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.promo-banner-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.promo-banner-btn:hover::before {
    left: 100%;
}

.promo-banner-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
    gap: 18px;
}

.promo-banner-btn span {
    position: relative;
    z-index: 2;
}

.promo-banner-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.promo-banner-btn:hover i {
    transform: translateX(5px);
}

/* Badge de promotion */
.promo-banner-badge {
    position: absolute;
    top: 15px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 40px;
    text-align: center;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: bounce 1s ease infinite;
}

.promo-banner-badge span {
    font-size: 1.2rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.promo-banner-badge small {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Overlay au survol */
.promo-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
    z-index: 2;
    border-radius: 24px;
}

.promo-banner:hover::after {
    background: rgba(0, 0, 0, 0.05);
}

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

/* Responsive */
@media (max-width: 992px) {
    .promo-banner-content {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .promo-banner-text {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .promo-banner-info {
        text-align: center;
    }
    
    .promo-banner-info p {
        max-width: 100%;
    }
    
    .promo-banner-btn {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }
    
    .promo-banner-badge {
        top: 10px;
        right: 10px;
        padding: 5px 12px;
    }
    
    .promo-banner-badge span {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .promo-banner-icon,
    .promo-banner-icon-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .promo-banner-icon-placeholder i {
        font-size: 1.8rem;
    }
    
    .promo-banner-info h3 {
        font-size: 1.2rem;
    }
    
    .promo-banner-info p {
        font-size: 0.85rem;
    }
    
    .promo-banner-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .promo-banner-content {
        padding: 20px;
    }
    
    .shape-1, .shape-2 {
        display: none;
    }
}

@media (max-width: 480px) {
    .promo-banner-badge {
        display: none;
    }
}
