/* Import des polices Google - DOIT être en premier */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/******************************************************************************
 * OBIris - Styles de base sans Tailwind
 * Pour le développement rapide
 ******************************************************************************/

/* Reset de base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Variables CSS - OBIRIS Brand Colors */
:root {
    /* Couleurs principales */
    --color-primary: #6A2EEA;
    --color-primary-dark: #4E1CBF;
    --color-primary-hover: #AEE8FF;
    
    /* Dégradé de la marque */
    --color-gradient-start: #42B8FF;
    --color-gradient-end: #6A2EEA;
    
    /* Couleurs neutres */
    --color-bg: #0F1222;
    --color-bg-light: #171B2F;
    --color-card: #232845;
    --color-border: #30385D;
    
    /* Texte */
    --color-text: #FFFFFF;
    --color-text-muted: #A8AEC8;
    --color-text-subtle: #7D86A6;
    
    /* Couleurs fonctionnelles */
    --color-success: #32C766;
    --color-error: #F44336;
    --color-warning: #F5B400;
    --color-info: #42B8FF;
    
    /* Typographie */
    --font-heading: 'Poppins', 'Sora', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-code: 'JetBrains Mono', monospace;
    
    /* Rayons de bordure */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Temps d'animation */
    --duration-hover: 150ms;
    --duration-popup: 200ms;
    --duration-menu: 200ms;
    --duration-chatbot: 250ms;
    --duration-max: 300ms;
    --easing-default: ease;
}

/* Thème clair */
[data-theme="light"] {
    --color-bg: #F8FAFC;
    --color-bg-light: #FFFFFF;
    --color-card: #FFFFFF;
    --color-border: #E2E8F0;
    --color-text: #1E293B;
    --color-text-muted: #475569;
    --color-text-subtle: #94A3B8;
}

[data-theme="light"] body {
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 50%, #E2E8F0 100%);
    background-attachment: fixed;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 70px;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }

/* Layout principal */
.website-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#main-content {
    flex: 1;
}

