/* ============================================================
   INEXTIM — Site vitrine
   Direction : Tech futuriste · Bleu profond · Glow · Grille
   Typographie : Instrument Serif (display) + Inter (UI) + JetBrains Mono (accents)
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Verrou DOUBLE contre le clignotement : on bloque l'horizontal
       ET on force la scrollbar verticale à toujours exister pour qu'elle
       ne puisse pas apparaître/disparaître (ce qui faisait "pulser" le site). */
    overflow-x: clip;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    overflow-x: clip;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

body.is-locked {
    overflow: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input, textarea {
    font-family: inherit;
    color: inherit;
}

em {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

/* ---------- VARIABLES ---------- */
:root {
    /* Palette — bleu profond tech futuriste */
    --bg: #030816;
    --bg-alt: #050d22;
    --bg-light: #f4f7ff;
    --bg-card: rgba(10, 20, 48, 0.55);
    --bg-elev: rgba(14, 28, 62, 0.75);

    --ink: #eef2ff;
    --ink-dim: #8b9dc8;
    --ink-faint: #5a6b95;
    --ink-dark: #060c1c;
    --ink-dark-dim: #3a486a;

    --line: rgba(99, 156, 255, 0.14);
    --line-strong: rgba(120, 170, 255, 0.28);
    --line-dark: rgba(10, 20, 48, 0.12);

    /* Accents — bleus électriques */
    --blue-deep: #0b1d4d;
    --blue: #2563eb;
    --blue-bright: #3b82f6;
    --blue-soft: #60a5fa;
    --cyan: #5ba3ff;
    --cyan-bright: #7dd3ff;
    --violet: #8b5cf6;

    /* Typo */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Layout */
    --max-width: 1280px;
    --pad-x: clamp(1.25rem, 4vw, 3rem);
    --radius: 18px;
    --radius-sm: 10px;
    --radius-lg: 28px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- UTILS ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    position: relative;
    z-index: 2;
}

::selection {
    background: rgba(91, 163, 255, 0.35);
    color: #fff;
}

/* ============================================================
   BACKGROUND TECH GLOBAL
   ============================================================ */
/* Conteneur fixe qui clippe tous les éléments de fond */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-grid {
    position: fixed;              /* fixed → pas pris en compte dans la zone scrollable */
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(120, 170, 255, 0.055) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(120, 170, 255, 0.055) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black 20%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, black 20%, transparent 90%);
    animation: gridDrift 60s linear infinite;
}

@keyframes gridDrift {
    from { background-position: 0 0; }
    to   { background-position: 64px 64px; }
}

.bg-glow {
    position: fixed;              /* fixed → sort de la zone scrollable du document */
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    will-change: transform;
}

.bg-glow--a {
    width: 720px;
    height: 720px;
    top: -280px;
    right: -200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.55) 0%, transparent 70%);
    animation: floatA 18s ease-in-out infinite;
}

.bg-glow--b {
    width: 620px;
    height: 620px;
    top: 40%;
    left: -220px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.35) 0%, transparent 70%);
    animation: floatB 22s ease-in-out infinite;
}

@keyframes floatA {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-40px, 60px); }
}
@keyframes floatB {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(60px, -40px); }
}

.bg-noise {
    position: fixed;              /* fixed → ne crée pas de zone scrollable */
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
    mix-blend-mode: overlay;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.7rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    border-radius: 999px;
    transition: all 0.35s var(--ease);
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 50%, var(--cyan) 100%);
    color: #fff;
    box-shadow:
        0 0 0 1px rgba(91, 163, 255, 0.4) inset,
        0 10px 30px -12px rgba(59, 130, 246, 0.6),
        0 0 40px -10px rgba(91, 163, 255, 0.4);
}

.btn--primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--blue-bright) 100%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    z-index: 0;
}

.btn--primary > * {
    position: relative;
    z-index: 1;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(125, 211, 255, 0.55) inset,
        0 18px 40px -10px rgba(59, 130, 246, 0.75),
        0 0 60px -8px rgba(91, 163, 255, 0.55);
}

.btn--primary:hover::before {
    opacity: 1;
}

.btn--primary svg {
    transition: transform 0.35s var(--ease);
}

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

.btn--ghost {
    background: rgba(120, 170, 255, 0.04);
    color: var(--ink);
    border-color: var(--line-strong);
    backdrop-filter: blur(10px);
}

.btn--ghost:hover {
    background: rgba(120, 170, 255, 0.1);
    border-color: var(--cyan);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -12px rgba(91, 163, 255, 0.35);
}

.btn--full {
    width: 100%;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(3, 8, 22, 0.55);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), padding 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled {
    padding: 0.65rem 0;
    border-bottom-color: var(--line);
    background: rgba(3, 8, 22, 0.8);
}

.nav__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.nav__logo-img {
    height: 96px;
    width: auto;
    object-fit: contain;
    transition: height 0.35s var(--ease),
                transform 0.5s var(--ease), filter 0.4s var(--ease);
    filter: drop-shadow(0 0 20px rgba(91, 163, 255, 0.65)) drop-shadow(0 0 48px rgba(91, 163, 255, 0.3));
}

.nav.is-scrolled .nav__logo-img {
    height: 70px;
}

.nav.is-scrolled .nav__logo {
    font-size: 1.5rem;
}

.nav__logo:hover .nav__logo-img {
    transform: rotate(4deg) scale(1.05);
    filter: drop-shadow(0 0 28px rgba(125, 211, 255, 0.9)) drop-shadow(0 0 60px rgba(91, 163, 255, 0.45));
}

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

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-dim);
    transition: color 0.2s var(--ease);
    position: relative;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--cyan);
    transition: width 0.3s var(--ease);
}

.nav__link:hover {
    color: var(--ink);
}

.nav__link:not(.nav__link--cta):hover::after {
    width: 100%;
}

.nav__link--cta {
    color: var(--cyan-bright);
    padding: 0.55rem 1.15rem;
    border: 1px solid rgba(91, 163, 255, 0.4);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.08);
    transition: all 0.3s var(--ease);
}

.nav__link--cta:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    border-color: transparent;
    box-shadow: 0 0 24px rgba(91, 163, 255, 0.5);
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav__burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.3s var(--ease);
}

.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 11rem 0 5rem;
    /* overflow: hidden retiré — les fonds sont dans .bg-canvas (fixed), plus besoin de clipper ici.
       Sans ce overflow:hidden le "g" italic d'Instrument Serif ne sera plus coupé. */
}

.hero__container {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--pad-x);
    width: 100%;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 1.1rem;
    background: rgba(120, 170, 255, 0.05);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--ink-dim);
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    animation: fadeUp 1s var(--ease) 0.1s both;
}

