/*
===============================================================================
PROMOTION SERVICES PAGE STYLES
===============================================================================
Styles pour la page des services de promotion - BookConnect
Sections : Hero, Processus, Services, Dashboard, Plumes
===============================================================================
*/

/* ===== VARIABLES CSS ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --promotion-gradient: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    --success-color: #10b981;
    --warning-color: #fbbf24;
    --primary-blue: #3b82f6;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --bg-light: #f8fafc;
    --bg-gray: #e2e8f0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ===== SECTION HERO PROMOTION ===== */
.promotion-hero {
    background: var(--promotion-gradient);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.promotion-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.promotion-hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Statistiques Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== SECTION PROCESSUS PROMOTION ===== */
.promotion-overview {
    padding: 5rem 0;
    background: var(--bg-light);
}

.promotion-overview h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 2.5rem;
}

.promotion-overview p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.promotion-timeline {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    gap: 1rem;
}

.promotion-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: var(--bg-gray);
    z-index: 1;
}

.timeline-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
    background: white;
    padding: 1.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    max-width: 160px;
    margin: 0 auto;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-gray);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.timeline-step.active .step-number {
    background: var(--promotion-gradient);
    color: white;
}

.timeline-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.timeline-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
}

/* ===== SECTION SERVICES PROMOTION ===== */
.promotion-services {
    padding: 5rem 0;
    background: white;
}

.promotion-services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-size: 2.5rem;
}

.service-detail {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.service-detail.visible {
    opacity: 1;
    transform: translateY(0);
}

/* En-tête des services */
.service-header {
    background: linear-gradient(135deg, #f1f5f9 0%, var(--bg-gray) 100%);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-badge {
    background: var(--promotion-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-header h3 {
    flex: 1;
    margin: 0;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.coverage {
    background: var(--success-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contenu des services */
.service-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.service-features h4,
.service-benefits h4,
.service-pricing h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features ul,
.service-benefits ul {
    list-style: none;
    padding: 0;
}

.service-features li,
.service-benefits li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before,
.service-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

.pricing-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.price-item strong {
    color: var(--text-primary);
}

.price-item span {
    color: var(--primary-blue);
    font-weight: 600;
}

.pricing-packages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.package-item {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.package-item h5 {
    margin: 0 0 0.5rem;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.package-price {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.package-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== SECTION DASHBOARD PROMOTION ===== */
.promotion-dashboard {
    padding: 5rem 0;
    background: var(--bg-light);
}

.promotion-dashboard h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 2.5rem;
}

.promotion-dashboard p {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.dashboard-mockup {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-top: 2rem;
}

.dashboard-header {
    background: var(--promotion-gradient);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-badge.active {
    background: var(--success-color);
    color: white;
}

.dashboard-content {
    padding: 2rem;
}

/* Métriques principales */
.metrics-overview {
    margin-bottom: 2rem;
}

.metrics-overview h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.metric-card h5 {
    margin: 0 0 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.metric-trend {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
}

.metric-trend.positive {
    background: #dcfce7;
    color: var(--success-color);
}

.metric-trend.neutral {
    background: var(--bg-gray);
    color: var(--text-secondary);
}

/* Performance des canaux */
.channels-performance h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.channels-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.channel-item {
    display: grid;
    grid-template-columns: 40px 1fr 100px 100px 80px;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.rank {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.channel {
    font-weight: 500;
    color: var(--text-primary);
}

.impressions, .conversions, .cost {
    text-align: right;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== SECTION PLUMES PROMOTION ===== */
.promotion-plumes {
    padding: 5rem 0;
    background: white;
}

.promotion-plumes h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-size: 2.5rem;
}

.plumes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.plumes-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.plumes-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.earn-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.earn-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--success-color);
}

.earn-action {
    font-weight: 500;
    color: var(--text-primary);
}

.earn-points {
    font-weight: 700;
    color: var(--success-color);
    font-size: 0.9rem;
}

.spend-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spend-category h4 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.spend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 0.5rem;
}

.spend-service {
    font-weight: 500;
    color: var(--text-primary);
}

.spend-cost {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

/* ===== SECTION CTA ===== */
.cta-section {
    background: var(--secondary-gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Hero responsive */
    .promotion-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* Timeline responsive */
    .promotion-timeline {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .promotion-timeline::before {
        display: none;
    }
    
    .timeline-step {
        max-width: 300px;
        width: 100%;
    }
    
    /* Services responsive */
    .service-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Dashboard responsive */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .channel-item {
        grid-template-columns: 40px 1fr;
        gap: 0.5rem;
    }
    
    .impressions, .conversions, .cost {
        display: none;
    }
    
    /* Plumes responsive */
    .plumes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* CTA responsive */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .promotion-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-item strong {
        font-size: 1.5rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .service-header h3 {
        font-size: 1.2rem;
    }
}

/*
===============================================================================
FIN DU FICHIER PROMOTION-SERVICES.CSS
===============================================================================
*/
