/* Fichier : assets/css/components/auteur.css */
/* Description : Styles pour la page guide de l'auteur */

/* Variables CSS */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset et base */
.auteur-guide {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Hero Section */
.hero-auteur {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 180px;
}

.hero-auteur::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/pattern-overlay.png') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.hero-auteur h1 i {
    margin-right: 1rem;
    color: var(--warning-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Navigation rapide - Styles déplacés vers quick-nav.css */

/* Sections communes */
.interaction-section {
    padding: 80px 0;
}

/* Compensation pour la navigation fixe */
.interaction-section:first-of-type {
    padding-top: 80px;
}

.alt-bg {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header h2 i {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Grilles de fonctionnalités */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Parcours de publication */
.publication-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.path-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.path-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    text-align: center;
}

.path-header i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.path-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.path-content {
    padding: 2rem;
}

.path-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.path-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.step-number {
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
}

/* Outils de promotion */
.promotion-tools {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.tool-category h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.tool-category h3 i {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tool-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.tool-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.tool-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.tool-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tool-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Réseau */
.network-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.network-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.network-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.network-icon i {
    font-size: 2rem;
    color: white;
}

.network-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.network-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.network-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.action-tag {
    background: var(--light-bg);
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Formation */
.formation-categories {
    max-width: 1000px;
    margin: 0 auto;
}

.formation-tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.course-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.course-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.course-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-light);
}

.course-meta i {
    color: var(--secondary-color);
}

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

.service-category {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.service-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.service-category h3 i {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.service-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--secondary-color);
    background: var(--light-bg);
}

.service-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.price {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

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

.cta-buttons {
    display: flex;
    height: 80px;
    min-height: 80px;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box;
}

.btn-primary {
    height: 100%;
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: none;
    width: 400px;
}

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

.btn-secondary {
    height: 100%;
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: none;
    width: 400px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-auteur h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .quick-nav {
        gap: 1rem;
    }
    
    .nav-item {
        padding: 0.8rem 1rem;
        min-width: 80px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid,
    .publication-paths,
    .network-features,
    .courses-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .formation-tab-nav {
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-auteur {
        padding: 60px 0;
    }
    
    .hero-auteur h1 {
        font-size: 2rem;
    }
    
    .interaction-section {
        padding: 60px 0;
    }
    
    .feature-card,
    .path-content,
    .network-card,
    .service-category {
        padding: 1.5rem;
    }
}