.hero__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan), 0 0 24px rgba(91, 163, 255, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.55; transform: scale(1.4); }
}

.hero__title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4.2vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin-bottom: 2rem;
    animation: fadeUp 1s var(--ease) 0.2s both;
    overflow: visible;
}

.hero__title-accent {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.015em;
    background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--cyan) 35%, var(--blue-bright) 70%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    position: relative;
    display: inline-block;
    background-size: 200% 200%;
    animation: gradientShift 8s ease-in-out infinite;
    /* Le &thinsp; dans le HTML ajoute le padding typographique avant le "g" — pas besoin de padding CSS ici */
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.hero__subtitle {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    font-weight: 400;
    color: var(--ink-dim);
    max-width: 680px;
    margin: 0 auto 3rem;
    line-height: 1.55;
    animation: fadeUp 1s var(--ease) 0.3s both;
}

.hero__subtitle em {
    color: var(--cyan-bright);
    font-size: 1.12em;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
    animation: fadeUp 1s var(--ease) 0.4s both;
}

.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
    max-width: 720px;
    margin: 0 auto;
    animation: fadeUp 1s var(--ease) 0.5s both;
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, var(--ink) 0%, var(--cyan-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__stat-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--ink-faint);
    text-transform: uppercase;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--line-strong);
}

/* ============================================================
   HERO — COMMAND DEMO BLOCK
   ============================================================ */
.hero__command-demo {
    max-width: 660px;
    margin: 0 auto 3rem;
    background: rgba(10, 20, 45, 0.72);
    border: 1px solid rgba(91, 163, 255, 0.22);
    border-radius: 1rem;
    padding: 1.25rem 1.5rem 1.4rem;
    backdrop-filter: blur(16px);
    text-align: left;
    animation: fadeUp 1s var(--ease) 0.35s both;
}

.hero__command-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.75rem;
}

.hero__command-prompt {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(91, 163, 255, 0.07);
    border: 1px solid rgba(91, 163, 255, 0.18);
    border-radius: 0.5rem;
    padding: 0.65rem 1rem;
    margin-bottom: 1rem;
}

.hero__command-icon {
    font-size: 0.62rem;
    color: var(--cyan);
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px var(--cyan));
}

.hero__command-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cyan-bright);
    letter-spacing: -0.01em;
}

.hero__command-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 1.2rem;
}

.hero__command-step {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: var(--ink-dim);
    line-height: 1.4;
}

.hero__command-step-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 0.08rem;
    opacity: 0.7;
}

.hero__command-step--validate {
    color: var(--ink);
}

.hero__command-step--validate .hero__command-step-num {
    color: #56d99b;
    opacity: 1;
}

/* hero__scroll supprimé */
@media (hover: hover) and (pointer: fine)
   and (min-width: 1280px)
   and (min-height: 950px) {
    .hero__scroll { display: flex; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
    position: relative;
    z-index: 2;
    padding: 1.5rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg,
        rgba(59, 130, 246, 0.04) 0%,
        rgba(139, 92, 246, 0.04) 50%,
        rgba(59, 130, 246, 0.04) 100%);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee__track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: marquee 32s linear infinite;
    width: max-content;
}

.marquee__item {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--ink);
    text-transform: uppercase;
}

.marquee__dot {
    color: var(--cyan);
    font-size: 0.8rem;
    align-self: center;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION HEAD (shared)
   ============================================================ */
.section-head {
    max-width: 760px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-head__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.section-head__label span {
    color: var(--ink-faint);
}

.section-head__label--light span { color: var(--ink-faint); }

.section-head__title {
    font-family: var(--font-body);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin-bottom: 1.5rem;
}

.section-head__title em {
    background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--blue-bright) 70%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--cyan-bright); /* fallback visible si gradient échoue */
}

.section-head__desc {
    font-size: 1.05rem;
    color: var(--ink-dim);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: 7rem 0;
    position: relative;
    z-index: 2;
}

/* ============================================================
   DÉMO / DASHBOARD MOCKUP
   ============================================================ */
.demo {
    padding: 6rem 0 7rem;
    position: relative;
    overflow: hidden; /* contient le halo (évite l'ascenseur horizontal) */
}

.dashboard {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

.dashboard__halo {
    position: absolute;
    inset: -60px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.35) 0%, transparent 65%);
    filter: blur(60px);
    z-index: 0;
    border-radius: 40px;
    pointer-events: none;
    opacity: 0.7;
    animation: haloPulse 6s ease-in-out infinite;
}

@keyframes haloPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50%      { opacity: 0.85; transform: scale(1.02); }
}

.dashboard__window {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(12, 22, 48, 0.9) 0%, rgba(6, 14, 34, 0.95) 100%);
    border: 1px solid var(--line-strong);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 30px 80px -30px rgba(0, 0, 0, 0.7),
        0 0 80px -20px rgba(59, 130, 246, 0.3);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.dashboard__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 14, 34, 0.8);
}

.dashboard__dots {
    display: flex;
    gap: 0.4rem;
}

.dashboard__dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.dashboard__dots span:nth-child(1) { background: #ff5f57; }
.dashboard__dots span:nth-child(2) { background: #febc2e; }
.dashboard__dots span:nth-child(3) { background: #28c840; }

.dashboard__url {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: rgba(120, 170, 255, 0.07);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-dim);
}

.dashboard__live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--cyan-bright);
    text-transform: uppercase;
}

.dashboard__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22d39a;
    box-shadow: 0 0 10px #22d39a;
    animation: pulse 1.5s ease-in-out infinite;
}

.dashboard__layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 520px;
}

.dashboard__sidebar {
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--line);
    background: rgba(6, 14, 34, 0.4);
    display: flex;
    flex-direction: column;
}

.dashboard__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--ink);
    padding: 0.25rem 0.5rem 1rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
}

.dashboard__brand-mark {
    color: var(--cyan);
    font-size: 0.85em;
}

.dashboard__nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.dashboard__nav a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--ink-dim);
    transition: all 0.2s var(--ease);
    cursor: default;
    font-family: var(--font-body);
}

.dashboard__nav a span:first-child {
    color: var(--cyan);
    width: 16px;
    text-align: center;
}

.dashboard__nav a.is-active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2) 0%, transparent 100%);
    color: var(--ink);
    box-shadow: inset 2px 0 0 var(--cyan);
}

.dashboard__badge {
    margin-left: auto;
    font-family: var(--font-mono) !important;
    font-style: normal !important;
    font-size: 0.7rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--cyan);
    color: var(--bg);
    font-weight: 600;
}

.dashboard__status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(120, 170, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    margin-top: 1rem;
}

