/* ==========================================================================
   SELEXORA LABS — Feuille de styles principale
   Data. Vision. Performance.
   --------------------------------------------------------------------------
   1.  Variables & reset
   2.  Typographie
   3.  Utilitaires & sections
   4.  Boutons
   5.  Header / navigation
   6.  Hero + illustration dashboard
   7.  Cartes (problématique, solutions, technologie)
   8.  Mission & bénéfices
   9.  Timeline vision
   10. Formulaire contact
   11. Bandeau CTA
   12. Footer
   13. Animations & responsive
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    /* Palette */
    --sx-black:        #05070E;
    --sx-black-2:      #080B15;
    --sx-anthracite:   #101522;
    --sx-anthracite-2: #161C2C;
    --sx-line:         rgba(255, 255, 255, .08);
    --sx-line-strong:  rgba(255, 255, 255, .16);

    --sx-blue:         #1E6BFF;
    --sx-blue-bright:  #3E86FF;
    --sx-blue-deep:    #12275E;
    --sx-navy:         #17255A;

    --sx-white:        #FFFFFF;
    --sx-text:         #E8ECF5;
    --sx-muted:        #97A1B8;
    --sx-muted-2:      #6E7891;

    --sx-success:      #17C98B;
    --sx-warning:      #FFB020;

    /* Effets */
    --sx-glow:         0 0 60px rgba(30, 107, 255, .35);
    --sx-shadow-sm:    0 4px 16px rgba(0, 0, 0, .35);
    --sx-shadow:       0 18px 45px rgba(0, 0, 0, .45);
    --sx-shadow-lg:    0 30px 80px rgba(0, 0, 0, .55);

    --sx-radius:       18px;
    --sx-radius-lg:    26px;
    --sx-radius-sm:    12px;

    --sx-gradient:     linear-gradient(135deg, var(--sx-blue) 0%, #6AA0FF 100%);
    --sx-gradient-dark:linear-gradient(150deg, rgba(30,107,255,.16) 0%, rgba(23,37,90,.04) 60%);

    --sx-font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sx-font-display: 'Space Grotesk', 'Inter', sans-serif;

    --sx-ease:         cubic-bezier(.22, 1, .36, 1);
    --sx-header-h:     78px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--sx-header-h) + 20px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--sx-font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--sx-text);
    background: var(--sx-black);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Halo lumineux global */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1000px 620px at 78% -8%,  rgba(30, 107, 255, .20), transparent 62%),
        radial-gradient(820px 520px at 4% 12%,   rgba(23, 37, 90, .38),   transparent 60%),
        radial-gradient(900px 700px at 50% 108%, rgba(30, 107, 255, .10), transparent 65%);
    pointer-events: none;
}

/* Grille technique de fond */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
    pointer-events: none;
}

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

a {
    color: var(--sx-blue-bright);
    text-decoration: none;
    transition: color .25s var(--sx-ease);
}
a:hover { color: var(--sx-white); }

::selection { background: rgba(30, 107, 255, .35); color: #fff; }

/* Barre de défilement */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--sx-black); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--sx-blue), var(--sx-navy));
    border-radius: 10px;
}

/* Accessibilité : lien d'évitement */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--sx-blue);
    color: #fff;
    padding: .75rem 1.25rem;
    border-radius: 0 0 var(--sx-radius-sm) 0;
    font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
    outline: 2px solid var(--sx-blue-bright);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Barre de progression de lecture */
.sx-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0;
    background: var(--sx-gradient);
    z-index: 1080;
    transition: width .1s linear;
    box-shadow: 0 0 12px rgba(30, 107, 255, .8);
}

/* ==========================================================================
   2. TYPOGRAPHIE
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .sx-display {
    font-family: var(--sx-font-display);
    color: var(--sx-white);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
}

.sx-h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
.sx-h2 { font-size: clamp(1.8rem, 3.6vw, 2.85rem); line-height: 1.2; }
.sx-h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); }

.sx-lead {
    font-size: clamp(1.02rem, 1.35vw, 1.18rem);
    color: var(--sx-muted);
    line-height: 1.8;
    font-weight: 400;
}

.sx-gradient-text {
    background: linear-gradient(115deg, #FFFFFF 8%, #9EC2FF 48%, var(--sx-blue) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.sx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--sx-font);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sx-blue-bright);
    background: rgba(30, 107, 255, .09);
    border: 1px solid rgba(30, 107, 255, .28);
    padding: .42rem .95rem;
    border-radius: 100px;
    margin-bottom: 1.35rem;
}
.sx-eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--sx-blue-bright);
    box-shadow: 0 0 10px var(--sx-blue-bright);
    animation: sx-pulse 2.4s ease-in-out infinite;
}

@keyframes sx-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: .35; transform: scale(.75); }
}

/* ==========================================================================
   3. UTILITAIRES & SECTIONS
   ========================================================================== */
.sx-section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.sx-section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.sx-section-alt {
    background: linear-gradient(180deg, transparent, rgba(16, 21, 34, .72) 22%, rgba(16, 21, 34, .72) 78%, transparent);
    border-top: 1px solid var(--sx-line);
    border-bottom: 1px solid var(--sx-line);
}

