/* ==========================================================================
   LinkTec Studio — Landing premium (T-55)
   Refonte complète : hero adaptatif au thème, fond ambiant, cartes au
   design system LinkTec, captures réelles en grand, carrousel coverflow.
   Chargé APRÈS motion.css → surcharge le .studio-hero historique.
   Ne modifie PAS le système logo-marquee (motion.css).
   ========================================================================== */

/* ═══════════════════════════════════════════════════════════════════════════
   0. FOND AMBIANT — halos gold doux derrière toute la page (plus de vide)
   studio.css n'est chargé que sur /studio → body ciblé sans risque ailleurs.
   ═══════════════════════════════════════════════════════════════════════════ */

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(58% 48% at 88% 2%, rgba(180, 142, 103, 0.12), transparent 60%),
        radial-gradient(50% 44% at 2% 30%, rgba(180, 142, 103, 0.08), transparent 60%),
        radial-gradient(60% 50% at 50% 102%, rgba(180, 142, 103, 0.07), transparent 60%);
}
[data-theme="light"] body::before {
    background:
        radial-gradient(58% 48% at 88% 2%, rgba(180, 142, 103, 0.14), transparent 60%),
        radial-gradient(50% 44% at 2% 30%, rgba(180, 142, 103, 0.09), transparent 60%),
        radial-gradient(60% 50% at 50% 102%, rgba(180, 142, 103, 0.06), transparent 60%);
}

/* Filet de séparation doux entre grandes sections */
.studio-divider {
    height: 1px;
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, var(--border-primary), transparent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   1. HERO PLEIN ÉCRAN — adaptatif au thème (dark = défaut, light = override)
   Réutilise .hero-canvas / .hero-radial / .hero-vignette + hero-constellation.js
   ═══════════════════════════════════════════════════════════════════════════ */

.studio-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(80px + var(--space-12)) var(--gutter) var(--space-20);
    overflow: hidden;
    isolation: isolate;
    /* DARK (référence) */
    background: radial-gradient(125% 125% at 50% -10%, #1c1c1e 0%, var(--c-ink-900) 58%, #0b0b0d 100%);
    --hero-fg: #ffffff;
    --hero-fg-soft: rgba(255, 255, 255, 0.74);
    --hero-fg-mute: rgba(255, 255, 255, 0.55);
    --hero-line: rgba(255, 255, 255, 0.14);
    --hero-bubble-bg: rgba(255, 255, 255, 0.08);
    --hero-bubble-bd: rgba(255, 255, 255, 0.14);
    --hero-edge: var(--c-ink-900);
}
/* LIGHT — même finition haut de gamme, texte sombre */
[data-theme="light"] .studio-hero {
    background: radial-gradient(125% 125% at 50% -10%, #ffffff 0%, var(--bg-primary) 55%, #efeae3 100%);
    --hero-fg: #1c1c1e;
    --hero-fg-soft: rgba(28, 28, 30, 0.72);
    --hero-fg-mute: rgba(28, 28, 30, 0.55);
    --hero-line: rgba(28, 28, 30, 0.12);
    --hero-bubble-bg: rgba(28, 28, 30, 0.04);
    --hero-bubble-bd: rgba(28, 28, 30, 0.10);
    --hero-edge: var(--bg-primary);
}

.studio-hero::before { content: none; }

/* Fondu bas vers le fond de page (transition douce vers le marquee) */
.studio-hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 220px;
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(to bottom in oklab,
        transparent 0%,
        color-mix(in oklab, var(--bg-primary) 25%, transparent) 55%,
        color-mix(in oklab, var(--bg-primary) 70%, transparent) 82%,
        var(--bg-primary) 100%);
}

.studio-hero .hero-vignette {
    background: radial-gradient(ellipse 125% 92% at 50% 48%,
        transparent 32%,
        color-mix(in oklab, var(--hero-edge) 28%, transparent) 60%,
        color-mix(in oklab, var(--hero-edge) 70%, transparent) 82%,
        var(--hero-edge) 100%);
}
.studio-hero .hero-radial { opacity: 0.7; }

.studio-hero .hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.studio-hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.6875rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: var(--hero-fg-mute);
    margin-bottom: var(--space-6);
}
.studio-hero .hero-eyebrow::before,
.studio-hero .hero-eyebrow::after {
    content: '';
    width: 26px; height: 1px;
    background: rgba(180, 142, 103, 0.55);
}

