/* ==============================================
   FICHIER CSS POUR LA PAGE SERVICES - PROSTYCOM
   République du Congo
============================================== */

/* ===== VARIABLES CSS ===== */
:root {
    /* Couleurs principales */
    --primary-color: #1E90FF;
    --secondary-color: #2C3E50;
    --accent-color: #00BFFF;
    --text-dark: #2C3E50;
    --text-light: #ffffff;
    --text-muted: #666666;
    
    /* Arrière-plans */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    
    /* Effets */
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-heavy: 0 8px 20px rgba(0,0,0,0.15);
    --border-radius: 10px;
    --border-radius-large: 15px;
    --transition: all 0.3s ease;
}

/* ===== BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: white;
    position: relative;
}

.page-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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== SERVICES DETAILS ===== */
.services-detailed {
    padding: 5rem 0;
    background: var(--bg-light);
}

/* ===== NOUVELLES CATÉGORIES DE SERVICES ===== */
.service-category {
    margin-bottom: 4rem;
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    padding: 3rem;
    position: relative;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.category-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

.service-card-category {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.service-card-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.service-card-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.service-card-category p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pricing-table {
    margin-bottom: 1.5rem;
}

.price-level {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: var(--transition);
}

.price-level.starter {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.price-level.standard {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 1px solid #ffeaa7;
}

.price-level.premium {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-service {
    display: inline-block;
    width: 100%;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-service:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ===== SECTION CTA AMÉLIORÉE ===== */
.pricing-levels-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.level-info {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.level-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.level-info p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.service-detail {
    margin-bottom: 5rem;
    background: white;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    position: relative;
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    align-items: start;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-header {
    margin-bottom: 2rem;
}

.service-header .service-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
}

.service-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.service-tagline {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

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

.service-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
}

.tech-stack, .social-platforms, .design-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-tag, .platform-tag, .tool-tag {
    background: var(--bg-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

.price-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.price-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
}

/* Hosting Plans */
.hosting-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hosting-plan {
    background: var(--bg-white);
    border: 2px solid #e1e1e1;
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.hosting-plan.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.hosting-plan.featured::before {
    content: 'Recommandé';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hosting-plan h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hosting-plan ul {
    list-style: none;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hosting-plan li {
    padding: 0.3rem 0;
    color: var(--text-muted);
}

.hosting-plan li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 1rem;
}

/* Process Steps */
.process-steps, .creative-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step, .process-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

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

.process-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Results */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.result-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Training Modes */
.training-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.mode-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Skill Levels */
.skill-levels {
    margin-bottom: 2rem;
}

.level-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    position: relative;
}

.level-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.level-item.beginner .level-bar { width: 33%; }
.level-item.intermediate .level-bar { width: 66%; }
.level-item.advanced .level-bar { width: 100%; }

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

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

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

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

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

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-white);
}

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

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.stars {
    color: #ffa500;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.author-info h4 {
    margin-bottom: 0.3rem;
}

.author-info span {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* FAQ */
.faq {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-text {
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .service-header h2 {
        font-size: 2rem;
    }

    .hosting-plans {
        grid-template-columns: 1fr;
    }

    .hosting-plan.featured {
        transform: none;
    }

    .features-grid,
    .results-grid,
    .training-modes {
        grid-template-columns: 1fr;
    }

    .process-steps,
    .creative-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Nouvelles catégories responsive */
    .service-category {
        padding: 2rem;
        margin-bottom: 3rem;
    }

    .category-title {
        font-size: 1.8rem;
    }

    .services-grid-category {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card-category {
        padding: 1.5rem;
    }

    .pricing-levels-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .level-info {
        padding: 1rem;
    }

    /* Navigation mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-heavy);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .page-header {
        padding: 100px 0 40px;
    }

    .process-steps,
    .creative-process {
        grid-template-columns: 1fr;
    }
}