.sx-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sx-line-strong), transparent);
    border: 0;
    margin: 0;
    opacity: .9;
}

.sx-max-720 { max-width: 720px; }
.sx-max-820 { max-width: 820px; }

.text-muted-sx { color: var(--sx-muted) !important; }

/* ==========================================================================
   4. BOUTONS
   ========================================================================== */
.btn-sx-primary,
.btn-sx-outline,
.btn-sx-ghost {
    --bs-btn-focus-box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .1rem;
    font-family: var(--sx-font);
    font-weight: 600;
    font-size: .96rem;
    letter-spacing: .01em;
    padding: .85rem 1.7rem;
    border-radius: 100px;
    border: 1px solid transparent;
    transition: transform .3s var(--sx-ease), box-shadow .3s var(--sx-ease),
                background .3s var(--sx-ease), color .3s var(--sx-ease), border-color .3s var(--sx-ease);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-sx-primary {
    background: var(--sx-gradient);
    color: #fff;
    box-shadow: 0 10px 30px rgba(30, 107, 255, .32);
}
.btn-sx-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.32) 50%, transparent 75%);
    transform: translateX(-120%);
    transition: transform .7s var(--sx-ease);
}
.btn-sx-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(30, 107, 255, .48);
}
.btn-sx-primary:hover::after { transform: translateX(120%); }

.btn-sx-outline {
    background: rgba(255, 255, 255, .03);
    color: var(--sx-white);
    border-color: var(--sx-line-strong);
    backdrop-filter: blur(8px);
}
.btn-sx-outline:hover {
    color: var(--sx-white);
    border-color: var(--sx-blue);
    background: rgba(30, 107, 255, .12);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
}

.btn-sx-ghost {
    background: transparent;
    color: var(--sx-muted);
    padding: .5rem 0;
}
.btn-sx-ghost:hover { color: var(--sx-blue-bright); }

.btn-sx-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn-sm-nav { padding: .6rem 1.25rem; font-size: .88rem; }

/* ==========================================================================
   5. HEADER / NAVIGATION
   ========================================================================== */
.sx-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: background .35s var(--sx-ease), box-shadow .35s var(--sx-ease), border-color .35s var(--sx-ease);
    border-bottom: 1px solid transparent;
}
.sx-header.is-scrolled {
    background: rgba(5, 7, 14, .82);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom-color: var(--sx-line);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
}

.sx-navbar { padding: .85rem 0; }

.sx-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
}
.sx-brand-mark {
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--sx-line-strong);
    box-shadow: 0 6px 20px rgba(30, 107, 255, .22);
    overflow: hidden;
    flex: 0 0 auto;
    transition: transform .35s var(--sx-ease), box-shadow .35s var(--sx-ease);
}
/* Le PNG est recadré au carré avec sa propre marge : il remplit la tuile blanche */
.sx-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sx-brand:hover .sx-brand-mark {
    transform: translateY(-2px) rotate(-3deg);
    box-shadow: 0 10px 28px rgba(30, 107, 255, .4);
}
.sx-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.sx-brand-name {
    font-family: var(--sx-font-display);
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: .1em;
    color: var(--sx-white);
}
.sx-brand-baseline {
    font-size: .62rem;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--sx-muted-2);
    font-weight: 500;
}

.sx-navbar .nav-link {
    color: var(--sx-muted);
    font-weight: 500;
    font-size: .95rem;
    padding: .55rem 1rem;
    position: relative;
    transition: color .25s var(--sx-ease);
}
.sx-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem; right: 1rem; bottom: .28rem;
    height: 1.5px;
    background: var(--sx-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--sx-ease);
    border-radius: 2px;
}
.sx-navbar .nav-link:hover,
.sx-navbar .nav-link.active { color: var(--sx-white); }
.sx-navbar .nav-link:hover::after,
.sx-navbar .nav-link.active::after { transform: scaleX(1); }

/* Sélecteur de langue */
.sx-lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: .85rem;
    padding: 3px;
    border: 1px solid var(--sx-line);
    border-radius: 100px;
    background: rgba(255, 255, 255, .03);
}
.sx-lang-link {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .07em;
    color: var(--sx-muted-2);
    padding: .3rem .62rem;
    border-radius: 100px;
    transition: all .25s var(--sx-ease);
}
.sx-lang-link:hover { color: var(--sx-white); background: rgba(255, 255, 255, .06); }
.sx-lang-link.is-active { color: #fff; background: var(--sx-blue); box-shadow: 0 4px 14px rgba(30, 107, 255, .45); }

/* Burger mobile */
.sx-toggler {
    border: 1px solid var(--sx-line-strong);
    border-radius: 12px;
    padding: .55rem .6rem;
    background: rgba(255, 255, 255, .03);
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 44px;
}
.sx-toggler:focus { box-shadow: none; }
.sx-toggler-bar {
    display: block;
    width: 20px; height: 2px;
    background: var(--sx-white);
    border-radius: 2px;
    transition: transform .3s var(--sx-ease), opacity .3s var(--sx-ease);
}
.sx-toggler[aria-expanded="true"] .sx-toggler-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sx-toggler[aria-expanded="true"] .sx-toggler-bar:nth-child(2) { opacity: 0; }
.sx-toggler[aria-expanded="true"] .sx-toggler-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(8, 11, 21, .97);
        backdrop-filter: blur(20px);
        border: 1px solid var(--sx-line);
        border-radius: var(--sx-radius);
        margin-top: .9rem;
        padding: 1rem;
        box-shadow: var(--sx-shadow);
    }
    .sx-navbar .nav-link { padding: .75rem .5rem; }
    .sx-navbar .nav-link::after { left: .5rem; right: auto; width: 26px; }
    .sx-lang { margin: .8rem .5rem 0; }
    .btn-sm-nav { width: 100%; }
    .sx-brand-baseline { display: none; }
}