.studio-hero .hero-title {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--hero-fg);
    margin: 0 0 var(--space-5);
    text-wrap: balance;
}
.studio-hero .hero-title .word { display: inline-block; will-change: transform, filter, opacity; }
.studio-hero .hero-title .grad {
    background: linear-gradient(100deg, #e7c79c, #b48e67);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
[data-theme="light"] .studio-hero .hero-title .grad {
    background: linear-gradient(100deg, #b48e67, #8f6f4c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.studio-hero .hero-sub {
    font-size: var(--text-lg);
    line-height: 1.6;
    color: var(--hero-fg-soft);
    max-width: 58ch;
    margin: 0 auto var(--space-5);
}

.studio-hero .hero-stat {
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--hero-fg);
    margin: 0 0 var(--space-8);
}
.studio-hero .hero-stat strong { color: var(--color-gold); font-weight: 700; }
.studio-hero .hero-stat .bolt { color: var(--color-gold); margin-right: 4px; }

.studio-hero .hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}
.studio-hero .hero-cta .btn-ghost {
    color: var(--hero-fg);
    border-color: var(--hero-line);
}
.studio-hero .hero-cta .btn-ghost:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.studio-hero .hero-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-4);
    padding: 0;
    margin: 0 0 var(--space-10);
    max-width: 640px;
}
.studio-hero .hero-trust li {
    position: relative;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--hero-fg-mute);
    padding-left: var(--space-4);
}
.studio-hero .hero-trust li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--color-gold);
}

/* ── Démo Speed-to-Lead : bulles flottantes, AUCUN cadre ── */
.studio-hero .hero-demo {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.studio-hero .hero-demo::before {
    content: '';
    position: absolute;
    inset: -18% -12%;
    z-index: -1;
    background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(180, 142, 103, 0.18), transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}
.studio-hero .demo-row { display: flex; }
.studio-hero .demo-row.right { justify-content: flex-end; }

.studio-hero .bubble {
    max-width: 84%;
    padding: 12px 15px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.45;
    text-align: left;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.45);
}
.studio-hero .bubble small {
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 4px;
}
.studio-hero .bubble.client {
    background: var(--hero-bubble-bg);
    border: 1px solid var(--hero-bubble-bd);
    color: var(--hero-fg);
    border-bottom-left-radius: 4px;
}
.studio-hero .bubble.agent {
    background: linear-gradient(180deg, rgba(199, 154, 112, 0.95), rgba(180, 142, 103, 0.92));
    color: #1c1c1e;
    border-bottom-right-radius: 4px;
}
.studio-hero .bubble.agent small { opacity: 0.7; }

