/**
 * Styles pour la popup d'offre de lancement
 * RéuniLoc v7.0
 */

/* Overlay de la popup */
.reuniloc-launch-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999999;
    justify-content: center;
    align-items: center;
    animation: reuniloc-fadeIn 0.3s ease-in-out;
}

.reuniloc-launch-popup-overlay.active {
    display: flex;
}

/* Container de la popup */
.reuniloc-launch-popup {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: reuniloc-slideUp 0.4s ease-out;
    border: 3px solid #00a86b;
}

/* Header de la popup */
.reuniloc-launch-popup-header {
    position: relative;
    background: linear-gradient(135deg, #00a86b 0%, #00c97a 100%);
    padding: 30px 20px 20px;
    text-align: center;
    border-radius: 17px 17px 0 0;
    overflow: hidden;
}

.reuniloc-launch-popup-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: reuniloc-rotate 20s linear infinite;
}

.reuniloc-launch-popup-badge {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
    position: relative;
    z-index: 2;
}

.reuniloc-launch-popup-title {
    color: white;
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.reuniloc-launch-popup-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin: 5px 0 0;
    position: relative;
    z-index: 2;
}

/* Bouton de fermeture */
.reuniloc-launch-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.reuniloc-launch-popup-close:hover {
    background: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Body de la popup */
.reuniloc-launch-popup-body {
    padding: 30px;
    text-align: center;
}

.reuniloc-launch-popup-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 0 auto 25px;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: reuniloc-bounce 2s ease-in-out infinite;
}

.reuniloc-launch-popup-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.reuniloc-launch-popup-content h3 {
    color: #00a86b;
    font-size: 24px;
    margin: 0 0 15px;
    font-weight: bold;
}

.reuniloc-launch-popup-content p {
    margin: 0 0 15px;
}

.reuniloc-launch-popup-features {
    background: #f0f9f4;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #00a86b;
}

.reuniloc-launch-popup-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.reuniloc-launch-popup-features li {
    padding: 10px 0 10px 35px;
    position: relative;
    font-size: 15px;
    color: #333;
}

.reuniloc-launch-popup-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #00a86b;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.reuniloc-launch-popup-highlight {
    background: linear-gradient(135deg, #ff9800 0%, #ffa726 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(255, 152, 0, 0.3);
}

/* Bouton CTA */
.reuniloc-launch-popup-cta {
    background: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.reuniloc-launch-popup-cta:hover {
    background: linear-gradient(135deg, #ff6f00 0%, #e65100 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 152, 0, 0.5);
}

.reuniloc-launch-popup-cta:active {
    transform: translateY(-1px);
}

.reuniloc-launch-popup-footer {
    padding: 0 30px 30px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* Animations */
@keyframes reuniloc-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes reuniloc-slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes reuniloc-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .reuniloc-launch-popup {
        width: 95%;
        max-width: none;
        margin: 10px;
    }
    
    .reuniloc-launch-popup-title {
        font-size: 24px;
    }
    
    .reuniloc-launch-popup-subtitle {
        font-size: 16px;
    }
    
    .reuniloc-launch-popup-body {
        padding: 20px;
    }
    
    .reuniloc-launch-popup-image {
        max-width: 200px;
    }
    
    .reuniloc-launch-popup-cta {
        padding: 15px 35px;
        font-size: 16px;
    }
    
    .reuniloc-launch-popup-content {
        font-size: 14px;
    }
}

/* Animations d'entrée spéciales */
.reuniloc-launch-popup.entering {
    animation: reuniloc-popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes reuniloc-popIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }
    50% {
        transform: scale(1.05) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}