/* ==========================================================================
   6. HERO + ILLUSTRATION DASHBOARD
   ========================================================================== */
.sx-hero {
    position: relative;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 6.5rem);
    overflow: hidden;
}
.sx-hero-inner { position: relative; z-index: 2; }

.sx-hero h1 { margin-bottom: 1.5rem; }
.sx-hero .sx-lead { max-width: 620px; margin-bottom: 2.3rem; }

.sx-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.sx-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 2.6rem;
    padding-top: 1.9rem;
    border-top: 1px solid var(--sx-line);
}
.sx-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 500;
    color: var(--sx-muted);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--sx-line);
    border-radius: 100px;
    padding: .42rem .95rem;
    transition: all .3s var(--sx-ease);
}
.sx-hero-badge i { color: var(--sx-blue-bright); font-size: .95rem; }
.sx-hero-badge:hover {
    color: var(--sx-white);
    border-color: rgba(30, 107, 255, .5);
    background: rgba(30, 107, 255, .08);
}

/* ---- Maquette dashboard ---- */
.sx-dash {
    position: relative;
    border-radius: var(--sx-radius-lg);
    background: linear-gradient(160deg, rgba(22, 28, 44, .96), rgba(8, 11, 21, .97));
    border: 1px solid var(--sx-line-strong);
    box-shadow: var(--sx-shadow-lg), var(--sx-glow);
    padding: 1.15rem;
    transform: perspective(1600px) rotateY(-8deg) rotateX(4deg);
    transition: transform .8s var(--sx-ease);
    will-change: transform;
}
.sx-dash:hover { transform: perspective(1600px) rotateY(-2deg) rotateX(1deg) translateY(-6px); }

.sx-dash::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(30, 107, 255, .65), transparent 42%, transparent 62%, rgba(30, 107, 255, .35));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sx-dash-bar {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding-bottom: .9rem;
    margin-bottom: .95rem;
    border-bottom: 1px solid var(--sx-line);
}
.sx-dash-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.sx-dash-dot:first-child { background: rgba(255, 90, 90, .55); }
.sx-dash-dot:nth-child(2) { background: rgba(255, 176, 32, .55); }
.sx-dash-dot:nth-child(3) { background: rgba(23, 201, 139, .55); }
.sx-dash-title {
    font-family: var(--sx-font-display);
    font-size: .8rem;
    color: var(--sx-text);
    margin-left: .45rem;
    letter-spacing: .02em;
}
.sx-dash-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--sx-success);
    background: rgba(23, 201, 139, .1);
    border: 1px solid rgba(23, 201, 139, .3);
    padding: .18rem .5rem;
    border-radius: 100px;
}
.sx-dash-live::before {
    content: "";
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--sx-success);
    animation: sx-pulse 1.8s ease-in-out infinite;
}

.sx-dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .85rem; }
.sx-kpi {
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--sx-line);
    border-radius: var(--sx-radius-sm);
    padding: .7rem .75rem;
}
.sx-kpi-label {
    font-size: .58rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sx-muted-2);
    display: block;
    margin-bottom: .25rem;
    line-height: 1.4;
}
.sx-kpi-value {
    font-family: var(--sx-font-display);
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--sx-white);
    line-height: 1;
}
.sx-kpi-trend { font-size: .62rem; color: var(--sx-success); font-weight: 600; }
.sx-kpi-trend.is-warn { color: var(--sx-warning); }

.sx-dash-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: .6rem; }
.sx-dash-panel {
    background: rgba(255, 255, 255, .028);
    border: 1px solid var(--sx-line);
    border-radius: var(--sx-radius-sm);
    padding: .75rem;
}
.sx-panel-title {
    font-size: .6rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--sx-muted-2);
    margin-bottom: .55rem;
    display: block;
}
.sx-dash-svg { width: 100%; height: auto; display: block; }

.sx-dash-alert {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .6rem;
    background: rgba(255, 176, 32, .08);
    border: 1px solid rgba(255, 176, 32, .28);
    border-radius: var(--sx-radius-sm);
    padding: .55rem .7rem;
    font-size: .68rem;
    color: #FFD48A;
}
.sx-dash-alert i { color: var(--sx-warning); font-size: .85rem; }

