/* ========================================
   VOYAGE SÛR - PAGE DE TÉLÉCHARGEMENT
   ======================================== */

.vsm-download-apps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ========================================
   HEADER
   ======================================== */

.vsm-download-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.vsm-download-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.vsm-app-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
}

.vsm-logo-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.vsm-download-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.vsm-download-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   FEATURES
   ======================================== */

.vsm-app-features {
    margin-bottom: 4rem;
}

.vsm-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.vsm-feature-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.vsm-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.vsm-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.vsm-feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.vsm-feature-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */

.vsm-download-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 1px solid #dee2e6;
}

.vsm-download-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
}

.vsm-download-section > p {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 2rem 0;
}

.vsm-download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.vsm-download-btn {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.vsm-ios-btn {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
}

.vsm-android-btn {
    background: linear-gradient(135deg, #3ddc84 0%, #2bb673 100%);
    color: white;
}

.vsm-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.vsm-btn-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.vsm-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.vsm-btn-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.2rem;
}

.vsm-btn-platform {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========================================
   APP INFO
   ======================================== */

.vsm-app-info {
    margin-bottom: 4rem;
}

.vsm-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.vsm-info-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.vsm-info-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #2c3e50;
}

.vsm-info-item p {
    color: #666;
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.vsm-info-item ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #666;
}

.vsm-info-item li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.vsm-info-item strong {
    color: #2c3e50;
}

/* ========================================
   CTA SECTION
   ======================================== */

.vsm-cta-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.vsm-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain2" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain2)"/></svg>');
    opacity: 0.3;
}

.vsm-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    position: relative;
    z-index: 2;
}

.vsm-cta-section p {
    font-size: 1.1rem;
    margin: 0 0 2rem 0;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.vsm-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.vsm-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.vsm-ios-cta {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.vsm-android-cta {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.vsm-cta-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .vsm-download-apps {
        padding: 1rem;
    }
    
    .vsm-download-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .vsm-download-header h1 {
        font-size: 2rem;
    }
    
    .vsm-download-subtitle {
        font-size: 1rem;
    }
    
    .vsm-feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vsm-download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .vsm-download-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .vsm-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vsm-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .vsm-cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .vsm-download-section h2,
    .vsm-cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .vsm-download-header h1 {
        font-size: 1.75rem;
    }
    
    .vsm-logo-icon {
        font-size: 3rem;
    }
    
    .vsm-feature-icon {
        font-size: 2.5rem;
    }
    
    .vsm-download-section,
    .vsm-cta-section {
        padding: 2rem 1rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

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

.vsm-feature-item,
.vsm-info-item {
    animation: fadeInUp 0.6s ease-out;
}

.vsm-feature-item:nth-child(1) { animation-delay: 0.1s; }
.vsm-feature-item:nth-child(2) { animation-delay: 0.2s; }
.vsm-feature-item:nth-child(3) { animation-delay: 0.3s; }
.vsm-feature-item:nth-child(4) { animation-delay: 0.4s; }
.vsm-feature-item:nth-child(5) { animation-delay: 0.5s; }
.vsm-feature-item:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   ACCESSIBILITY
   ======================================== */

.vsm-download-btn:focus,
.vsm-cta-btn:focus {
    outline: 3px solid #007cba;
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .vsm-download-apps {
        max-width: none;
        padding: 0;
    }
    
    .vsm-download-header,
    .vsm-cta-section {
        background: #f8f9fa !important;
        color: #333 !important;
    }
    
    .vsm-download-btn,
    .vsm-cta-btn {
        border: 1px solid #333;
        background: white !important;
        color: #333 !important;
    }
} 