.dashboard__status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22d39a;
    box-shadow: 0 0 12px #22d39a;
    animation: pulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

.dashboard__status-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink);
}

.dashboard__status-sub {
    font-size: 0.72rem;
    color: var(--ink-faint);
    font-family: var(--font-mono);
}

.dashboard__main {
    padding: 1.75rem 2rem;
    overflow: hidden;
}

.dashboard__greeting {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.dashboard__greeting h3 {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.dashboard__greeting h3 em {
    color: var(--cyan-bright);
    font-size: 1.1em;
}

.dashboard__time {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    padding: 0.4rem 0.8rem;
    background: rgba(120, 170, 255, 0.08);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.dashboard__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.kpi {
    padding: 1.1rem 1.2rem;
    background: linear-gradient(180deg, rgba(120, 170, 255, 0.06) 0%, rgba(59, 130, 246, 0.02) 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.kpi::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
    opacity: 0.5;
}

.kpi__label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ink-faint);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.kpi__value {
    font-family: var(--font-body);
    font-size: 1.85rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.kpi__trend {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--ink-dim);
}

.kpi__trend--up { color: #22d39a; }

/* Feed */
.dashboard__feed {
    background: rgba(6, 14, 34, 0.5);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
}

.dashboard__feed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--line);
}

.dashboard__feed-head h4 {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
}

.dashboard__feed-live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ink-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.feed {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.feed__item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background 0.3s var(--ease);
    animation: feedIn 0.6s var(--ease) backwards;
}

.feed__item:nth-child(1) { animation-delay: 0.15s; }
.feed__item:nth-child(2) { animation-delay: 0.35s; }
.feed__item:nth-child(3) { animation-delay: 0.55s; }
.feed__item:nth-child(4) { animation-delay: 0.75s; }
.feed__item:nth-child(5) { animation-delay: 0.95s; }

.feed__item.is-new {
    background: linear-gradient(90deg, rgba(91, 163, 255, 0.12) 0%, transparent 100%);
    animation: feedNew 1.2s var(--ease);
}

@keyframes feedIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes feedNew {
    0%   { background: linear-gradient(90deg, rgba(91, 163, 255, 0.3) 0%, transparent 100%); }
    100% { background: transparent; }
}

.feed__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(91, 163, 255, 0.1) 100%);
    color: var(--cyan-bright);
    font-family: var(--font-mono);
    font-weight: 600;
    border: 1px solid rgba(91, 163, 255, 0.3);
    flex-shrink: 0;
}

.feed__body {
    flex: 1;
    min-width: 0;
    font-size: 0.85rem;
    color: var(--ink);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed__body strong { font-weight: 600; }
.feed__body em {
    color: var(--cyan-bright);
    font-size: 0.95em;
}

.feed__body span {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ink-faint);
    margin-top: 0.15rem;
}

.feed__tag {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    color: #22d39a;
    background: rgba(34, 211, 154, 0.12);
    border: 1px solid rgba(34, 211, 154, 0.3);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ============================================================
   CHATBOT DEMO — Dialogue IA ↔ collaborateur
   ============================================================ */
.chatbot-demo {
    padding: 4rem 0 7rem;
    position: relative;
    overflow: hidden; /* contient le halo (évite l'ascenseur horizontal) */
}

.chatbot {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

.chatbot__halo {
    position: absolute;
    inset: -60px;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.28) 0%, rgba(59, 130, 246, 0.18) 40%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    border-radius: 40px;
    pointer-events: none;
    opacity: 0.75;
    animation: haloPulse 7s ease-in-out infinite;
}

.chatbot__window {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(12, 22, 48, 0.92) 0%, rgba(6, 14, 34, 0.96) 100%);
    border: 1px solid var(--line-strong);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 30px 80px -30px rgba(0, 0, 0, 0.7),
        0 0 90px -20px rgba(91, 163, 255, 0.32);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

/* Topbar macOS — réutilise la grammaire dashboard */
.chatbot__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 14, 34, 0.8);
}

.chatbot__dots {
    display: flex;
    gap: 0.4rem;
}

.chatbot__dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.chatbot__dots span:nth-child(1) { background: #ff5f57; }
.chatbot__dots span:nth-child(2) { background: #febc2e; }
.chatbot__dots span:nth-child(3) { background: #28c840; }

.chatbot__url {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    background: rgba(120, 170, 255, 0.07);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-dim);
}

.chatbot__live {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--cyan-bright);
    text-transform: uppercase;
}

.chatbot__live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan-bright);
    box-shadow: 0 0 10px var(--cyan-bright);
    animation: pulse 1.8s ease-in-out infinite;
}

/* Header session */
.chatbot__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(91, 163, 255, 0.04) 0%, transparent 100%);
}

.chatbot__peer {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.chatbot__peer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--violet) 100%);
    color: white;
    font-size: 1.35rem;
    box-shadow: 0 0 28px -4px rgba(91, 163, 255, 0.6);
    flex-shrink: 0;
}

.chatbot__peer-name {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--ink);
    letter-spacing: -0.005em;
}

.chatbot__peer-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: var(--ink-dim);
    margin-top: 0.1rem;
}

.chatbot__peer-status em {
    color: var(--cyan-bright);
    font-size: 0.8rem;
}

.chatbot__peer-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22d39a;
    box-shadow: 0 0 10px rgba(34, 211, 154, 0.7);
    animation: pulse 2s ease-in-out infinite;
}

.chatbot__badges {
    display: inline-flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.chatbot__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    color: var(--ink-dim);
    background: rgba(120, 170, 255, 0.07);
    border: 1px solid var(--line);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
}

.chatbot__badge--lock {
    color: #22d39a;
    background: rgba(34, 211, 154, 0.08);
    border-color: rgba(34, 211, 154, 0.3);
}

/* Thread */
.chatbot__thread {
    padding: 1.75rem 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    background:
        linear-gradient(180deg, transparent 0%, rgba(6, 14, 34, 0.4) 100%),
        radial-gradient(ellipse at top right, rgba(139, 92, 246, 0.06) 0%, transparent 55%);
}

/* Chaque message */
.chat-msg {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(10px);
    max-height: 1200px;
    transition:
        opacity 0.4s var(--ease),
        transform 0.45s var(--ease),
        max-height 0.4s var(--ease),
        margin 0.4s var(--ease);
}

.chat-msg.is-shown {
    opacity: 1;
    transform: translateY(0);
}

/* Collapse propre d'un indicateur "typing" avant l'arrivée du message */
.chat-msg.is-collapsing {
    opacity: 0;
    transform: translateY(-4px);
}

.chat-msg.is-gone {
    max-height: 0;
    margin-top: -1.1rem; /* compense le gap parent */
    overflow: hidden;
    pointer-events: none;
}