.studio-hero .typed::after {
    content: '';
    display: inline-block;
    width: 2px; height: 1em;
    margin-left: 1px;
    vertical-align: text-bottom;
    background: currentColor;
    animation: stl-caret 0.9s steps(1) infinite;
}
@keyframes stl-caret { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.studio-hero .demo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}
.studio-hero .chip {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-gold);
    padding: 4px 10px;
    border: 1px solid rgba(180, 142, 103, 0.4);
    border-radius: var(--radius-full);
    background: rgba(180, 142, 103, 0.08);
    white-space: nowrap;
}
.studio-hero .demo-send {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
    flex-wrap: wrap;
}
.studio-hero .send-btn {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 9px 16px;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #c79a70, #b48e67);
    color: #1c1c1e;
    cursor: default;
    box-shadow: 0 6px 18px -8px rgba(180, 142, 103, 0.8);
}
.studio-hero .sent-flag {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #3f9b54;
    white-space: nowrap;
}
[data-theme="dark"] .studio-hero .sent-flag,
:root:not([data-theme="light"]) .studio-hero .sent-flag { color: #9fd6a0; }

.studio-hero .hero-scroll {
    position: absolute;
    left: 50%; bottom: 26px;
    transform: translateX(-50%);
    z-index: 11;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--hero-fg-mute);
    text-decoration: none;
    animation: stl-bob 2s ease-in-out infinite;
}
.studio-hero .hero-scroll:hover { color: var(--color-gold); }
@keyframes stl-bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* Anti-FOUC (gaté par gsap-ready ; absent en reduced-motion → tout visible) */
body.gsap-ready .studio-hero .hero-eyebrow,
body.gsap-ready .studio-hero .hero-sub,
body.gsap-ready .studio-hero .hero-stat,
body.gsap-ready .studio-hero .hero-cta,
body.gsap-ready .studio-hero .hero-trust { opacity: 0; }
body.gsap-ready .studio-hero .hero-title .word { opacity: 0; }
body.gsap-ready .studio-hero .demo-step { opacity: 0; }
.studio-hero .sent-flag { opacity: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   2. BANDEAU PREUVE / CONFORMITÉ — intégré, bien aéré, sous le marquee
   ═══════════════════════════════════════════════════════════════════════════ */

.studio-proof-band {
    padding: var(--space-20) 0 var(--space-16);
}
.proof-band-list {
    list-style: none;
    margin: 0 auto;
    padding: var(--space-5) var(--space-6);
    max-width: 1040px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-3) var(--space-6);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-full);
    background: color-mix(in oklab, var(--card-bg) 70%, transparent);
    backdrop-filter: blur(6px);
}
.proof-band-list li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}
.proof-band-list li:not(:last-child)::after {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--color-gold);
    opacity: 0.5;
    margin-left: var(--space-3);
}
.proof-band-list svg { width: 18px; height: 18px; color: var(--color-gold); flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   3. VISION — phrase + 3 piliers (Capter / Qualifier / Répondre)
   ═══════════════════════════════════════════════════════════════════════════ */

.vision-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 980px;
    margin: var(--space-16) auto 0;
}
.vision-pillar {
    text-align: center;
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-xl);
    background: color-mix(in oklab, var(--card-bg) 60%, transparent);
    border: 1px solid var(--card-border);
}
.vision-pillar .pillar-num {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--color-gold);
    display: block;
    margin-bottom: var(--space-3);
}
.vision-pillar h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin: 0 0 var(--space-2);
}
.vision-pillar p { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   4. CARTES — alignées sur le design system LinkTec (pilliers home)
   Surcharge premium des .studio-feature-card / agents / control / sectors.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Cartes fonctionnalités — calquées sur .pillar-card de la home, plus aérées */
.studio-feature-card {
    position: relative;
    padding: var(--space-10) var(--space-8);
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}
.control-card {
    position: relative;
    padding: var(--space-8) var(--space-7);
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}
.studio-feature-card:hover,
.control-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold-lg);
    border-color: var(--color-gold);
}

.studio-feature-card .feature-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-lg);
    background: var(--color-gold-glow);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-6);
    color: var(--color-gold);
}
.studio-feature-card .feature-icon svg { width: 28px; height: 28px; }
.control-card .feature-icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-lg);
    background: var(--color-gold-glow);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--space-5);
    color: var(--color-gold);
}
.control-card .feature-icon svg { width: 24px; height: 24px; }

.studio-feature-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin: 0 0 var(--space-3);
    display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap;
}
.studio-feature-card p { color: var(--text-secondary); font-size: var(--text-base); line-height: 1.7; margin: 0; }

.control-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin: 0 0 var(--space-2);
    display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap;
}
.control-card p { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.7; margin: 0; }

