        /* =========================================================
           DIGISCALE-PRO — ACCUEIL
           PALETTE OFFICIELLE
        ========================================================= */

        :root {
            --black: #01030A;
            --blue-black: #020713;
            --blue-dark: #041126;
            --blue: #071A36;

            --gold-shadow: #806217;
            --gold-dark: #A88322;
            --gold: #C6A23A;
            --gold-light: #E4C96A;
            --gold-white: #F5E7AE;

            --white: #FFFFFF;
            --text: #E9EBF0;
            --muted: #9299A7;

            --page-bg: #020713;
            --surface: rgba(4, 17, 38, .88);
            --surface-strong: rgba(7, 26, 54, .96);
            --border: rgba(198, 162, 58, .18);
            --border-strong: rgba(228, 201, 106, .32);

            --shadow:
                0 25px 80px rgba(1, 3, 10, .58);

            --radius: 18px;
            --transition: .25s ease;
        }

        /* =========================================================
           MODE CLAIR
        ========================================================= */

        html[data-theme="light"] {
            --page-bg: #F7F7F4;

            --surface: rgba(255, 255, 255, .90);
            --surface-strong: rgba(255, 255, 255, .97);

            --text: #071A36;
            --muted: #596476;

            --border: rgba(7, 26, 54, .10);
            --border-strong: rgba(168, 131, 34, .30);

            --shadow:
                0 24px 60px rgba(4, 17, 38, .09);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            min-height: 100vh;

            background:
                radial-gradient(
                    circle at 80% 15%,
                    rgba(198, 162, 58, .08),
                    transparent 28%
                ),
                radial-gradient(
                    circle at 10% 50%,
                    rgba(7, 26, 54, .85),
                    transparent 38%
                ),
                var(--page-bg);

            color: var(--text);

            font-family:
                Inter,
                ui-sans-serif,
                system-ui,
                -apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                sans-serif;

            transition:
                background var(--transition),
                color var(--transition);
        }

        html[data-theme="dark"] body {
            background:
                radial-gradient(
                    circle at 82% 12%,
                    rgba(198, 162, 58, .085),
                    transparent 27%
                ),
                radial-gradient(
                    circle at 12% 45%,
                    rgba(7, 26, 54, .92),
                    transparent 42%
                ),
                linear-gradient(
                    145deg,
                    #01030A,
                    #020713 48%,
                    #041126
                );

            color: #E9EBF0;
        }

        html[data-theme="light"] body {
            background:
                radial-gradient(
                    circle at 86% 8%,
                    rgba(198, 162, 58, .055),
                    transparent 25%
                ),
                radial-gradient(
                    circle at 8% 45%,
                    rgba(233, 235, 240, .75),
                    transparent 35%
                ),
                linear-gradient(
                    145deg,
                    #FFFFFF,
                    #F8F8F6 52%,
                    #F1F2F3
                );

            color: #071A36;
        }

        html[data-theme="light"] body::before {
            background:
                linear-gradient(
                    115deg,
                    transparent 0%,
                    rgba(198, 162, 58, .018) 45%,
                    transparent 70%
                );
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: -1;

            background:
                linear-gradient(
                    115deg,
                    transparent 0%,
                    rgba(198, 162, 58, .018) 45%,
                    transparent 70%
                );
        }

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

        button,
        input {
            font: inherit;
        }

        button {
            cursor: pointer;
        }

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

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

        /* =========================================================
           HEADER
        ========================================================= */

        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;

            border-bottom: 1px solid var(--border);

            background:
                rgba(2, 7, 19, .90);

            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }

        html[data-theme="light"] .site-header {
            background: rgba(255, 255, 255, .90);
            border-bottom-color: rgba(7, 26, 54, .08);
        }

        .header-inner {
            min-height: 76px;

            display: flex;
            align-items: center;
            justify-content: space-between;

            gap: 24px;
        }

        /* =========================================================
           BRAND
        ========================================================= */

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 11px;

            flex-shrink: 0;
        }

        .brand-mark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: none;
    border-radius: 0;

    background: transparent;

    overflow: visible;

    box-shadow: none;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;

    padding: 0;

    object-fit: contain;
    object-position: center;

    background: transparent;
    border: none;
    border-radius: 0;

    box-shadow: none;
}

        html[data-theme="light"] .brand-mark {
            background:
                linear-gradient(
                    145deg,
                    rgba(198, 162, 58, .07),
                    #FFFFFF
                );

            border-color: rgba(168, 131, 34, .22);

            box-shadow:
                0 7px 22px rgba(4, 17, 38, .07);
        }

        .brand-mark img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 5px;
        }

        .brand-mark-placeholder {
            color: var(--gold-light);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .08em;
        }

        .brand-name {
            font-size: 17px;
            font-weight: 800;
            letter-spacing: -.02em;
            white-space: nowrap;
        }

        .brand-name-main {
            color: var(--text);
        }

        .brand-name-pro {
            color: var(--gold-light);
        }

        html[data-theme="light"] .brand-name-pro {
            color: var(--gold-dark);
        }

        /* =========================================================
           NAVIGATION
        ========================================================= */

        .main-nav {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 28px;

            margin-left: auto;
        }

        .nav-link {
            position: relative;

            color: var(--muted);

            font-size: 14px;
            font-weight: 600;

            transition:
                color var(--transition);
        }

        .nav-link::after {
            content: "";

            position: absolute;
            left: 0;
            bottom: -9px;

            width: 0;
            height: 1px;

            background:
                linear-gradient(
                    90deg,
                    var(--gold-dark),
                    var(--gold-light)
                );

            transition: width var(--transition);
        }

        .nav-link:hover {
            color: var(--gold-light);
        }

        html[data-theme="light"] .nav-link:hover {
            color: var(--gold-dark);
        }

        .nav-link:hover::after {
            width: 100%;
        }

        /* =========================================================
           HEADER ACTIONS
        ========================================================= */

        .header-actions {
            display: flex;
            align-items: center;
            gap: 9px;
        }

        .icon-button {
            width: 40px;
            height: 40px;

            border: 1px solid var(--border);
            border-radius: 50%;

            background: rgba(7, 26, 54, .72);
            color: var(--text);

            display: grid;
            place-items: center;

            transition:
                border-color var(--transition),
                background var(--transition),
                color var(--transition),
                transform var(--transition);
        }

        html[data-theme="light"] .icon-button {
            background: rgba(255, 255, 255, .90);
            color: #071A36;
            border-color: rgba(7, 26, 54, .10);
            box-shadow: 0 5px 18px rgba(4, 17, 38, .05);
        }

        .icon-button:hover {
            border-color: var(--border-strong);
            color: var(--gold-light);
            transform: translateY(-1px);
        }

        html[data-theme="light"] .icon-button:hover {
            color: var(--gold-dark);
            background: #FFFFFF;
        }

        .login-button {
            min-height: 40px;
            padding: 0 18px;

            border: 1px solid rgba(228, 201, 106, .35);
            border-radius: 10px;

            background:
                linear-gradient(
                    135deg,
                    var(--gold-dark),
                    var(--gold)
                );

            color: var(--black);

            font-size: 13px;
            font-weight: 800;

            box-shadow:
                0 8px 24px rgba(198, 162, 58, .10);

            transition:
                transform var(--transition),
                box-shadow var(--transition);
        }

        .login-button:hover {
            transform: translateY(-1px);

            box-shadow:
                0 12px 30px rgba(198, 162, 58, .20);
        }

        /* =========================================================
           USER ACCOUNT
        ========================================================= */

        .account-wrapper {
            position: relative;
        }

        .account-button {
            display: flex;
            align-items: center;
            gap: 9px;

            min-height: 42px;
            padding: 3px 10px 3px 4px;

            border: 1px solid var(--border);
            border-radius: 999px;

            background: rgba(7, 26, 54, .72);
            color: var(--text);

            transition:
                border-color var(--transition),
                background var(--transition);
        }

        html[data-theme="light"] .account-button {
            background: rgba(255, 255, 255, .90);
            color: #071A36;
            border-color: rgba(7, 26, 54, .10);
            box-shadow: 0 5px 18px rgba(4, 17, 38, .05);
        }

        .account-button:hover {
            border-color: var(--border-strong);
            background: rgba(7, 26, 54, .92);
        }

        html[data-theme="light"] .account-button:hover {
            background: #FFFFFF;
        }

        .account-avatar {
            width: 34px;
            height: 34px;

            border-radius: 50%;

            overflow: hidden;

            display: grid;
            place-items: center;

            flex-shrink: 0;

            border: 1px solid rgba(228, 201, 106, .40);

            background:
                radial-gradient(
                    circle at 35% 30%,
                    rgba(245, 231, 174, .26),
                    transparent 40%
                ),
                linear-gradient(
                    145deg,
                    var(--blue),
                    var(--blue-black)
                );

            color: var(--gold-light);

            font-size: 12px;
            font-weight: 800;
        }

        html[data-theme="light"] .account-avatar {
            background:
                radial-gradient(
                    circle at 35% 30%,
                    rgba(198, 162, 58, .13),
                    transparent 40%
                ),
                linear-gradient(
                    145deg,
                    #F7F7F4,
                    #E9EBF0
                );

            color: var(--gold-dark);
        }

        .account-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .account-name {
            max-width: 130px;

            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;

            font-size: 13px;
            font-weight: 700;
        }

        .account-chevron {
            color: var(--muted);
            font-size: 11px;
        }

        .account-menu {
            position: absolute;
            right: 0;
            top: calc(100% + 10px);

            width: 230px;

            padding: 8px;

            border: 1px solid var(--border);
            border-radius: 15px;

            background:
                linear-gradient(
                    145deg,
                    rgba(7, 26, 54, .99),
                    rgba(2, 7, 19, .99)
                );

            box-shadow: var(--shadow);

            opacity: 0;
            visibility: hidden;
            transform: translateY(-6px);

            transition:
                opacity var(--transition),
                visibility var(--transition),
                transform var(--transition);
        }

        html[data-theme="light"] .account-menu {
            background:
                linear-gradient(
                    145deg,
                    #FFFFFF,
                    #F1F2F3
                );

            border-color: rgba(7, 26, 54, .10);

            box-shadow:
                0 22px 55px rgba(4, 17, 38, .12);
        }

        .account-menu.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .account-menu-header {
            padding: 12px 12px 10px;

            border-bottom: 1px solid var(--border);

            margin-bottom: 5px;
        }

        .account-menu-name {
            color: var(--text);
            font-size: 13px;
            font-weight: 800;
        }

        .account-menu-email {
            margin-top: 3px;

            color: var(--muted);
            font-size: 11px;

            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .account-menu-link,
        .logout-button {
            width: 100%;

            display: flex;
            align-items: center;

            min-height: 40px;
            padding: 0 12px;

            border: 0;
            border-radius: 9px;

            background: transparent;
            color: var(--muted);

            font-size: 13px;
            font-weight: 600;

            text-align: left;

            transition:
                background var(--transition),
                color var(--transition);
        }

        .account-menu-link:hover,
        .logout-button:hover {
            background: rgba(198, 162, 58, .08);
            color: var(--gold-light);
        }

        html[data-theme="light"] .account-menu-link:hover,
        html[data-theme="light"] .logout-button:hover {
            color: var(--gold-dark);
            background: rgba(198, 162, 58, .08);
        }

        .logout-button {
            color: var(--gold-light);
        }

        html[data-theme="light"] .logout-button {
            color: var(--gold-dark);
        }

        /* =========================================================
           HERO
        ========================================================= */

        .hero {
            position: relative;
            min-height: calc(100vh - 76px);

            display: flex;
            align-items: center;

            overflow: hidden;

            background:
                radial-gradient(
                    circle at 82% 20%,
                    rgba(198, 162, 58, .11),
                    transparent 25%
                ),
                radial-gradient(
                    circle at 15% 50%,
                    rgba(7, 26, 54, .90),
                    transparent 44%
                ),
                linear-gradient(
                    145deg,
                    #01030A,
                    #020713 48%,
                    #041126
                );
        }

        html[data-theme="light"] .hero {
            background:
                radial-gradient(
                    circle at 82% 20%,
                    rgba(198, 162, 58, .065),
                    transparent 26%
                ),
                radial-gradient(
                    circle at 15% 50%,
                    rgba(233, 235, 240, .70),
                    transparent 44%
                ),
                linear-gradient(
                    145deg,
                    #FFFFFF,
                    #F8F8F6 52%,
                    #F0F1F2
                );
        }

        .hero::before {
            content: "";

            position: absolute;
            width: 650px;
            height: 650px;

            right: -260px;
            top: -220px;

            border-radius: 50%;

            background:
                radial-gradient(
                    circle,
                    rgba(198, 162, 58, .10),
                    rgba(198, 162, 58, .025) 35%,
                    transparent 70%
                );

            pointer-events: none;
        }

        html[data-theme="light"] .hero::before {
            background:
                radial-gradient(
                    circle,
                    rgba(198, 162, 58, .065),
                    rgba(198, 162, 58, .018) 35%,
                    transparent 70%
                );
        }

        .hero::after {
            content: "";

            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;

            height: 1px;

            background:
                linear-gradient(
                    90deg,
                    transparent,
                    rgba(198, 162, 58, .25),
                    transparent
                );
        }

        .hero-inner {
            width: min(1240px, calc(100% - 48px));
            margin: 0 auto;

            min-height: calc(100vh - 76px);

            display: grid;
            grid-template-columns: 1.08fr .92fr;
            align-items: center;

            gap: 70px;

            padding: 70px 0;
        }

        .hero-copy {
            position: relative;
            z-index: 2;

            max-width: 650px;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;

            color: var(--gold-light);

            font-size: 12px;
            font-weight: 800;
            letter-spacing: .16em;
            text-transform: uppercase;
        }

        html[data-theme="light"] .eyebrow {
            color: var(--gold-dark);
        }

        .eyebrow::before {
            content: "";

            width: 28px;
            height: 1px;

            background:
                linear-gradient(
                    90deg,
                    var(--gold-shadow),
                    var(--gold-light)
                );
        }

        .hero-title {
            margin-top: 21px;

            max-width: 680px;

            font-size: clamp(46px, 6vw, 78px);
            line-height: .98;
            letter-spacing: -.055em;
            font-weight: 800;
        }

        .hero-title span {
            display: block;

            background:
                linear-gradient(
                    110deg,
                    var(--white),
                    var(--gold-white)
                );

            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        html[data-theme="light"] .hero-title span {
            background:
                linear-gradient(
                    110deg,
                    #071A36,
                    #806217
                );

            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero-description {
            max-width: 560px;

            margin-top: 25px;

            color: var(--muted);

            font-size: 16px;
            line-height: 1.75;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;

            gap: 12px;

            margin-top: 32px;
        }

        .primary-button,
        .secondary-button {
            min-height: 50px;
            padding: 0 22px;

            border-radius: 11px;

            display: inline-flex;
            align-items: center;
            justify-content: center;

            font-size: 13px;
            font-weight: 800;

            transition:
                transform var(--transition),
                box-shadow var(--transition),
                border-color var(--transition);
        }

        .primary-button {
            border: 1px solid rgba(228, 201, 106, .38);

            background:
                linear-gradient(
                    135deg,
                    var(--gold-dark),
                    var(--gold-light)
                );

            color: var(--black);

            box-shadow:
                0 12px 32px rgba(198, 162, 58, .12);
        }

        .primary-button:hover {
            transform: translateY(-2px);

            box-shadow:
                0 16px 38px rgba(198, 162, 58, .22);
        }

        .secondary-button {
            border: 1px solid var(--border-strong);

            background:
                rgba(7, 26, 54, .72);

            color: var(--text);
        }

        html[data-theme="light"] .secondary-button {
            background: rgba(255, 255, 255, .88);
            color: #071A36;
            border-color: rgba(168, 131, 34, .28);
            box-shadow: 0 7px 22px rgba(4, 17, 38, .05);
        }

        .secondary-button:hover {
            transform: translateY(-2px);

            border-color: var(--gold-light);
            color: var(--gold-light);
        }

        html[data-theme="light"] .secondary-button:hover {
            color: var(--gold-dark);
            background: #FFFFFF;
        }

        .hero-meta {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;

            margin-top: 35px;

            color: var(--muted);
            font-size: 12px;
        }

        .hero-meta-item {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .meta-dot {
            width: 5px;
            height: 5px;

            border-radius: 50%;

            background: var(--gold);
            box-shadow: 0 0 12px rgba(198, 162, 58, .35);
        }

        /* =========================================================
           HERO BRANDING
        ========================================================= */

        .hero-brand {
            position: relative;
            z-index: 2;

            min-height: 540px;

            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            text-align: center;

            padding: 35px 20px;
        }

        .hero-brand::before {
            content: "";

            position: absolute;

            width: 420px;
            height: 420px;

            border-radius: 50%;

            background:
                radial-gradient(
                    circle,
                    rgba(198, 162, 58, .12) 0%,
                    rgba(198, 162, 58, .035) 32%,
                    transparent 68%
                );

            filter: blur(1px);

            pointer-events: none;
        }

        html[data-theme="light"] .hero-brand::before {
            background:
                radial-gradient(
                    circle,
                    rgba(198, 162, 58, .07) 0%,
                    rgba(198, 162, 58, .018) 32%,
                    transparent 68%
                );
        }

        .hero-brand::after {
            content: "";

            position: absolute;

            width: 310px;
            height: 1px;

            bottom: 74px;

            background:
                linear-gradient(
                    90deg,
                    transparent,
                    rgba(198, 162, 58, .35),
                    transparent
                );
        }

        .hero-logo {
            position: relative;
            z-index: 1;

            width: min(300px, 65vw);
            height: min(300px, 65vw);

            display: grid;
            place-items: center;

            margin-bottom: 26px;

            background: transparent;
            border: 0;
            border-radius: 0;

            filter:
                drop-shadow(
                    0 18px 35px rgba(1, 3, 10, .45)
                )
                drop-shadow(
                    0 0 35px rgba(198, 162, 58, .08)
                );
        }

        html[data-theme="light"] .hero-logo {
            filter:
                drop-shadow(
                    0 18px 35px rgba(4, 17, 38, .12)
                )
                drop-shadow(
                    0 0 35px rgba(198, 162, 58, .06)
                );
        }

        .hero-logo img {
            width: 100%;
            height: 100%;

            object-fit: contain;

            background: transparent;

            border: 0;
            border-radius: 0;
        }

        .hero-logo-placeholder {
            color: var(--gold-light);

            font-size: clamp(70px, 10vw, 125px);
            font-weight: 900;
            letter-spacing: -.08em;

            text-shadow:
                0 0 35px rgba(198, 162, 58, .15);
        }

        .hero-platform-name {
            position: relative;
            z-index: 2;

            font-size: clamp(32px, 4vw, 54px);
            line-height: 1;

            font-weight: 900;
            letter-spacing: -.045em;
        }

        .hero-platform-main {
            color: var(--white);
        }

        .hero-platform-pro {
            color: var(--gold-light);
        }

        html[data-theme="light"] .hero-platform-main {
            color: #071A36;
        }

        html[data-theme="light"] .hero-platform-pro {
            color: var(--gold-dark);
        }

        .hero-gold-line {
            position: relative;
            z-index: 2;

            width: 78px;
            height: 1px;

            margin: 19px auto 14px;

            background:
                linear-gradient(
                    90deg,
                    transparent,
                    var(--gold-light),
                    transparent
                );
        }

        .hero-platform-description {
            position: relative;
            z-index: 2;

            max-width: 340px;

            color: var(--muted);

            font-size: 13px;
            line-height: 1.7;
        }

        .hero-caption {
            position: relative;
            z-index: 2;

            margin-top: 19px;

            color: var(--gold-light);

            font-size: 10px;
            font-weight: 700;
            letter-spacing: .18em;
            text-transform: uppercase;
        }

        html[data-theme="light"] .hero-caption {
            color: var(--gold-dark);
        }

        /* =========================================================
           SECTIONS
        ========================================================= */

        .section {
            padding: 92px 0;

            background:
                linear-gradient(
                    145deg,
                    #020713,
                    #041126 52%,
                    #071A36
                );
        }

        html[data-theme="light"] .section {
            background:
                linear-gradient(
                    145deg,
                    #FFFFFF,
                    #F8F8F6 55%,
                    #F1F2F3
                );
        }

        .section-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;

            gap: 20px;

            margin-bottom: 30px;
        }

        .section-kicker {
            color: var(--gold-light);

            font-size: 11px;
            font-weight: 800;
            letter-spacing: .16em;
            text-transform: uppercase;
        }

        html[data-theme="light"] .section-kicker {
            color: var(--gold-dark);
        }

        .section-title {
            margin-top: 8px;

            font-size: clamp(28px, 4vw, 40px);
            line-height: 1.1;

            letter-spacing: -.035em;
            font-weight: 800;
        }

        .section-subtitle {
            max-width: 500px;

            margin-top: 10px;

            color: var(--muted);

            font-size: 14px;
            line-height: 1.65;
        }

        /* =========================================================
           CATEGORY FILTER
        ========================================================= */

        .category-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;

            margin-bottom: 28px;
        }

        .filter-button {
            min-height: 38px;
            padding: 0 14px;

            border: 1px solid var(--border);
            border-radius: 999px;

            background: rgba(7, 26, 54, .68);

            color: var(--muted);

            font-size: 12px;
            font-weight: 700;

            transition:
                color var(--transition),
                border-color var(--transition),
                background var(--transition);
        }

        html[data-theme="light"] .filter-button {
            background: rgba(255, 255, 255, .84);
            color: #596476;
            border-color: rgba(7, 26, 54, .10);
        }

        .filter-button:hover,
        .filter-button.active {
            border-color: rgba(228, 201, 106, .38);

            background:
                rgba(198, 162, 58, .09);

            color: var(--gold-light);
        }

        html[data-theme="light"] .filter-button:hover,
        html[data-theme="light"] .filter-button.active {
            border-color: rgba(168, 131, 34, .30);
            background: rgba(198, 162, 58, .08);
            color: var(--gold-dark);
        }

        /* =========================================================
           VIDEO GRID
        ========================================================= */

        .video-grid {
            display: grid;

            grid-template-columns:
                repeat(4, minmax(0, 1fr));

            gap: 18px;
        }

        .video-card {
            overflow: hidden;

            border: 1px solid var(--border);
            border-radius: 15px;

            background:
                linear-gradient(
                    145deg,
                    rgba(7, 26, 54, .92),
                    rgba(2, 7, 19, .96)
                );

            box-shadow:
                0 15px 45px rgba(1, 3, 10, .30);

            transition:
                transform var(--transition),
                border-color var(--transition),
                box-shadow var(--transition);
        }

        html[data-theme="light"] .video-card {
            background:
                linear-gradient(
                    145deg,
                    #FFFFFF,
                    #F1F2F3
                );

            border-color: rgba(7, 26, 54, .09);

            box-shadow:
                0 15px 45px rgba(4, 17, 38, .075);
        }

        .video-card:hover {
            transform: translateY(-5px);

            border-color:
                rgba(228, 201, 106, .28);

            box-shadow:
                0 22px 55px rgba(1, 3, 10, .42);
        }

        html[data-theme="light"] .video-card:hover {
            border-color: rgba(168, 131, 34, .25);

            box-shadow:
                0 22px 55px rgba(4, 17, 38, .11);
        }

        .video-thumb {
            position: relative;

            aspect-ratio: 16 / 9;

            overflow: hidden;

            background:
                linear-gradient(
                    135deg,
                    var(--blue),
                    var(--blue-black)
                );
        }

        html[data-theme="light"] .video-thumb {
            background:
                linear-gradient(
                    135deg,
                    #E9EBF0,
                    #DDE1E7
                );
        }

        .video-thumb img {
            width: 100%;
            height: 100%;

            object-fit: cover;

            transition: transform .45s ease;
        }

        .video-card:hover .video-thumb img {
            transform: scale(1.035);
        }

        .video-thumb::after {
            content: "";

            position: absolute;
            inset: 0;

            background:
                linear-gradient(
                    180deg,
                    transparent 45%,
                    rgba(1, 3, 10, .62)
                );

            pointer-events: none;
        }

        html[data-theme="light"] .video-thumb::after {
            background:
                linear-gradient(
                    180deg,
                    transparent 50%,
                    rgba(4, 17, 38, .28)
                );
        }

        .premium-badge {
            position: absolute;
            z-index: 2;

            top: 10px;
            right: 10px;

            padding: 5px 8px;

            border: 1px solid rgba(228, 201, 106, .35);
            border-radius: 6px;

            background:
                rgba(1, 3, 10, .78);

            color: var(--gold-light);

            font-size: 9px;
            font-weight: 800;
            letter-spacing: .08em;
        }

        html[data-theme="light"] .premium-badge {
            background: rgba(255, 255, 255, .90);
            color: var(--gold-dark);
            border-color: rgba(168, 131, 34, .26);
        }

        .video-content {
            padding: 15px;
        }

        .video-title {
            color: var(--text);

            font-size: 14px;
            font-weight: 800;
            line-height: 1.35;
        }

        .video-category {
            margin-top: 7px;

            color: var(--muted);

            font-size: 11px;
        }

        /* =========================================================
           FAVORIS
        ========================================================= */

        .favorite-button {
            position: absolute;
            z-index: 5;

            left: 10px;
            bottom: 10px;

            width: 36px;
            height: 36px;

            display: grid;
            place-items: center;

            border: 1px solid rgba(228, 201, 106, .28);
            border-radius: 50%;

            background: rgba(1, 3, 10, .78);
            color: var(--white);

            font-size: 17px;
            line-height: 1;

            cursor: pointer;

            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);

            transition:
                transform var(--transition),
                background var(--transition),
                border-color var(--transition),
                color var(--transition),
                box-shadow var(--transition);
        }

        .favorite-button:hover {
            transform: scale(1.08);

            border-color: var(--gold-light);

            color: var(--gold-light);

            background:
                rgba(7, 26, 54, .94);

            box-shadow:
                0 0 20px rgba(198, 162, 58, .16);
        }

        .favorite-button.active {
            border-color: rgba(228, 201, 106, .55);

            background:
                linear-gradient(
                    135deg,
                    rgba(168, 131, 34, .95),
                    rgba(198, 162, 58, .92)
                );

            color: var(--black);

            box-shadow:
                0 0 22px rgba(198, 162, 58, .22);
        }

        /* =========================================================
   MA LISTE
========================================================== */

.watchlist-button {
    position: absolute;
    z-index: 5;

    right: 10px;
    bottom: 10px;

    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(228, 201, 106, .28);
    border-radius: 50%;

    background: rgba(1, 3, 10, .78);
    color: var(--white);

    font-size: 21px;
    line-height: 1;

    cursor: pointer;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}

.watchlist-button:hover {
    transform: scale(1.08);

    border-color: var(--gold-light);

    color: var(--gold-light);

    background:
        rgba(7, 26, 54, .94);

    box-shadow:
        0 0 20px rgba(198, 162, 58, .16);
}

.watchlist-button.active {
    border-color: rgba(228, 201, 106, .55);

    background:
        linear-gradient(
            135deg,
            rgba(168, 131, 34, .95),
            rgba(198, 162, 58, .92)
        );

    color: var(--black);

    box-shadow:
        0 0 22px rgba(198, 162, 58, .22);
}

html[data-theme="light"] .watchlist-button {
    background: rgba(255, 255, 255, .92);
    color: #071A36;

    border-color: rgba(168, 131, 34, .22);
}

html[data-theme="light"] .watchlist-button:hover {
    color: var(--gold-dark);

    background: #FFFFFF;
}

html[data-theme="light"] .watchlist-button.active {
    background:
        linear-gradient(
            135deg,
            var(--gold-dark),
            var(--gold-light)
        );

    color: var(--black);

    border-color: rgba(168, 131, 34, .40);
}

        html[data-theme="light"] .favorite-button {
            background: rgba(255, 255, 255, .92);
            color: #071A36;

            border-color: rgba(168, 131, 34, .22);
        }

        html[data-theme="light"] .favorite-button:hover {
            color: var(--gold-dark);

            background: #FFFFFF;
        }

        html[data-theme="light"] .favorite-button.active {
            background:
                linear-gradient(
                    135deg,
                    var(--gold-dark),
                    var(--gold-light)
                );

            color: var(--black);

            border-color: rgba(168, 131, 34, .40);
        }

        .video-empty {
            grid-column: 1 / -1;

            padding: 55px 20px;

            border: 1px dashed var(--border);
            border-radius: 15px;

            color: var(--muted);

            text-align: center;
            font-size: 14px;
        }

        /* =========================================================
           CATEGORY CARDS
        ========================================================= */

        .category-grid {
            display: grid;

            grid-template-columns:
                repeat(4, minmax(0, 1fr));

            gap: 14px;
        }

        .category-card {
            min-height: 130px;

            display: flex;
            flex-direction: column;
            justify-content: flex-end;

            padding: 20px;

            border: 1px solid var(--border);
            border-radius: 15px;

            background:
                radial-gradient(
                    circle at 85% 15%,
                    rgba(198, 162, 58, .10),
                    transparent 35%
                ),
                linear-gradient(
                    145deg,
                    rgba(7, 26, 54, .92),
                    rgba(2, 7, 19, .96)
                );

            transition:
                transform var(--transition),
                border-color var(--transition);
        }

        html[data-theme="light"] .category-card {
            background:
                radial-gradient(
                    circle at 85% 15%,
                    rgba(198, 162, 58, .065),
                    transparent 35%
                ),
                linear-gradient(
                    145deg,
                    #FFFFFF,
                    #F1F2F3
                );

            border-color: rgba(7, 26, 54, .09);

            box-shadow:
                0 12px 35px rgba(4, 17, 38, .055);
        }

        .category-card:hover {
            transform: translateY(-3px);
            border-color: var(--border-strong);
        }

        .category-number {
            margin-bottom: auto;

            color: var(--gold);

            font-size: 11px;
            font-weight: 800;
        }

        html[data-theme="light"] .category-number {
            color: var(--gold-dark);
        }

        .category-name {
            color: var(--text);

            font-size: 17px;
            font-weight: 800;
        }

        /* =========================================================
           PREMIUM CTA
        ========================================================= */

        .premium-section {
            padding: 30px 0 100px;

            background:
                linear-gradient(
                    145deg,
                    #071A36,
                    #041126 55%,
                    #020713
                );
        }

        html[data-theme="light"] .premium-section {
            background:
                linear-gradient(
                    145deg,
                    #F1F2F3,
                    #F8F8F6 55%,
                    #FFFFFF
                );
        }

        .premium-box {
            position: relative;
            overflow: hidden;

            display: grid;
            grid-template-columns: 1fr auto;
            align-items: center;

            gap: 35px;

            padding: 48px;

            border: 1px solid rgba(198, 162, 58, .24);
            border-radius: 20px;

            background:
                radial-gradient(
                    circle at 80% 50%,
                    rgba(198, 162, 58, .11),
                    transparent 40%
                ),
                linear-gradient(
                    120deg,
                    rgba(7, 26, 54, .94),
                    rgba(2, 7, 19, .97)
                );

            box-shadow:
                0 25px 70px rgba(1, 3, 10, .35);
        }

        html[data-theme="light"] .premium-box {
            background:
                radial-gradient(
                    circle at 80% 50%,
                    rgba(198, 162, 58, .07),
                    transparent 40%
                ),
                linear-gradient(
                    120deg,
                    #FFFFFF,
                    #F1F2F3
                );

            border-color: rgba(168, 131, 34, .20);

            box-shadow:
                0 25px 70px rgba(4, 17, 38, .08);
        }

        .premium-box h2 {
            font-size: clamp(25px, 4vw, 37px);
            letter-spacing: -.035em;
        }

        .premium-box p {
            max-width: 650px;

            margin-top: 10px;

            color: var(--muted);

            font-size: 14px;
            line-height: 1.65;
        }

        /* =========================================================
           FOOTER
        ========================================================= */

        footer {
            border-top: 1px solid var(--border);

            padding: 35px 0;

            background:
                #071A36;
        }

        html[data-theme="light"] footer {
            background:
                #F1F2F3;

            border-top-color:
                rgba(7, 26, 54, .08);
        }

        .footer-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;

            gap: 20px;
        }

        .footer-brand {
            font-size: 13px;
            font-weight: 800;
        }

        .footer-copy {
            color: var(--muted);
            font-size: 11px;
        }

        /* =========================================================
           MOBILE
        ========================================================= */

        .mobile-menu-button {
            display: none;
        }

        @media (max-width: 1050px) {

            .main-nav {
                gap: 17px;
            }

            .video-grid {
                grid-template-columns:
                    repeat(3, minmax(0, 1fr));
            }

            .category-grid {
                grid-template-columns:
                    repeat(3, minmax(0, 1fr));
            }

            .hero-inner {
                gap: 35px;
            }
        }

        @media (max-width: 820px) {

            .container,
            .hero-inner {
                width: min(100% - 32px, 680px);
            }

            .header-inner {
                min-height: 68px;
            }

            .main-nav {
                display: none;
            }

            .mobile-menu-button {
                display: grid;
            }

            .login-button {
                padding: 0 14px;
            }

            .hero {
                min-height: auto;
            }

            .hero-inner {
                min-height: auto;

                grid-template-columns: 1fr;

                gap: 20px;

                padding:
                    70px 0
                    55px;
            }

            .hero-copy {
                text-align: center;
                margin: 0 auto;
            }

            .eyebrow {
                justify-content: center;
            }

            .hero-title {
                font-size: clamp(43px, 11vw, 66px);
            }

            .hero-description {
                margin-left: auto;
                margin-right: auto;
            }

            .hero-actions {
                justify-content: center;
            }

            .hero-meta {
                justify-content: center;
            }

            .hero-brand {
                min-height: 470px;

                padding-top: 10px;
            }

            .video-grid {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
            }

            .category-grid {
                grid-template-columns:
                    repeat(2, minmax(0, 1fr));
            }

            .premium-box {
                grid-template-columns: 1fr;
                padding: 35px 28px;
            }
        }

        @media (max-width: 560px) {

            .container,
            .hero-inner {
                width: min(100% - 24px, 520px);
            }

            .brand-name {
                font-size: 15px;
            }

            .header-actions {
                gap: 5px;
            }

            .icon-button {
                width: 36px;
                height: 36px;
            }

            .login-button {
                min-height: 36px;
                padding: 0 11px;

                font-size: 11px;
            }

            .account-name,
            .account-chevron {
                display: none;
            }

            .account-button {
                padding-right: 4px;
            }

            .hero-inner {
                padding-top: 55px;
            }

            .hero-title {
                font-size: 43px;
            }

            .hero-description {
                font-size: 14px;
            }

            .hero-actions {
                flex-direction: column;
                align-items: stretch;
            }

            .primary-button,
            .secondary-button {
                width: 100%;
            }

            .hero-brand {
                min-height: 410px;
            }

            .hero-logo {
                width: 230px;
                height: 230px;
            }

            .hero-platform-name {
                font-size: 35px;
            }

            .section {
                padding: 65px 0;
            }

            .section-header {
                display: block;
            }

            .video-grid {
                grid-template-columns: 1fr;
            }

            .category-grid {
                grid-template-columns: 1fr;
            }

            .premium-box {
                padding: 30px 22px;
            }

            .footer-inner {
                flex-direction: column;
                align-items: flex-start;
            }
        }
    