.chat-msg--user {
    flex-direction: row-reverse;
    text-align: right;
}

.chat-msg__avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.chat-msg__avatar--ai {
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--violet) 100%);
    color: white;
    font-size: 1rem;
    box-shadow: 0 0 20px -4px rgba(91, 163, 255, 0.55);
}

.chat-msg__avatar--user {
    background: linear-gradient(135deg, rgba(91, 163, 255, 0.18) 0%, rgba(91, 163, 255, 0.05) 100%);
    color: var(--cyan-bright);
    border: 1px solid rgba(91, 163, 255, 0.3);
}

.chat-msg__body {
    max-width: 78%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.chat-msg--user .chat-msg__body {
    align-items: flex-end;
}

.chat-msg__meta {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ink-faint);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: inline-flex;
    gap: 0.3rem;
    align-items: baseline;
}

.chat-msg__meta strong {
    color: var(--ink-dim);
    font-weight: 600;
}

.chat-msg__bubble {
    font-size: 0.92rem;
    line-height: 1.55;
    padding: 0.85rem 1.1rem;
    border-radius: 16px;
    color: var(--ink);
    letter-spacing: -0.005em;
    position: relative;
}

.chat-msg--ai .chat-msg__bubble {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.16) 0%, rgba(91, 163, 255, 0.08) 100%);
    border: 1px solid rgba(91, 163, 255, 0.28);
    border-bottom-left-radius: 6px;
    box-shadow: 0 8px 28px -14px rgba(59, 130, 246, 0.35);
}

.chat-msg--user .chat-msg__bubble {
    background: linear-gradient(135deg, rgba(120, 170, 255, 0.10) 0%, rgba(120, 170, 255, 0.04) 100%);
    border: 1px solid var(--line);
    border-bottom-right-radius: 6px;
    color: var(--ink);
    text-align: left;
}

.chat-msg--ai .chat-msg__bubble strong { color: var(--cyan-bright); font-weight: 600; }
.chat-msg--user .chat-msg__bubble strong { color: var(--ink); font-weight: 600; }

.chat-check {
    display: inline-block;
    color: #22d39a;
    font-weight: 700;
    margin-right: 0.1rem;
}

.chat-delta {
    color: var(--ink-dim);
    font-size: 0.84rem;
}

/* Indicateur "en train d'écrire" */
.chat-msg--typing .chat-msg__body {
    gap: 0;
}

.chat-typing {
    display: inline-flex;
    gap: 6px;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.16) 0%, rgba(91, 163, 255, 0.08) 100%);
    border: 1px solid rgba(91, 163, 255, 0.28);
    border-radius: 16px;
    border-bottom-left-radius: 6px;
    width: fit-content;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan-bright);
    opacity: 0.4;
    animation: chatDot 1.3s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes chatDot {
    0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
    30%           { opacity: 1;    transform: translateY(-3px); }
}

/* Fiche client — petite "carte" jointe à un message AI */
.chat-card {
    margin-top: 0.5rem;
    background: rgba(6, 14, 34, 0.72);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 36px -20px rgba(0, 0, 0, 0.7);
    animation: cardReveal 0.6s var(--ease) backwards;
    animation-delay: 0.25s;
}

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.chat-card__head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(91, 163, 255, 0.06) 0%, transparent 100%);
}

.chat-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(91, 163, 255, 0.22) 0%, rgba(139, 92, 246, 0.18) 100%);
    color: var(--cyan-bright);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8rem;
    border: 1px solid rgba(91, 163, 255, 0.3);
    flex-shrink: 0;
}

.chat-card__title {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ink);
}

.chat-card__sub {
    font-size: 0.76rem;
    color: var(--ink-faint);
    margin-top: 0.1rem;
}

.chat-card__status {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #22d39a;
    padding: 0.3rem 0.6rem;
    background: rgba(34, 211, 154, 0.1);
    border: 1px solid rgba(34, 211, 154, 0.3);
    border-radius: 999px;
    flex-shrink: 0;
}

.chat-card__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22d39a;
    box-shadow: 0 0 8px #22d39a;
}

.chat-card__rows {
    padding: 0.25rem 1rem 0.6rem;
}

.chat-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px dashed rgba(99, 156, 255, 0.08);
    font-size: 0.85rem;
}

.chat-card__row:last-child { border-bottom: none; }

.chat-card__row span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    color: var(--ink-faint);
    text-transform: uppercase;
    flex-shrink: 0;
}

.chat-card__row strong {
    color: var(--ink);
    font-weight: 500;
    text-align: right;
    word-break: break-word;
    font-size: 0.85rem;
}

.chat-card__pending {
    color: #fbbf24 !important;
    font-weight: 600;
}

/* Actions suggérées sous le dernier message IA */
.chat-actions {
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chat-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: rgba(120, 170, 255, 0.06);
    color: var(--ink);
    transition: all 0.25s var(--ease);
    cursor: pointer;
}

.chat-action:hover {
    background: rgba(120, 170, 255, 0.12);
    border-color: rgba(120, 170, 255, 0.5);
    transform: translateY(-1px);
}

.chat-action--primary {
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 26px -10px rgba(59, 130, 246, 0.6);
}

.chat-action--primary:hover {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--blue-bright) 100%);
    box-shadow: 0 12px 32px -10px rgba(59, 130, 246, 0.8);
}

/* Composer (saisie, purement visuel) */
.chatbot__composer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem 1.1rem;
    border-top: 1px solid var(--line);
    background: rgba(6, 14, 34, 0.7);
}

.chatbot__composer-input {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    background: rgba(120, 170, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 0.88rem;
    color: var(--ink-dim);
}

.chatbot__composer-placeholder {
    color: var(--ink-faint);
    font-style: italic;
}

.chatbot__cursor {
    width: 2px;
    height: 1em;
    background: var(--cyan-bright);
    display: inline-block;
    animation: caretBlink 1s steps(2, start) infinite;
    box-shadow: 0 0 6px var(--cyan-bright);
}

@keyframes caretBlink {
    50% { opacity: 0; }
}

.chatbot__send {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan) 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px -8px rgba(59, 130, 246, 0.7);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    flex-shrink: 0;
}

.chatbot__send:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(59, 130, 246, 0.9);
}

