/* ===== CSS Voyageurs - Badge Populaire + Animations ===== */

.pricing-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    /* Badge Exclusivité Luxe - Design sobre et discret */
    /* Pas de background-color pour laisser transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.95);
    padding: 6px 20px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-family-display);
    z-index: 10;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Pas de bordure CSS classique - on utilise des gradients */
    border: none;
    /* Bordures dorées avec effet de fondu via background-image */
    background-image: 
        /* Bordure du haut - gradient qui s'estompe vers les bords */
        linear-gradient(to right, 
            transparent 0%,
            transparent 15%,
            rgba(184, 134, 11, 0.5) 30%,
            rgba(184, 134, 11, 0.7) 50%,
            rgba(184, 134, 11, 0.5) 70%,
            transparent 85%,
            transparent 100%
        ),
        /* Bordure du bas - gradient qui s'estompe vers les bords */
        linear-gradient(to right, 
            transparent 0%,
            transparent 15%,
            rgba(184, 134, 11, 0.5) 30%,
            rgba(184, 134, 11, 0.7) 50%,
            rgba(184, 134, 11, 0.5) 70%,
            transparent 85%,
            transparent 100%
        );
    background-size: 100% 1px;
    background-position: top, bottom;
    background-repeat: no-repeat;
}

/* Point délicat à droite - marque d'exclusivité */
.pricing-popular-badge::after {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 8px;
    line-height: 1;
    color: rgba(184, 134, 11, 0.5);
    letter-spacing: 0;
    font-weight: normal;
}

/* Hover state - Subtilité maximale */
.pricing-card--popular:hover .pricing-popular-badge {
    background: transparent;
    /* Bordures plus intenses au hover */
    background-image: 
        /* Bordure du haut - plus intense au hover */
        linear-gradient(to right, 
            transparent 0%,
            transparent 12%,
            rgba(184, 134, 11, 0.6) 28%,
            rgba(184, 134, 11, 0.85) 50%,
            rgba(184, 134, 11, 0.6) 72%,
            transparent 88%,
            transparent 100%
        ),
        /* Bordure du bas - plus intense au hover */
        linear-gradient(to right, 
            transparent 0%,
            transparent 12%,
            rgba(184, 134, 11, 0.6) 28%,
            rgba(184, 134, 11, 0.85) 50%,
            rgba(184, 134, 11, 0.6) 72%,
            transparent 88%,
            transparent 100%
        );
    background-size: 100% 1px;
    background-position: top, bottom;
    background-repeat: no-repeat;
}

/* Animations */
@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes starFloat {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) translateX(2px) scale(1.1);
    }
}

@keyframes starRotate {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Animation de pulsation du glow néon */
@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 
            0 0 0 3px rgba(255, 215, 0, 0.3),
            0 0 0 6px rgba(255, 199, 0, 0.2),
            0 0 20px rgba(255, 215, 0, 0.4),
            0 4px 12px rgba(0, 0, 0, 0.3),
            inset 0 2px 4px rgba(255, 255, 255, 0.4),
            inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 0 0 4px rgba(255, 215, 0, 0.5),
            0 0 0 8px rgba(255, 199, 0, 0.3),
            0 0 30px rgba(255, 215, 0, 0.6),
            0 4px 12px rgba(0, 0, 0, 0.3),
            inset 0 2px 4px rgba(255, 255, 255, 0.5),
            inset 0 -2px 4px rgba(0, 0, 0, 0.25);
    }
}

/* Animation de pulsation du halo */
@keyframes badgePulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Rotation légère de l'étoile */
@keyframes starSpin {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    25% {
        transform: translate(-50%, -50%) rotate(-5deg);
    }
    75% {
        transform: translate(-50%, -50%) rotate(5deg);
    }
}

/* Bounce de l'étoile au hover */
@keyframes starBounce {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
    }
}

