/* ========================================
   VSL SECTION - VIDEO SALES LETTER
   Design premium pour intégration vidéo Tella
======================================== */

/* Section VSL - Layout général */
.vsl-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FBF4EE 100%);
    position: relative;
    overflow: hidden;
}

.vsl-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D7B089, transparent);
}

/* Intro de la section */
.vsl-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    animation: fadeInUp 0.8s ease-out;
}

.vsl-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    box-shadow: 0 8px 24px rgba(215, 176, 137, 0.3);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.vsl-badge i {
    font-size: 16px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(215, 176, 137, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 32px rgba(215, 176, 137, 0.4);
    }
}

.vsl-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.vsl-subtitle {
    font-size: 18px;
    color: #6A6A6A;
    line-height: 1.6;
    margin: 0;
}

/* Container principal */
.vsl-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Wrapper vidéo avec aspect ratio 21:9 (format cinématique horizontal) */
.vsl-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 42.85%; /* Ratio 21:9 (format ultra-wide horizontal) */
    background: linear-gradient(135deg, #2C2C2C, #1A1A1A);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(215, 176, 137, 0.2);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.vsl-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, #D7B089, #CFAE88);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    pointer-events: none;
}

.vsl-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 24px;
}

/* Section bénéfices */
.vsl-benefits {
    background: #FFFFFF;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(215, 176, 137, 0.15);
    border: 1px solid rgba(215, 176, 137, 0.2);
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.vsl-benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D7B089, #CFAE88, #D7B089);
    border-radius: 24px 24px 0 0;
}

.vsl-benefits-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0 0 30px 0;
    text-align: center;
}

.vsl-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.vsl-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, rgba(251, 244, 238, 0.5), rgba(254, 253, 251, 0.5));
    border-radius: 16px;
    border: 1px solid rgba(215, 176, 137, 0.15);
    transition: all 0.3s ease;
}

.vsl-benefits-list li:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, #FBF4EE, #FEFDFB);
    border-color: rgba(215, 176, 137, 0.3);
    box-shadow: 0 8px 20px rgba(215, 176, 137, 0.15);
}

.vsl-benefits-list li i {
    font-size: 24px;
    color: #D7B089;
    flex-shrink: 0;
    margin-top: 2px;
}

.vsl-benefits-list li span {
    font-size: 17px;
    color: #4A4A4A;
    font-weight: 500;
    line-height: 1.5;
}

/* CTA dans la section bénéfices */
.vsl-cta {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(215, 176, 137, 0.2);
}

.vsl-cta .btn {
    margin-bottom: 15px;
}

.vsl-cta-note {
    font-size: 14px;
    color: #8B7355;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
}

.vsl-cta-note i {
    color: #D7B089;
    font-size: 16px;
}

/* Responsive Desktop (1 colonne pour vidéo ultra-wide) */
@media (min-width: 992px) {
    .vsl-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .vsl-wrapper {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .vsl-benefits {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 900px;
        margin: 0 auto;
    }
}

/* Responsive Tablette */
@media (max-width: 991px) {
    .vsl-section {
        padding: 80px 0;
    }
    
    .vsl-title {
        font-size: 38px;
    }
    
    .vsl-subtitle {
        font-size: 16px;
    }
    
    .vsl-benefits {
        padding: 40px 30px;
    }
    
    .vsl-benefits-title {
        font-size: 24px;
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .vsl-section {
        padding: 60px 0;
    }
    
    .vsl-intro {
        margin-bottom: 40px;
    }
    
    .vsl-badge {
        font-size: 12px;
        padding: 8px 18px;
        margin-bottom: 20px;
    }
    
    .vsl-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .vsl-subtitle {
        font-size: 15px;
    }
    
    .vsl-container {
        gap: 30px;
    }
    
    .vsl-benefits {
        padding: 30px 20px;
    }
    
    .vsl-benefits-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .vsl-benefits-list li {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .vsl-benefits-list li i {
        font-size: 20px;
    }
    
    .vsl-benefits-list li span {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .vsl-section {
        padding: 50px 0;
    }
    
    .vsl-title {
        font-size: 28px;
    }
    
    .vsl-benefits {
        padding: 25px 15px;
    }
    
    .vsl-benefits-list li {
        flex-direction: row;
        gap: 12px;
        padding: 12px;
    }
    
    .vsl-benefits-list li i {
        font-size: 18px;
    }
    
    .vsl-benefits-list li span {
        font-size: 14px;
    }
}

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

/* Effet de chargement vidéo */
.vsl-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 4px solid rgba(215, 176, 137, 0.2);
    border-top-color: #D7B089;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.vsl-iframe:not([src=""]) ~ .vsl-wrapper::after {
    display: none;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