/* Responsive — chatbot */
@media (max-width: 768px) {
    .chatbot-demo { padding: 3rem 0 5rem; }
    .chatbot__header { padding: 0.9rem 1rem; gap: 0.6rem; }
    .chatbot__badges { display: none; }
    .chatbot__thread { padding: 1.1rem 0.9rem 0.75rem; gap: 0.9rem; }
    .chat-msg__body { max-width: 86%; }
    .chat-msg__bubble { font-size: 0.88rem; padding: 0.75rem 0.95rem; }
    .chat-card__head { padding: 0.75rem 0.85rem; }
    .chat-card__rows { padding: 0.15rem 0.85rem 0.5rem; }
    .chat-card__row { font-size: 0.8rem; padding: 0.45rem 0; }
    .chat-card__status { display: none; }
    .chatbot__composer { padding: 0.75rem 0.9rem 0.9rem; }
}

/* ============================================================
   FONCTIONNALITÉS
   ============================================================ */
.features {
    background: linear-gradient(180deg, transparent 0%, rgba(5, 13, 34, 0.5) 50%, transparent 100%);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    position: relative;
    padding: 2rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: attr(data-num);
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--ink-faint);
    opacity: 0.6;
}

.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--cyan) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--line-strong);
    background: rgba(14, 28, 62, 0.7);
    box-shadow:
        0 20px 50px -20px rgba(0, 0, 0, 0.5),
        0 0 60px -20px rgba(59, 130, 246, 0.4);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(91, 163, 255, 0.05) 100%);
    border: 1px solid rgba(91, 163, 255, 0.25);
    color: var(--cyan-bright);
    margin-bottom: 1.5rem;
}

.feature-card__icon svg {
    width: 26px;
    height: 26px;
}

.feature-card__title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.feature-card__text {
    font-size: 0.95rem;
    color: var(--ink-dim);
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.feature-card__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--cyan);
    background: rgba(91, 163, 255, 0.08);
    border: 1px solid rgba(91, 163, 255, 0.2);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
    background: linear-gradient(180deg, transparent 0%, rgba(11, 29, 77, 0.3) 100%);
    padding: 8rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.process__step {
    position: relative;
    text-align: center;
}

.process__step-num {
    font-family: var(--font-display);
    font-size: clamp(4rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1;
    background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--blue-bright) 70%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.process__step-content h3 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.process__step-content p {
    font-size: 0.95rem;
    color: var(--ink-dim);
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

.process__step-line {
    position: absolute;
    top: 50px;
    right: -1.5rem;
    width: 3rem;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan) 0%, transparent 100%);
}

.process__step-line::after {
    content: "→";
    position: absolute;
    right: -8px;
    top: -10px;
    color: var(--cyan);
    font-size: 0.9rem;
}

/* ============================================================
   CALCULATEUR ROI
   ============================================================ */
.roi {
    padding: 7rem 0;
}

.roi__panel {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    background: linear-gradient(180deg, rgba(12, 22, 48, 0.8) 0%, rgba(6, 14, 34, 0.9) 100%);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow:
        0 30px 80px -30px rgba(0, 0, 0, 0.7),
        0 0 80px -20px rgba(59, 130, 246, 0.25);
    position: relative;
    overflow: hidden;
}

.roi__panel::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(91, 163, 255, 0.15) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}

.roi__controls {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}

.roi__field label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.85rem;
}

.roi__field-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    color: var(--ink-dim);
    text-transform: uppercase;
}

.roi__field-value {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--ink);
}

.roi__field-value strong {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--cyan-bright);
    margin-right: 0.2rem;
    letter-spacing: -0.02em;
}

.roi__slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(120, 170, 255, 0.1);
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: none;
    cursor: pointer;
    background-image: linear-gradient(90deg, var(--cyan) 0%, var(--blue-bright) var(--roi-fill, 20%), transparent var(--roi-fill, 20%));
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: all 0.2s var(--ease);
}

.roi__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--cyan);
    cursor: grab;
    box-shadow: 0 0 20px rgba(91, 163, 255, 0.6), 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s var(--ease);
}

.roi__slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.roi__slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.2); }

.roi__slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--cyan);
    cursor: grab;
    box-shadow: 0 0 20px rgba(91, 163, 255, 0.6);
}

.roi__ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ink-faint);
}

.roi__results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.roi__result {
    padding: 1.25rem;
    background: rgba(120, 170, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.roi__result--big {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(91, 163, 255, 0.4);
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
}

.roi__result--big::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--cyan-bright) 50%, transparent 100%);
}

.roi__result-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--ink-dim);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.roi__result-value {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.035em;
    background: linear-gradient(135deg, #fff 0%, var(--cyan-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.4rem;
    transition: all 0.3s var(--ease);
}

.roi__result-sub {
    font-size: 0.9rem;
    color: var(--ink-dim);
}

.roi__result-sub span {
    color: var(--cyan-bright);
    font-weight: 500;
}

.roi__result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.roi__result-cell {
    padding: 1rem 0.85rem;
    background: rgba(120, 170, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    text-align: center;
}

.roi__result-value-sm {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-top: 0.3rem;
}

.roi__result-cell .roi__result-label {
    margin-bottom: 0;
    font-size: 0.62rem;
}

.roi__disclaimer {
    font-size: 0.78rem;
    color: var(--ink-faint);
    font-style: italic;
    text-align: center;
    margin-top: 0.25rem;
}

/* ============================================================
   AVANTAGES
   ============================================================ */
.benefits {
    padding: 7rem 0;
}

.benefits__layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.benefits__intro {
    position: sticky;
    top: 120px;
    text-align: left;
}

.benefits__intro .section-head__title { text-align: left; }
.benefits__intro .section-head__desc { margin: 0; }

.benefits__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.benefit {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all 0.35s var(--ease);
    backdrop-filter: blur(10px);
}

.benefit:hover {
    border-color: var(--line-strong);
    transform: translateX(6px);
    box-shadow: 0 20px 50px -20px rgba(59, 130, 246, 0.25);
}

.benefit__number {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--blue-bright) 50%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefit__body h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.benefit__body p {
    font-size: 0.92rem;
    color: var(--ink-dim);
    line-height: 1.55;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
    padding: 7rem 0;
    border-top: 1px solid var(--line);
}

.pricing__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.5rem;
    max-width: 1080px;
    margin: 0 auto 2.5rem;
}

.price-card {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: all 0.35s var(--ease);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(91, 163, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.price-card:hover {
    border-color: var(--line-strong);
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -25px rgba(59, 130, 246, 0.35);
}

.price-card--featured {
    background: linear-gradient(180deg, rgba(17, 33, 72, 0.9) 0%, rgba(11, 22, 52, 0.95) 100%);
    border: 1px solid rgba(91, 163, 255, 0.4);
    box-shadow:
        0 0 0 1px rgba(91, 163, 255, 0.2) inset,
        0 30px 70px -25px rgba(59, 130, 246, 0.45);
}

.price-card--featured::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--cyan-bright) 50%, transparent 100%);
}

