/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6C5CE7;
    --primary-dark: #5A4BD1;
    --primary-light: #A29BFE;
    --accent: #00CEFF;
    --dark: #0a0f1e;
    --dark-2: #131832;
    --gray-100: #f7f8fc;
    --gray-200: #eef0f6;
    --gray-400: #9ca3af;
    --gray-600: #6b7280;
    --white: #ffffff;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 30px rgba(108, 92, 231, 0.08);
    --shadow-lg: 0 20px 60px rgba(108, 92, 231, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

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

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.08);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.4s;
}

.navbar.scrolled .logo {
    color: var(--dark);
}

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

.logo-highlight {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-links a {
    color: var(--gray-600);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--dark);
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s;
}

.navbar.scrolled .hamburger span {
    background: var(--dark);
}

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

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

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

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #1a1050 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -10%;
    left: -10%;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #ff6b9d;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
    opacity: 0.2;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-sub strong {
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.5);
}

.btn-arrow {
    transition: transform 0.3s;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 48px;
    font-size: 1.15rem;
}

/* ===== STATS ===== */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    display: inline;
}

.stat-suffix {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
}

.stat-label {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-top: 4px;
    max-width: 180px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
}

/* ===== WAVES ===== */
.wave-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
}

.wave {
    display: block;
    width: 100%;
    height: 80px;
}

.wave-top, .wave-bottom {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
}

.wave-top {
    top: -1px;
}

.wave-bottom {
    bottom: -1px;
}

.wave-top svg, .wave-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ===== SECTIONS ===== */
.section {
    position: relative;
    padding: 120px 0;
}

.section-white {
    background: var(--white);
}

.section-gray {
    background: var(--gray-100);
    padding: 160px 0;
}

.section-dark {
    background: var(--dark);
    padding: 160px 0;
}

.section-cta {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1050 100%);
    overflow: hidden;
    padding: 160px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-light {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-white {
    color: var(--white);
}

.section-desc {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-top: 16px;
}

/* ===== PROBLEM CARDS ===== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card {
    background: var(--gray-100);
    padding: 40px 32px;
    border-radius: var(--radius);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
}

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

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.problem-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.03);
}

.service-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 255, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon {
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    color: var(--gray-600);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: '';
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.comparison-col {
    flex: 1;
    padding: 48px 40px;
}

.comparison-old {
    background: var(--gray-100);
}

.comparison-new {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.comparison-col h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.comparison-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-col li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.x-mark {
    color: #ef4444;
    font-weight: 700;
    font-size: 1.1rem;
}

.check-mark {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0 20px;
    min-width: 60px;
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    opacity: 0.3;
}

.process-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 32px 0;
    position: relative;
}

.step-number {
    min-width: 80px;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.step-content h3 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: var(--dark);
    text-align: left;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s;
    min-width: 24px;
    text-align: center;
}

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

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

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-sub {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    max-width: 550px;
    margin: 16px auto 40px;
    line-height: 1.7;
}

.cta-note {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin-top: 16px;
}

/* ===== ONGLETS CONTACT ===== */
.contact-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 0 auto 40px;
    flex-wrap: wrap;
}

.contact-tab {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
}

.contact-tab:hover {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.contact-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.4);
}

/* ===== CONTENU ONGLETS ===== */
.contact-tab-content {
    display: none;
    animation: tabFadeIn 0.35s ease;
}

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

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tab-subtitle {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    margin-bottom: 28px;
}

/* ===== CALENDLY INLINE ===== */
.calendly-inline-widget {
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 820px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ===== FORMULAIRE CONTACT ===== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 14px;
}

.contact-form input {
    width: 100%;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07);
    color: var(--white);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border 0.25s, background 0.25s;
    backdrop-filter: blur(10px);
}

.contact-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.contact-form input:focus {
    border-color: var(--primary-light);
    background: rgba(255,255,255,0.12);
}

.btn-submit-form {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    font-size: 1rem;
}

/* ===== FEEDBACK MESSAGES ===== */
.form-feedback {
    margin-top: 10px;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.form-success-msg {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.form-error-msg {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-400);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-radius: 0 0 16px 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        color: var(--dark) !important;
        font-size: 1.05rem;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number, .stat-suffix {
        font-size: 2rem;
    }

    .problem-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        transform: none;
    }

    .service-card.featured:hover {
        transform: translateY(-8px);
    }

    .comparison-table {
        flex-direction: column;
    }

    .comparison-vs {
        padding: 12px;
        min-width: auto;
    }

    .comparison-col {
        padding: 32px 24px;
    }

    .process-timeline::before {
        left: 24px;
    }

    .step-number {
        min-width: 48px;
        font-size: 2rem;
    }

    .process-step {
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section {
        padding: 80px 0;
    }

    .section-gray, .section-dark, .section-cta {
        padding: 120px 0;
    }
}