/* Badge roadmap/beta dans les titres — discret & cohérent */
.studio-feature-card h3 .badge-beta,
.control-card h3 .badge-beta {
    font-size: 0.55rem !important;
    background: transparent;
    color: var(--color-gold);
    border: 1px solid rgba(180,142,103,0.5);
    padding: 2px 7px;
    margin-left: 0;
}

/* Grille features : 3 colonnes (design home), responsive sans trou (6 cartes) */
.studio-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}
@media (max-width: 1024px) { .studio-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .studio-features-grid { grid-template-columns: 1fr; } }

/* Badge Roadmap/Beta dans les cartes sv2 — discret & cohérent */
.sv2-module-card h3 .badge-beta {
    font-size: 0.55rem;
    background: transparent;
    color: var(--color-gold);
    border: 1px solid rgba(180, 142, 103, 0.5);
    padding: 2px 7px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ═══════════════════════════════════════════════════════════════════════════
   5. CAPTURES RÉELLES — composant figure GRAND format (lisible)
   ═══════════════════════════════════════════════════════════════════════════ */

.studio-shot {
    position: relative;
    margin: 0;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.55), var(--shadow-lg);
}
.studio-shot img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.studio-shot figcaption {
    padding: var(--space-3) var(--space-4);
    border-top: 1px solid var(--card-border);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}
.studio-shot .img-light { display: none; }
.studio-shot .img-dark { display: block; }
[data-theme="light"] .studio-shot .img-dark { display: none; }
[data-theme="light"] .studio-shot .img-light { display: block; }

/* Showcase pleine largeur (captures GRANDES & lisibles) */
.studio-showcase { padding: var(--space-12) 0; }
.studio-shot.shot-xl { max-width: 1080px; margin: 0 auto; }

.studio-shot-gallery { display: grid; gap: var(--space-8); margin-top: var(--space-12); }
.studio-shot-gallery.cols-1 { grid-template-columns: 1fr; max-width: 1040px; margin-left: auto; margin-right: auto; }
.studio-shot-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .studio-shot-gallery.cols-2 { grid-template-columns: 1fr; } }

/* Halo gold derrière les grandes captures (détache du fond) */
.studio-shot.shot-xl::after,
.studio-shot-gallery.cols-1 .studio-shot::after {
    content: '';
    position: absolute;
    inset: auto 10% -24px 10%;
    height: 60px;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(180,142,103,0.35), transparent 70%);
    filter: blur(26px);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   6. SPLITS — repensés : intro centrée + GRANDE capture en dessous
   ═══════════════════════════════════════════════════════════════════════════ */

.studio-split .container {
    display: flex;
    flex-direction: column;
    max-width: 1080px;
    gap: 0;
}
.studio-split.split-reverse .container { direction: ltr; }
/* Lecture cohérente partout : intro d'abord, grande capture ensuite */
.studio-split .split-content { order: 1; }
.studio-split .split-visual { order: 2; }
.studio-split .split-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-10);
}
.studio-split .split-content > p { margin-left: auto; margin-right: auto; max-width: 620px; }
.studio-split .split-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-3);
    margin-top: var(--space-6);
}
.studio-split .split-features li {
    background: color-mix(in oklab, var(--card-bg) 70%, transparent);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    font-size: var(--text-sm);
}
.studio-split .split-visual { width: 100%; }
.studio-split .split-visual .studio-shot { max-width: 1040px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   7. « CONÇU POUR CHAQUE BUSINESS » — carrousel coverflow premium
   ═══════════════════════════════════════════════════════════════════════════ */

.studio-sectors { padding: var(--space-24) 0; position: relative; overflow: hidden; }

.sector-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    margin: var(--space-8) auto var(--space-12);
    max-width: 920px;
    padding: 0;
    list-style: none;
}
.sector-pills li { display: inline-flex; }
.sector-pill {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 18px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-full);
    background: color-mix(in oklab, var(--card-bg) 60%, transparent);
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}
.sector-pill:hover { border-color: var(--color-gold); color: var(--text-primary); transform: translateY(-1px); }
.sector-pill.is-active {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-color: var(--color-gold);
    color: #fff;
    box-shadow: var(--shadow-gold);
}
.sector-pill:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }

