/* Fichier : assets/css/components/editorial-services.css */
/* Description : Styles pour la page services éditoriaux BookConnect */

:root {
    --editorial-primary: #4facfe;
    --editorial-secondary: #00f2fe;
    --editorial-accent: #43e97b;
    --editorial-warning: #fbbf24;
    --editorial-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --editorial-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --editorial-card-shadow: 0 10px 25px rgba(0,0,0,0.1);
    --editorial-hover-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero-editorial {
    background: var(--editorial-gradient);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-editorial::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="editorial" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 5 L25 15 L15 25 L5 15 Z" fill="rgba(255,255,255,0.05)" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><circle cx="15" cy="15" r="2" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23editorial)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.95;
}

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

.hero-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.benefit-item i {
    font-size: 1.2rem;
}

/* Types de services */
.service-types {
    padding: 4rem 0;
    background: #f8fafc;
}

.service-types h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.service-types h2 i {
    color: var(--editorial-primary);
}

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

.service-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--editorial-card-shadow);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--editorial-hover-shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.service-card.proofreading::before { background: var(--editorial-gradient); }
.service-card.copyediting::before { background: var(--editorial-success); }
.service-card.developmental::before { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.service-card.coaching::before { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
}

.proofreading .service-icon { background: var(--editorial-gradient); }
.copyediting .service-icon { background: var(--editorial-success); }
.developmental .service-icon { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.coaching .service-icon { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }

.service-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.service-info p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.service-features li::before {
    content: '✓';
    color: var(--editorial-accent);
    font-weight: bold;
    width: 16px;
}

.service-pricing {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.price-range {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--editorial-primary);
    display: block;
}

.price-unit {
    font-size: 0.9rem;
    color: #4a5568;
}

.service-delivery {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.service-delivery i {
    color: var(--editorial-accent);
}

.btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--editorial-primary);
    border: 2px solid var(--editorial-primary);
}

.btn-outline:hover {
    background: var(--editorial-primary);
    color: white;
    transform: translateY(-2px);
}

/* Correcteurs en vedette */
.featured-editors {
    padding: 4rem 0;
    background: white;
}

.featured-editors h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.featured-editors h2 i {
    color: #fbbf24;
}

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

.editor-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--editorial-card-shadow);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.editor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--editorial-hover-shadow);
}

.editor-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.editor-badge.premium {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.editor-badge.verified {
    background: var(--editorial-success);
    color: white;
}

.editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.editor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e2e8f0;
}

.editor-rating {
    text-align: right;
}

.stars {
    color: #fbbf24;
    margin-bottom: 0.3rem;
}

.rating-score {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 600;
}

.editor-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.editor-specialty {
    color: var(--editorial-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.editor-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.editor-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568;
}

.editor-stats i {
    color: var(--editorial-primary);
    width: 16px;
}

.editor-plumes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.editor-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.editor-actions {
    display: flex;
    gap: 1rem;
}

/* Processus de travail */
.work-process {
    padding: 4rem 0;
    background: #f8fafc;
}

.work-process h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.work-process h2 i {
    color: var(--editorial-accent);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--editorial-card-shadow);
    text-align: center;
    max-width: 250px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--editorial-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #4a5568;
    line-height: 1.5;
}

.step-arrow {
    color: var(--editorial-primary);
    font-size: 1.5rem;
}

/* Témoignages */
.testimonials {
    padding: 4rem 0;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonials h2 i {
    color: var(--editorial-accent);
}

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

.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--editorial-card-shadow);
    transition: all 0.3s ease;
    border-left: 4px solid var(--editorial-primary);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--editorial-hover-shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.2rem;
}

.client-role {
    font-size: 0.9rem;
    color: #4a5568;
}

.testimonial-rating {
    margin-left: auto;
    color: #fbbf24;
}

.testimonial-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-service {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.testimonial-service span:first-child {
    color: #4a5568;
}

.plumes-spent {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-weight: 600;
}

/* FAQ */
.faq-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.faq-section h2 i {
    color: var(--editorial-warning);
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--editorial-card-shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--editorial-hover-shadow);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

.cta-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    min-width: 200px;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--editorial-primary);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--editorial-primary);
}

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

.service-card,
.editor-card,
.testimonial-card,
.step-item,
.faq-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.editor-card:nth-child(1) { animation-delay: 0.1s; }
.editor-card:nth-child(2) { animation-delay: 0.2s; }
.editor-card:nth-child(3) { animation-delay: 0.3s; }

.step-item:nth-child(odd) { animation-delay: 0.1s; }
.step-item:nth-child(even) { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-benefits {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .services-grid,
    .editors-grid,
    .testimonials-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .editor-actions,
    .cta-buttons {
        flex-direction: column;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .testimonial-service {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .editor-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .editor-stats {
        align-items: center;
    }
    
    .benefit-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}