.sx-dash-ai {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .55rem;
    font-size: .64rem;
    color: var(--sx-muted-2);
}
.sx-dash-ai-bar {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
    position: relative;
}
.sx-dash-ai-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 42%;
    background: var(--sx-gradient);
    border-radius: 3px;
    animation: sx-scan 2.6s var(--sx-ease) infinite;
}
@keyframes sx-scan {
    0%   { transform: translateX(-105%); }
    100% { transform: translateX(240%); }
}

.sx-dash-caption {
    text-align: center;
    font-size: .68rem;
    color: var(--sx-muted-2);
    margin-top: 1.1rem;
    letter-spacing: .06em;
}

/* Animation du graphique */
.sx-spark-line {
    stroke-dasharray: 460;
    stroke-dashoffset: 460;
    animation: sx-draw 2.6s var(--sx-ease) forwards .5s;
}
@keyframes sx-draw { to { stroke-dashoffset: 0; } }

.sx-route-line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: sx-draw 3s var(--sx-ease) forwards .8s;
}
.sx-node { animation: sx-node 2.8s ease-in-out infinite; transform-origin: center; }
.sx-node-2 { animation-delay: .5s; }
.sx-node-3 { animation-delay: 1s; }
@keyframes sx-node {
    0%, 100% { opacity: .45; }
    50%      { opacity: 1; }
}

/* ==========================================================================
   7. CARTES
   ========================================================================== */
.sx-card {
    position: relative;
    height: 100%;
    background: linear-gradient(160deg, rgba(22, 28, 44, .7), rgba(8, 11, 21, .55));
    border: 1px solid var(--sx-line);
    border-radius: var(--sx-radius);
    padding: 2rem 1.75rem;
    box-shadow: var(--sx-shadow-sm);
    overflow: hidden;
    transition: transform .45s var(--sx-ease), border-color .45s var(--sx-ease), box-shadow .45s var(--sx-ease);
}
.sx-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--sx-gradient-dark);
    opacity: 0;
    transition: opacity .45s var(--sx-ease);
    pointer-events: none;
}
.sx-card::after {
    content: "";
    position: absolute;
    top: 0; left: 12%; right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sx-blue), transparent);
    opacity: 0;
    transition: opacity .45s var(--sx-ease);
}
.sx-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 107, 255, .42);
    box-shadow: var(--sx-shadow), 0 0 44px rgba(30, 107, 255, .12);
}
.sx-card:hover::before,
.sx-card:hover::after { opacity: 1; }

.sx-card > * { position: relative; z-index: 1; }

.sx-card-icon {
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 15px;
    background: linear-gradient(150deg, rgba(30, 107, 255, .22), rgba(30, 107, 255, .05));
    border: 1px solid rgba(30, 107, 255, .3);
    color: var(--sx-blue-bright);
    font-size: 1.4rem;
    margin-bottom: 1.35rem;
    transition: transform .45s var(--sx-ease), box-shadow .45s var(--sx-ease), color .45s var(--sx-ease);
}
.sx-card:hover .sx-card-icon {
    transform: translateY(-3px) scale(1.06);
    color: var(--sx-white);
    box-shadow: 0 10px 26px rgba(30, 107, 255, .35);
}

.sx-card-title {
    font-size: 1.08rem;
    font-weight: 600;
    margin-bottom: .7rem;
    color: var(--sx-white);
}
.sx-card-text { color: var(--sx-muted); font-size: .93rem; margin: 0; line-height: 1.75; }

.sx-card-index {
    position: absolute;
    top: 1.2rem; right: 1.4rem;
    font-family: var(--sx-font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, .035);
    line-height: 1;
    z-index: 0;
}

/* ---- Cartes solutions ---- */
.sx-solution {
    scroll-margin-top: calc(var(--sx-header-h) + 30px);
}
.sx-solution-card { padding: 2.25rem 2rem; }

.sx-solution-tag {
    display: inline-block;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sx-blue-bright);
    background: rgba(30, 107, 255, .1);
    border: 1px solid rgba(30, 107, 255, .28);
    border-radius: 100px;
    padding: .3rem .75rem;
    margin-bottom: 1rem;
}

.sx-solution-name {
    font-family: var(--sx-font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--sx-white);
    margin-bottom: .9rem;
}

.sx-feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.sx-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: .55rem 0;
    font-size: .92rem;
    color: var(--sx-text);
    border-top: 1px solid var(--sx-line);
}
.sx-feature-list li:first-child { border-top: 0; }
.sx-feature-list li i {
    color: var(--sx-blue-bright);
    font-size: .95rem;
    margin-top: .2rem;
    flex: 0 0 auto;
}

.sx-features-label {
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sx-muted-2);
    margin-top: 1.7rem;
}