.sectors-viewport { position: relative; max-width: 1100px; margin: 0 auto; outline: none; }

/* Fallback (no-JS / reduced-motion) : rangée scrollable scroll-snap */
.sectors-track {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: var(--space-4) var(--gutter) var(--space-6);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.sector-card { flex: 0 0 clamp(280px, 82vw, 380px); scroll-snap-align: center; box-sizing: border-box; }

/* Mode coverflow activé par JS */
.sectors-viewport.is-coverflow { perspective: 1700px; height: clamp(500px, 66vh, 580px); overflow: hidden; }
.is-coverflow .sectors-track { display: block; overflow: visible; height: 100%; padding: 0; transform-style: preserve-3d; }
.is-coverflow .sector-card {
    position: absolute;
    left: 50%; top: 50%;
    width: clamp(300px, 40vw, 400px);
    transform: translate(-50%, -50%)
               translateX(var(--tx, 0))
               translateZ(var(--tz, 0))
               rotateY(var(--ry, 0deg))
               scale(var(--sc, 1));
    opacity: var(--op, 1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.is-coverflow { cursor: grab; }
.is-coverflow.is-grabbing { cursor: grabbing; }

/* Carte secteur — premium */
.sector-card {
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5);
    text-align: left;
}
.sector-convo { padding: var(--space-5); }
.is-coverflow .sector-card[aria-hidden="false"] { border-color: rgba(180,142,103,0.4); }
.sector-card-head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.sector-card-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(180,142,103,0.22), rgba(180,142,103,0.08));
    border: 1px solid rgba(180,142,103,0.25);
    color: var(--color-gold);
    display: flex; align-items: center; justify-content: center;
}
.sector-card-icon svg { width: 22px; height: 22px; }
.sector-card-label {
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.sector-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 var(--space-5);
    color: var(--text-primary);
}
.sector-convo {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    margin-bottom: var(--space-5);
}
.sector-bubble { max-width: 88%; padding: 9px 13px; border-radius: 14px; font-size: 0.8125rem; line-height: 1.4; }
.sector-bubble.client { align-self: flex-start; background: var(--bg-tertiary); color: var(--text-secondary); border-bottom-left-radius: 4px; }
.sector-bubble.agent { align-self: flex-end; background: linear-gradient(180deg, #c79a70, #b48e67); color: #1c1c1e; border-bottom-right-radius: 4px; }
.sector-meta { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: 2px; font-size: 0.6875rem; color: var(--text-muted); }
.sector-meta .dot { color: #58b368; font-size: 0.9em; }
.sector-metric { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--text-primary); font-weight: 600; }
.sector-metric .arrow { color: var(--color-gold); font-size: 1.1em; }
.sector-metric .ex {
    font-size: 0.625rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--text-muted); border: 1px solid var(--card-border); border-radius: var(--radius-full);
    padding: 1px 8px; margin-left: auto;
}

.sectors-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-top: var(--space-10); }
.sector-arrow {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-primary);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.sector-arrow:hover { border-color: var(--color-gold); color: var(--color-gold); box-shadow: var(--shadow-gold); }
.sector-arrow:active { transform: scale(0.94); }
.sector-arrow:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.sector-arrow svg { width: 20px; height: 20px; }
.sectors-live { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   8. SPEED-TO-LEAD EN DÉTAIL — étapes + grande capture
   ═══════════════════════════════════════════════════════════════════════════ */

.studio-stl { padding: var(--space-24) 0; position: relative; }
.stl-chrono {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-5);
    padding: 7px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(180, 142, 103, 0.4);
    background: var(--color-gold-glow);
    color: var(--color-gold);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
}
.stl-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); counter-reset: stl; position: relative; }
.stl-step {
    position: relative;
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
}
.stl-step::before {
    counter-increment: stl;
    content: "0" counter(stl);
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-gold);
    opacity: 0.28;
    display: block;
    margin-bottom: var(--space-2);
}
.stl-step h3 { font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; margin: 0 0 var(--space-2); }
.stl-step p { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.6; margin: 0; }
.stl-step .stl-tag {
    display: inline-block;
    margin-top: var(--space-3);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--color-gold);
}