/* Liens */
a {
    color: var(--color-info);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section */
.section {
    padding: 4rem 0;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

/* Paragraphes */
p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

/* Boutons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    height: 48px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: white;
    box-shadow: 0 4px 15px rgba(106, 46, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(106, 46, 234, 0.4);
    filter: brightness(1.1);
}

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

.btn-secondary:hover {
    background: rgba(106, 46, 234, 0.1);
    border-color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--color-border);
    color: var(--color-text);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn:disabled,
.btn-disabled {
    background: var(--color-bg-light);
    color: var(--color-text-subtle);
    border-color: var(--color-border);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-lg {
    padding: 0 2rem;
    height: 56px;
    font-size: 1rem;
}

.btn-sm {
    padding: 0 1rem;
    height: 40px;
    font-size: 0.875rem;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

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

/* Cacher sur mobile */
.hidden-mobile {
    display: inline-flex;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    height: 120px;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1rem;
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
}

.navbar-brand {
    flex: 0 0 auto;
    margin-right: 3rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-logo .logo-img {
    height: 500px;
    width: auto;
    max-height: none;
    object-fit: contain;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    margin: 0 2rem;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
}

/* Mobile Menu - Caché par défaut sur desktop */
.navbar-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    z-index: 99;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.navbar-mobile.active {
    display: block;
    transform: translateX(0);
}

.navbar-nav-mobile {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.navbar-nav-mobile .nav-link {
    font-size: 1.25rem;
    padding: 0.75rem 0;
    display: block;
    border-bottom: 1px solid var(--color-border);
}

/* Bouton toggle mobile */
.navbar-toggle {
    display: none;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    background: var(--color-bg-light);
    border-color: var(--color-primary);
}

.theme-icon-sun,
.theme-icon-moon {
    position: absolute;
    transition: opacity 0.3s, transform 0.3s;
}

/* Mode sombre (par défaut) : afficher le soleil */
.theme-icon-sun {
    opacity: 1;
    transform: scale(1);
}

.theme-icon-moon {
    opacity: 0;
    transform: scale(0);
}

/* Mode clair : afficher la lune */
[data-theme="light"] .theme-icon-sun {
    opacity: 0;
    transform: scale(0);
}

[data-theme="light"] .theme-icon-moon {
    opacity: 1;
    transform: scale(1);
}

/* Hero */
.hero {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    padding-top: 1rem;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0.5rem 1rem 1rem;
    gap: 0.25rem;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
}

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

.hero-description {
    font-size: 1.25rem;
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    width: 100%;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 3rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-actions .btn {
    width: 280px;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: inline-flex;
    position: relative;
}

.hero-actions .btn .icon {
    position: absolute;
    left: 1.5rem;
}

.hero-actions .btn .icon + * {
    margin-left: 0;
}

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero__robot {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Hero avec double underscore */
.hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
}

.hero__description {
    font-size: 1.25rem;
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    width: 100%;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
    width: 100%;
}

/* Cards */
.card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
}

/* Grille de fonctionnalités */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.feature-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.feature-description {
    text-align: center;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pricing-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    text-align: center;
}

.pricing-card-featured {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px -10px var(--color-primary);
}

.pricing-card-premium {
    border-color: var(--color-success);
    box-shadow: 0 0 40px -10px var(--color-success);
    background: linear-gradient(135deg, rgba(50, 199, 102, 0.1), var(--color-bg-light));
}

.pricing-card-premium .pricing-name {
    color: var(--color-success);
}

/* Hero Highlights */
.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.highlight-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(106, 46, 234, 0.1);
    border: 1px solid var(--color-border);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* How It Works Section */
.how-it-works-section {
    background: var(--color-bg-light);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.step-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.step-description {
    color: var(--color-text-muted);
    text-align: center;
    font-size: 0.9375rem;
}

/* Integration Section */
.integration-section {
    background: var(--color-bg);
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.integration-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.3);
}

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

.integration-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.integration-description {
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.integration-features {
    list-style: none;
    text-align: left;
}

.integration-features li {
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.integration-features li::before {
    content: "✓";
    color: var(--color-success);
    font-weight: bold;
}

.pricing-header {
    text-align: center;
}

.pricing-name {
    font-size: 1.5rem;
    text-align: center;
}

.pricing-description {
    color: var(--color-text-muted);
    text-align: center;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin: 1.5rem 0;
    text-align: center;
}

.price-currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price-period {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    justify-content: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* FAQ - Hover Effect */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/*=============================================================================
  FAQ ACCORDION (for faq.html.twig)
=============================================================================*/

.faq-item {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-bg-light);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(106, 46, 234, 0.15);
    border-color: rgba(106, 46, 234, 0.5);
}

.faq-item.active {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, var(--color-bg-light) 0%, rgba(106, 46, 234, 0.1) 100%);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--color-text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/*=============================================================================
  FAQ FLIP CARDS (for index.html)
=============================================================================*/

.faq-item-hover {
    position: relative;
    height: 100px;
    cursor: pointer;
    margin-bottom: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-bg-light);
    overflow: hidden;
}

.faq-item-hover .faq-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.faq-card-front,
.faq-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    top: 0;
    left: 0;
    transition: all 0.4s ease;
    border-radius: var(--radius-lg);
}

.faq-card-front {
    justify-content: space-between;
    opacity: 1;
    z-index: 2;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

.faq-item-hover.flipped .faq-card-front {
    opacity: 0;
    transform: translateY(-20px);
}

.faq-card-back {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, rgba(106, 46, 234, 0.15) 100%);
    border: 2px solid var(--color-primary);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    z-index: 1;
}

.faq-item-hover.flipped .faq-card-back {
    opacity: 1;
    transform: translateY(0);
}

.faq-card-front:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px -5px rgba(106, 46, 234, 0.3);
}

.faq-question-text {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    flex: 1;
    padding-right: 1rem;
}

.faq-flip-hint {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.faq-item-hover.flipped .faq-flip-hint,
.faq-item-hover:hover .faq-flip-hint {
    transform: rotate(180deg);
    color: var(--color-primary);
    opacity: 1;
}

.faq-answer-text {
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

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

.faq-nav {
    padding: 1rem 0;
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.faq-category-link {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-category-link:hover,
.faq-category-link.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

.faq-section-title {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-text);
    font-size: 1.75rem;
    font-weight: 700;
}

.faq-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Footer */
.footer {
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-newsletter {
    grid-column: 1 / -1;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-title {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.75rem;
}

.footer-list a {
    color: var(--color-text-muted);
}

.footer-list a:hover {
    color: var(--color-text);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--color-text-muted);
}

/* Section header */
.section-header {
    text-align: center;
    max-width: 768px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.timeline-marker {
    flex: 0 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-light);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-completed .timeline-dot {
    background: var(--color-success, #22c55e);
    border-color: var(--color-success, #22c55e);
}

.timeline-current .timeline-dot {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--color-border);
    margin: 0.5rem 0;
}

.timeline-content {
    flex: 1;
    text-align: center;
}

.timeline-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.timeline-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.timeline-description {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    text-align: center;
}

.timeline-features {
    list-style: none;
    text-align: center;
}

.timeline-features li {
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    text-align: center;
}

/* How it works / Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.step-card {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1rem;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.step-description {
    color: var(--color-text-muted);
    text-align: center;
}

/* Chatbot preview */
.chatbot-widget {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-messages {
    padding: 1rem;
    min-height: 300px;
}

.message {
    margin-bottom: 1rem;
}

.message-bubble {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 1rem;
    max-width: 80%;
}

.message-bot .message-bubble {
    background: rgba(14, 165, 233, 0.1);
    border-color: var(--color-primary);
}

/* CTA Section */
.cta-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 1.5rem;
    padding: 4rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-card h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

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

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

.cta-actions .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

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

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
    display: block;
    text-align: center;
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    display: block;
    text-align: center;
    margin-top: 0.5rem;
}

/* Chatbot Features */
.chatbot-features {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.features-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
    text-align: center;
}

.features-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--color-text-muted);
}

.features-list li svg {
    flex-shrink: 0;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.faq-cta p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Pricing Trust */
.pricing-trust {
    text-align: center;
    margin-top: 3rem;
}

.trust-text {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Steps Section (How it works) */
.steps-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.steps-section .timeline {
    max-width: 800px;
    margin: 0 auto;
}

.steps-section .timeline-item {
    text-align: center;
}

.steps-section .timeline-content {
    text-align: center;
}

.steps-section .timeline-step {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.steps-section h3 {
    text-align: center;
    margin-bottom: 0.75rem;
}

.steps-section p {
    text-align: center;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Cacher la navigation desktop sur mobile */
    .navbar-nav {
        display: none;
    }
    
    /* Afficher le bouton toggle sur mobile */
    .navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Afficher le menu mobile quand il est actif */
    .navbar-mobile.active {
        display: block;
        transform: translateX(0);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pricing-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* Popup "Coming Soon" */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: color 0.2s, background 0.2s;
}

.popup-close:hover {
    color: var(--color-text);
    background: var(--color-bg);
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.popup-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.popup-message {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.popup-message strong {
    color: var(--color-primary);
}

.popup-btn-close {
    min-width: 150px;
}

/* Hero Image - Suppression du cadre blanc */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.hero-image-glow {
    display: none;
}

.hero-image {
    display: block;
    max-width: 100%;
    height: auto;
    border: none;
    outline: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Suppression de tout fond ou bordure sur les images */
.hero-visual img,
.hero__visual img {
    border: none;
    outline: none;
    background: transparent;
    border-radius: 0;
}

/* Hero reorganisé - Image en haut, contenu en bas */
.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0.25rem 1rem 1rem;
    gap: 0.25rem;
}

.hero-visual {
    order: -1;
    width: 100%;
    max-width: 900px;
    margin-bottom: 0;
    line-height: 0;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-badge {
    margin-bottom: 0.5rem;
}

.hero-trust {
    display: none;
}