/* Visuel latéral des solutions */
.sx-solution-visual {
    position: relative;
    border-radius: var(--sx-radius-lg);
    border: 1px solid var(--sx-line);
    background: linear-gradient(160deg, rgba(22, 28, 44, .85), rgba(8, 11, 21, .7));
    padding: 2rem;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: var(--sx-shadow-sm);
}
.sx-solution-visual::before {
    content: "";
    position: absolute;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 107, 255, .28), transparent 68%);
    filter: blur(20px);
}
.sx-solution-visual svg { position: relative; width: 100%; max-width: 340px; height: auto; }

/* ==========================================================================
   8. MISSION & BÉNÉFICES
   ========================================================================== */
.sx-benefits { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .85rem; }
.sx-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(100deg, rgba(30, 107, 255, .07), rgba(255, 255, 255, .02));
    border: 1px solid var(--sx-line);
    border-left: 2px solid var(--sx-blue);
    border-radius: var(--sx-radius-sm);
    padding: .95rem 1.2rem;
    font-size: .96rem;
    color: var(--sx-text);
    transition: transform .35s var(--sx-ease), border-color .35s var(--sx-ease), background .35s var(--sx-ease);
}
.sx-benefit:hover {
    transform: translateX(7px);
    background: linear-gradient(100deg, rgba(30, 107, 255, .14), rgba(255, 255, 255, .03));
    border-color: rgba(30, 107, 255, .35);
    border-left-color: var(--sx-blue-bright);
}
.sx-benefit-check {
    display: grid;
    place-items: center;
    width: 26px; height: 26px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: rgba(30, 107, 255, .16);
    border: 1px solid rgba(30, 107, 255, .4);
    color: var(--sx-blue-bright);
    font-size: .78rem;
}

.sx-note {
    background: linear-gradient(150deg, rgba(30, 107, 255, .1), rgba(8, 11, 21, .5));
    border: 1px solid rgba(30, 107, 255, .25);
    border-radius: var(--sx-radius);
    padding: 1.8rem;
    box-shadow: var(--sx-shadow-sm);
}
.sx-note-title {
    font-size: 1rem;
    color: var(--sx-white);
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.sx-note-title i { color: var(--sx-blue-bright); }

/* Statistiques / chiffres clés */
.sx-stat {
    text-align: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--sx-line);
}
.sx-stat:last-child { border-right: 0; }
.sx-stat-value {
    font-family: var(--sx-font-display);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: .4rem;
}
.sx-stat-label {
    font-size: .78rem;
    color: var(--sx-muted);
    letter-spacing: .04em;
}

/* ==========================================================================
   9. TIMELINE VISION
   ========================================================================== */
.sx-timeline { position: relative; }

.sx-tl-card {
    position: relative;
    border-radius: var(--sx-radius-lg);
    border: 1px solid var(--sx-line);
    padding: 2.2rem 2rem;
    height: 100%;
    background: linear-gradient(160deg, rgba(22, 28, 44, .6), rgba(8, 11, 21, .45));
    transition: transform .45s var(--sx-ease), border-color .45s var(--sx-ease), box-shadow .45s var(--sx-ease);
}
.sx-tl-card:hover { transform: translateY(-6px); box-shadow: var(--sx-shadow); }

.sx-tl-today { border-color: rgba(255, 255, 255, .1); }
.sx-tl-today .sx-tl-label { color: var(--sx-muted); background: rgba(255,255,255,.05); border-color: var(--sx-line); }

.sx-tl-tomorrow {
    border-color: rgba(30, 107, 255, .4);
    background: linear-gradient(160deg, rgba(30, 107, 255, .12), rgba(8, 11, 21, .55));
    box-shadow: 0 0 50px rgba(30, 107, 255, .12);
}
.sx-tl-tomorrow:hover { box-shadow: var(--sx-shadow), 0 0 60px rgba(30, 107, 255, .22); }

.sx-tl-label {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sx-blue-bright);
    background: rgba(30, 107, 255, .12);
    border: 1px solid rgba(30, 107, 255, .3);
    border-radius: 100px;
    padding: .32rem .85rem;
    margin-bottom: 1.1rem;
}
.sx-tl-title {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--sx-white);
    margin-bottom: 1.2rem;
    line-height: 1.35;
}
.sx-tl-list { list-style: none; padding: 0; margin: 0; }
.sx-tl-list li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    padding: .5rem 0;
    color: var(--sx-muted);
    font-size: .92rem;
}
.sx-tl-list li i { margin-top: .25rem; font-size: .85rem; flex: 0 0 auto; }
.sx-tl-today .sx-tl-list li i { color: var(--sx-muted-2); }
.sx-tl-tomorrow .sx-tl-list li i { color: var(--sx-blue-bright); }
.sx-tl-tomorrow .sx-tl-list li { color: var(--sx-text); }

