/* ============================================
   RESET & BASE
   ============================================ */

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

:root {
    /* Couleurs */
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --secondary: #10B981;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --border: #E2E8F0;
    --accent: #F59E0B;
    
    /* Typographie */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Espacement */
    --container-width: 1200px;
    --section-padding: 5rem;
    
    /* Effets */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding) 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.5);
}

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

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

.btn-large {
    padding: 1.125rem 2rem;
    font-size: 1.125rem;
}

.btn-nav {
    padding: 0.625rem 1.25rem;
    background: var(--primary);
    color: white;
    border-radius: 0.5rem;
}

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

.btn-footer {
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.btn-nav {
    color: white;
    font-weight: 500;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */

.section-header {
    max-width: 700px;
    margin-bottom: 3rem;
}

.section-header.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--bg-tertiary);
    color: var(--primary);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ============================================
   PROBLÈMES
   ============================================ */

.problems {
    background: var(--bg-secondary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.problem-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.problem-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.problems-conclusion {
    text-align: center;
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   SOLUTION
   ============================================ */

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    color: var(--primary);
    font-weight: 700;
}

.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.875rem;
}

.before-after {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.before, .after {
    flex: 1;
}

.card-label {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.before ul, .after ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.before ul li {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.after ul li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

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

/* ============================================
   SERVICES
   ============================================ */

.services {
    background: var(--bg-primary);
}

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

.service-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.service-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.service-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.service-points li::before {
    content: "✓";
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.125rem;
}

/* ============================================
   SECTEURS
   ============================================ */

.sectors {
    background: var(--bg-secondary);
}

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

.sector-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.sector-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.sector-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sector-card h3 {
    margin-bottom: 0.75rem;
}

.sector-problem {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--border);
}

.sector-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sector-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.sector-features li::before {
    content: "→";
    color: var(--primary);
    font-weight: 700;
}

.sector-result {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

/* ============================================
   MÉTHODE
   ============================================ */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 0 0 4px var(--bg-primary), 0 0 0 6px var(--border);
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-duration {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-primary);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 0.9375rem;
}

.method-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.highlight-icon {
    font-size: 1.5rem;
}

/* ============================================
   TÉMOIGNAGES
   ============================================ */

.testimonials {
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.stars {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.quote {
    flex: 1;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ============================================
   CTA FINAL
   ============================================ */

.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.benefit-chip {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

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

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

.final-cta .btn-primary:hover {
    transform: translateY(-2px);
}

.final-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.final-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cta-reassurance {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9375rem;
}

.footer-col h4 {
    color: white;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    padding-left: 0.25rem;
}

.footer-contact {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
}


/* ============================================
   FAQ
   ============================================ */

.faq-seo {
    background: var(--bg-secondary);
}

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

.faq-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.faq-item p {
    line-height: 1.7;
}

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

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem;
    }

    .burger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 4.5rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 4.5rem);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        border-top: 1px solid var(--border);
    }

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

    .hero {
        padding: 3rem 0 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        gap: 2rem;
    }

    .problems-grid {
        grid-template-columns: 1fr;
    }

    .solution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .before-after {
        flex-direction: column;
        gap: 1rem;
    }

    .arrow {
        transform: rotate(90deg);
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 1rem;
    }

    .timeline-item {
        gap: 1rem;
    }

    .timeline-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .method-highlights {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}