/* ═══════════════════════════════════════════════════════════════════════════
   9. CONFORMITÉ & CONTRÔLE
   ═══════════════════════════════════════════════════════════════════════════ */

.studio-control { padding: var(--space-24) 0; position: relative; }
.control-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); margin-bottom: var(--space-12); }
.autonomy-scale { border-radius: var(--radius-2xl); border: 1px solid var(--card-border); background: var(--bg-secondary); padding: var(--space-8); }
.autonomy-scale h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; text-align: center; margin: 0 0 var(--space-6); }
.autonomy-levels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); counter-reset: auto-lvl; }
.autonomy-levels li { position: relative; padding: var(--space-4) var(--space-3); border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); text-align: center; }
.autonomy-levels li::before {
    counter-increment: auto-lvl;
    content: counter(auto-lvl);
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
    margin-bottom: var(--space-2);
    border-radius: 50%;
    background: var(--color-gold-glow);
    color: var(--color-gold);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-sm);
}
.autonomy-levels strong { display: block; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; margin-bottom: 2px; }
.autonomy-levels span { font-size: 0.6875rem; color: var(--text-muted); line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════════════════════
   10. WORKFLOW « Comment ça marche » — captures réelles dans chaque étape
   ═══════════════════════════════════════════════════════════════════════════ */

.studio-workflow .workflow-step-visual .studio-shot { box-shadow: 0 30px 70px -38px rgba(0,0,0,0.5), var(--shadow-md); }

/* ═══════════════════════════════════════════════════════════════════════════
   11. PREUVE MULTILINGUE
   ═══════════════════════════════════════════════════════════════════════════ */

.studio-multilingual { padding: var(--space-24) 0; position: relative; }
.lang-bubbles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); margin-top: var(--space-10); }
.lang-bubble { padding: var(--space-6); border-radius: var(--radius-xl); background: var(--card-bg); border: 1px solid var(--card-border); }
.lang-bubble .lang-flag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-3);
}
.lang-bubble p { font-size: var(--text-base); line-height: 1.5; color: var(--text-primary); margin: 0; }
.lang-bubble[dir="rtl"] { text-align: right; }
.lang-bubble[dir="rtl"] .lang-flag { letter-spacing: 0; }

/* ═══════════════════════════════════════════════════════════════════════════
   12. BETA / CTA FINAL — section unique (dédoublonnée)
   ═══════════════════════════════════════════════════════════════════════════ */

.studio-cta-final { padding: var(--space-24) 0 var(--space-32); }
.studio-cta-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-16) var(--space-8);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(180,142,103,0.35);
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(180,142,103,0.14), transparent 60%),
        var(--card-bg);
    box-shadow: var(--shadow-xl);
}
.cta-beta-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2) var(--space-5);
    padding: 0;
    margin: 0 0 var(--space-6);
}
.cta-beta-badges li {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}
.cta-beta-badges li::before { content: '✓'; color: var(--color-gold); font-weight: 700; }
.studio-cta-inner h2 { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: 700; margin: 0 0 var(--space-3); }
.studio-cta-inner > p { color: var(--text-secondary); margin: 0 auto var(--space-8); line-height: 1.7; max-width: 520px; }
.studio-legal-notice { font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--space-4); line-height: 1.5; }
.studio-legal-notice a { color: var(--color-gold); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════════════════
   13. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .stl-steps { grid-template-columns: repeat(2, 1fr); }
    .control-grid { grid-template-columns: repeat(2, 1fr); }
    .autonomy-levels { grid-template-columns: repeat(3, 1fr); }
    .lang-bubbles { grid-template-columns: repeat(2, 1fr); }
    .vision-pillars { gap: var(--space-4); }
}

