/* =========================================================
   NEOStorm — Design system & styles publics
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
    --c-night:        #0A0E27;
    --c-night-2:      #0F1738;
    --c-night-3:      #1A2151;

    --c-violet:       #8B5CF6;
    --c-violet-deep:  #6D28D9;
    --c-cyan:         #06B6D4;
    --c-cyan-bright:  #22D3EE;
    --c-blue:         #3B82F6;
    --c-blue-bright:  #38BDF8;

    --c-text:         #0F172A;
    --c-text-soft:    #1E293B;
    --c-text-muted:   #64748B;
    --c-text-light:   #94A3B8;
    --c-bg:           #FFFFFF;
    --c-bg-soft:      #F8FAFC;
    --c-bg-alt:       #F1F5F9;
    --c-border:       #E2E8F0;
    --c-border-soft:  #F1F5F9;

    --c-success:      #10B981;
    --c-warning:      #F59E0B;
    --c-danger:       #EF4444;
    --c-info:         #3B82F6;

    --gradient-storm:       linear-gradient(135deg, #8B5CF6 0%, #3B82F6 50%, #06B6D4 100%);
    --gradient-storm-light: linear-gradient(135deg, rgba(139,92,246,0.10), rgba(6,182,212,0.10));
    --gradient-night:       linear-gradient(180deg, #0A0E27 0%, #0F1738 100%);

    --shadow-sm:   0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md:   0 6px 18px rgba(15, 23, 42, 0.08);
    --shadow-lg:   0 18px 48px rgba(15, 23, 42, 0.14);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.35);

    --radius-sm: 6px;
    --radius:    12px;
    --radius-lg: 18px;
    --radius-xl: 28px;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, sans-serif;

    --container: 1200px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--c-blue); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-violet); }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { color: var(--c-text); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.02em; }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark {
    background: var(--gradient-night);
    color: #E2E8F0;
    position: relative;
    overflow: hidden;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-header .eyebrow {
    display: inline-block;
    font-size: .82rem; font-weight: 600; letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-violet);
    margin-bottom: 14px;
}
.section-header p { color: var(--c-text-muted); font-size: 1.1rem; }
.section--dark .section-header p { color: #94A3B8; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .98rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn--primary {
    background: var(--gradient-storm);
    color: #fff;
    box-shadow: 0 6px 22px rgba(139, 92, 246, .35);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(139, 92, 246, .45); color: #fff; }
.btn--secondary {
    background: #fff;
    color: var(--c-night);
    border-color: var(--c-border);
}
.btn--secondary:hover { border-color: var(--c-violet); color: var(--c-violet); }
.btn--ghost-dark {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
}
.btn--ghost-dark:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn--lg { padding: 15px 28px; font-size: 1.04rem; }
.btn--block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header public ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--c-border-soft);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px; gap: 32px;
}
.brand {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
    color: var(--c-text);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -.02em;
}
.brand img { height: 40px; width: auto; }
.brand:hover { color: var(--c-violet); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--c-text-soft);
    font-weight: 500;
    font-size: .96rem;
    transition: background .15s ease, color .15s ease;
    position: relative;
}
.main-nav a:hover { background: var(--c-bg-alt); color: var(--c-night); }
.main-nav a.is-active { color: var(--c-violet); }
.main-nav a.is-active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
    height: 2px; border-radius: 2px; background: var(--gradient-storm);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none;
    background: none; border: 0; padding: 8px;
    color: var(--c-text);
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .main-nav, .nav-cta { display: none; }
    .main-nav.is-open, .nav-cta.is-open {
        display: flex; flex-direction: column; align-items: stretch; gap: 4px;
        position: absolute; top: 76px; left: 0; right: 0;
        background: #fff;
        padding: 16px 20px;
        border-bottom: 1px solid var(--c-border);
        box-shadow: var(--shadow-md);
    }
    .nav-cta.is-open { top: auto; border-top: 1px solid var(--c-border-soft); border-bottom: 1px solid var(--c-border); padding-top: 12px; padding-bottom: 16px; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--gradient-night);
    color: #E2E8F0;
    padding: clamp(80px, 12vw, 140px) 0 clamp(80px, 10vw, 120px);
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(700px 360px at 80% 10%, rgba(139, 92, 246, .35), transparent 60%),
        radial-gradient(900px 500px at 5% 90%, rgba(6, 182, 212, .25), transparent 65%);
    z-index: -1;
}
.hero::after {
    /* starfield SVG inline */
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='360' height='360' viewBox='0 0 360 360' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.45'%3E%3Ccircle cx='20' cy='40' r='0.8'/%3E%3Ccircle cx='80' cy='120' r='1.1'/%3E%3Ccircle cx='160' cy='30' r='0.6'/%3E%3Ccircle cx='200' cy='180' r='0.9'/%3E%3Ccircle cx='280' cy='90' r='1.3'/%3E%3Ccircle cx='320' cy='220' r='0.7'/%3E%3Ccircle cx='40' cy='260' r='1.0'/%3E%3Ccircle cx='130' cy='320' r='0.8'/%3E%3Ccircle cx='220' cy='340' r='1.2'/%3E%3Ccircle cx='340' cy='40' r='0.9'/%3E%3Ccircle cx='100' cy='200' r='0.5'/%3E%3Ccircle cx='260' cy='270' r='0.6'/%3E%3C/g%3E%3C/svg%3E");
    opacity: .55;
    z-index: -1;
    animation: drift 90s linear infinite;
}
@keyframes drift {
    from { background-position: 0 0; }
    to   { background-position: 720px 720px; }
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}
.hero h1 {
    color: #fff;
    margin: 0 0 24px;
}
.hero h1 .gradient {
    background: var(--gradient-storm);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.hero .lead {
    font-size: 1.18rem;
    color: #CBD5E1;
    max-width: 560px;
    margin-bottom: 32px;
}
@media (max-width: 900px) {
    .hero .lead { margin-left: auto; margin-right: auto; }
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
    .hero__cta { justify-content: center; }
}
.hero__pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; margin-bottom: 22px;
    background: rgba(139, 92, 246, .15);
    border: 1px solid rgba(139, 92, 246, .35);
    border-radius: 999px;
    font-size: .82rem; font-weight: 600;
    color: #C4B5FD;
}
.hero__pill::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: #22D3EE; box-shadow: 0 0 8px #22D3EE;
}