.sx-tl-arrow {
    display: grid;
    place-items: center;
    padding: 1rem 0;
}
.sx-tl-arrow-inner {
    display: grid;
    place-items: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(30, 107, 255, .12);
    border: 1px solid rgba(30, 107, 255, .35);
    color: var(--sx-blue-bright);
    font-size: 1.35rem;
    box-shadow: 0 0 30px rgba(30, 107, 255, .25);
    animation: sx-arrow 2.4s ease-in-out infinite;
}
@keyframes sx-arrow {
    0%, 100% { transform: translateY(0);   opacity: .85; }
    50%      { transform: translateY(7px); opacity: 1; }
}
@media (min-width: 992px) {
    .sx-tl-arrow-inner { animation-name: sx-arrow-x; }
    @keyframes sx-arrow-x {
        0%, 100% { transform: translateX(0);   opacity: .85; }
        50%      { transform: translateX(7px); opacity: 1; }
    }
}

/* Bandeau ambition */
.sx-ambition {
    position: relative;
    border-radius: var(--sx-radius-lg);
    border: 1px solid rgba(30, 107, 255, .3);
    background:
        radial-gradient(700px 300px at 50% 0%, rgba(30, 107, 255, .2), transparent 70%),
        linear-gradient(160deg, rgba(22, 28, 44, .85), rgba(8, 11, 21, .9));
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
    text-align: center;
    overflow: hidden;
    box-shadow: var(--sx-shadow-lg);
}
.sx-ambition-quote {
    font-family: var(--sx-font-display);
    font-size: clamp(1.35rem, 3.2vw, 2.15rem);
    line-height: 1.4;
    color: var(--sx-white);
    max-width: 900px;
    margin: 0 auto;
}
.sx-ambition-mark {
    font-size: 3rem;
    line-height: 1;
    color: rgba(30, 107, 255, .5);
    display: block;
    margin-bottom: .5rem;
    font-family: var(--sx-font-display);
}

/* ==========================================================================
   10. FORMULAIRE CONTACT
   ========================================================================== */
.sx-form-wrap {
    background: linear-gradient(160deg, rgba(22, 28, 44, .8), rgba(8, 11, 21, .65));
    border: 1px solid var(--sx-line);
    border-radius: var(--sx-radius-lg);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    box-shadow: var(--sx-shadow);
}

.sx-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--sx-muted);
    margin-bottom: .5rem;
}
.sx-label .req { color: var(--sx-blue-bright); }
.sx-label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--sx-muted-2); }

.sx-input,
.sx-textarea,
textarea.form-control,
input.form-control {
    width: 100%;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--sx-line-strong);
    border-radius: var(--sx-radius-sm);
    color: var(--sx-white);
    padding: .85rem 1.05rem;
    font-family: var(--sx-font);
    font-size: .96rem;
    transition: border-color .3s var(--sx-ease), background .3s var(--sx-ease), box-shadow .3s var(--sx-ease);
}
.sx-input::placeholder,
.sx-textarea::placeholder { color: var(--sx-muted-2); }
.sx-input:focus,
.sx-textarea:focus {
    outline: none;
    border-color: var(--sx-blue);
    background: rgba(30, 107, 255, .06);
    box-shadow: 0 0 0 4px rgba(30, 107, 255, .13);
}
.sx-textarea { min-height: 150px; resize: vertical; }
.sx-input.is-invalid,
.sx-textarea.is-invalid { border-color: #FF6B6B; box-shadow: 0 0 0 4px rgba(255, 107, 107, .12); }

/* Pot de miel anti-spam : invisible pour l'humain, visible pour le robot */
.sx-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px; height: 1px;
    overflow: hidden;
    opacity: 0;
}

.sx-alert {
    border-radius: var(--sx-radius-sm);
    padding: 1.05rem 1.2rem;
    font-size: .93rem;
    border: 1px solid;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin-bottom: 1.6rem;
}
.sx-alert i { font-size: 1.1rem; margin-top: .1rem; }
.sx-alert-success {
    background: rgba(23, 201, 139, .09);
    border-color: rgba(23, 201, 139, .35);
    color: #8CF0CB;
}
.sx-alert-success i { color: var(--sx-success); }
.sx-alert-error {
    background: rgba(255, 107, 107, .08);
    border-color: rgba(255, 107, 107, .32);
    color: #FFB4B4;
}
.sx-alert-error i { color: #FF6B6B; }
.sx-alert ul { margin: .4rem 0 0; padding-left: 1.1rem; }

.sx-consent { font-size: .8rem; color: var(--sx-muted-2); line-height: 1.6; }

.sx-info-card {
    background: rgba(255, 255, 255, .028);
    border: 1px solid var(--sx-line);
    border-radius: var(--sx-radius);
    padding: 1.5rem;
    height: 100%;
}
.sx-info-item { padding: .9rem 0; border-bottom: 1px solid var(--sx-line); }
.sx-info-item:last-child { border-bottom: 0; padding-bottom: 0; }
.sx-info-label {
    font-size: .68rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--sx-muted-2);
    display: block;
    margin-bottom: .3rem;
}
.sx-info-value { color: var(--sx-white); font-size: .95rem; font-weight: 500; word-break: break-word; }

/* ==========================================================================
   11. BANDEAU CTA
   ========================================================================== */