.price-card__ribbon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--bg);
    background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--cyan) 100%);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(91, 163, 255, 0.5);
}

.price-card__header {
    position: relative;
    z-index: 1;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.price-card__icon {
    font-size: 1.5rem;
    color: var(--cyan-bright);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(91, 163, 255, 0.5);
}

.price-card__name {
    font-family: var(--font-body);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.price-card__desc {
    font-size: 0.9rem;
    color: var(--ink-dim);
    line-height: 1.55;
}

.price-card__desc strong { color: var(--cyan-bright); font-weight: 500; }

.price-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.price-card__amount {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    font-weight: 400;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #fff 0%, var(--cyan-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-card__period {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--ink-dim);
}

.price-card__justify {
    font-size: 0.86rem;
    color: var(--ink-dim);
    line-height: 1.55;
    margin: -0.75rem 0 1.75rem 0;
    padding: 0.75rem 0 0 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    font-style: italic;
    position: relative;
    z-index: 1;
}

.price-card__features {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.price-card__features li {
    padding: 0.55rem 0;
    font-size: 0.92rem;
    color: var(--ink-dim);
    border-bottom: 1px dashed rgba(120, 170, 255, 0.1);
}

.price-card__features li:last-child { border-bottom: none; }
.price-card__features li strong { color: var(--ink); font-weight: 500; }

.pricing__setup {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.25rem;
    background: rgba(12, 22, 48, 0.5);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.pricing__setup-head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.pricing__setup-head h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.pricing__setup-head p {
    font-size: 0.9rem;
    color: var(--ink-dim);
}

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

.setup-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(120, 170, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.setup-item__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(91, 163, 255, 0.12);
    border: 1px solid rgba(91, 163, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-bright);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.setup-item__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--ink-dim);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.setup-item__price {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.setup-item__price span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--ink-faint);
    font-weight: 400;
    margin-left: 0.25rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: 7rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 29, 77, 0.4) 50%, transparent 100%);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.founder {
    padding: 5rem 0;
    border-top: 1px solid var(--line);
}

.founder__grid {
    max-width: 820px;
    margin: 0 auto;
}

.founder__quote {
    padding: 3rem 2.75rem;
}

.founder__quote p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ink);
    margin: 0 0 1.4rem 0;
}

.founder__quote p:last-of-type {
    margin-bottom: 0;
}

.founder__quote p strong {
    color: var(--cyan-bright);
    font-weight: 500;
}

/* --- Liste des 3 piliers --- */
.founder__pillars {
    list-style: none;
    margin: 1.8rem 0 1.8rem 0;
    padding: 1.4rem 1.5rem;
    background: linear-gradient(180deg, rgba(118, 217, 255, 0.025) 0%, rgba(118, 217, 255, 0.008) 100%);
    border: 1px solid rgba(118, 217, 255, 0.12);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.founder__pillars li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--ink);
}

.founder__pillars li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan-bright);
    box-shadow: 0 0 12px rgba(118, 217, 255, 0.55);
}

/* --- Phrase de clôture forte --- */
.founder__quote p.founder__punchline {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ink);
    letter-spacing: -0.015em;
    margin: 2rem 0 0 0;
    padding: 1.2rem 0 0.2rem 0;
    border-top: 1px solid rgba(118, 217, 255, 0.18);
}

.founder__quote p.founder__punchline strong {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 28px rgba(118, 217, 255, 0.4);
}

.founder__quote footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
    .founder__quote { padding: 2rem 1.5rem; }
    .founder__pillars { padding: 1.1rem 1.2rem; }
    .founder__quote p.founder__punchline { font-size: 1.15rem; }
}

.testimonial {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all 0.35s var(--ease);
    position: relative;
    backdrop-filter: blur(10px);
}

.testimonial::before {
    content: "\201C";
    position: absolute;
    top: -10px;
    left: 16px;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--cyan);
    opacity: 0.35;
    line-height: 1;
}

.testimonial:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 20px 50px -20px rgba(59, 130, 246, 0.3);
}

.testimonial p {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.55;
    color: var(--ink);
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

.testimonial footer {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial footer strong {
    display: block;
    font-size: 0.92rem;
    color: var(--ink);
    font-weight: 600;
}

.testimonial footer span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-faint);
}

/* ============================================================
   LIMITES / TRANSPARENCE
   ============================================================ */
.limits {
    padding: 8rem 0;
    border-top: 1px solid var(--line);
    position: relative;
}

.limits__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 5rem;
}

.limits__head .section-head__label {
    justify-content: center;
}

.limits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1120px;
    margin: 0 auto;
}

.limit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem 2.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0%, rgba(255, 255, 255, 0.003) 100%);
    border: 1px solid var(--line);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: border-color 0.4s ease, transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.limit-card:hover {
    border-color: rgba(118, 217, 255, 0.28);
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(118, 217, 255, 0.02) 0%, rgba(255, 255, 255, 0.004) 100%);
}

.limit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(118, 217, 255, 0.22) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.45s ease;
}

.limit-card:hover::before { opacity: 1; }

/* --- Cartes principales : hiérarchie visuelle premium --- */
.limit-card--highlight {
    background: linear-gradient(180deg, rgba(118, 217, 255, 0.038) 0%, rgba(118, 217, 255, 0.012) 100%);
    border-color: rgba(118, 217, 255, 0.22);
    box-shadow:
        0 1px 0 rgba(118, 217, 255, 0.06) inset,
        0 0 0 1px rgba(118, 217, 255, 0.04),
        0 18px 60px -28px rgba(118, 217, 255, 0.18);
}

.limit-card--highlight::before {
    opacity: 0.55;
}

.limit-card--highlight:hover {
    border-color: rgba(118, 217, 255, 0.42);
    background: linear-gradient(180deg, rgba(118, 217, 255, 0.055) 0%, rgba(118, 217, 255, 0.018) 100%);
    box-shadow:
        0 1px 0 rgba(118, 217, 255, 0.1) inset,
        0 0 0 1px rgba(118, 217, 255, 0.08),
        0 24px 70px -28px rgba(118, 217, 255, 0.28);
}

.limit-card--highlight .limit-card__icon {
    color: var(--cyan-bright);
}

/* --- Carte feature : le message le plus fort de la section --- */
.limit-card--feature {
    background: linear-gradient(180deg, rgba(118, 217, 255, 0.065) 0%, rgba(118, 217, 255, 0.02) 100%);
    border-color: rgba(118, 217, 255, 0.36);
    box-shadow:
        0 1px 0 rgba(118, 217, 255, 0.12) inset,
        0 0 0 1px rgba(118, 217, 255, 0.08),
        0 28px 80px -28px rgba(118, 217, 255, 0.32);
}