.hero__visual {
    display: flex; justify-content: center; align-items: center;
    position: relative;
}
.hero__visual::before {
    content: "";
    position: absolute; inset: -20%;
    background: radial-gradient(circle, rgba(139, 92, 246, .35) 0%, transparent 65%);
    filter: blur(20px);
    z-index: 0;
}
.hero__visual img {
    position: relative; z-index: 1;
    max-width: 420px; width: 100%;
    filter: drop-shadow(0 20px 60px rgba(139, 92, 246, .4));
    animation: float 8s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

/* ---------- Stats bar ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.stats__item .num {
    font-size: 2.4rem; font-weight: 800;
    background: var(--gradient-storm); background-clip: text;
    -webkit-background-clip: text; color: transparent;
    line-height: 1;
}
.stats__item .lbl { color: #94A3B8; font-size: .92rem; margin-top: 6px; }
@media (max-width: 700px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Service cards ---------- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    text-decoration: none;
    color: inherit;
    display: flex; flex-direction: column;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute; inset: 0;
    background: var(--gradient-storm-light);
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--gradient-storm);
    color: #fff;
    margin-bottom: 22px;
    box-shadow: 0 8px 22px rgba(139, 92, 246, .35);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--c-text-muted); margin: 0 0 18px; }
.service-card .link {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600;
    color: var(--c-violet);
}

/* ---------- Features (icon + text rows) ---------- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.feature {
    display: flex; gap: 18px; align-items: flex-start;
}
.feature__icon {
    flex: 0 0 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(139, 92, 246, .12);
    color: var(--c-violet);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature p { color: var(--c-text-muted); font-size: .96rem; margin: 0; }
.section--dark .feature p { color: #94A3B8; }

/* ---------- Split (two-col content) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split--reverse > :first-child { order: initial; }
}
.split .visual {
    background: var(--gradient-storm);
    border-radius: var(--radius-xl);
    padding: 4px;
    box-shadow: 0 30px 60px rgba(139, 92, 246, .3);
}
.split .visual__inner {
    background: var(--c-night);
    border-radius: calc(var(--radius-xl) - 4px);
    padding: 36px;
    color: #E2E8F0;
}
.split .visual__inner ul { margin: 0; padding: 0; list-style: none; }
.split .visual__inner li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #CBD5E1;
}
.split .visual__inner li:last-child { border-bottom: 0; }
.split .visual__inner li::before {
    content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-cyan-bright); margin-top: 9px;
    box-shadow: 0 0 8px var(--c-cyan-bright);
}

/* ---------- CTA strip ---------- */
.cta-strip {
    background: var(--gradient-storm);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 56px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 32px;
    box-shadow: var(--shadow-lg);
}
.cta-strip h2 { color: #fff; margin: 0 0 8px; }
.cta-strip p { margin: 0; color: rgba(255,255,255,.85); }
@media (max-width: 760px) {
    .cta-strip { flex-direction: column; text-align: center; padding: 40px 28px; }
}

/* ---------- Logos bar (placeholder text) ---------- */
.logos-bar {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 56px;
    opacity: .8;
}
.logos-bar span {
    font-weight: 700; font-size: 1.1rem; letter-spacing: .04em;
    color: var(--c-text-light);
    padding: 8px 16px;
    border: 1px dashed var(--c-border);
    border-radius: 8px;
}

/* ---------- Forms ---------- */
.form-row { display: grid; gap: 16px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row--2 { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--c-text-soft); }
.field input, .field textarea, .field select {
    font: inherit;
    padding: 12px 14px;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    background: #fff;
    color: var(--c-text);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: 0;
    border-color: var(--c-violet);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, .14);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- Flash ---------- */
.flash {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid;
    font-weight: 500;
}
.flash--success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.flash--error   { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.flash--info    { background: #EFF6FF; border-color: #BFDBFE; color: #1E3A8A; }

/* ---------- Badges ---------- */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    border: 1px solid;
}
.badge--success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.badge--warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.badge--danger  { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.badge--info    { background: #EFF6FF; border-color: #BFDBFE; color: #1E3A8A; }
.badge--muted   { background: var(--c-bg-alt); border-color: var(--c-border); color: var(--c-text-muted); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--c-night);
    color: #CBD5E1;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(800px 300px at 50% -100px, rgba(139, 92, 246, .25), transparent 70%);
    pointer-events: none;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}
@media (max-width: 880px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
    color: #fff;
    font-size: .92rem; text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 18px;
}
.site-footer__brand img { height: 56px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { color: #94A3B8; max-width: 320px; font-size: .94rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a { color: #CBD5E1; font-size: .94rem; }
.site-footer ul a:hover { color: var(--c-cyan-bright); }
.site-footer__contact li { display: flex; align-items: flex-start; gap: 8px; font-size: .94rem; }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 22px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: .86rem;
    color: #64748B;
    position: relative;
}

/* ---------- Compare cards (3 cols, sans prix) ---------- */
.compare {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
@media (max-width: 900px) {
    .compare { grid-template-columns: 1fr; }
}
.compare__card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
}
.compare__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.compare__card--featured {
    border-color: var(--c-violet);
    background: linear-gradient(180deg, rgba(139, 92, 246, .04) 0%, #fff 100%);
}
.compare__card--featured::before {
    content: "Recommandé";
    position: absolute; top: -12px; left: 24px;
    background: var(--gradient-storm);
    color: #fff;
    padding: 4px 14px; border-radius: 999px;
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
}
.compare__card h3 {
    font-size: 1.3rem; margin-bottom: 6px;
}
.compare__card .tagline {
    color: var(--c-text-muted);
    font-size: .94rem;
    margin-bottom: 22px;
}
.compare__card ul {
    list-style: none; padding: 0; margin: 0 0 26px;
    display: flex; flex-direction: column; gap: 10px;
}
.compare__card li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: .94rem;
    color: var(--c-text-soft);
}
.compare__card li svg {
    flex: 0 0 18px; width: 18px; height: 18px;
    color: var(--c-violet); margin-top: 2px;
}
.compare__card .cta {
    margin-top: auto;
}

/* ---------- Process steps ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: step;
}
.steps__item {
    counter-increment: step;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    position: relative;
}
.steps__item::before {
    content: "0" counter(step);
    display: block;
    font-size: 1.6rem; font-weight: 800;
    background: var(--gradient-storm);
    background-clip: text; -webkit-background-clip: text; color: transparent;
    margin-bottom: 14px;
    letter-spacing: -.02em;
}
.steps__item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps__item p { color: var(--c-text-muted); font-size: .92rem; margin: 0; }

/* ---------- Big number / KPI strip on dark ---------- */
.kpi-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}
.kpi-strip__item .num {
    font-size: 2.6rem; font-weight: 800;
    background: var(--gradient-storm);
    background-clip: text; -webkit-background-clip: text; color: transparent;
    line-height: 1; letter-spacing: -.02em;
}
.kpi-strip__item .lbl {
    color: #94A3B8;
    margin-top: 8px;
    font-size: .94rem;
}

/* ---------- Diagrams (telephonie) ---------- */
.diagram-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 1024px) {
    .diagram-grid { grid-template-columns: 1fr 1fr; }
}
.diagram {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
    transition: transform .25s ease, box-shadow .25s ease;
}
.diagram:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.diagram h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex; align-items: center; gap: 10px;
}
.diagram h3 .live-dot {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--c-cyan);
    padding: 4px 10px;
    background: rgba(6, 182, 212, .08);
    border: 1px solid rgba(6, 182, 212, .25);
    border-radius: 999px;
    margin-left: auto;
}
.diagram h3 .live-dot::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--c-cyan-bright);
    box-shadow: 0 0 8px var(--c-cyan-bright);
    animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .5; transform: scale(1.3); }
}
.diagram svg {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 0 20px;
}
.diagram svg .flow-line {
    stroke-dasharray: 6 8;
    animation: flow-dash 1.1s linear infinite;
}
.diagram svg .flow-line-fast {
    stroke-dasharray: 4 6;
    animation: flow-dash 0.6s linear infinite;
}
@keyframes flow-dash {
    to { stroke-dashoffset: -28; }
}
.diagram svg .box-pulse {
    transform-origin: center;
    transform-box: fill-box;
    animation: box-pulse 3s ease-in-out infinite;
}
@keyframes box-pulse {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(139, 92, 246, 0)); }
    50%      { filter: drop-shadow(0 0 12px rgba(139, 92, 246, .5)); }
}
.diagram p {
    color: var(--c-text-muted);
    font-size: .95rem;
    margin: 0;
}
.diagram p strong { color: var(--c-text); }
@media (prefers-reduced-motion: reduce) {
    .diagram svg .flow-line,
    .diagram svg .flow-line-fast,
    .diagram svg .box-pulse,
    .diagram h3 .live-dot::before { animation: none !important; }
}

/* ---------- Eyebrow helper ---------- */
.eyebrow-violet {
    display: inline-block;
    color: var(--c-violet);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .82rem;
    margin-bottom: 14px;
}

/* ---------- Page hero (sous-pages) ---------- */
.page-hero {
    background: var(--gradient-night);
    color: #fff;
    padding: 100px 0 70px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(500px 240px at 90% 20%, rgba(139, 92, 246, .35), transparent 60%),
        radial-gradient(600px 300px at 10% 90%, rgba(6, 182, 212, .25), transparent 65%);
}
.page-hero > .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: #CBD5E1; max-width: 680px; font-size: 1.1rem; }
.breadcrumb { font-size: .9rem; color: #94A3B8; margin-bottom: 18px; }
.breadcrumb a { color: var(--c-cyan-bright); }
.breadcrumb a:hover { color: #fff; }