/* =========================================================
   CONTINUER À REGARDER
========================================================= */

.progress-bar-wrap {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    overflow: hidden;
    z-index: 4;
}

.progress-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    box-shadow: 0 0 12px rgba(228,201,106,.25);
}

.progress-label {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}
/* =========================================================
   DIGISCALE-PRO — RECHERCHE PREMIUM DU CATALOGUE
   Identité officielle : bleu nuit, or et blanc
========================================================= */

.catalog-search {
    position: relative;
    width: min(100%, 760px);
    margin: 0 auto 28px;
    padding: 0;
    color: #E9EBF0;
}

.catalog-search-label {
    display: block;
    margin: 0 0 11px 4px;
    color: #E4C96A;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.045em;
}

.catalog-search-box {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 58px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(7, 26, 54, 0.92), rgba(2, 7, 19, 0.97));
    border: 1px solid rgba(198, 162, 58, 0.30);
    border-radius: 15px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.catalog-search-box:focus-within {
    border-color: #C6A23A;
    box-shadow:
        0 0 0 3px rgba(198, 162, 58, 0.09),
        0 10px 30px rgba(0, 0, 0, 0.25);
}

.catalog-search-icon {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    color: #E4C96A;
    font-size: 1.8rem;
    line-height: 1;
    opacity: 0.9;
    user-select: none;
}