.limit-card--feature::before {
    opacity: 0.85;
    background: linear-gradient(90deg, transparent 0%, rgba(118, 217, 255, 0.38) 50%, transparent 100%);
}

.limit-card--feature:hover {
    border-color: rgba(118, 217, 255, 0.55);
    background: linear-gradient(180deg, rgba(118, 217, 255, 0.085) 0%, rgba(118, 217, 255, 0.028) 100%);
    box-shadow:
        0 1px 0 rgba(118, 217, 255, 0.18) inset,
        0 0 0 1px rgba(118, 217, 255, 0.14),
        0 34px 90px -28px rgba(118, 217, 255, 0.42);
}

.limit-card--feature .limit-card__icon {
    color: var(--cyan-bright);
    filter: drop-shadow(0 0 14px rgba(118, 217, 255, 0.35));
}

.limit-card--feature .limit-card__body h4 {
    color: #fff;
}

.limit-card__body p.limit-card__lede {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.022em;
    line-height: 1.2;
    margin: 0.4rem 0 1.2rem 0;
    padding: 0.4rem 0 0.45rem 1.05rem;
    max-width: 100%;
    border-left: 3px solid var(--cyan-bright);
    text-shadow: 0 0 32px rgba(118, 217, 255, 0.55);
}

@media (max-width: 900px) {
    .limit-card__body p.limit-card__lede {
        font-size: 1.35rem;
        padding-left: 0.85rem;
    }
}

.limit-card__icon {
    width: 34px;
    height: 34px;
    color: var(--ink-dim);
    transition: color 0.4s ease, transform 0.4s ease;
}

.limit-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.limit-card:hover .limit-card__icon {
    color: var(--cyan-bright);
}

.limit-card__body h4 {
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.018em;
    margin: 0 0 0.95rem 0;
    line-height: 1.28;
}

.limit-card__body p {
    font-size: 0.9rem;
    color: var(--ink-dim);
    line-height: 1.62;
    margin: 0;
    max-width: 34ch;
    letter-spacing: 0.002em;
}

.limit-card__body p strong {
    color: var(--cyan-bright);
    font-weight: 500;
    letter-spacing: 0.002em;
}

.limit-card__badge {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cyan-bright);
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(118, 217, 255, 0.3);
    border-radius: 4px;
    background: rgba(118, 217, 255, 0.04);
    line-height: 1;
}

@media (max-width: 900px) {
    .limit-card__badge {
        top: 1rem;
        right: 1rem;
        font-size: 0.58rem;
        padding: 0.3rem 0.55rem;
    }
}

@media (max-width: 900px) {
    .limits { padding: 6rem 0; }
    .limits__head { margin-bottom: 3.5rem; }
    .limits__grid { grid-template-columns: 1fr; gap: 1rem; }
    .limit-card { padding: 2rem 1.75rem; gap: 1.5rem; }
    .limit-card__body h4 { font-size: 1.18rem; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    padding: 7rem 0;
}

.faq__list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.faq__item[open] {
    border-color: var(--line-strong);
    background: rgba(14, 28, 62, 0.8);
}

.faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.35rem 1.75rem;
    cursor: pointer;
    list-style: none;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__icon {
    color: var(--cyan);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s var(--ease);
    line-height: 0.8;
}

.faq__item[open] .faq__icon {
    transform: rotate(45deg);
}

.faq__content {
    padding: 0 1.75rem 1.35rem;
    color: var(--ink-dim);
    line-height: 1.65;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    padding: 7rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 29, 77, 0.5) 100%);
    border-top: 1px solid var(--line);
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}

.contact__title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin: 1.5rem 0;
}

.contact__title em {
    background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--blue-bright) 70%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact__desc {
    font-size: 1rem;
    color: var(--ink-dim);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.contact__scarcity {
    font-size: 0.88rem;
    color: var(--ink);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0.9rem 1.1rem;
    border-left: 2px solid var(--cyan-bright);
    background: linear-gradient(90deg, rgba(118, 217, 255, 0.05) 0%, transparent 100%);
    border-radius: 0 6px 6px 0;
    font-style: italic;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.contact__info-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.contact__info-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--ink-faint);
    text-transform: uppercase;
}

.contact__info-value {
    font-size: 0.95rem;
    color: var(--ink);
}

.contact__form {
    padding: 2.5rem;
    background: linear-gradient(180deg, rgba(12, 22, 48, 0.8) 0%, rgba(6, 14, 34, 0.9) 100%);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow:
        0 30px 70px -25px rgba(0, 0, 0, 0.6),
        0 0 60px -20px rgba(59, 130, 246, 0.25);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact__form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--cyan-bright) 50%, transparent 100%);
}

.form-field {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--ink-dim);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(120, 170, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--ink);
    outline: none;
    transition: all 0.25s var(--ease);
    font-family: var(--font-body);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--ink-faint);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--cyan);
    background: rgba(120, 170, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(91, 163, 255, 0.15);
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.form-field.is-error input,
.form-field.is-error textarea {
    border-color: #ff5a6a;
    background: rgba(255, 90, 106, 0.05);
}

.form-error {
    display: block;
    font-size: 0.78rem;
    color: #ff7a87;
    margin-top: 0.35rem;
    min-height: 1rem;
}

.form-success {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    background: rgba(34, 211, 154, 0.1);
    border: 1px solid rgba(34, 211, 154, 0.3);
    border-radius: var(--radius-sm);
    color: #22d39a;
    font-size: 0.9rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s var(--ease);
}

.form-success.is-visible {
    max-height: 100px;
    opacity: 1;
    margin-top: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--line);
    background: rgba(3, 8, 22, 0.6);
    position: relative;
    z-index: 2;
}

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

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer__logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(91, 163, 255, 0.55));
}

.footer__logo-text {
    font-family: var(--font-display);
    font-size: 1.9rem;
    color: var(--ink);
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--ink-dim);
    line-height: 1.55;
}

.footer__col h5 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--cyan);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer__col a {
    display: block;
    font-size: 0.9rem;
    color: var(--ink-dim);
    margin-bottom: 0.6rem;
    transition: color 0.2s var(--ease);
}

.footer__col a:hover { color: var(--cyan-bright); }

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-faint);
}

.footer__social {
    display: flex;
    gap: 1.5rem;
}

.footer__social a {
    transition: color 0.2s var(--ease);
}

.footer__social a:hover { color: var(--cyan-bright); }

/* ============================================================
   CTA STICKY MOBILE
   ============================================================ */