.sx-cta-band {
    position: relative;
    border-radius: var(--sx-radius-lg);
    padding: clamp(2.5rem, 5.5vw, 4rem);
    background:
        radial-gradient(600px 260px at 15% 0%, rgba(30, 107, 255, .28), transparent 70%),
        linear-gradient(140deg, rgba(23, 37, 90, .9), rgba(8, 11, 21, .95));
    border: 1px solid rgba(30, 107, 255, .3);
    box-shadow: var(--sx-shadow-lg);
    overflow: hidden;
}
.sx-cta-band::after {
    content: "";
    position: absolute;
    right: -80px; bottom: -110px;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(30, 107, 255, .22);
    box-shadow: inset 0 0 80px rgba(30, 107, 255, .18);
    pointer-events: none;
}
.sx-cta-band > * { position: relative; z-index: 1; }

/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.sx-footer {
    position: relative;
    padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
    border-top: 1px solid var(--sx-line);
    background: linear-gradient(180deg, rgba(8, 11, 21, .4), rgba(5, 7, 14, .95));
    margin-top: 2rem;
}
.sx-brand-footer .sx-brand-mark { width: 46px; height: 46px; border-radius: 13px; }
.sx-brand-footer .sx-brand-name { font-size: 1.05rem; }
.sx-footer-tagline { color: var(--sx-muted); font-size: .92rem; max-width: 330px; }

.sx-footer-title {
    font-family: var(--sx-font);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--sx-muted-2);
    margin-bottom: 1.1rem;
}
.sx-footer-list { list-style: none; padding: 0; margin: 0; }
.sx-footer-list li { margin-bottom: .65rem; }
.sx-footer-list a {
    color: var(--sx-muted);
    font-size: .93rem;
    position: relative;
    transition: color .25s var(--sx-ease), padding-left .25s var(--sx-ease);
}
.sx-footer-list a:hover { color: var(--sx-white); padding-left: 5px; }

.sx-social { display: flex; gap: .55rem; }
.sx-social-link {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    border: 1px solid var(--sx-line);
    background: rgba(255, 255, 255, .03);
    color: var(--sx-muted);
    font-size: 1rem;
    transition: all .3s var(--sx-ease);
}
.sx-social-link:hover {
    color: #fff;
    background: var(--sx-blue);
    border-color: var(--sx-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(30, 107, 255, .38);
}

.sx-footer-bottom {
    margin-top: 3rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--sx-line);
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.5rem;
    justify-content: space-between;
    align-items: center;
    font-size: .84rem;
    color: var(--sx-muted-2);
}
.sx-footer-baseline { letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; }

/* Bouton retour haut */
.sx-backtop {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 1040;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(30, 107, 255, .35);
    background: rgba(8, 11, 21, .85);
    backdrop-filter: blur(10px);
    color: var(--sx-blue-bright);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: all .35s var(--sx-ease);
    cursor: pointer;
}
.sx-backtop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.sx-backtop:hover { background: var(--sx-blue); color: #fff; box-shadow: 0 10px 30px rgba(30, 107, 255, .45); }

/* ==========================================================================
   13. ANIMATIONS AU SCROLL & RESPONSIVE
   ========================================================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .8s var(--sx-ease), transform .8s var(--sx-ease);
    will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="zoom"]  { transform: scale(.95); }

[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .4s; }

@media (max-width: 1199.98px) {
    .sx-dash { transform: none; }
    .sx-dash:hover { transform: translateY(-4px); }
}

@media (max-width: 991.98px) {
    :root { --sx-header-h: 70px; }
    .sx-hero { padding-top: 2.5rem; }
    .sx-stat { border-right: 0; border-bottom: 1px solid var(--sx-line); }
    .sx-stat:last-child { border-bottom: 0; }
}

@media (max-width: 575.98px) {
    body { font-size: .97rem; }
    .sx-card { padding: 1.6rem 1.35rem; }
    .sx-dash-grid { grid-template-columns: 1fr; }
    .sx-dash-kpis { grid-template-columns: 1fr 1fr; }
    .sx-dash-kpis .sx-kpi:last-child { grid-column: 1 / -1; }
    .sx-hero-actions .btn-sx-primary,
    .sx-hero-actions .btn-sx-outline { width: 100%; }
    .sx-footer-bottom { justify-content: flex-start; }
}

/* Préférence utilisateur : mouvement réduit */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* Impression */
@media print {
    body::before, body::after, .sx-header, .sx-backtop, .sx-progress { display: none !important; }
    body { background: #fff; color: #000; }
}

/* =====================================================================
   SELA — présentation sur la vitrine
   Le robot occupe la place d'un portrait : c'est un collaborateur qu'on
   présente, pas une fonctionnalité qu'on illustre.
   ===================================================================== */
.sx-sela { position: relative; overflow: hidden; }
.sx-sela::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(600px 340px at 22% 40%, rgba(30, 107, 255, .13), transparent 70%);
    pointer-events: none;
}
.sx-sela > .container { position: relative; }

.sx-sela-portrait {
    position: relative; display: inline-flex; flex-direction: column;
    align-items: center; gap: 16px;
}
.sx-sela-portrait .sela-bot {
    filter: drop-shadow(0 18px 46px rgba(62, 134, 255, .42));
}
.sx-sela-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; letter-spacing: .03em; color: var(--sx-text);
    padding: 7px 15px; border-radius: 999px;
    border: 1px solid rgba(62, 134, 255, .38);
    background: rgba(30, 107, 255, .1);
}
.sx-sela-badge i { color: var(--sx-blue-bright); font-size: 13px; }