.catalog-search-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 0 8px;
    color: #FFFFFF;
    background: transparent;
    border: 0;
    outline: none;
    box-shadow: none;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.catalog-search-input::placeholder {
    color: #9299A7;
    opacity: 0.85;
}

.catalog-search-input:focus,
.catalog-search-input:focus-visible {
    border: 0;
    outline: none;
    box-shadow: none;
}

.catalog-search-input::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
    appearance: none;
}

.catalog-search-clear {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 12px 0 6px;
    padding: 0;
    color: #E4C96A;
    background: rgba(198, 162, 58, 0.09);
    border: 1px solid rgba(198, 162, 58, 0.20);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1.45rem;
    line-height: 1;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.catalog-search-clear:hover {
    color: #01030A;
    background: #E4C96A;
    border-color: #E4C96A;
    transform: scale(1.04);
}

.catalog-search-clear[hidden] {
    display: none !important;
}

.catalog-search-status {
    min-height: 18px;
    margin: 10px 4px 0;
    color: #9299A7;
    font-size: 0.82rem;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.catalog-search-status:not(:empty) {
    padding-left: 2px;
}

@media (max-width: 600px) {
    .catalog-search {
        margin-bottom: 22px;
    }

    .catalog-search-box {
        min-height: 52px;
        border-radius: 12px;
    }

    .catalog-search-icon {
        flex-basis: 43px;
        font-size: 1.55rem;
    }

    .catalog-search-input {
        height: 50px;
        font-size: 0.88rem;
    }

    .catalog-search-clear {
        flex-basis: 34px;
        width: 30px;
        height: 30px;
        margin-right: 9px;
        font-size: 1.25rem;
    }

    .catalog-search-status {
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-search-box,
    .catalog-search-clear,
    .catalog-search-status {
        transition: none;
    }
}