.cta-sticky {
    display: none;
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 90;
    padding: 0.85rem 1.4rem;
    background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
    color: #fff;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    align-items: center;
    gap: 0.55rem;
    box-shadow:
        0 15px 40px -12px rgba(59, 130, 246, 0.7),
        0 0 40px -8px rgba(91, 163, 255, 0.5);
    animation: fadeUp 0.5s var(--ease) 1s backwards;
}

/* ============================================================
   ANIMATIONS — REVEAL
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .features__grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials__grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
    .dashboard__layout { grid-template-columns: 200px 1fr; }
    .dashboard__kpis { grid-template-columns: 1fr 1fr; }
    .dashboard__kpis .kpi:last-child { grid-column: span 2; }

    /* Nav : bascule en burger dès la tablette (sinon les items Fonctionnalités /
       Démo / Calculateur ROI / Tarifs / FAQ / CTA débordent horizontalement
       et génèrent un ascenseur qui clignote sur Android). */
    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 88%;
        max-width: 360px;
        flex-direction: column;
        gap: 1.25rem;
        padding: 6rem 2rem 2rem;
        background: rgba(5, 13, 34, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--line);
        transform: translateX(110%);     /* 110% pour être sûr qu'il est hors viewport */
        transition: transform 0.35s var(--ease);
        align-items: flex-start;
        will-change: transform;
    }
    .nav__menu.is-open { transform: translateX(0); }
    .nav__link { font-size: 1.1rem; }
    .nav__link--cta { margin-top: 1rem; width: auto; }
    .nav__burger { display: flex; }
}

@media (max-width: 900px) {
    section { padding: 5rem 0; }

    .nav__logo-img { height: 82px; width: auto; }
    .nav.is-scrolled .nav__logo-img { height: 62px; width: auto; }
    .nav__logo { font-size: 1.5rem; }

    .hero { min-height: auto; padding: 8.5rem 0 4rem; }
    .hero__stats { gap: 1.25rem; padding-top: 2rem; }
    .hero__stat-divider { display: none; }
    .hero__stat { flex: 1 1 30%; }
    .hero__cta { margin-bottom: 3rem; }

    .roi__panel {
        grid-template-columns: 1fr;
        padding: 1.75rem;
        gap: 1.5rem;
    }
    .roi__result-grid { grid-template-columns: 1fr 1fr; }
    .roi__result-grid .roi__result-cell:last-child { grid-column: span 2; }

    .benefits__layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .benefits__intro {
        position: static;
        text-align: center;
    }
    .benefits__intro .section-head__title { text-align: center; }
    .benefits__intro .section-head__desc { margin: 0 auto; }

    .benefit {
        grid-template-columns: 100px 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }

    .pricing__grid { grid-template-columns: 1fr; }
    .process__steps { grid-template-columns: 1fr; gap: 2.5rem; }
    .process__step-line { display: none; }
    .pricing__setup-grid { grid-template-columns: 1fr; }

    .contact__layout { grid-template-columns: 1fr; gap: 2.5rem; }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer__brand { grid-column: span 2; }

    .cta-sticky { display: inline-flex; }
    body { padding-bottom: 5.5rem; }
    .footer { padding-bottom: 1.5rem; }

    /* Dashboard responsive */
    .dashboard__layout { grid-template-columns: 1fr; }
    .dashboard__sidebar {
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 1rem;
    }
    .dashboard__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    .dashboard__nav a { flex: 1 1 calc(50% - 0.25rem); font-size: 0.75rem; padding: 0.4rem 0.5rem; }
    .dashboard__status { margin-top: 0.5rem; }
    .dashboard__brand { padding-bottom: 0.5rem; margin-bottom: 0.5rem; }
    .dashboard__main { padding: 1.25rem; }
    .dashboard__greeting h3 { font-size: 1rem; }
    .dashboard__kpis { gap: 0.5rem; }
    .kpi { padding: 0.85rem; }
    .kpi__value { font-size: 1.4rem; }
    .feed__item { padding: 0.5rem 0.25rem; gap: 0.6rem; }
    .feed__body { font-size: 0.8rem; }
}

@media (max-width: 540px) {
    .features__grid { grid-template-columns: 1fr; }
    .benefit { grid-template-columns: 1fr; gap: 0.5rem; text-align: left; }
    .benefit__number { font-size: 2.4rem; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__brand { grid-column: span 1; }
    .footer__bottom { flex-direction: column; text-align: center; }
    .hero__cta .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   SÉLECTEUR DE LANGUE
   ============================================================ */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    background: rgba(120, 170, 255, 0.06);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 0.2rem;
    flex-shrink: 0;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--ink-dim);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    line-height: 1;
    white-space: nowrap;
}

.lang-btn.is-active {
    background: rgba(91, 163, 255, 0.18);
    color: var(--ink);
    box-shadow: 0 0 10px rgba(91, 163, 255, 0.15);
}

.lang-btn:hover:not(.is-active) {
    color: var(--ink);
    background: rgba(120, 170, 255, 0.1);
}

.lang-flag {
    font-size: 0.95rem;
    line-height: 1;
    display: inline-block;
}

.lang-code {
    font-size: 0.68rem;
}

/* Sur mobile : masquer le code, garder juste le drapeau */
@media (max-width: 540px) {
    .lang-code { display: none; }
    .lang-btn { padding: 0.28rem 0.45rem; }
}

/* ============================================================
   TABLETTE — désactivation des animations lourdes GPU
   filter:blur + transform:scale en boucle = scintillement
   ============================================================ */
@media (max-width: 1100px) {

    /* Halos derrière dashboard et chatbot : on enlève le blur
       et on fige l'animation — c'est la source principale du problème */
    .dashboard__halo,
    .chatbot__halo,
    [class*="__halo"] {
        animation: none !important;
        filter: none !important;
        opacity: 0.25;
        transform: none !important;
        will-change: auto;
    }

    /* Points clignotants (EN DIRECT, IA active…) : on les fige */
    .dashboard__live-dot,
    .dashboard__status-dot,
    .chatbot__live-dot,
    .chatbot__peer-dot,
    .hero__badge-dot {
        animation: none !important;
        opacity: 1;
    }

    /* Glows de fond : blur réduit, flottement arrêté */
    .bg-glow {
        animation: none !important;
        filter: blur(60px);
        opacity: 0.25;
        will-change: auto;
    }

    /* Grille animée arrêtée */
    .bg-grid {
        animation: none !important;
    }

    /* Dégradé animé du titre : figé */
    .hero__title-accent {
        animation: none !important;
        background-position: 0% 50%;
    }
}

/* ============================================================
   ACCESSIBILITÉ — prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .bg-grid, .bg-glow, .hero__title-accent, .marquee__track,
    .hero__badge-dot, .dashboard__live-dot,
    .dashboard__status-dot, .dashboard__halo {
        animation: none !important;
    }
}