.sx-sela-sub {
    font-family: var(--sx-font-display); font-size: 16px; font-weight: 600;
    color: var(--sx-white); margin: 26px 0 12px;
}
.sx-sela-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sx-sela-list li {
    display: flex; gap: 11px; font-size: 15px; line-height: 1.6;
    color: var(--sx-muted);
}
.sx-sela-list i {
    flex: none; margin-top: 3px; font-size: 15px; color: var(--sx-success);
}

.sx-sela-eco {
    margin-top: 54px; padding: 28px 28px 30px;
    border: 1px solid var(--sx-line); border-radius: var(--sx-radius);
    background: rgba(255, 255, 255, .022);
}
.sx-sela-eco-text {
    font-size: 15px; line-height: 1.65; color: var(--sx-muted);
    max-width: 760px; margin: 0;
}
.sx-sela-eco-card {
    display: flex; flex-direction: column; gap: 7px; height: 100%;
    padding: 18px 18px 19px; text-decoration: none;
    border: 1px solid var(--sx-line); border-radius: var(--sx-radius-sm);
    background: rgba(255, 255, 255, .022);
    transition: border-color .2s var(--sx-ease), transform .2s var(--sx-ease);
}
.sx-sela-eco-card:hover {
    border-color: rgba(62, 134, 255, .45); transform: translateY(-3px);
}
.sx-sela-eco-card i { font-size: 20px; color: var(--sx-blue-bright); }
.sx-sela-eco-card strong {
    font-family: var(--sx-font-display); font-size: 14.5px; color: var(--sx-white);
}
.sx-sela-eco-card span { font-size: 13.5px; line-height: 1.55; color: var(--sx-muted-2); }

.sx-sela-ambition { margin-top: 46px; text-align: center; }
.sx-sela-ambition-label {
    display: inline-block; font-size: 11.5px; letter-spacing: .12em;
    text-transform: uppercase; color: var(--sx-muted-2); margin-bottom: 10px;
}
.sx-sela-ambition-text {
    font-family: var(--sx-font-display); font-size: clamp(20px, 2.6vw, 27px);
    line-height: 1.4; color: var(--sx-white); max-width: 760px;
    margin: 0 auto 18px;
}
.sx-sela-closing {
    font-size: 15px; line-height: 1.7; color: var(--sx-muted);
    max-width: 700px; margin: 0 auto;
}
.sx-sela-claim {
    margin: 18px auto 0; max-width: 620px; font-size: 15px;
    color: var(--sx-blue-bright); font-weight: 600;
}

/* Le visuel de la page Solutions : une question, un robot, un constat. */
.sx-sela-visual {
    display: grid; gap: 14px; justify-items: center; padding: 18px 10px;
}
.sx-sela-ask, .sx-sela-answer {
    max-width: 300px; padding: 12px 16px; border-radius: 16px;
    font-size: 13.5px; line-height: 1.55;
}
.sx-sela-ask {
    justify-self: end; color: var(--sx-text);
    border: 1px solid rgba(62, 134, 255, .4);
    background: rgba(30, 107, 255, .12);
    border-bottom-right-radius: 5px;
}
.sx-sela-answer {
    justify-self: start; display: grid; gap: 5px; color: var(--sx-muted);
    border: 1px solid var(--sx-line); background: rgba(255, 255, 255, .03);
    border-bottom-left-radius: 5px;
}
.sx-sela-nature {
    font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
    color: var(--sx-success); font-weight: 700;
}
.sx-sela-face .sela-bot { filter: drop-shadow(0 12px 34px rgba(62, 134, 255, .4)); }

@media (max-width: 991px) {
    .sx-sela-eco { padding: 22px 18px 24px; }
    .sx-sela-ask, .sx-sela-answer { justify-self: center; }
}

/* La phrase de synthèse ferme le bloc écosystème : elle dit ce que la
   combinaison produit, une fois les trois briques présentées. */
.sx-sela-eco-combi {
    margin: 20px 0 0; padding-top: 18px;
    border-top: 1px solid var(--sx-line);
    font-size: 15px; line-height: 1.7; color: var(--sx-text);
    max-width: 820px;
}

/* Le rapport de shift est un paragraphe, pas une réplique : il lui faut
   plus de largeur et une interligne de lecture, sinon la démonstration
   ressemble à un mur de texte dans une bulle. */
.sx-sela-answer.is-long {
    max-width: 100%; padding: 15px 18px 16px;
    font-size: 13px; line-height: 1.68; text-align: left;
}
.sx-sela-nature.is-analyse { color: var(--sx-blue-bright); }