@media (max-width: 767px) {
    .studio-hero { padding-top: calc(70px + var(--space-10)); padding-bottom: var(--space-16); }
    .studio-hero .hero-canvas { display: none; } /* perf/batterie mobile */
    .studio-hero .hero-title { font-size: clamp(2rem, 8.5vw, 2.8rem); }
    .studio-hero .hero-cta { flex-direction: column; width: 100%; max-width: 320px; }
    .studio-hero .hero-cta .btn { width: 100%; }
    .studio-hero .hero-scroll { display: none; }
    .studio-hero .bubble { max-width: 92%; }

    .proof-band-list { border-radius: var(--radius-2xl); gap: var(--space-2) var(--space-4); }
    .proof-band-list li:not(:last-child)::after { display: none; }

    .vision-pillars { grid-template-columns: 1fr; }
    .stl-steps { grid-template-columns: 1fr; }
    .control-grid { grid-template-columns: 1fr; }
    .autonomy-levels { grid-template-columns: repeat(2, 1fr); }
    .lang-bubbles { grid-template-columns: 1fr; }
    .autonomy-scale { padding: var(--space-5); }
    .sector-pill { font-size: var(--text-xs); padding: 6px 12px; }
    .studio-cta-inner { padding: var(--space-10) var(--space-5); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   14. PREFERS-REDUCED-MOTION — états finaux statiques
   ═══════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    .studio-hero .hero-title .word,
    .studio-hero .demo-step { opacity: 1 !important; }
    .studio-hero .sent-flag { opacity: 1 !important; }
    .studio-hero .typed::after { display: none; }
    .studio-hero .hero-scroll { animation: none; }
    .sector-card { transition: none !important; }
    .studio-feature-card, .control-card { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   15. RTL — surcharges arabe (T-57)
   Chargé via <html dir="rtl"> + css/rtl.css. Les layouts flex/grid suivent déjà
   la direction du document ; on ne corrige ici que les détails physiques
   (text-align, coins de bulles, marges auto, défilement du marquee).
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero : bulle « agent » à gauche (géré par flex-end → flip auto). Texte aligné. */
html[dir="rtl"] .studio-hero .bubble { text-align: right; }
html[dir="rtl"] .studio-hero .bubble.client { border-bottom-left-radius: 16px; border-bottom-right-radius: 4px; }
html[dir="rtl"] .studio-hero .bubble.agent { border-bottom-right-radius: 16px; border-bottom-left-radius: 4px; }
html[dir="rtl"] .studio-hero .typed::after { margin-left: 0; margin-right: 1px; }
html[dir="rtl"] .studio-hero .hero-trust li::before { margin-right: 0; }

/* Carrousel secteurs : bulles, coins et tag « exemple » côté lecture inversé. */
html[dir="rtl"] .sector-bubble.client { border-bottom-left-radius: 14px; border-bottom-right-radius: 4px; }
html[dir="rtl"] .sector-bubble.agent { border-bottom-right-radius: 14px; border-bottom-left-radius: 4px; }
html[dir="rtl"] .sector-metric .ex { margin-left: 0; margin-right: auto; }

/* Flèches du carrousel : pointent vers le sens de lecture (RTL). */
html[dir="rtl"] .sector-arrow svg { transform: scaleX(-1); }

/* Marquee intégrations : le défilement reste LTR (logos = marques). */
html[dir="rtl"] .marquee-track { direction: ltr; }

/* Bulles multilingues : les langues latines restent LTR sur une page RTL. */
html[dir="rtl"] .lang-bubble:not([dir="rtl"]) { direction: ltr; text-align: left; }
