/* ==========================================================================
   ELOA — WM_TAC · site vitrine, variante v2 (fond clair, grandes cartes)
   ========================================================================== */

@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/SourceSans3-400.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/SourceSans3-600.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/SourceSans3-700.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 900; font-display: swap; src: url('../fonts/SourceSans3-900.woff2') format('woff2'); }

:root {
    --bg: #ffffff;
    --gray-50: #f8f8f8;
    --gray-100: #f2f2f2;
    --gray-200: #e6e6e6;
    --border: #e1e1e1;
    --border-strong: #c8c8c8;
    --text: #131313;
    --muted: #4b4b4b;
    --dim: #747474;
    --black: #000;

    --accent: #e4570f;
    --accent-hover: #c74708;
    --green: #12805c;

    --p1: #64748b;
    --p2: #0ea5e9;
    --p3: #ca8a04;
    --p4: #ea580c;
    --p5: #dc2626;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    --container: 1760px;
    --header-h: 64px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; }

:focus-visible { outline: 2px solid #1473e6; outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--black); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 700;
    transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.container--narrow { max-width: 880px; }

.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Marque
   -------------------------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__eloa { height: 34px; width: auto; }
.brand__sep { width: 1px; height: 26px; background: currentColor; opacity: 0.25; }
.brand__wmtac { height: 32px; width: auto; }
.brand__wmtac--light { display: none; }

.site-header--over:not(.is-scrolled):not(.is-open) .brand__wmtac--light,
.site-footer .brand__wmtac--light { display: block; }
.site-header--over:not(.is-scrolled):not(.is-open) .brand__wmtac--dark,
.site-footer .brand__wmtac--dark { display: none; }

/* Icônes d'application : un code de deux lettres par famille de modules */
.app-icon {
    display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 24%;
    background: var(--tone); color: #0b0b0b;
}
.app-icon .icon { width: 56%; height: 56%; stroke-width: 2; }
.app-icon--lg { width: 56px; height: 56px; }

/* --------------------------------------------------------------------------
   Boutons et liens
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 15px; line-height: 1; cursor: pointer; white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn .icon { width: 16px; height: 16px; }
.btn--lg { min-height: 48px; padding: 0 30px; font-size: 16px; }
.btn--primary { background: var(--black); color: #fff; }
.btn--primary:hover { background: #333; }
.btn--light { background: #fff; color: var(--black); }
.btn--light:hover { background: var(--gray-200); }
.btn--outline, .btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--outline:hover, .btn--ghost:hover { background: var(--black); border-color: var(--black); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 700; }
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow { display: block; margin: 0 0 12px; color: var(--text); font-size: 16px; font-weight: 700; }
.eyebrow--ai { color: var(--text); }

/* --------------------------------------------------------------------------
   En-tête : barre flottante blanche, transparente sur la photo d'accueil
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed; top: 8px; left: 8px; right: 8px; z-index: 100; height: var(--header-h);
    border-radius: var(--radius-lg); color: var(--text);
    background: transparent; box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.3s, color 0.3s;
}
/* Le flou vit sur un pseudo-élément : posé sur l'en-tête, il devenait le bloc
   englobant du menu mobile (position: fixed) et le réduisait à une pastille. */
.site-header::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
    transition: background 0.3s, backdrop-filter 0.3s;
}
.site-header--over:not(.is-scrolled):not(.is-open) {
    color: #fff; box-shadow: none;
}
.site-header--over:not(.is-scrolled):not(.is-open)::before {
    background: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header__inner { width: auto; height: 100%; padding: 0 18px 0 22px; display: flex; align-items: center; gap: 28px; }
.site-header__brand { flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 22px; flex: 1; }
.site-nav__list { display: flex; gap: 2px; }
.site-nav__link {
    position: relative; display: block; padding: 8px 12px; border-radius: 8px;
    font-size: 15px; font-weight: 700; transition: background 0.2s;
}
.site-nav__link:hover { background: rgba(127, 127, 127, 0.14); }
.site-nav__link.is-active::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: currentColor;
}
.site-nav__cta { margin-left: auto; }
.site-header__tools { display: flex; align-items: center; gap: 8px; }

.lang { position: relative; }
.lang__toggle {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px;
    background: transparent; border: 0; color: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.lang__toggle:hover, .lang__toggle[aria-expanded="true"] { background: rgba(127, 127, 127, 0.14); }
.lang__toggle .icon { width: 18px; height: 18px; }
.lang__toggle .icon--sm { width: 14px; height: 14px; transition: transform 0.2s; }
.lang__toggle[aria-expanded="true"] .icon--sm { transform: rotate(180deg); }
.lang__menu {
    position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 8px;
    background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow);
}
.lang__menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; }
.lang__menu a:hover { background: var(--gray-100); }
.lang__menu a[aria-current] { font-weight: 700; }

.nav-toggle {
    display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
    background: transparent; border: 0; border-radius: 999px; cursor: pointer;
}
.nav-toggle:hover { background: rgba(127, 127, 127, 0.14); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 112px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--flush { padding: 0 0 112px; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--black); color: #fff; }
.section--dark .section-lead { color: #b5b5b5; }
.section--dark .eyebrow { color: var(--accent); }

.section-head { max-width: 900px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 10px; }
.section-title { font-size: clamp(34px, 3.6vw, 56px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 16px; }
.section-title span, .page-hero__title span { color: inherit; }
.section-lead { color: var(--muted); font-size: 20px; margin: 0; }
.section-more { margin: 44px 0 0; }
.section-more--center { text-align: center; }

/* --------------------------------------------------------------------------
   Hero d'accueil
   -------------------------------------------------------------------------- */
.hero {
    position: relative; min-height: min(100svh, 1000px); padding: calc(var(--header-h) + 96px) 0 32px;
    color: #fff; background: #000; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto;
}
.hero__slide {
    grid-row: 1; grid-column: 1; display: flex; align-items: center;
    opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide.is-active .hero__photo { animation: hero-zoom 9s ease-out both; }
.hero__slide.is-active .hero__copy > * { animation: copy-in 0.9s var(--ease) both; }
.hero__slide.is-active .hero__copy > :nth-child(2) { animation-delay: 0.08s; }
.hero__slide.is-active .hero__copy > :nth-child(3) { animation-delay: 0.16s; }
.hero__slide.is-active .hero__copy > :nth-child(4) { animation-delay: 0.24s; }
.hero__photo { position: absolute; inset: 0; background-position: 70% center; background-size: cover; }
.hero__photo--wall { background-color: #0b1519; }
.hero__photo--wall::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 72% 45%, color-mix(in srgb, var(--tone) 26%, transparent) 0%, transparent 55%); }
.hero__photo--core { background: radial-gradient(circle at 72% 30%, #3f7479 0%, #1d4650 32%, #0b1e22 64%, #030a0b 100%); }
.hero__screen { position: absolute; right: 3vw; top: 50%; z-index: 1; width: min(56vw, 1080px); margin: 0; transform: translateY(-56%); }
.hero__slide--core .hero__copy { max-width: 38%; }
.hero__slide--core .hero__title { font-size: clamp(34px, 2.7vw, 52px); }
.hero__screen img {
    display: block; width: 100%; height: auto; border-radius: 14px;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.hero__slide.is-active .hero__screen img { animation: screen-in 1.1s var(--ease) 0.15s both; }
.hero__ui { position: absolute; right: 9%; top: 50%; transform: translateY(-58%); z-index: 1; }

/* Démo d'appel : reprise de la Dynamic Island de WM_TAC (css/dynamic-island.css) */
.call-demo {
    --di-bg: #0a0a0a; --di-dim: rgba(255, 255, 255, 0.62); --di-green: #30d158; --di-red: #ff453a;
    --di-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
    display: flex; flex-direction: column; align-items: center; gap: 24px; width: 440px;
}
.di {
    --di-h: 58px; --di-r: 29px; --di-avatar: 42px; --di-btn: 42px; --di-gap: 12px;
    position: relative; width: 132px; height: var(--di-h); color: #fff;
    opacity: 0; transform: translateY(-16px) scale(0.72);
    transition: transform 0.45s var(--ease), opacity 0.28s ease, width 0.45s var(--di-spring), height 0.35s var(--di-spring);
}
.call-demo:not([data-state="idle"]) .di { opacity: 1; transform: none; transition: transform 0.55s var(--di-spring), opacity 0.2s ease, width 0.45s var(--di-spring), height 0.35s var(--di-spring); }
.call-demo[data-state="ringing"] .di { width: 436px; }
.call-demo[data-state="active"] .di { width: 404px; }
.call-demo[data-state="compact"] .di { --di-h: 46px; --di-r: 23px; --di-avatar: 34px; --di-btn: 34px; --di-gap: 10px; width: 196px; }
.call-demo[data-state="ended"] .di { width: 330px; }
.di.is-bump { animation: di-bump 0.5s var(--di-spring); }
.di__shell {
    display: flex; align-items: center; gap: var(--di-gap); height: 100%; padding: 0 8px; overflow: hidden; white-space: nowrap;
    background: var(--di-bg); border-radius: var(--di-r);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: border-radius 0.35s var(--di-spring);
}
.di__avatar {
    position: relative; flex: none; display: grid; place-items: center; width: var(--di-avatar); height: var(--di-avatar); border-radius: 50%;
    background: var(--di-green); transition: background 0.35s ease, width 0.35s var(--di-spring), height 0.35s var(--di-spring);
}
.di__ring { position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; }
.di__phone { position: relative; width: 44%; height: 44%; fill: currentColor; transition: transform 0.35s var(--di-spring); }
.di__arrow {
    position: absolute; top: 4px; right: 4px; width: 11px; height: 11px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
    transform: rotate(180deg); filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6)); transition: transform 0.3s var(--di-spring), opacity 0.3s;
}
.call-demo[data-state="ringing"] .di__ring { animation: di-ring 1.3s ease-out infinite; }
.call-demo[data-state="ringing"] .di__phone { animation: di-shake 1.3s ease-in-out infinite; transform-origin: 50% 60%; }
.call-demo:is([data-state="active"], [data-state="compact"], [data-state="ended"]) .di__arrow { opacity: 0; transform: scale(0.4); }
.call-demo[data-state="ended"] .di__avatar { background: var(--di-red); }
.call-demo[data-state="ended"] .di__phone { transform: rotate(135deg); }
.di__body { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.di__title { overflow: hidden; text-overflow: ellipsis; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.di__subtitle { display: flex; gap: 6px; overflow: hidden; color: var(--di-dim); font-size: 13.5px; font-weight: 600; }
.di__status.is-swap { animation: di-text-in 0.3s var(--ease); }
.di__timer { display: none; color: var(--di-green); font-variant-numeric: tabular-nums; }
.di__timer::before { content: '·'; margin-right: 6px; color: var(--di-dim); }
.call-demo:is([data-state="active"], [data-state="compact"], [data-state="ended"]) .di__timer { display: inline; }
.call-demo[data-state="ended"] .di__timer { color: var(--di-dim); }
.call-demo[data-state="compact"] :is(.di__title, .di__status) { display: none; }
.call-demo[data-state="compact"] .di__timer::before { content: none; }
.call-demo[data-state="compact"] .di__subtitle { font-size: 14.5px; }
.di__wave { display: none; flex: none; align-items: center; gap: 3px; height: 20px; }
.di__wave i { display: block; width: 3px; height: 6px; border-radius: 2px; background: var(--di-green); animation: di-wave 1.1s ease-in-out infinite; }
.di__wave i:nth-child(1) { animation-delay: -0.9s; }
.di__wave i:nth-child(2) { animation-delay: -0.6s; }
.di__wave i:nth-child(3) { animation-delay: -0.3s; }
.di__wave i:nth-child(4) { animation-delay: -0.75s; }
.di__wave i:nth-child(5) { animation-delay: -0.45s; }
.call-demo:is([data-state="active"], [data-state="compact"]) .di__wave { display: flex; }
.di__buttons { flex: none; display: flex; gap: 8px; }
.di__btn {
    display: none; place-items: center; width: var(--di-btn); height: var(--di-btn); border-radius: 50%;
    background: rgba(255, 255, 255, 0.12); transition: transform 0.22s var(--di-spring), filter 0.2s, width 0.35s var(--di-spring), height 0.35s var(--di-spring);
    animation: di-pop 0.32s var(--di-spring) both;
}
.di__btn svg { width: 44%; height: 44%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.di__btn .di__fill { fill: currentColor; stroke: none; }
.di__btn--answer { background: var(--di-green); animation-delay: 0.12s; }
.di__btn--reject, .di__btn--hangup { background: var(--di-red); }
.di__btn--reject { animation-delay: 0.06s; }
.call-demo[data-state="ringing"] :is(.di__btn--open, .di__btn--reject, .di__btn--answer),
.call-demo[data-state="active"] :is(.di__btn--open, .di__btn--hangup),
.call-demo[data-state="compact"] .di__btn--hangup { display: grid; }
.call-demo[data-state="ringing"] .di__btn--answer { animation: di-pop 0.32s var(--di-spring) 0.12s both, di-answer-pulse 1.3s ease-out 0.5s infinite; }
.call-demo.is-answering .di__btn--answer { animation: none; transform: scale(0.84); filter: brightness(0.9); }
.di__badge {
    position: absolute; top: 50%; left: calc(100% + 10px); display: flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 17px;
    background: var(--di-bg); font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    opacity: 0; transform: translateY(-50%) scale(0.6); transition: transform 0.4s var(--di-spring), opacity 0.25s ease;
}
.di__badge::before { content: ''; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--di-red); animation: di-dot 1.4s ease-out infinite; }
.call-demo[data-state="active"] .di__badge { opacity: 1; transform: translateY(-50%) scale(1); transition-delay: 1.2s; }

.call-sheet {
    position: relative; width: 100%; padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.97); color: var(--black);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4); transform: rotate(-1.5deg);
}
.call-sheet__label { margin: 0 0 12px; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.call-sheet__alarm { background: var(--gray-100); box-shadow: none; }
.call-sheet__contacts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.call-sheet__contact {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--gray-100);
    font-size: 15px; font-weight: 600; transition: background 0.4s, box-shadow 0.4s;
}
.call-sheet__contact .icon { color: var(--dim); transition: color 0.4s; }
.call-sheet__contact em { margin-left: auto; color: var(--green); font-size: 13px; font-style: normal; font-weight: 700; opacity: 0; transition: opacity 0.4s; }
.call-demo:is([data-state="active"], [data-state="compact"]) .call-sheet__contact--first { background: #e3f6ee; box-shadow: inset 4px 0 0 #30d158; }
.call-demo:is([data-state="active"], [data-state="compact"]) .call-sheet__contact--first .icon { color: var(--green); }
.call-demo:is([data-state="active"], [data-state="compact"]) .call-sheet__contact--first em { opacity: 1; }
.call-sheet .ui-chip { top: -16px; right: -18px; left: auto; bottom: auto; opacity: 0; transform: scale(0.8); transition: opacity 0.3s, transform 0.4s var(--di-spring); }
.call-sheet .ui-chip i { background: var(--p5); animation: blink 1.4s infinite; }
.call-demo:is([data-state="active"], [data-state="compact"]) .call-sheet .ui-chip { opacity: 1; transform: none; }

/* Fenêtres du logiciel recréées dans le hero (carte, vidéo, IA) */
.app-win {
    width: min(44vw, 780px); overflow: hidden; border-radius: 16px; color: #e6eef0; font-size: 14px; text-align: left;
    background: rgba(12, 18, 22, 0.8); border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55);
}
.hero__slide.is-active .app-win { animation: ui-in 1.1s var(--ease) 0.15s both; }
.app-win__bar {
    display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
    background: rgba(15, 118, 110, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.app-win__dot { width: 8px; height: 8px; border-radius: 50%; background: #2bd49a; }
.app-win__meta { margin-left: auto; color: #8aa3a7; font-size: 12.5px; }

/* Vidéo et levée de doute (modules/cameras) */
.vd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.vd-tile { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #000; box-shadow: 0 0 0 2px transparent; transition: box-shadow 0.3s; }
.vd-tile::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px); pointer-events: none; }
.vd-feed {
    position: absolute; inset: -4%; background: center / 100% auto no-repeat;
    animation: feed-drift 14s ease-in-out infinite alternate; transition: background-position 2.4s var(--ease), background-size 2.4s var(--ease);
}
.vd-live { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 2px 7px; border-radius: 8px; background: #2bd49a; color: #000; font-size: 10px; font-weight: 800; letter-spacing: 0.04em; }
.vd-label { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 16px 10px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); color: #fff; font-size: 11.5px; font-weight: 700; }
.vd-alert {
    position: absolute; top: 8px; right: 8px; z-index: 1; padding: 3px 9px; border-radius: 8px; background: #f06262; color: #fff;
    font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(-6px); transition: opacity 0.3s, transform 0.3s;
}
.vd-ptz {
    position: absolute; bottom: 34px; left: 50%; z-index: 2; display: grid; grid-template-columns: repeat(3, 34px); gap: 3px;
    opacity: 0; transform: translate(-50%, 8px); transition: opacity 0.25s, transform 0.25s;
}
.vd-ptz b { display: grid; place-items: center; height: 34px; border-radius: 6px; background: rgba(0, 0, 0, 0.65); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.vd-ptz b .icon { width: 16px; height: 16px; }
.vd-ptz .vd-ptz__stop { background: rgba(240, 98, 98, 0.7); }
.vd-pop { position: absolute; top: 46%; left: 34%; z-index: 2; width: 32px; height: 32px; margin: -16px; border: 2px solid #14b8b8; border-radius: 50%; opacity: 0; }
.vd-flash { position: absolute; inset: 46px 0 0; background: #fff; opacity: 0; pointer-events: none; }
.scene-video .vd-toast { top: auto; right: 16px; bottom: 16px; left: auto; z-index: 3; opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; }
.scene-video:not([data-step="grid"]) .vd-tile--2 .vd-alert { opacity: 1; transform: none; }
.scene-video[data-step="alarm"] .vd-tile--2 { box-shadow: 0 0 0 2px #f06262; animation: alarm-ring 1s ease-out infinite; }
.scene-video:is([data-step="focus"], [data-step="ptz"], [data-step="snap"]) .vd-grid { grid-template-columns: 1fr; }
.scene-video:is([data-step="focus"], [data-step="ptz"], [data-step="snap"]) .vd-tile:not(.vd-tile--2) { display: none; }
.scene-video:is([data-step="focus"], [data-step="ptz"], [data-step="snap"]) .vd-tile--2 { box-shadow: 0 0 0 2px #14b8b8; animation: tile-grow 0.6s var(--ease); }
.scene-video:is([data-step="ptz"], [data-step="snap"]) .vd-tile--2 .vd-feed { background-size: 165% auto; background-position: 18% 52%; }
.scene-video[data-step="ptz"] .vd-ptz { opacity: 1; transform: translate(-50%, 0); }
.scene-video[data-step="ptz"] .vd-ptz b:nth-child(4) { animation: ptz-press 1.2s ease-in-out 0.4s 2; }
.scene-video[data-step="ptz"] .vd-pop { animation: click-pop 0.8s ease-out 0.5s 2; }
.scene-video[data-step="snap"] .vd-flash { animation: flash 0.6s ease-out; }
.scene-video[data-step="snap"] .vd-toast { opacity: 1; transform: none; }

/* Cartographie et mobilité (modules/carte) */
.mp-map { position: relative; aspect-ratio: 600 / 380; overflow: hidden; }
.mp-layer { position: absolute; inset: 0; transform-origin: 58% 42%; transition: transform 1.2s var(--ease); }
.scene-map[data-step="focus"] .mp-layer { transform: scale(1.45); }
.mp-streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.mp-site { position: absolute; width: 14px; height: 14px; margin: -7px; border: 2px solid #fff; border-radius: 50%; background: #3b82f6; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); }
.mp-site--alarm { background: #ef4444; animation: pulse-alarm-radar 2s infinite; }
.mp-pti { position: absolute; transform: translate(-15%, -100%); }
.mp-pti__pin {
    display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #fff; border-radius: 50% 50% 50% 4px;
    background: #10b981; color: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); transition: background 0.4s;
}
.mp-pti__pin .icon { position: static; inset: auto; width: 15px; height: 15px; }
.mp-pti__tag { position: absolute; bottom: -17px; left: 50%; transform: translateX(-50%); padding: 1px 5px; border-radius: 6px; background: rgba(0, 0, 0, 0.65); color: #fff; font-size: 10px; font-weight: 700; }
.scene-map:is([data-step="alert"], [data-step="focus"]) .mp-pti__pin { background: #f97316; animation: pti-pulse 1s infinite; }
.mp-tools { position: absolute; top: 10px; left: 10px; display: flex; align-items: flex-start; gap: 6px; }
.mp-zoom { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 10px; background: rgba(17, 25, 40, 0.92); }
.mp-zoom b { display: grid; place-items: center; width: 28px; height: 28px; color: #e2e8f0; font-size: 16px; }
.mp-zoom b + b { border-top: 1px solid rgba(255, 255, 255, 0.09); }
.mp-mode { padding: 6px 11px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 10px; background: rgba(17, 25, 40, 0.92); color: #94a3b8; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mp-mode.is-on { background: linear-gradient(135deg, #3b82f6, #06b6d4); color: #fff; }
.mp-panel {
    position: absolute; top: 52px; right: 10px; width: max(36%, 220px); padding: 14px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 16px;
    background: rgba(17, 25, 40, 0.8); color: #f1f5f9; font-size: 13px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.62);
}
.mp-panel strong { display: block; font-size: 13.5px; }
.mp-panel__count { color: #94a3b8; font-size: 12px; }
.mp-panel ul { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.mp-worker { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; transition: background 0.4s; }
.mp-worker i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #10b981; }
.mp-worker em { margin-left: auto; color: #10b981; font-size: 12px; font-style: normal; font-weight: 700; }
.mp-worker .mp-worker__fall { display: none; color: #f97316; }
.scene-map:is([data-step="alert"], [data-step="focus"]) .mp-worker--watch { background: rgba(99, 102, 241, 0.25); }
.scene-map:is([data-step="alert"], [data-step="focus"]) .mp-worker--watch i { background: #f97316; animation: pti-pulse 1s infinite; }
.scene-map:is([data-step="alert"], [data-step="focus"]) .mp-worker--watch .mp-worker__ok { display: none; }
.scene-map:is([data-step="alert"], [data-step="focus"]) .mp-worker--watch .mp-worker__fall { display: inline; }
.mp-toast {
    position: absolute; bottom: 10px; left: 10px; padding: 10px 14px; border-left: 4px solid #ef4444; border-radius: 10px;
    background: rgba(17, 25, 40, 0.92); color: #f1f5f9; font-size: 13px; font-weight: 700;
    opacity: 0; transform: translateY(10px); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.scene-map:is([data-step="alert"], [data-step="focus"]) .mp-toast { opacity: 1; transform: none; }

/* Intelligence artificielle (Création IA et transmetteurs / boucles) */
.ai-robot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(180deg, #14b8a6, #0f766e); }
.ai-robot svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ai-pill { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(43, 212, 154, 0.14); color: #2bd49a; font-size: 12px; font-weight: 700; }
.ai-pill i { width: 7px; height: 7px; border-radius: 50%; background: #2bd49a; }
.ai-body { position: relative; height: 330px; }
.ai-empty {
    position: absolute; inset: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    text-align: center; transition: opacity 0.4s, transform 0.4s;
}
.ai-empty__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(20, 184, 166, 0.14); color: #14b8a6; }
.ai-type { min-height: 2.8em; max-width: 400px; margin: 0; color: #cfe3e1; font-size: 15px; line-height: 1.4; }
.ai-type::after { content: ''; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: #14b8a6; animation: caret 1s steps(1) infinite; }
.ai-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ai-chips span { padding: 5px 11px; border: 1px solid rgba(20, 184, 166, 0.35); border-radius: 999px; color: #9fd8d2; font-size: 12.5px; font-weight: 600; }
.ai-chat { position: absolute; inset: 16px 18px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transition: opacity 0.4s; }
.scene-ai:not([data-step="empty"]) .ai-empty { opacity: 0; transform: translateY(-10px); }
.scene-ai:not([data-step="empty"]) .ai-chat { opacity: 1; }
.ai-msg { align-self: flex-end; max-width: 82%; margin: 0; padding: 9px 14px; border-radius: 16px 16px 5px 16px; background: linear-gradient(135deg, #14b8a6, #0f766e); color: #fff; font-size: 13.5px; }
.scene-ai:not([data-step="empty"]) .ai-msg { animation: msg-in 0.45s var(--ease) both; }
.ai-wait { display: none; margin: 0; color: #8aa3a7; font-size: 13px; font-style: italic; }
.scene-ai[data-step="wait"] .ai-wait { display: block; animation: wait-pulse 1.6s ease-in-out infinite; }
.ai-card { display: none; overflow: hidden; border: 1px solid rgba(20, 184, 166, 0.45); border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.scene-ai:is([data-step="card"], [data-step="applied"]) .ai-card { display: block; animation: msg-in 0.45s var(--ease) both; }
.ai-card__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; }
.ai-card__head span { padding: 2px 7px; border-radius: 6px; background: rgba(77, 142, 247, 0.18); color: #8db4fb; font-size: 10.5px; font-weight: 700; }
.ai-loops { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ai-loops th { padding: 5px 12px; color: #8aa3a7; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-align: left; text-transform: uppercase; }
.ai-loops td { padding: 4px 12px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ai-loops td:first-child { color: #8db4fb; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.scene-ai:is([data-step="card"], [data-step="applied"]) .ai-loops tr + tr { animation: row-in 0.4s var(--ease) both; }
.scene-ai .ai-loops tr:nth-child(3) { animation-delay: 0.12s; }
.scene-ai .ai-loops tr:nth-child(4) { animation-delay: 0.24s; }
.scene-ai .ai-loops tr:nth-child(5) { animation-delay: 0.36s; }
.scene-ai .ai-loops tr:nth-child(6) { animation-delay: 0.48s; }
.ai-type-badge { padding: 1px 6px; border-radius: 5px; font-size: 10.5px; font-weight: 700; }
.ai-type-badge--alarm { background: rgba(240, 85, 85, 0.18); color: #f8a1a1; }
.ai-type-badge--other { background: rgba(77, 142, 247, 0.16); color: #8db4fb; }
.ai-prio { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: color-mix(in srgb, var(--prio) 22%, transparent); color: var(--prio); font-size: 11px; }
.ai-card__actions { display: flex; justify-content: flex-end; gap: 8px; padding: 8px 12px; }
.ai-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 700; transition: background 0.3s; }
.ai-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.18); color: #cfe3e1; }
.ai-btn--apply { background: #14b8a6; color: #04201d; }
.ai-btn__done { display: none; align-items: center; gap: 5px; }
.scene-ai[data-step="applied"] .ai-btn--apply { background: #2bd49a; animation: btn-press 0.35s var(--ease); }
.scene-ai[data-step="applied"] .ai-btn__label { display: none; }
.scene-ai[data-step="applied"] .ai-btn__done { display: inline-flex; }
.ai-compose {
    display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 8px 8px 8px 14px; border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px; background: rgba(255, 255, 255, 0.06); color: #8aa3a7;
}
.ai-compose__field { flex: 1; height: 18px; }
.ai-compose__send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #14b8a6; color: #fff; }
.hero__photo::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.08) 75%),
                linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, transparent 35%);
}
.hero__inner, .hero__tabs { position: relative; z-index: 2; }
.hero__copy { max-width: 48%; }
.hero__label { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.hero__title { font-size: clamp(44px, 4.3vw, 80px); font-weight: 900; letter-spacing: -0.045em; line-height: 1.02; margin-bottom: 26px; }
.hero__title span { display: block; }
.hero__lead { font-size: 21px; line-height: 1.4; max-width: 600px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.hero__link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.hero__link:hover { text-decoration-thickness: 2px; }

.hero__tabs { grid-row: 2; display: flex; align-items: center; gap: 12px; margin-top: 48px; }
.hero-tabs { position: relative; flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.hero-tab {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 22px; height: 100%;
    padding: 14px 16px 16px; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; text-align: left;
    background: rgba(28, 28, 28, 0.58); color: #fff; font-weight: 700; font-size: 15px;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background 0.25s, color 0.25s;
}
.hero-tab span:not(.app-icon) { padding-right: 22px; }
.hero-tab > .icon { position: absolute; right: 14px; bottom: 18px; transition: transform 0.25s var(--ease); }
.hero-tab:hover { background: rgba(48, 48, 48, 0.78); }
.hero-tab:hover > .icon { transform: translateX(3px); }
.hero-tab.is-active { background: #fff; color: var(--black); }
.hero-tab::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 4px; background: var(--accent); }
.hero-tab.is-active::after { width: 100%; }
.hero.is-playing .hero-tab.is-active::after { width: 0; animation: tab-progress var(--hero-duration, 7s) linear forwards; }
.hero.is-paused .hero-tab.is-active::after { animation-play-state: paused; }
.hero__pause {
    flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(28, 28, 28, 0.58); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background 0.2s;
}
.hero__pause:hover { background: rgba(60, 60, 60, 0.85); }
.hero__pause .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.hero__play-icon, .hero.is-paused .hero__pause-icon { display: none; }
.hero.is-paused .hero__play-icon { display: block; }
.hero:not(.is-playing):not(.is-paused) .hero__pause { display: none; }

/* --------------------------------------------------------------------------
   Cartes illustrées (accueil)
   -------------------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(240px, 1fr)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.tiles, .hero-tabs { scrollbar-width: none; }
.tiles::-webkit-scrollbar, .hero-tabs::-webkit-scrollbar { display: none; }
.tile {
    display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--gray-100); overflow: hidden; scroll-snap-align: start;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12); }

.carousel { position: relative; }
.carousel__btn {
    position: absolute; top: 42%; z-index: 3; display: none; place-items: center; width: 48px; height: 48px;
    border: 0; border-radius: 50%; background: #fff; color: var(--black); cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22); transition: opacity 0.2s, transform 0.2s;
}
.carousel__btn:hover { transform: scale(1.06); }
.carousel__btn--prev { left: -12px; }
.carousel__btn--next { right: -12px; }
.carousel.is-scrollable .carousel__btn { display: grid; }
.carousel__btn:disabled { opacity: 0; pointer-events: none; }
.carousel .tiles { padding: 6px 0 12px; }
.tile__head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-weight: 700; font-size: 15px; }
.tile__visual {
    position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden;
    background-size: cover; background-position: center; transition: transform 0.6s var(--ease);
}
.tile:hover .tile__visual { transform: scale(1.02); }
.tile__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.tile__body strong { font-size: 19px; font-weight: 700; }
.tile__body span { color: var(--muted); font-size: 16px; line-height: 1.4; }

.ui-chip {
    position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--black);
    font-size: 14px; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.ui-chip i { width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--tone) 70%, #000); }

.mini-alarm {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
    background: #fff; border-left: 4px solid var(--prio); box-shadow: 0 4px 14px rgba(150, 60, 0, 0.1);
}
.mini-alarm b { flex: none; font-size: 15px; font-weight: 900; color: var(--prio); }
.mini-alarm span { display: flex; flex-direction: column; min-width: 0; }
.mini-alarm strong, .mini-alarm em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-alarm strong { font-size: 14px; }
.mini-alarm em { font-style: normal; color: var(--muted); font-size: 13px; }


/* Cartes « centre exigeant » : miniatures des écrans WM_TAC du hero */
.tile__visual--app {
    display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px; isolation: isolate;
    background-color: #0b1519; color: #e6eef0; font-size: 13px; text-align: left;
}
.tile__visual--app::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--tone) 30%, transparent), transparent 65%), linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45));
}
.tv-win, .tv-cams {
    display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
    background: rgba(12, 18, 22, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.tv-bar { display: flex; align-items: center; gap: 8px; padding: 2px 4px 6px; font-size: 13px; }
.tv-bar em { margin-left: auto; padding: 1px 7px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11px; font-style: normal; font-weight: 800; }
.tv-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 10px; border-left: 3px solid var(--prio); border-radius: 8px; background: rgba(255, 255, 255, 0.05); }
.tv-row b { font-size: 13px; font-weight: 900; color: var(--prio); }
.tv-row > span { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.tv-row strong, .tv-row em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-row strong { font-size: 12.5px; }
.tv-row em { color: #8aa3a7; font-size: 11.5px; font-style: normal; }
.tv-row i { color: #ff8a8a; font-size: 10px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.tv-core .tv-row:nth-child(2) { animation: tv-blink 1.6s ease-in-out infinite; }

.tv-cams { display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px; }
.tv-cam { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #000 center / cover no-repeat; }
.tv-cam--main { grid-column: 1 / -1; box-shadow: 0 0 0 2px #f06262; animation: alarm-ring 1.4s ease-out infinite; }
.tv-cam > span { position: absolute; right: 0; bottom: 0; left: 0; overflow: hidden; padding: 10px 6px 3px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); color: #fff; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.tv-cam--main > span { padding: 14px 8px 5px; font-size: 11.5px; }
.tv-live { position: absolute; top: 4px; left: 4px; padding: 0 4px; border-radius: 5px; background: #2bd49a; color: #000; font-size: 7.5px; font-style: normal; font-weight: 800; }
.tv-cam--main .tv-live { top: 7px; left: 7px; padding: 1px 6px; font-size: 9.5px; }
.tv-alert { position: absolute; top: 7px; right: 7px; padding: 2px 7px; border-radius: 7px; background: #f06262; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; }

.tv-island { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 999px; background: #000; color: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.tv-island__avatar { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #30d158; }
.tv-island__avatar svg { width: 16px; height: 16px; fill: #fff; }
.tv-island__body { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.25; }
.tv-island__body strong { overflow: hidden; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.tv-island__body em { color: rgba(255, 255, 255, 0.6); font-size: 11px; font-style: normal; }
.tv-island__body b { color: #30d158; font-variant-numeric: tabular-nums; }
.tv-wave { display: flex; align-items: center; gap: 2px; height: 16px; }
.tv-wave i { width: 3px; height: 100%; border-radius: 2px; background: #30d158; animation: di-wave 1s ease-in-out infinite; }
.tv-wave i:nth-child(2) { animation-delay: 0.15s; }
.tv-wave i:nth-child(3) { animation-delay: 0.3s; }
.tv-wave i:nth-child(4) { animation-delay: 0.45s; }
.tv-wave i:nth-child(5) { animation-delay: 0.6s; }
.tv-contact { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); font-size: 12px; }
.tv-contact span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv-contact em { color: #30d158; font-size: 10.5px; font-style: normal; font-weight: 700; }
.tv-contact .icon { width: 14px; height: 14px; color: #8aa3a7; }
.tv-contact--on { background: rgba(48, 209, 88, 0.14); box-shadow: inset 3px 0 0 #30d158; }
.tv-contact--on .icon { color: #30d158; }

.tv-map { position: absolute; inset: 0; }
.tv-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv-map .mp-site { width: 12px; height: 12px; margin: -6px; }
.tv-pti .mp-pti__pin { background: #f97316; animation: pti-pulse 1s infinite; }
.tv-toast {
    position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 9px 12px; border-left: 4px solid #ef4444; border-radius: 10px;
    background: rgba(17, 25, 40, 0.92); color: #f1f5f9; font-size: 12.5px; font-weight: 700;
}

.tv-ai { gap: 0; padding: 0; overflow: hidden; }
.tv-ai .tv-bar { padding: 10px 12px; background: rgba(15, 118, 110, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.tv-ai .ai-robot { width: 24px; height: 24px; border-radius: 7px; }
.tv-ai .ai-robot svg { width: 14px; height: 14px; }
.tv-ai__body { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 14px; text-align: center; }
.tv-ai .ai-empty__icon { width: 40px; height: 40px; }
.tv-ai .ai-empty__icon .icon { width: 18px; height: 18px; }
.tv-ai .ai-type { display: block; min-height: 4.2em; font-size: 13px; }
.tv-ai .ai-chips span { padding: 4px 9px; font-size: 11px; }
.tv-ai .ai-compose { margin: 0 10px 10px; padding: 6px 6px 6px 10px; }
.tv-ai .ai-compose__send { width: 28px; height: 28px; }

/* --------------------------------------------------------------------------
   Chiffres clés
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__value { margin: 0 0 4px; font-size: clamp(44px, 5vw, 76px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { margin: 0 auto; max-width: 280px; color: var(--muted); font-size: 16px; }

/* --------------------------------------------------------------------------
   Poste opérateur mis en scène
   -------------------------------------------------------------------------- */
.product-frame {
    max-width: 1440px; margin: 0 auto; padding: clamp(20px, 4vw, 64px);
    border-radius: var(--radius-lg); background: linear-gradient(180deg, #dce9fb 0%, #9fc0ee 100%);
}
.product-frame img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 70px rgba(16, 40, 80, 0.35); }

/* --------------------------------------------------------------------------
   Bannière photo (référence)
   -------------------------------------------------------------------------- */
.banner {
    position: relative; display: flex; align-items: center; min-height: 520px; border-radius: var(--radius-lg); overflow: hidden; color: #fff;
    background-color: #0b0b0b; background-size: cover; background-position: 70% center;
}
.banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 42%, rgba(0, 0, 0, 0) 78%); }
.banner__copy { position: relative; max-width: 700px; padding: 64px clamp(28px, 5vw, 88px); }
.banner__logo { display: block; width: auto; height: 104px; margin-bottom: 28px; }
.banner__label { margin: 0 0 14px; font-weight: 700; }
.banner__title { font-size: clamp(32px, 3.4vw, 52px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 30px; }

/* --------------------------------------------------------------------------
   Familles de modules (section sombre)
   -------------------------------------------------------------------------- */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.app-card {
    display: flex; flex-direction: column; gap: 6px; min-height: 250px; padding: 26px;
    border-radius: var(--radius-lg); background: #1b1b1b; transition: background 0.2s;
}
.app-card { transition: background 0.25s, transform 0.35s var(--ease); }
.app-card:hover { background: #292929; transform: translateY(-4px); }
.app-card .app-icon { transition: transform 0.35s var(--ease); }
.app-card:hover .app-icon { transform: scale(1.1); }
.app-card .app-icon { width: 48px; height: 48px; margin-bottom: auto; }
.app-card__count { margin-top: 28px; color: #8d8d8d; font-size: 14px; font-weight: 700; }
.app-card strong { font-size: 23px; font-weight: 900; letter-spacing: -0.02em; }
.app-card > span:last-child { color: #b5b5b5; font-size: 16px; }

/* --------------------------------------------------------------------------
   Console (maquette sombre du poste opérateur)
   -------------------------------------------------------------------------- */
.console {
    --border: rgba(148, 163, 184, 0.14); --text: #e8edf6; --muted: #a0acc2; --dim: #6d7a93;
    --orange: #ff6a1f; --green: #2ecc71;
    --p1: #64748b; --p2: #38bdf8; --p3: #eab308; --p4: #f97316; --p5: #ef4444;
    background: #10161f; color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; font-size: 13px; line-height: 1.35; text-align: left;
}
.console__bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; background: #0b1017; border-bottom: 1px solid var(--border); }
.console__title { font-weight: 700; letter-spacing: 0.04em; font-size: 12px; }
.console__statuses { display: flex; gap: 14px; color: var(--dim); font-size: 11px; }
.console__statuses span { display: inline-flex; align-items: center; gap: 6px; }
.console__statuses i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.console__live { margin-left: auto; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; }
.console__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.console__live b { font-weight: 600; color: var(--text); }
.console__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); min-height: 380px; }
.console__queue { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.console__queue-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-weight: 600; border-bottom: 1px solid var(--border); background: #141c27; }
.console__count { min-width: 20px; padding: 0 6px; background: var(--p5); color: #fff; font-size: 11px; text-align: center; }
.console__count.is-bump { outline: 1px solid #fff; }
.console__cols, .console__row { display: grid; grid-template-columns: 34px 62px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.console__cols { padding: 6px 12px; color: var(--dim); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.console__rows { overflow: hidden; }
.console__row { padding: 8px 12px; border-bottom: 1px solid rgba(148, 163, 184, 0.08); border-left: 3px solid var(--prio, var(--p1)); }
.console__row.is-selected { background: rgba(255, 106, 31, 0.08); }
.console__row.is-entering { animation: row-in 0.45s var(--ease); }
.console__prio { color: var(--prio); font-weight: 700; font-variant-numeric: tabular-nums; }
.console__time { color: var(--dim); font-variant-numeric: tabular-nums; }
.console__site { min-width: 0; display: flex; flex-direction: column; }
.console__site strong, .console__site em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console__site strong { font-weight: 600; }
.console__site em { font-style: normal; color: var(--muted); font-size: 11px; }
.console__state { color: #fca5a5; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.console__state.is-taken { color: #86efac; }
.console__file { display: flex; flex-direction: column; min-width: 0; background: #0d141d; }
.console__file-head { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px 8px; }
.console__file-tag { display: block; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 4px; }
.console__file-site { display: block; font-size: 15px; }
.console__file-sub { display: block; color: var(--muted); margin-top: 2px; }
.console__prio-badge { align-self: flex-start; padding: 4px 8px; background: var(--p5); color: #fff; font-weight: 700; }
.console__file-meta { padding: 0 14px 10px; color: var(--dim); font-size: 11px; border-bottom: 1px solid var(--border); }
.console__section { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.console__label { display: block; margin-bottom: 6px; color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.console__instructions { margin: 0; color: var(--text); }
.console__log { display: grid; gap: 6px; }
.console__log li { display: grid; grid-template-columns: 58px 1fr; gap: 8px; color: var(--muted); }
.console__log time { color: var(--dim); font-variant-numeric: tabular-nums; }
.console__log .is-active span { color: var(--text); }
.console__contacts { display: grid; grid-template-columns: 1fr 1fr; }
.console__contact { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.console__contact + .console__contact { border-left: 1px solid var(--border); }
.console__contact span { display: block; color: var(--muted); margin-bottom: 2px; }
.console__contact b { font-weight: 600; font-variant-numeric: tabular-nums; }
.console__actions { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: auto; }
.console__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; border-top: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--text); font-weight: 600; }
.console__btn:last-child { border-right: 0; }
.console__btn--call { background: rgba(42, 140, 255, 0.16); }
.console__btn--ok { background: rgba(46, 204, 113, 0.14); }
.console__kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); background: #0b1017; }
.console__kpis div { padding: 8px 14px; display: flex; flex-direction: column; }
.console__kpis div + div { border-left: 1px solid var(--border); }
.console__kpis strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.console__kpis span { color: var(--dim); font-size: 10px; }

.prio-1 { --prio: var(--p1); }
.prio-2 { --prio: var(--p2); }
.prio-3 { --prio: var(--p3); }
.prio-4 { --prio: var(--p4); }
.prio-5 { --prio: var(--p5); }

/* --------------------------------------------------------------------------
   Listes et cartes de contenu
   -------------------------------------------------------------------------- */
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 16px; }
.checklist .icon { margin-top: 4px; color: var(--green); }
.checklist--lg li { font-size: 17px; color: var(--text); }

.features { display: grid; gap: 16px; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.features--4 { grid-template-columns: repeat(4, 1fr); }
.feature { padding: 30px; border-radius: var(--radius-lg); background: var(--gray-100); transition: background 0.2s; }
.feature:hover { background: var(--gray-200); }
.feature__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: rgba(228, 87, 15, 0.1); color: var(--accent); }
.feature h3 { font-size: 21px; font-weight: 700; margin: 0 0 8px; }
.feature p { color: var(--muted); font-size: 16px; margin: 0; }
.feature--line { background: transparent; border-top: 2px solid var(--black); border-radius: 0; padding: 20px 8px 4px 0; }
.feature--line:hover { background: transparent; }

/* Tout-en-un : logiciels éparpillés face au poste WM_TAC unique */
.unify { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.1fr); margin-bottom: 16px; }
.unify__before, .unify__after { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); }
.unify__before { background: var(--gray-100); border: 1px dashed var(--border-strong); }
.unify__after { background: #0b0f17; color: #e8eef8; }
.unify__label { margin: 0 0 20px; color: var(--dim); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.unify__after .unify__label { color: #8b97b0; }
.unify__mess { display: grid; flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 12px 14px; margin: 0; padding: 0; list-style: none; }
.unify__app { overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); transform: rotate(var(--r, 0deg)) translateX(var(--x, 0)); }
.unify__app:nth-child(1) { --r: -2deg; }
.unify__app:nth-child(2) { --r: 1.5deg; --x: 6px; }
.unify__app:nth-child(3) { --r: 1deg; --x: -4px; }
.unify__app:nth-child(4) { --r: -1.5deg; }
.unify__app:nth-child(5) { --r: 2deg; --x: 4px; }
.unify__app:nth-child(6) { --r: -1deg; --x: -6px; }
.unify__app:nth-child(7) { --r: -2.5deg; --x: 3px; }
.unify__app:nth-child(8) { --r: 1.2deg; }
.unify__bar { display: flex; gap: 4px; padding: 6px 8px; background: var(--gray-200); }
.unify__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
.unify__app-body { display: flex; align-items: center; gap: 8px; padding: 9px 10px; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.25; }
.unify__app-body .icon { color: var(--dim); }
.unify__tally { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.unify__tally span { padding: 5px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.unify__tally--bad span { background: #fde8e7; color: #b42318; }
.unify__tally--good span { background: rgba(52, 211, 153, 0.14); color: #34d399; }
.unify__arrow { display: grid; place-items: center; }
.unify__arrow .icon { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--accent); color: #fff; stroke-width: 2.4; box-shadow: 0 6px 18px rgba(228, 87, 15, 0.35); }
.unify__window { display: flex; flex: 1; flex-direction: column; overflow: hidden; border: 1px solid #2a3554; border-radius: 12px; background: #0d1422; }
.unify__titlebar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #2a3554; background: #141c2e; font-size: 13px; }
.unify__titlebar .unify__bar { padding: 0; background: none; }
.unify__titlebar .unify__bar i { background: #2a3554; }
.unify__titlebar em { display: flex; align-items: center; gap: 6px; margin-left: auto; color: #34d399; font-size: 12px; font-style: normal; font-weight: 700; }
.unify__titlebar em::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2); }
.unify__modules { display: grid; flex: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 10px; margin: 0; padding: 16px; list-style: none; }
.unify__modules li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #1f2a42; border-radius: 10px; background: #141c2e; font-size: 15px; font-weight: 600; }
.unify__modules .app-icon { width: 30px; height: 30px; }
.unify__modules li > .icon { margin-left: auto; color: #34d399; stroke-width: 2.6; }
.js .unify__modules li { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease) var(--delay), transform 0.5s var(--ease) var(--delay); }
.js .unify__after.is-visible .unify__modules li { opacity: 1; transform: none; }
.unify__points .feature { background: #fff; }

/* Formules par taille de centre (sans prix) */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.plan:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.plan__gauge { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-bottom: 18px; }
.plan__gauge i { width: 8px; border-radius: 2px; background: var(--gray-200); }
.plan__gauge i:nth-child(1) { height: 30%; }
.plan__gauge i:nth-child(2) { height: 53%; }
.plan__gauge i:nth-child(3) { height: 76%; }
.plan__gauge i:nth-child(4) { height: 100%; }
.plan__gauge i.is-on { background: var(--accent); }
.plan__name { margin: 0 0 6px; font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.plan__range { margin: 0; color: var(--muted); font-size: 15px; }
.plan__range strong { color: var(--text); }
.plan__posts { display: flex; align-items: center; gap: 7px; margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.plan__posts .icon { color: var(--dim); }
.plan__profile { min-height: 4.5em; margin: 18px 0 20px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.plan__deploy { display: flex; gap: 12px; margin-bottom: 22px; padding: 14px; border-radius: var(--radius); background: var(--gray-100); }
.plan__deploy > .icon { margin-top: 2px; color: var(--accent); }
.plan__deploy span { display: block; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.plan__deploy strong { display: block; margin: 2px 0 3px; font-size: 17px; }
.plan__deploy em { display: block; color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.4; }
.plan__label { margin: 0 0 12px; color: var(--dim); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.plan .checklist li { font-size: 15px; }
.plan__cta { align-self: flex-start; margin-top: auto; }
.plan .checklist { margin-bottom: 26px; }
.plans__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px 0 0; color: var(--muted); font-size: 15px; text-align: center; }
.plans__note .icon { color: var(--accent); }
.plans__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 18px 0 0; }

/* Entreprise : nos solutions en bref */
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product { padding: 28px 26px; border-top: 3px solid var(--accent); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--gray-100); }
.product__tag { margin: 0 0 6px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.product__name { margin: 0 0 10px; font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.product p:last-child { margin: 0; color: var(--muted); font-size: 16px; }

/* Pour qui */
.audiences { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.audience { display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.audience h3 { margin: 0 0 8px; font-size: 21px; font-weight: 700; }
.audience p { margin: 0 0 20px; color: var(--muted); font-size: 16px; }
.audience__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.audience__tags li { padding: 4px 10px; border-radius: 999px; background: var(--gray-100); color: var(--muted); font-size: 13px; font-weight: 600; }

/* Déploiement : aide au choix et migration */
.offers__hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin: 28px 0 0; color: var(--muted); font-size: 17px; text-align: center; }
.migration { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.migration__step { position: relative; padding: 28px 26px; border: 1px solid #262626; border-radius: var(--radius-lg); background: #0e0e0e; }
.migration__step:not(:last-child)::after { content: ''; position: absolute; top: 50px; right: -17px; width: 18px; height: 2px; background: var(--accent); }
.migration__icon { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 50%; background: rgba(228, 87, 15, 0.16); color: var(--accent); }
.migration__icon b { position: absolute; top: -4px; right: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; }
.migration__step h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.migration__step p { margin: 0; color: #b5b5b5; font-size: 16px; }
.migration__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 22px 26px; border-radius: var(--radius-lg); background: #161616; }
.migration__foot p { display: flex; align-items: flex-start; gap: 12px; max-width: 900px; margin: 0; color: #e6e6e6; font-size: 17px; }
.migration__foot p .icon { margin-top: 2px; color: var(--accent); }

/* Contact : étapes après l'envoi */
.contact__next .card__title { margin-bottom: 18px; font-size: 22px; }
.next-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.next-steps li { display: flex; gap: 14px; }
.next-steps__num { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; }
.next-steps strong { display: block; font-size: 16px; }
.next-steps span:not(.next-steps__num) { display: block; color: var(--muted); font-size: 15px; }

/* Modules à venir */
.module-card__family { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--dim); font-size: 13px; font-weight: 700; }
.module-card__family .app-icon { width: 22px; height: 22px; }
.modules-grid--upcoming { margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   Offres
   -------------------------------------------------------------------------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.offer {
    position: relative; display: flex; flex-direction: column; padding: 18px 18px 26px; border-radius: var(--radius-lg);
    background: var(--gray-100); transition: background 0.2s;
}
a.offer:hover { background: var(--gray-200); }
.offer__visual { position: relative; display: block; aspect-ratio: 16 / 8; margin-bottom: 22px; overflow: hidden; border-radius: var(--radius); background: #111; }
.offer__visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
a.offer:hover .offer__visual img { transform: scale(1.05); }
.vm-visual { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 16px 18px 16px 70px; background: radial-gradient(120% 90% at 70% 0%, #1c2d52 0%, #0d1422 60%, #060910 100%); }
.vm-visual__vms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; transition: transform 0.4s var(--ease); }
.vm-visual__vm { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #2a3554; border-radius: 8px; background: #141c2e; color: #e8eef8; font-size: 14px; font-weight: 700; box-shadow: inset 3px 0 0 var(--tone); }
.vm-visual__vm .icon { color: var(--tone); }
.vm-visual__host { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: linear-gradient(90deg, #e4570f, #f08a3c); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
a.offer:hover .vm-visual__vms { transform: translateY(-2px); }
.offer__badge {
    position: absolute; bottom: 12px; left: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: rgba(0, 0, 0, 0.72); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.offer__badge .icon { width: 22px; height: 22px; stroke-width: 1.8; }
.offer--full .offer__visual { margin-bottom: 4px; }
.offer__num { display: block; margin: 8px 8px 14px; color: var(--accent); font-size: 15px; font-weight: 900; }
.offer__name, .offer__tagline, .offer__text, .offer__billing, .offer .checklist, .offer .btn { margin-left: 8px; margin-right: 8px; }
.offer__name { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 2px; }
.offer__tagline { color: var(--muted); font-weight: 600; font-size: 17px; margin-bottom: 14px; }
.offer__text { color: var(--muted); font-size: 16px; }
.offer .checklist { margin-top: 6px; margin-bottom: 24px; }
.offer__billing { margin-top: auto; margin-bottom: 0; padding-top: 16px; border-top: 1px solid var(--border-strong); font-weight: 700; font-size: 16px; }
.offer__billing span { display: block; color: var(--dim); font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.offer--full .offer__billing { margin-bottom: 22px; }
.offer--full .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   Appel à l'action final
   -------------------------------------------------------------------------- */
.section--cta { padding: 120px 0; }
.cta-band { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.cta-band h2 { font-size: clamp(34px, 4vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; max-width: 980px; }
.cta-band p { margin: 0 auto; color: var(--muted); font-size: 20px; max-width: 640px; }
.cta-band .btn { background: var(--black); color: #fff; min-height: 52px; padding: 0 34px; font-size: 17px; }
.cta-band .btn:hover { background: #333; }
.cta-band__actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-band__call { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0; color: var(--muted); font-size: 17px; }
.cta-band__call a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 700; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 8px 0 0; padding: 22px 0 0; border-top: 1px solid var(--border); list-style: none; }
.trust-strip li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 600; }
.trust-strip .icon { color: var(--accent); }

/* --------------------------------------------------------------------------
   En-tête des pages intérieures
   -------------------------------------------------------------------------- */
.page-hero { padding: calc(var(--header-h) + 112px) 0 40px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero__title { font-size: clamp(44px, 5.4vw, 88px); font-weight: 900; letter-spacing: -0.045em; line-height: 0.98; max-width: 1200px; margin: 0 auto 22px; }
.page-hero__lead { color: var(--muted); font-size: 21px; max-width: 820px; margin: 0 auto; }
.page-hero--media { padding-bottom: 24px; }
.page-hero__media {
    position: relative; height: clamp(300px, 38vw, 600px); margin-top: 56px; border-radius: var(--radius-lg);
    background-color: #000; background-size: cover; background-position: center 40%; overflow: hidden;
}
.page-hero__media::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.35) 100%); }
.app-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.app-strip a {
    display: flex; flex-direction: column; align-items: center; gap: 12px; width: 136px; padding: 18px 8px 16px;
    border-radius: var(--radius); font-size: 14px; font-weight: 700; line-height: 1.25; text-align: center;
    transition: background 0.25s, transform 0.35s var(--ease);
}
.app-strip a:hover { background: var(--gray-100); transform: translateY(-4px); }
.app-strip .app-icon { width: 64px; height: 64px; transition: transform 0.35s var(--ease); }
.app-strip a:hover .app-icon { transform: scale(1.1); }
.page-hero--center { min-height: 70vh; display: grid; place-items: center; }
.page-hero--center .page-hero__lead { margin-bottom: 32px; }

/* --------------------------------------------------------------------------
   Architecture et composants (solution)
   -------------------------------------------------------------------------- */
.arch { display: grid; grid-template-columns: 1fr 32px 1.15fr 32px 1fr 32px 1fr; align-items: stretch; }
.arch__col { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--gray-100); }
.arch__col--core { background: var(--black); color: #fff; }
.arch__head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.arch__step { color: var(--accent); font-size: 15px; font-weight: 900; }
.arch__head h3 { font-size: 19px; }
.arch__col li { position: relative; padding: 9px 0 9px 16px; color: var(--muted); font-size: 15px; border-top: 1px solid var(--border); }
.arch__col li::before { content: ''; position: absolute; left: 0; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.arch__col--core li { color: #cfcfcf; border-top-color: #2e2e2e; }
.arch__col--core li::before { background: var(--accent); }
.arch__flow { position: relative; }
.arch__flow::before { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: var(--border-strong); }


.priorities { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 28px; }
.priorities__item { height: 8px; border-radius: 99px; background: var(--prio); position: relative; }
.priorities__item b { position: absolute; left: 0; top: 14px; font-size: 13px; color: var(--prio); }


.integrations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.integration { padding: 28px; border-radius: var(--radius-lg); background: var(--gray-100); }
.integration h3 { font-size: 19px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Catalogue des modules
   -------------------------------------------------------------------------- */
.catalogue-bar { display: flex; justify-content: center; padding: 18px 26px; border-radius: 999px; background: var(--gray-100); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.legend__title { color: var(--dim); font-size: 14px; font-weight: 700; margin-right: 6px; }
.catalogue-note { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--muted); font-size: 16px; }
.catalogue-note .icon { color: var(--accent); }
.catalogue-note--muted { justify-content: center; text-align: center; color: var(--dim); font-size: 15px; }

.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.badge--included { background: #e0f2fe; color: #075985; }
.badge--available { background: #dcfce7; color: #166534; }
.badge--progress { background: #fef3c7; color: #92400e; }
.badge--planned { background: #e0e7ff; color: #3730a3; }
.badge--roadmap { background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1px var(--border-strong); }

.family-section { padding: 80px 0; border-top: 1px solid var(--border); }
.family-section__head { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.family-section__head h2 { font-size: clamp(30px, 3vw, 44px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 4px; }
.family-section__head p { margin: 0; color: var(--muted); font-size: 18px; }

.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.modules-grid--single { grid-template-columns: 1fr; }
.modules-grid--even { grid-template-columns: repeat(2, 1fr); }
.modules-grid--single .module-card .checklist { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.module-card {
    position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg);
    background: var(--gray-100); transition: background 0.2s;
}
.module-card:hover { background: var(--gray-200); }
.module-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.module-card__title { font-size: 23px; font-weight: 900; letter-spacing: -0.02em; margin: 0; }
.module-card__promise { color: color-mix(in srgb, var(--tone) 50%, #000); font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.module-card__text { color: var(--muted); font-size: 16px; }
.module-card .checklist { margin-top: auto; padding-top: 6px; }
.module-card .checklist .icon { color: color-mix(in srgb, var(--tone) 55%, #000); }
.module-card--roadmap, .module-card--planned { background: #fff; box-shadow: inset 0 0 0 1px var(--border); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: var(--radius-lg); background: var(--gray-100); }
.faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px;
    cursor: pointer; font-weight: 700; font-size: 19px; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform 0.3s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Entreprise
   -------------------------------------------------------------------------- */
.story { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; }
.story__text .section-title { text-align: left; }
.story__text p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.story__figures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story__figure { padding: 28px; border-radius: var(--radius-lg); background: var(--gray-100); }
.story__figure strong { display: block; font-size: clamp(34px, 3.2vw, 52px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; white-space: nowrap; }
.story__figure span { color: var(--muted); font-size: 15px; line-height: 1.4; display: block; }

.timeline { position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--border); }
.timeline__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 14px 0; }
.timeline__year {
    position: absolute; left: 50%; top: 30px; transform: translateX(-50%); z-index: 1;
    padding: 6px 16px; border-radius: 999px; background: var(--black); color: #fff; font-weight: 900; font-size: 15px;
}
.timeline__card { padding: 26px 28px; border-radius: var(--radius-lg); background: var(--gray-100); }
.timeline__card h3 { font-size: 21px; margin-bottom: 8px; }
.timeline__card p { margin: 0; color: var(--muted); font-size: 16px; }
.timeline__item:nth-child(odd) .timeline__card { grid-column: 1; text-align: right; }
.timeline__item:nth-child(even) .timeline__card { grid-column: 2; }

.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.two-cols .section-head { margin: 0 0 32px; text-align: left; }
.places { display: grid; gap: 12px; }
.place { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--gray-100); }
.place h3 { font-size: 19px; margin-bottom: 4px; }
.place p { margin: 0; color: var(--muted); font-size: 16px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.card { padding: 36px; border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--border); }
.card__title { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 24px; }
.contact { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; }
.contact__aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 32px); }
.contact__aside .card { background: var(--gray-100); box-shadow: none; }
.contact__pro { display: flex; gap: 10px; color: var(--dim); font-size: 15px; margin: 0; }
.contact__pro .icon { margin-top: 3px; }
.contact-list { display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 16px; }
.contact-list .icon { margin-top: 2px; }
.contact-list span { display: block; color: var(--text); font-weight: 700; }
.contact-list a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 700; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
    background: #fff; color: var(--text); font: inherit; font-size: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131313' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--p5); }
.field__error { margin: 0; color: #b91c1c; font-size: 14px; }
.field--check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); cursor: pointer; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--black); }
.field--check a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.form-note { margin: 0; color: var(--dim); font-size: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 24px; }
.alert p { margin: 0; }
.alert--success { background: #dcfce7; color: #14532d; }
.alert--error { background: #fee2e2; color: #7f1d1d; }

/* --------------------------------------------------------------------------
   Texte long (mentions légales)
   -------------------------------------------------------------------------- */
.prose h2 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; margin: 48px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }
.prose a { color: var(--text); text-decoration: underline; }
.legal-list { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 0; padding: 26px; border-radius: var(--radius-lg); background: var(--gray-100); }
.legal-list dt { color: var(--dim); font-size: 15px; }
.legal-list dd { margin: 0; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer { padding: 80px 0 32px; background: var(--black); color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer__about p { color: #b5b5b5; font-size: 16px; margin: 22px 0 0; max-width: 400px; }
.site-footer__about .site-footer__pro { color: #8d8d8d; font-size: 14px; margin-top: 12px; }
.site-footer__title { font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { display: inline-flex; align-items: center; gap: 8px; color: #b5b5b5; font-size: 15px; transition: color 0.2s; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid #333; color: #8d8d8d; font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Apparition au défilement
   -------------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes row-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes tab-progress { from { width: 0; } to { width: 100%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes screen-in { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes tv-blink { 50% { background: rgba(220, 38, 38, 0.22); } }
@keyframes ui-in { from { opacity: 0; translate: 60px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes feed-drift { to { transform: scale(1.05) translate(1%, -1%); } }
@keyframes alarm-ring { 0% { box-shadow: 0 0 0 2px #f06262, 0 0 0 0 rgba(240, 98, 98, 0.6); } 100% { box-shadow: 0 0 0 2px #f06262, 0 0 0 12px rgba(240, 98, 98, 0); } }
@keyframes tile-grow { from { opacity: 0.4; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes ptz-press { 0%, 100% { background: rgba(0, 0, 0, 0.65); transform: none; } 40% { background: #14b8b8; transform: scale(0.9); } }
@keyframes click-pop { 0% { transform: scale(0.35); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes flash { 0% { opacity: 0.7; } 100% { opacity: 0; } }
@keyframes pulse-alarm-radar { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7), 0 0 0 0 rgba(239, 68, 68, 0.4); } 50% { transform: scale(1.1); box-shadow: 0 0 0 8px transparent, 0 0 0 16px transparent; } 100% { transform: scale(1); box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; } }
@keyframes pti-pulse { 0%, 100% { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(239, 68, 68, 0.7); } 50% { box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45), 0 0 0 10px rgba(239, 68, 68, 0); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes wait-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes btn-press { 0% { transform: scale(1); } 40% { transform: scale(0.9); } 100% { transform: scale(1); } }
@keyframes di-bump { 0% { transform: scale(1); } 35% { transform: scale(1.045, 1.08); } 70% { transform: scale(0.99); } 100% { transform: scale(1); } }
@keyframes di-ring { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes di-shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(4deg); } }
@keyframes di-text-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes di-wave { 0%, 100% { height: 5px; opacity: 0.55; } 50% { height: 18px; opacity: 1; } }
@keyframes di-pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); } }
@keyframes di-answer-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.55); } 60% { box-shadow: 0 0 0 10px rgba(48, 209, 88, 0); } }
@keyframes di-dot { 0% { box-shadow: 0 0 0 0 rgba(255, 69, 58, 0.6); } 100% { box-shadow: 0 0 0 7px rgba(255, 69, 58, 0); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Rock : reprise de l'écran mural « Flux en direct » (Rock wwwroot/display.css) */
.rock-head { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.rock-head__logo { display: block; width: auto; height: 132px; margin: 0 auto 22px; }
.rock-head .section-lead { margin-top: 18px; }
.rock-screen {
    padding: clamp(14px, 2.4vw, 32px); border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #dfe6f5 0%, #aebde0 100%);
}
.rw {
    --rw-bg: #060910; --rw-panel: #0d1422; --rw-box: #141c2e; --rw-box-hi: #1a2740; --rw-line: #2a3554;
    --rw-text: #e8eef8; --rw-muted: #8b97b0; --rw-accent: #6aa8ff; --rw-ok: #34d399; --rw-warn: #fbbf24;
    --rw-danger: #f87171; --rw-bidi: #f472b6; --rw-arm: #60a5fa;
    overflow: hidden; border-radius: var(--radius); color: var(--rw-text); font-size: 13px; line-height: 1.3;
    background: radial-gradient(900px 420px at 10% -10%, rgba(61, 123, 255, 0.14), transparent 55%), radial-gradient(700px 380px at 100% 0%, rgba(34, 211, 238, 0.08), transparent 50%), var(--rw-bg);
    box-shadow: 0 30px 70px rgba(16, 30, 70, 0.35);
}
.rw-head { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--rw-line); background: rgba(7, 11, 20, 0.72); }
.rw-brand { display: flex; flex: none; align-items: center; gap: 9px; min-width: 150px; }
.rw-brand img { width: 34px; height: auto; padding: 3px; border-radius: 7px; background: #fff; }
.rw-brand b { display: block; font-size: 15px; }
.rw-brand em { color: var(--rw-muted); font-size: 11px; font-style: normal; letter-spacing: 0.04em; }
.rw-kpis { display: flex; flex: 1; justify-content: center; gap: 8px; min-width: 0; }
.rw-kpi { min-width: 86px; padding: 4px 10px; border: 1px solid var(--rw-line); border-radius: 8px; background: var(--rw-panel); text-align: center; }
.rw-kpi b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
.rw-kpi span { color: var(--rw-muted); font-size: 11px; }
.rw-kpi--ok b { color: var(--rw-ok); }
.rw-right { display: flex; flex: none; align-items: center; gap: 12px; }
.rw-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border: 1px solid var(--rw-line); border-radius: 99px; background: var(--rw-panel); font-weight: 650; }
.rw-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--rw-ok); box-shadow: 0 0 7px var(--rw-ok); animation: blink 2s ease-in-out infinite; }
.rw-right time { font-size: 19px; font-weight: 750; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.rw-wall {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(40px, 0.32fr) minmax(150px, auto) minmax(40px, 0.32fr) minmax(170px, auto);
    padding: 14px 16px; min-height: 450px;
}
.rw-stack { display: grid; grid-auto-rows: 1fr; min-width: 0; }
.rw-cell { display: flex; align-items: center; min-width: 0; padding: 4px 0; }
.rw-box {
    position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; padding: 8px 10px;
    border: 1px solid var(--rw-line); border-radius: 10px; background: linear-gradient(180deg, var(--rw-box-hi), var(--rw-box));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.rw-mod { width: 100%; }
.rw-l1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.rw-l2 { overflow: hidden; margin-top: 3px; color: var(--rw-muted); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
.rw-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--rw-ok); box-shadow: 0 0 6px var(--rw-ok); }
.rw-name { flex: 1; overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.rw-bidi { flex: none; color: var(--rw-bidi); font-weight: 800; }
.rw-photo { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 18px; height: 16px; border: 1px solid rgba(34, 211, 238, 0.45); border-radius: 7px; background: rgba(34, 211, 238, 0.12); color: #22d3ee; }
.rw-tag { flex: none; padding: 2px 5px; border: 1px solid rgba(87, 162, 255, 0.28); border-radius: 5px; color: var(--rw-accent); font: 700 11px/1 ui-monospace, Menlo, monospace; }
.rw-act { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.rw-act .rw-l2 { margin: 0; }
.rw-spark { flex: none; width: 62px; height: 14px; }
.rw-spark .on { fill: var(--rw-accent); opacity: 0.9; }
.rw-spark .off { fill: var(--rw-line); }
.rw-wires { width: 100%; height: 100%; overflow: visible; }
.rw-wire-base, .rw-wire { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rw-wire-base { stroke: rgba(140, 160, 210, 0.16); stroke-width: 5; }
.rw-wire { stroke: var(--rw-ok); stroke-width: 2; stroke-dasharray: 7 8; filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.45)); animation: rw-flow 0.95s linear infinite; }
.rw-wire--bidi { stroke: var(--rw-bidi); stroke-width: 2; stroke-dasharray: 4 10; filter: drop-shadow(0 0 3px rgba(244, 114, 182, 0.6)); animation: rw-flow-rev 1.2s linear infinite; }
.rw-center { position: relative; align-self: center; min-width: 0; }
.rw-rock {
    justify-content: center; min-height: 128px; padding: 14px 16px 0; overflow: hidden; text-align: center;
    border-color: rgba(52, 211, 153, 0.75); background: linear-gradient(180deg, #1c2d52, #152238);
    box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.35), 0 8px 28px rgba(52, 211, 153, 0.22);
}
.rw-ha-banner { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 12px -16px 0; padding: 7px 10px; background: #34d399; color: #052e1a; font-size: 11px; letter-spacing: 0.08em; }
.rw-ha-banner i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #052e1a; animation: rw-ha-pulse 1.2s ease-in-out infinite; }
.rw-ha-banner b { font-weight: 800; }
.rw-ha-banner em { font-style: normal; font-weight: 650; letter-spacing: 0.03em; opacity: 0.75; white-space: nowrap; }
.rw-ha { position: absolute; top: calc(100% + 24px); right: 0; left: 0; padding-top: 0; border-color: rgba(251, 191, 36, 0.6); }
.rw-ha::before {
    content: ''; position: absolute; top: -25px; left: 50%; width: 2px; height: 24px; margin-left: -1px;
    background: repeating-linear-gradient(180deg, #34d399 0 6px, transparent 6px 12px); background-size: 2px 12px;
    filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.5)); animation: rw-vflow 0.8s linear infinite;
}
.rw-ha-flag { margin: 0 -10px 7px; padding: 5px 8px; border-radius: 9px 9px 0 0; background: #fbbf24; color: #3b2a05; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-align: center; }
.rw-ha-topo { flex: none; padding: 1px 6px; border: 1px solid var(--rw-line); border-radius: 6px; color: var(--rw-muted); font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.rw-ha-state { margin-top: 3px; color: var(--rw-ok); font-size: 11.5px; font-weight: 700; }
.rw-rock .rw-l1 { justify-content: center; gap: 8px; }
.rw-rock img { width: 30px; height: auto; padding: 2px; border-radius: 6px; background: #fff; }
.rw-rock .rw-name { flex: none; font-size: 17px; }
.rw-anals { display: grid; grid-template-rows: 1fr 2fr 2fr 1fr; }
.rw-anal { align-self: center; }
.rw-anal:first-child { grid-row: 2; }
.rw-anal:last-child { grid-row: 3; }
.rw-ticker { display: flex; flex-direction: column; gap: 2px; padding: 7px 12px 9px; border-top: 1px solid var(--rw-line); background: rgba(7, 11, 20, 0.55); }
.rw-ev { display: grid; grid-template-columns: 38px 34px 30px minmax(0, 1fr) minmax(0, 90px); gap: 10px; align-items: center; padding: 2px 6px; border-radius: 5px; }
.rw-ev span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw-ago { color: var(--rw-muted); font-variant-numeric: tabular-nums; }
.rw-drv { color: var(--rw-accent); font: 700 12px ui-monospace, Menlo, monospace; }
.rw-code { font: 800 12px ui-monospace, Menlo, monospace; }
.rw-zone { color: var(--rw-muted); text-align: right; }
.rw-ev--alarm { background: rgba(248, 113, 113, 0.12); }
.rw-ev--alarm .rw-code { color: var(--rw-danger); }
.rw-ev--arm .rw-code { color: var(--rw-arm); }
.rw-ev--disarm .rw-code { color: var(--rw-ok); }
.rw-ev:first-child { animation: rw-flash 3.2s ease-out infinite; }
.rock-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.rock-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.rock-legend i { width: 22px; height: 3px; border-radius: 2px; }
.rock-legend__up { background: #34d399; }
.rock-legend__bidi { background: repeating-linear-gradient(90deg, #f472b6 0 4px, transparent 4px 8px); }
.rock-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.rock-points li { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius); background: #fff; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.rock-points strong { color: var(--text); font-size: 18px; }
.rock-points__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 12px; background: #0d1422; color: #6aa8ff; }
.rock__badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-top: 40px; text-align: center; }
.rock__badges > span { flex-basis: 100%; color: var(--muted); font-size: 14px; font-weight: 700; }
.rock__badges .chips { justify-content: center; }
.rock-legend__ha { background: #fbbf24; }
@keyframes rw-flow { to { stroke-dashoffset: -15; } }
@keyframes rw-vflow { to { background-position: 0 12px; } }
@keyframes rw-ha-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.75); } }
@keyframes rw-flow-rev { to { stroke-dashoffset: 14; } }
@keyframes rw-flash { 0% { background-color: rgba(106, 168, 255, 0.32); } 30%, 100% { background-color: rgba(248, 113, 113, 0.12); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .hero__slide.is-active .hero__photo, .hero__slide.is-active .hero__copy > *, .hero__slide.is-active .hero__screen img { animation: none; }
    .app-win, .app-win * { animation: none !important; }
    .rw * { animation: none !important; }
    .js .unify__modules li { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-height: 820px) {
    .hero { padding-top: calc(var(--header-h) + 56px); }
    .hero__title { font-size: clamp(44px, 5vw, 72px); margin-bottom: 20px; }
    .hero__lead { font-size: 19px; margin-bottom: 24px; }
    .hero__tabs { margin-top: 32px; }
    .hero-tab { gap: 14px; }
}

@media (max-width: 1280px) {
    .hero__ui { right: 5%; transform: translateY(-58%) scale(0.8); transform-origin: right center; }
    .site-nav__link { padding: 8px 9px; }
    .apps { grid-template-columns: repeat(2, 1fr); }
    .features--4, .plans, .audiences, .migration, .products { grid-template-columns: repeat(2, 1fr); }
    .migration__step:not(:last-child)::after { display: none; }
    .arch { grid-template-columns: 1fr 1fr; gap: 16px; }
    .arch__flow { display: none; }
}

@media (max-width: 1024px) {
    :root { --header-h: 60px; }
    .nav-toggle { display: inline-flex; }
    .site-header__tools { margin-left: auto; }
    .site-nav {
        position: fixed; z-index: 1; left: 8px; right: 8px; top: calc(var(--header-h) + 16px); bottom: 8px; margin: 0;
        flex: none; flex-direction: column; align-items: stretch; gap: 24px; padding: 20px;
        border-radius: var(--radius-lg); background: #fff; color: var(--text); box-shadow: var(--shadow);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
        overflow-y: auto;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .site-nav__list { flex-direction: column; gap: 2px; }
    .site-nav__link { padding: 14px 12px; font-size: 20px; }
    .site-nav__link.is-active::after { display: none; }
    .site-nav__link.is-active { background: var(--gray-100); }
    .site-nav__cta { margin-left: 0; min-height: 48px; }
    body.nav-open { overflow: hidden; }

    .hero { min-height: 0; padding-top: calc(var(--header-h) + 80px); }
    .hero__photo { background-position: 75% center; }
    .hero__photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.7) 100%); }
    .hero-tabs { min-width: 0; grid-template-columns: repeat(5, minmax(190px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; }
    .hero__ui, .hero__screen { display: none; }
    .hero__slide--core .hero__copy { max-width: 940px; }
    .hero__slide--core .hero__title { font-size: clamp(44px, 4.3vw, 80px); }
    .hero__copy { max-width: 940px; }
    .carousel__btn { display: none !important; }
    .hero-tab { scroll-snap-align: start; }
    .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .story, .two-cols, .contact { grid-template-columns: 1fr; gap: 40px; }
    .contact__aside { position: static; }
    .offers, .features--3, .modules-grid, .integrations { grid-template-columns: repeat(2, 1fr); }
    .rock-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rw-kpi:nth-child(3) { display: none; }
    .unify { grid-template-columns: 1fr; }
    .unify__arrow { padding: 14px 0; }
    .unify__arrow .icon { transform: rotate(90deg); }
    .banner { min-height: 480px; }
    .banner::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.65) 100%); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .page-hero__media { height: 280px; margin-top: 36px; }
    .unify__before, .unify__after { padding: 20px 16px; }
    .unify__mess { gap: 10px; }
    .unify__app-body { padding: 8px; font-size: 13px; }
    .unify__modules { gap: 8px; padding: 12px; }
    .unify__modules li { gap: 8px; padding: 9px; font-size: 14px; }
    .unify__modules .app-icon { width: 26px; height: 26px; }
    .app-strip { margin-top: 32px; gap: 4px; }
    .app-strip a { width: calc(25% - 3px); padding: 12px 2px; font-size: 12px; }
    .app-strip .app-icon { width: 52px; height: 52px; }
    .catalogue-bar { border-radius: var(--radius-lg); }
    .section { padding: 76px 0; }
    .section--tight { padding: 44px 0; }
    .section--flush { padding: 0 0 76px; }
    .container { width: calc(100% - 32px); }
    .site-header__inner { padding: 0 8px 0 14px; }
    .brand__eloa { height: 28px; }
    .brand__wmtac { height: 26px; }
    .hero__lead, .page-hero__lead { font-size: 18px; }
    .page-hero { padding-top: calc(var(--header-h) + 72px); }
    .tiles { grid-template-columns: repeat(5, 78%); }
    .stats, .apps, .features--3, .features--4, .offers, .modules-grid, .integrations, .story__figures, .plans, .audiences, .migration, .products { grid-template-columns: 1fr; }
    .plans__note { align-items: flex-start; text-align: left; }
    .plan__profile { min-height: 0; }
    .app-card { min-height: 0; }
    .console__body, .console__contacts, .console__actions { grid-template-columns: 1fr; }
    .console__queue { border-right: 0; border-bottom: 1px solid var(--border); }
    .console__contact + .console__contact { border-left: 0; }
    .console__btn { border-right: 0; }
    .console__statuses { display: none; }
    .rock-head__logo { height: 96px; }
    .rock-points { grid-template-columns: 1fr; margin-top: 36px; }
    .rw-head { flex-wrap: wrap; }
    .rw-kpis { order: 3; flex-basis: 100%; justify-content: space-between; gap: 6px; }
    .rw-kpi { min-width: 0; flex: 1; }
    .rw-kpi:nth-child(3) { display: block; }
    .rw-wall { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
    .rw-wires { display: none; }
    .rw-stack { grid-auto-rows: auto; }
    .rw-center { align-self: auto; }
    .rw-ha { position: relative; top: auto; margin-top: 24px; }
    .rw-center, .rw-anals { position: relative; }
    .rw-center::before, .rw-anals::before { content: ''; position: absolute; left: 50%; top: -12px; width: 2px; height: 12px; background: repeating-linear-gradient(180deg, #34d399 0 4px, transparent 4px 8px); }
    .rw-anals { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 8px; }
    .rw-anal:first-child, .rw-anal:last-child { grid-row: auto; }
    .rw-ev { grid-template-columns: 34px 30px 28px minmax(0, 1fr); }
    .rw-zone { display: none; }
    .timeline::before { left: 18px; }
    .timeline__item { grid-template-columns: 1fr; gap: 12px; padding: 14px 0 14px 48px; }
    .timeline__year { position: relative; left: auto; top: auto; transform: none; justify-self: start; }
    .timeline__item:nth-child(odd) .timeline__card, .timeline__item:nth-child(even) .timeline__card { grid-column: 1; text-align: left; }
    .form-grid { grid-template-columns: 1fr; }
    .card { padding: 24px; }
    .banner__copy { padding: 40px 24px; }
    .banner__logo { height: 80px; margin-bottom: 22px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .legal-list { grid-template-columns: 1fr; gap: 2px; }
    .legal-list dd { margin-bottom: 12px; }
    .family-section__head { flex-direction: column; gap: 4px; }
}
