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

:root {
    --lime: #B6F500;
    --green: #A4DD00;
    --green-dark: #98CD00;
    --dark: #1a1a1a;
    --white: #ffffff;
    --bg-app: #070709;
    --bg-app-rgb: 7, 7, 9;
    --bg-elevated: #101014;
    --text-body: #e2e2e8;
    --text-muted: #8b8b9d;
    --grid-line: rgba(255, 255, 255, 0.045);
    --nav-pill-depth: #040506;
    --nav-pill-face: #12161a;
    --card-border: rgba(255, 255, 255, 0.06);
}

/* Un seul quadrillage : fixe derrière tout le contenu */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-body);
    background-color: var(--bg-app);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
    background-size: 36px 36px;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Header au-dessus des sections (sinon la nav fixe se fait recouvrir) */
body > cgt-header {
    z-index: 2000;
}

/* Decorative auroras for index/job hero areas (does not alter page background) */
#home,
.job-hero-section {
    isolation: isolate;
}

.page-aurora {
    position: absolute;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(26px);
    opacity: 0.72;
}

.page-aurora-left {
    top: -13rem;
    left: -11rem;
    background: radial-gradient(circle at center, rgba(182, 245, 0, 0.3), rgba(182, 245, 0, 0.05) 48%, transparent 70%);
}

.page-aurora-right {
    top: -12rem;
    right: -10rem;
    background: radial-gradient(circle at center, rgba(164, 221, 0, 0.28), rgba(164, 221, 0, 0.05) 48%, transparent 70%);
}

/* Navigation — barre flottante type « pilule » (charte lime / vert, relief 3D) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1.1rem 1.25rem 0;
    background: transparent;
    pointer-events: none;
}

.navbar-pill {
    pointer-events: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    width: 100%;
    max-width: min(1120px, calc(100vw - 2rem));
    padding: 0.8rem 1.05rem 0.8rem 1.15rem;
    border-radius: 20px;
    background: var(--nav-pill-face);
    border: 2px solid rgba(182, 245, 0, 0.18);
    box-shadow:
        0 6px 0 var(--nav-pill-depth),
        0 10px 28px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* Desktop : liens + CTA regroupés au centre–droite */
.nav-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    min-width: 0;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 2px solid rgba(182, 245, 0, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
    background: rgba(182, 245, 0, 0.14);
    border-color: rgba(182, 245, 0, 0.45);
    outline: none;
    box-shadow: 0 0 0 3px rgba(182, 245, 0, 0.2);
}

.nav-toggle-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 1.15rem;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.navbar.is-nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.is-nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar.is-nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.navbar.is-scrolled .navbar-pill {
    box-shadow:
        0 6px 0 var(--nav-pill-depth),
        0 14px 36px rgba(0, 0, 0, 0.5),
        0 0 32px rgba(182, 245, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo-block {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-blob {
    width: 50px;
    height: 40px;
    background: var(--green);
    border-radius: 50px 50px 50px 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(164, 221, 0, 0.3);
}

.logo-blob::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 10px;
    width: 10px;
    height: 10px;
    background: var(--dark);
    border-radius: 50%;
    box-shadow: 18px 0 0 var(--dark);
}

.logo-blob::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 25px;
    width: 4px;
    height: 4px;
    background: var(--dark);
    border-radius: 50%;
    box-shadow: 14px 0 0 var(--dark), 7px -8px 0 var(--dark), 14px -8px 0 var(--dark);
}

.navbar .logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.2em;
    line-height: 1;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem 0.25rem;
    margin: 0;
    padding: 0;
    flex: 1;
    min-width: 0;
}

.navbar .nav-menu li {
    opacity: 1;
    transform: none;
    width: auto;
}

.navbar .nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.45;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 1rem;
    min-height: 2.75rem;
    border-radius: 999px;
    white-space: nowrap;
    box-sizing: border-box;
}

.navbar .nav-menu a:hover,
.navbar .nav-menu a:focus-visible {
    color: var(--dark);
    background: linear-gradient(135deg, var(--lime), var(--green));
    box-shadow: 0 4px 14px rgba(182, 245, 0, 0.28);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.btn-nav {
    text-decoration: none;
    font-weight: 800;
    font-size: 0.75rem;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    position: relative;
    border: 1px solid rgba(20, 22, 28, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-nav--compact {
    padding: 0.58rem 0.85rem;
    min-height: 2.75rem;
    box-sizing: border-box;
    background: linear-gradient(145deg, var(--lime), var(--green));
    color: var(--dark);
}

.btn-nav--compact:hover,
.btn-nav--compact:focus-visible {
    transform: translateY(-2px);
}

.btn-nav--compact:active {
    transform: translateY(2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 2px 0 rgba(20, 22, 28, 0.55),
        0 6px 12px rgba(98, 140, 0, 0.2);
}

.btn-nav__icon {
    display: flex;
    color: currentColor;
}

.btn-nav__compact-text {
    display: inline;
}

.btn-nav--primary {
    padding: 0.65rem 1.2rem;
    min-height: 2.75rem;
    box-sizing: border-box;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ea 100%);
    color: var(--green-dark);
}

.btn-nav--primary:hover,
.btn-nav--primary:focus-visible {
    transform: translateY(-2px);
    color: var(--dark);
    background: linear-gradient(180deg, #ffffff 0%, #eef6e0 100%);
}

.btn-nav--primary:active {
    transform: translateY(2px);
}

.cta-nav {
    background: linear-gradient(135deg, var(--lime), var(--green));
    color: var(--dark);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(182, 245, 0, 0.3);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(182, 245, 0, 0.4);
}

@media (max-width: 900px) {
    .navbar-pill {
        padding: 0.75rem 1rem;
        border-radius: 28px;
        row-gap: 0.5rem;
        position: relative;
    }

    .nav-toggle {
        display: inline-flex;
        order: 2;
        margin-left: auto;
    }

    .logo-block {
        order: 1;
    }

    .navbar.is-nav-open .logo-block,
    .navbar.is-nav-open .nav-toggle {
        position: relative;
        z-index: 3;
    }

    .nav-main {
        order: 3;
        flex: 1 1 100%;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        align-content: flex-start;
        justify-content: flex-start;
        gap: 1rem;
        display: none;
        padding: 0;
        margin: 0;
        border-top: none;
    }

    /* Plein écran : overlay sous le logo + bouton (même barre) */
    .navbar.is-nav-open .nav-main {
        display: flex;
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: none;
        min-height: 100vh;
        min-height: 100dvh;
        box-sizing: border-box;
        padding: calc(5.5rem + env(safe-area-inset-top, 0px)) 1.25rem 2rem;
        padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
        padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
        padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
        z-index: 2;
        pointer-events: auto;
        background: color-mix(in srgb, var(--nav-pill-depth) 96%, black);
        border-top: none;
        animation: cgt-nav-overlay-in 0.28s ease-out;
    }

    .navbar .nav-menu {
        flex: 0 0 auto;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.35rem;
        width: 100%;
        max-width: min(28rem, 100%);
    }

    .navbar .nav-menu a {
        text-align: left;
        justify-content: flex-start;
    }

    .navbar-actions {
        width: 100%;
        max-width: min(28rem, 100%);
        flex: 0 0 auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.65rem;
    }

    .navbar-actions .btn-nav {
        width: 100%;
        justify-content: center;
    }
}

@keyframes cgt-nav-overlay-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 520px) {
    .navbar {
        padding: 0.75rem 0.75rem 0;
    }

    .navbar-pill {
        gap: 0.65rem;
        padding: 0.65rem 0.85rem;
    }

    .navbar .logo-text {
        font-size: 1.4rem;
    }

    .navbar .logo-img {
        width: 34px;
        height: 34px;
    }

    .navbar .nav-menu a {
        font-size: 0.76rem;
        padding: 0.58rem 0.85rem;
        min-height: 2.65rem;
    }

    .btn-nav--primary {
        padding: 0.58rem 0.95rem;
        font-size: 0.68rem;
        min-height: 2.65rem;
    }

    .btn-nav__compact-text {
        display: none;
    }

    .btn-nav--compact {
        padding: 0.52rem;
        border-radius: 50%;
        min-width: 2.55rem;
        min-height: 2.55rem;
    }
}

/* Partner Section */
.partner-section {
    padding: 6rem 4rem;
    position: relative;
    overflow: hidden;
}

.partner-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
}

.partner-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 5px;
    background: linear-gradient(135deg, var(--lime), var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.partner-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.partner-card {
    flex: 0 0 auto;
    width: 280px;
    max-width: 320px;
    background: var(--bg-elevated);
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    transform: translateY(-8px);
    border-color: var(--lime);
}

.partner-card img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6.5rem 4rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10%;
}

.sparkle {
    font-size: 2rem;
    line-height: 1;
    opacity: 0.8;
    /* retirer l'animation CSS pour éviter conflit avec GSAP */
}

.hero-sparkles .sparkle {
    color: var(--lime);
    opacity: 0.92;
    filter:
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.45))
        drop-shadow(0 0 14px rgba(182, 245, 0, 0.65));
}

@keyframes sparkleZoom {
    0%, 100% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.5);
    }
}

.hero-title {
    font-family: 'Passion One', 'Passion One Fallback', sans-serif;
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    margin: 4rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.title-line-1,
.title-line-2 {
    background: linear-gradient(135deg, var(--lime), var(--green), var(--green-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 3px;
}

.title-line-1 {
    font-size: 0.85em;
}

.title-line-2 {
    font-size: 1em;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.stat-box {
    background: var(--bg-elevated);
    border: 3px solid var(--lime);
    padding: 2rem 3rem;
    min-width: 200px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(182, 245, 0, 0.08);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    display: inline-block;
    min-width: 8ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    background: linear-gradient(135deg, var(--lime), var(--green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* Job listing cards (job page) */
.job-list-section {
    padding: 1.5rem 2rem 2rem;
    position: relative;
}

.job-list-content {
    max-width: 1400px;
    margin: 0 auto;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.job-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.7rem 0.85rem 0.7rem 1.35rem;
    border-radius: 0;
    border: 2px solid var(--green);
    background: var(--nav-pill-face);
    box-shadow:
        0 6px 0 var(--nav-pill-depth),
        0 10px 28px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    opacity: 0;
    transform: translateY(28px);
    animation: job-card-rise 0.62s cubic-bezier(0.2, 0.9, 0.28, 1) forwards;
    animation-delay: calc(var(--job-order, 0) * 0.14s + 0.08s);
    cursor: pointer;
}

.job-list-item:focus-visible {
    outline: 2px solid rgba(182, 245, 0, 0.8);
    outline-offset: 2px;
}

.job-list-item--closed {
    border-color: var(--green);
}

.job-list-item__text {
    min-width: 0;
}

.job-list-item__title {
    margin: 0;
    font-size: clamp(1.35rem, 3.2vw, 2.1rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.01em;
    color: var(--white);
}

.job-list-item__subtitle {
    margin: 0.18rem 0 0;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
}

.job-list-item__status {
    margin-top: 0.72rem;
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.job-list-item__status.is-open {
    color: #0f1b03;
    background: linear-gradient(180deg, var(--lime), var(--green));
}

.job-list-item__status.is-closed {
    color: #d7d7dd;
    background: rgba(255, 255, 255, 0.1);
}

.job-list-item__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 0.72rem 1rem;
    border-radius: 16px 26px 16px 16px;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    white-space: nowrap;
    color: #0a0d11;
    background: linear-gradient(180deg, var(--lime) 0%, var(--green) 100%);
    border: 1px solid rgba(15, 18, 25, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.job-list-item__cta:hover,
.job-list-item__cta:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.02);
}

.job-list-item__cta:active {
    transform: translateY(0);
}

.job-list-error {
    text-align: center;
    color: var(--text-muted);
    font-weight: 700;
    margin: 1rem 0;
}

.job-contact-anchor {
    height: 1px;
    margin-top: 0.5rem;
}

.job-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.job-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.job-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 5, 8, 0.75);
    backdrop-filter: blur(4px);
}

.job-modal__panel {
    position: relative;
    width: min(900px, 100%);
    max-height: min(88vh, 920px);
    overflow: auto;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(20, 22, 28, 0.98) 0%, rgba(12, 14, 19, 0.98) 100%);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    padding: 1.3rem 1.3rem 1.5rem;
}

.job-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 999px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.job-modal__status {
    display: inline-flex;
    margin: 0 0 0.6rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.job-modal__status.is-open {
    color: #0f1b03;
    background: linear-gradient(180deg, var(--lime), var(--green));
}

.job-modal__status.is-closed {
    color: #d7d7dd;
    background: rgba(255, 255, 255, 0.1);
}

.job-modal__title {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 900;
    color: var(--white);
}

.job-modal__summary {
    margin: 0.6rem 0 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.job-modal__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.job-modal__chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.34rem 0.72rem;
    background: rgba(255, 255, 255, 0.08);
    color: #ececf2;
    font-weight: 700;
    font-size: 0.78rem;
}

.job-modal__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.job-modal__section-title {
    margin: 0.25rem 0 0.65rem;
    font-size: 0.96rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--lime);
}

.job-modal__list {
    margin: 0;
    padding-left: 1.1rem;
    color: #d7d7dd;
    line-height: 1.6;
}

.job-modal__apply {
    margin: 1rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #eaeaf0;
    font-weight: 700;
}

body.job-modal-open {
    overflow: hidden;
}

@keyframes job-card-rise {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .job-list-item {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.hero-cta-text {
    margin-top: 3rem;
    font-size: 1.1rem;
    color: var(--green-dark);
    font-weight: 600;
}

.hero-cta-text strong {
    font-weight: 800;
    color: var(--green);
}

/* Games Section */
.games-section {
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.games-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.games-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 5px;
    background: linear-gradient(135deg, var(--lime), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9))
        drop-shadow(0 4px 14px rgba(0, 0, 0, 0.65));
}

.games-subtitle {
    text-align: center;
    font-weight: 700;
    color: var(--green-dark);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.75);
}

/* Marquee layout: 3 bandes inclinées */
.games-marquee {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 800px;
    transform-origin: center center;
}

.games-center-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    padding: 0 2rem;
}

.marquee-rows {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    transform-origin: center center;
    will-change: transform;
    width: 105%;
    left: -2.5%;
}

.marquee-row {
    position: relative;
    overflow: hidden;
}

/* Soft side fades for each row to avoid harsh edges */
.marquee-row::before,
.marquee-row::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8%;
    pointer-events: none;
    z-index: 5;
}
.marquee-row::before { left: 0; background: linear-gradient(90deg, rgb(var(--bg-app-rgb)) 0%, rgba(var(--bg-app-rgb), 0) 100%); }
.marquee-row::after { right: 0; background: linear-gradient(270deg, rgb(var(--bg-app-rgb)) 0%, rgba(var(--bg-app-rgb), 0) 100%); }

.marquee-row.tilt-left { transform: rotate(-4deg); }
.marquee-row.tilt-middle { transform: rotate(-6deg); }
.marquee-row.tilt-right { transform: rotate(4deg); }

.marquee-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate3d(0, -50%, 0);
    display: flex;
    gap: 1rem;
    will-change: transform;
    animation: marquee-left 25s linear infinite;
}

.marquee-row.reverse .marquee-track { animation-name: marquee-right; }
.marquee-row.speed-1 .marquee-track { animation-duration: 30s; }
.marquee-row.speed-2 .marquee-track { animation-duration: 22s; }
.marquee-row.speed-3 .marquee-track { animation-duration: 28s; }

/* Force directions: top & bottom same (left), middle reversed (right) */
.marquee-row.top .marquee-track,
.marquee-row.bottom .marquee-track { animation-name: marquee-left !important; }
.marquee-row.mid-left .marquee-track,
.marquee-row.mid-right .marquee-track { animation-name: marquee-right !important; }

.marquee-img {
    height: 260px;
    width: auto;
    border-radius: 16px;
    box-shadow: none;
    background: #1a1c22;
    flex: 0 0 auto;
}

/* Layering order for middle split */
.marquee-row.top { z-index: 2; }
.marquee-row.bottom { z-index: 1; }
.marquee-row.mid-left { z-index: 1; }
.marquee-row.mid-right { z-index: 3; }

/* Soft masks to split the middle row halves visually */
.mid-left::after,
.mid-right::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    pointer-events: none;
}
.mid-left::after { right: 0; background: linear-gradient(90deg, transparent 0%, rgb(var(--bg-app-rgb)) 98%); }
.mid-right::after { left: 0; background: linear-gradient(270deg, transparent 0%, rgb(var(--bg-app-rgb)) 98%); }

@keyframes marquee-left {
    from { transform: translate3d(0, -50%, 0); }
    to { transform: translate3d(-50%, -50%, 0); }
}

@keyframes marquee-right {
    from { transform: translate3d(-50%, -50%, 0); }
    to { transform: translate3d(0, -50%, 0); }
}

/* CTA panel sous la section jeux */
.games-cta-panel {
    padding: 1rem;
    text-align: center;
}

.games-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.games-cta-content h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--text-body);
}

.games-cta-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Primary CTA button under games */
.games-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--lime), var(--green));
    color: var(--dark);
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 1.25rem 3rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.games-cta:hover {
    transform: translateY(-4px);
    filter: saturate(1.05);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 3rem;
}

.game-card {
    background: var(--bg-elevated);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
    transition: all 0.3s;
    border: 3px solid transparent;
    /* Composition des effets: décalage de base + parallax + hover, plus scale */
    transform: translateY(calc(var(--base-offset, 0px) + var(--parallax, 0px) + var(--hover-offset, 0px))) scale(var(--scale, 1));
    will-change: transform;
}

.game-card:hover {
    /* Survol: on garde l'effet d'élévation sans casser le parallax */
    --hover-offset: -10px;
    --scale: 1.05;
    border-color: var(--lime);
    box-shadow: 0 20px 50px rgba(182, 245, 0, 0.3);
}

/* Ligne du milieu: légèrement plus haut par défaut */
.game-card.middle-row {
    --base-offset: -12px;
}

.game-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--bg-elevated), var(--lime));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.game-placeholder {
    font-size: 5rem;
}

/* Image: légère obscurité par défaut, scale + éclaircissement au hover */
.game-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.82);
    transform: scale(1);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.04);
    filter: brightness(1);
}

/* Overlay info en bas à droite sur l'image de la carte */
.game-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.65) 100%);
    color: #fff;
}

.go-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.go-title {
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.go-meta {
    font-size: 0.8rem;
    opacity: 0.9;
}

.go-stats {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 0 0 auto;
}

.go-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.35);
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 0.8rem;
    line-height: 1;
}

.go-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.95;
}

@media (max-width: 600px) {
    .game-overlay { padding: 8px 10px; gap: 10px; }
    .go-title { font-size: 0.95rem; }
    .go-meta { font-size: 0.75rem; }
    .go-icon { padding: 5px 7px; font-size: 0.75rem; }
    .go-icon svg { width: 14px; height: 14px; }
}

.game-info {
    padding: 2rem;
}

.game-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--green-dark);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.game-desc {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.game-stats {
    display: flex;
    gap: 1.5rem;
}

.game-stats .stat {
    background: var(--bg-elevated);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green);
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, var(--lime), var(--green));
    color: var(--dark);
    padding: 4.5rem 4rem;
    min-height: 50vh;
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: 5px;
    position: relative;
    z-index: 1;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.about-section .about-title {
    margin-bottom: 2rem;
}

.about-vision-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
    gap: 2.75rem 3.25rem;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: left;
}

.about-vision-layout__chart {
    justify-self: end;
    width: 100%;
    max-width: min(740px, 100%);
}

.about-vision-layout__charts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    justify-content: flex-end;
    align-items: stretch;
}

.about-vision-layout__charts-row > .arppu-card,
.about-vision-layout__charts-row > .qtpr-card {
    flex: 1 1 248px;
    max-width: 340px;
    min-width: 232px;
}

.about-vision-layout__copy {
    justify-self: start;
    min-width: 0;
}

.about-vision-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
}

.about-vision-copy p {
    font-size: 1.05rem;
    line-height: 1.75;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    max-width: 42rem;
}

.about-vision-copy p strong {
    font-weight: 800;
}

.about-vision-cta {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 1rem 1.75rem;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.9rem;
    text-decoration: none;
    background: var(--nav-pill-face);
    color: var(--lime);
    border: 2px solid rgba(182, 245, 0, 0.22);
    box-shadow:
        0 4px 0 var(--nav-pill-depth),
        0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.about-vision-cta:hover {
    transform: translateY(-3px);
    background: color-mix(in srgb, var(--nav-pill-face) 82%, var(--white));
    color: var(--green);
    box-shadow:
        0 6px 0 var(--nav-pill-depth),
        0 12px 28px rgba(0, 0, 0, 0.25);
}

.about-vision-cta:focus-visible {
    outline: 2px solid var(--dark);
    outline-offset: 3px;
}

/* ARPPU dashboard card (Roblox Creator Analytics style) */
.arppu-card {
    margin: 0;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.55rem 1.4rem 1.8rem;
    width: 100%;
    text-align: left;
    color: var(--white);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.35);
}

.arppu-card__metric-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9a9aa8;
    line-height: 1.35;
    margin: 0 0 0.85rem;
}

.arppu-card__value-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
    margin-bottom: 1.35rem;
}

.arppu-card__value {
    font-size: clamp(2.15rem, 5.5vw, 2.85rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.arppu-card__trend {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.38rem 0.65rem;
    border-radius: 10px;
    background: #2a2a2e;
    color: var(--white);
}

.arppu-card__trend-icon {
    flex-shrink: 0;
    opacity: 0.95;
}

.arppu-card__bar-block {
    position: relative;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.arppu-bar-rank {
    position: relative;
    height: 1.35rem;
    margin-bottom: 0.3rem;
}

.arppu-bar-rank__label {
    position: absolute;
    left: 72%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
}

.arppu-bar-track {
    position: relative;
    height: 11px;
    background: #2a2a2e;
    border-radius: 999px;
    margin-bottom: 0;
}

.arppu-bar-green {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: calc(72% - 8px);
    display: flex;
    align-items: stretch;
    gap: 5px;
    transform-origin: left center;
    will-change: transform;
}

.arppu-bar-segment {
    flex: 1;
    min-width: 0;
    background: #2ecc71;
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(46, 204, 113, 0.22);
}

.arppu-bar-segment:first-child {
    flex: 0.9;
}

.arppu-bar-segment:last-child {
    flex: 1.1;
}

.arppu-bar-thumb {
    position: absolute;
    top: 50%;
    left: 72%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 0 3px #111111, 0 2px 10px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.arppu-benchmarks {
    position: relative;
    margin-top: 0.65rem;
    height: 3.35rem;
}

.arppu-benchmark {
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
}

.arppu-benchmark--p50 {
    left: 50%;
}

.arppu-benchmark--p90 {
    left: 90%;
}

.arppu-benchmark__tooltip {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #2a2a2e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.55rem 0.75rem;
    text-align: center;
    min-width: 4.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.arppu-benchmark__tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: #2a2a2e;
    margin-bottom: -1px;
}

.arppu-benchmark__tooltip strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.15rem;
}

.arppu-benchmark__tooltip span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #a8a8b8;
}

/* QTPR dashboard card (Roblox Creator Analytics style) */
.qtpr-card {
    margin: 0;
    background: #121212;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    padding: 1.6rem 1.45rem 1.85rem;
    width: 100%;
    text-align: left;
    color: var(--white);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.35);
}

.qtpr-card__metric-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #9a9aa8;
    line-height: 1.35;
    margin: 0 0 0.85rem;
    max-width: 26ch;
}

.qtpr-card__ellipsis {
    font-weight: 600;
}

.qtpr-card__value-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
    margin-bottom: 1.35rem;
}

.qtpr-card__value {
    font-size: clamp(2.35rem, 7vw, 3rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.qtpr-card__trend {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.38rem 0.65rem;
    border-radius: 10px;
    background: #2a2a2e;
    color: var(--white);
}

.qtpr-card__trend-icon {
    flex-shrink: 0;
    opacity: 0.95;
}

.qtpr-card__bar-block {
    position: relative;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.qtpr-bar-rank {
    position: relative;
    height: 1.35rem;
    margin-bottom: 0.3rem;
}

.qtpr-bar-rank__label {
    position: absolute;
    left: 98%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--white);
    white-space: nowrap;
}

.qtpr-bar-track {
    position: relative;
    height: 11px;
    background: #2a2a2e;
    border-radius: 999px;
    margin-bottom: 0;
}

.qtpr-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 96%;
    display: flex;
    align-items: stretch;
    gap: 5px;
    transform-origin: left center;
    will-change: transform;
}

.qtpr-bar-segment {
    flex: 1;
    min-width: 0;
    background: #2ecc71;
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(46, 204, 113, 0.25);
}

.qtpr-bar-segment:first-child {
    flex: 0.42;
}

.qtpr-bar-segment:last-child {
    flex: 0.58;
}

.qtpr-bar-handle {
    position: absolute;
    top: 50%;
    left: 98%;
    width: 22px;
    height: 22px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.qtpr-bar-handle__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
}

.qtpr-benchmarks {
    position: relative;
    margin-top: 0.65rem;
    height: 3.35rem;
}

.qtpr-benchmark {
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
}

.qtpr-benchmark--p50 {
    left: 50%;
}

.qtpr-benchmark--p90 {
    left: 90%;
}

.qtpr-benchmark__tooltip {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #2a2a2e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 0.55rem 0.75rem;
    text-align: center;
    min-width: 4.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.qtpr-benchmark__tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: #2a2a2e;
    margin-bottom: -1px;
}

.qtpr-benchmark__tooltip strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.15rem;
}

.qtpr-benchmark__tooltip span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #a8a8b8;
}

.about-section .qtpr-bar-fill,
.about-section .arppu-bar-green {
    transform: scaleX(0);
}

/* Pastilles + texte percentile : alignés au début du track jusqu’à l’anim GSAP */
.about-section .arppu-bar-thumb,
.about-section .arppu-bar-rank__label {
    left: 0%;
    will-change: left;
}

.about-section .qtpr-bar-handle,
.about-section .qtpr-bar-rank__label {
    left: 0%;
    will-change: left;
}

@media (prefers-reduced-motion: reduce) {
    .about-section .qtpr-bar-fill,
    .about-section .arppu-bar-green {
        transform: scaleX(1);
    }

    .about-section .arppu-bar-thumb,
    .about-section .arppu-bar-rank__label {
        left: 72%;
    }

    .about-section .qtpr-bar-handle,
    .about-section .qtpr-bar-rank__label {
        left: 98%;
    }
}

@media (scripting: none) {
    .about-section .qtpr-bar-fill,
    .about-section .arppu-bar-green {
        transform: scaleX(1);
    }

    .about-section .arppu-bar-thumb,
    .about-section .arppu-bar-rank__label {
        left: 72%;
    }

    .about-section .qtpr-bar-handle,
    .about-section .qtpr-bar-rank__label {
        left: 98%;
    }
}

/* Roblox Ads dashboard row (sous BY THE NUMBERS) */
.about-ads-shelf {
    margin-top: 3.25rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    text-align: left;
}

.about-ads-shelf__tagline {
    font-size: 0.98rem;
    line-height: 1.65;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 1.15rem;
    max-width: 52rem;
}

.about-ads-shelf__tagline strong {
    font-weight: 800;
}

.about-ads-shelf__badge {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(26, 26, 26, 0.12);
    color: var(--dark);
    border: 1px solid rgba(26, 26, 26, 0.18);
    vertical-align: middle;
}

.roblox-ads-row {
    background: #141416;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.roblox-ads-row__inner {
    display: flex;
    align-items: center;
    gap: 0.65rem 1rem;
    flex-wrap: nowrap;
    min-width: min(100%, 720px);
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.roblox-ads-row__thumb-wrap {
    flex-shrink: 0;
    width: 4.65rem;
    height: 2.85rem;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0a0a0c;
}

.roblox-ads-row__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
}

.roblox-ads-toggle {
    position: relative;
    flex-shrink: 0;
    width: 2.35rem;
    height: 1.25rem;
    display: inline-block;
    vertical-align: middle;
}

.roblox-ads-toggle__track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #6b5cf5 0%, #4f46d8 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.roblox-ads-toggle__knob {
    position: absolute;
    top: 50%;
    right: 2px;
    width: 1rem;
    height: 1rem;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #f4f4f5;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.roblox-ads-status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.32rem 0.65rem 0.32rem 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    background: #232328;
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}

.roblox-ads-status__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.65);
}

.roblox-ads-metric {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0 0.35rem;
}

.roblox-ads-metric--stack {
    text-align: left;
}

.roblox-ads-metric--wide .roblox-ads-metric__val {
    white-space: nowrap;
}

.roblox-ads-metric__val {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.roblox-ads-metric--stack .roblox-ads-metric__val {
    font-size: 0.88rem;
}

.roblox-ads-metric__lbl {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.58);
    margin-top: 0.12rem;
    line-height: 1.1;
}

@media (max-width: 968px) {
    .about-ads-shelf {
        margin-top: 2.25rem;
    }

    .roblox-ads-metric__val {
        font-size: 0.78rem;
    }

    .roblox-ads-metric--stack .roblox-ads-metric__val {
        font-size: 0.82rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 8rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--lime), var(--green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-text {
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.6;
    color: var(--text-muted);
}

.contact-section-cta {
    margin-top: 1.75rem;
}

/* Contact page (top offset via inline style like games/job — survives .games-section responsive padding) */
.contact-page-hero {
    padding-bottom: 3rem;
}

.contact-page-intro {
    text-align: center;
}

.contact-page-body {
    padding: 2rem 4rem 6rem;
    max-width: 1040px;
    margin: 0 auto;
}

.contact-page-grid {
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    align-items: center;
}

.contact-page-aside {
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
}

.contact-page-illustration {
    width: 100%;
    max-width: min(380px, 100%);
    max-height: min(72vh, 540px);
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: contain;
}

.contact-card {
    background: var(--bg-elevated);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem 2rem 2.25rem;
    text-align: left;
}

.contact-card h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.contact-card > p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.contact-card-lead {
    margin-bottom: 1.25rem;
}

.btn-contact-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    background: linear-gradient(135deg, var(--lime), var(--green));
    color: var(--dark);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contact-primary:hover,
.btn-contact-primary:focus-visible {
    transform: translateY(-2px);
}

.btn-contact-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

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

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.contact-form input,
.contact-form textarea {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-body);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(182, 245, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(182, 245, 0, 0.12);
}

.contact-form-status {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.45;
}

.contact-form-status--success {
    color: var(--lime);
}

.contact-form-status--error {
    color: #e85d5d;
}

@media (max-width: 900px) {
    .contact-page-body {
        padding: 2rem 2rem 5rem;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        order: -1;
    }

    .contact-page-aside {
        order: 0;
    }

    .contact-page-illustration {
        max-width: 280px;
    }
}

/* Footer */
.footer {
    background: var(--bg-app);
    padding: 4rem 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-app);
    opacity: 0.3;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: opacity 0.2s ease;
}

.footer-brand:hover {
    opacity: 0.92;
}

.footer-brand:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 4px;
    border-radius: 8px;
}

.footer-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    border-radius: 12px;
}

.footer-brand h3 {
    margin-bottom: 0;
    line-height: 1;
}

.footer-column--brand > p {
    margin-bottom: 1.35rem;
}

.footer-social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.footer-social__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    margin-bottom: 0 !important;
    border-radius: 999px;
    color: var(--text-body);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-social__link:hover {
    color: var(--dark);
    background: linear-gradient(135deg, var(--lime), var(--green));
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(182, 245, 0, 0.25);
}

.footer-social__link:focus-visible {
    outline: 2px solid var(--lime);
    outline-offset: 2px;
}

.footer-column h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    color: var(--lime);
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.footer-column p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-column a:not(.footer-brand):not(.footer-social__link) {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-column a:not(.footer-brand):not(.footer-social__link):hover {
    color: var(--lime);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom-logo {
    display: block;
    margin: 1rem auto 0;
    width: 88px;
    height: auto;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .about-title, .games-title, .partner-title {
        font-size: 4rem;
    }
}

@media (max-width: 968px) {
    .about-vision-layout {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        text-align: left;
    }

    .about-vision-layout__chart {
        justify-self: center;
        max-width: min(740px, 100%);
    }

    .about-vision-layout__charts-row {
        justify-content: center;
    }

    .about-vision-layout__charts-row > .arppu-card,
    .about-vision-layout__charts-row > .qtpr-card {
        max-width: 400px;
        min-width: 0;
    }

    .about-vision-layout__copy {
        justify-self: stretch;
    }

    .hero-section,
    .contact-section,
    .games-section,
    .partner-section {
        padding: 6rem 2rem 2rem;
    }

    .about-section {
        padding: 3.25rem 2rem 2.25rem;
    }
    
    .partner-title {
        font-size: 3.5rem;
    }
    
    .partner-card {
        width: 280px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .title-line-1 {
        font-size: 0.9em;
    }
    
    .title-line-2 {
        font-size: 1.1em;
    }
    
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }

    .job-list-section {
        padding: 1rem 1rem 1.5rem;
    }

    .job-list-item {
        padding: 1rem 1rem 1rem 1.2rem;
        border-radius: 18px;
    }

    .job-list-item__title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .job-list-item__subtitle {
        font-size: 0.95rem;
    }

    .job-list-item__cta {
        min-width: 140px;
        padding: 0.82rem 1.1rem;
        font-size: 1.45rem;
    }

    .job-modal__columns {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-box {
        width: 100%;
        max-width: 300px;
    }
    
    .about-title,
    .games-title {
        font-size: 3rem;
    }
    
    .contact-title {
        font-size: 3rem;
    }
    
    .games-marquee { height: 60vh; }
    .marquee-img { height: 160px; }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .partner-card {
        width: 100%;
        max-width: none;
    }
    
    .partner-title {
        font-size: 2.5rem;
    }
    
    .partner-text {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-line-1 {
        font-size: 0.9em;
    }
    
    .title-line-2 {
        font-size: 1.1em;
    }
    
    .about-title,
    .games-title,
    .contact-title {
        font-size: 2.5rem;
    }
    .games-marquee { height: 50vh; }
    .marquee-img { height: 130px; }
    
    .stat-number {
        font-size: 2.5rem;
    }

    .job-list-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.85rem;
    }

    .job-list-item__cta {
        width: 100%;
        min-width: 0;
        border-radius: 14px;
    }

    .job-modal {
        padding: 0.8rem;
    }

    .job-modal__panel {
        border-radius: 16px;
        padding: 1rem 0.9rem 1.15rem;
    }
    
    /* Full-width CTA on small screens */
    .games-cta {
        display: inline-flex;
        width: 100%;
        max-width: 520px;
        justify-content: center;
        padding: 1.2rem 2rem;
    }
}

/* Marketing section styles */
.marketing-section {
    background: var(--bg-app);
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.marketing-section .games-content {
    max-width: 1200px; /* un peu plus étroit pour cette section */
}

/* Réduire la taille des cartes dans la grille Marketing */
.marketing-section .games-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 1.25rem;
    padding: 0 2rem;
}

.marketing-card {
    background: var(--bg-elevated);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
    transition: all 0.3s;
    border: 1px solid var(--card-border);
    max-width: 420px;
}

.marketing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 24px rgba(182, 245, 0, 0.06);
    border-color: rgba(182, 245, 0, 0.25);
}

.marketing-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.marketing-image {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.marketing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.marketing-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.marketing-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-body);
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.marketing-stats {
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
}

.marketing-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.marketing-stat svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Legal pages */
.legal-page {
    background:
        radial-gradient(900px 420px at 10% 5%, rgba(182, 245, 0, 0.08), transparent 70%),
        radial-gradient(820px 380px at 90% 0%, rgba(88, 130, 255, 0.08), transparent 70%),
        var(--bg-app);
}

.legal-main {
    padding: 8.5rem 2rem 2rem;
}

.legal-shell {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1.5rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(165deg, rgba(16, 16, 20, 0.97), rgba(11, 12, 15, 0.94));
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.legal-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-kicker {
    margin: 0 0 0.45rem;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(182, 245, 0, 0.35);
    color: #d8f99a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.legal-header h1 {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 400;
    letter-spacing: 1.5px;
    background: linear-gradient(130deg, #e8ffba, var(--lime), var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-updated {
    margin: 0.45rem 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.legal-section + .legal-section {
    margin-top: 1.25rem;
}

.legal-section h2 {
    margin: 0 0 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.8px;
    color: #d8ff86;
}

.legal-section p {
    margin: 0;
    line-height: 1.72;
    color: #c8ccd6;
}

.legal-section a {
    color: var(--lime);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.legal-section a:hover {
    color: #e8ffba;
}

/* Page calculateur DevEx */
.devex-section .devex-calc {
    margin-top: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(182, 245, 0, 0.18);
    background: rgba(0, 0, 0, 0.22);
}

.devex-fieldset {
    margin: 0 0 1.1rem;
    padding: 0;
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.devex-legend {
    width: 100%;
    padding: 0;
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.devex-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #d5d8e0;
}

.devex-radio input {
    accent-color: var(--lime);
    width: 1.05rem;
    height: 1.05rem;
}

.devex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem 1.1rem;
    margin-bottom: 1.15rem;
}

.devex-label {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #c4c8d4;
}

.devex-label--wide {
    grid-column: 1 / -1;
}

.devex-input {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Select : fond opaque + options colorées (évite texte blanc sur fond blanc des listes natives). */
.devex-select {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: var(--bg-elevated);
    color: var(--text-body);
    outline: none;
    cursor: pointer;
    color-scheme: dark;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.devex-select option,
.devex-select optgroup {
    background-color: #14141a;
    color: #ececf1;
}

.devex-input:focus,
.devex-select:focus {
    border-color: rgba(182, 245, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(182, 245, 0, 0.15);
}

.devex-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.9rem;
}

.devex-result-card {
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(182, 245, 0, 0.1), rgba(16, 16, 22, 0.85));
    border: 1px solid rgba(182, 245, 0, 0.22);
}

.devex-result-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(232, 255, 186, 0.9);
    margin-bottom: 0.4rem;
}

.devex-result-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.55rem, 4vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--white);
}

.devex-hint {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.devex-table-wrap {
    margin-top: 0.9rem;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.devex-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.devex-table th,
.devex-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.devex-table th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d8ff86;
    background: rgba(0, 0, 0, 0.28);
}

.devex-table tbody tr:last-child td {
    border-bottom: none;
}

.devex-table tbody tr:hover td {
    background: rgba(182, 245, 0, 0.04);
}

.devex-note {
    margin: 0.85rem 0 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #b4b8c4;
}

.devex-faq {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.devex-details {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.devex-details summary {
    cursor: pointer;
    list-style: none;
    padding: 0.9rem 1rem;
    font-weight: 700;
    color: #e4e6ed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.devex-details summary::-webkit-details-marker {
    display: none;
}

.devex-details summary::after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--lime);
    border-bottom: 2px solid var(--lime);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.devex-details[open] summary::after {
    transform: rotate(-135deg);
}

.devex-details p {
    margin: 0;
    padding: 0 1rem 1rem;
    line-height: 1.72;
    color: #b8bcc9;
    font-size: 0.92rem;
}

/* Us page */
.us-loading {
    overflow: hidden;
}

.us-loader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    pointer-events: auto;
    background: transparent;
    isolation: isolate;
}

.us-loader.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.shape-overlays {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.shape-overlays__path {
    opacity: 0.95;
}

.us-page {
    background:
        radial-gradient(1200px 520px at 15% 4%, rgba(182, 245, 0, 0.09), transparent 70%),
        radial-gradient(900px 420px at 85% 8%, rgba(164, 221, 0, 0.07), transparent 70%),
        var(--bg-app);
}

.us-hero-section {
    position: relative;
    isolation: isolate;
    min-height: min(92vh, 960px);
    overflow: hidden;
}

.us-hero-section .hero-content {
    max-width: 980px;
}

.us-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(182, 245, 0, 0.35);
    background: rgba(16, 16, 20, 0.72);
    color: #d8f99a;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.us-kicker::before {
    content: '';
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--lime);
    box-shadow: 0 0 14px rgba(182, 245, 0, 0.8);
}

.us-hero-section .hero-title {
    margin-top: 1.1rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 34px rgba(0, 0, 0, 0.55));
}

.us-hero-section .hero-subtitle {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    color: #cfd2da;
}

.us-hero-section .hero-cta-text {
    letter-spacing: 0.04em;
    color: #d0f76c;
}

.us-aurora {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(26px);
    opacity: 0.8;
    z-index: 0;
    will-change: transform;
}

.us-aurora-a {
    width: 36rem;
    height: 36rem;
    top: -13rem;
    right: -9rem;
    background: radial-gradient(circle at center, rgba(182, 245, 0, 0.34), rgba(182, 245, 0, 0.05) 48%, transparent 68%);
}

.us-aurora-b {
    width: 34rem;
    height: 34rem;
    left: -11rem;
    bottom: -14rem;
    background: radial-gradient(circle at center, rgba(82, 140, 255, 0.22), rgba(82, 140, 255, 0.06) 47%, transparent 70%);
}

.us-intro-section {
    padding: 0 2rem 2rem;
}

.us-intro-content {
    max-width: 1200px;
    margin: 0 auto;
}

.us-intro-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.6rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1.45rem;
    letter-spacing: 3px;
    background: linear-gradient(125deg, #e8ffba, var(--lime), var(--green));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.us-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.us-pillar-card {
    position: relative;
    background: linear-gradient(160deg, rgba(16, 16, 20, 0.95), rgba(10, 11, 14, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.35rem;
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.us-pillar-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(182, 245, 0, 0.14), rgba(182, 245, 0, 0) 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.us-pillar-card:hover {
    transform: translateY(-7px);
    border-color: rgba(182, 245, 0, 0.38);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.52), 0 0 20px rgba(182, 245, 0, 0.12);
}

.us-pillar-card:hover::after {
    opacity: 1;
}

.us-pillar-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: #d2ff70;
}

.us-pillar-card p {
    color: #b7bbc6;
    line-height: 1.62;
}

.us-team-section {
    padding-top: 4.25rem;
}

.us-team-section .contact-content {
    max-width: 1200px;
}

.us-team-section .contact-title {
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1rem;
}

.team-card {
    position: relative;
    background: linear-gradient(168deg, rgba(15, 16, 20, 0.96), rgba(12, 13, 16, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 1.45rem;
    text-align: left;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.46),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(182, 245, 0, 0.18), rgba(182, 245, 0, 0) 70%);
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(182, 245, 0, 0.48);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.56), 0 0 24px rgba(182, 245, 0, 0.14);
}

.team-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    font-weight: 800;
    color: var(--dark);
    background: linear-gradient(135deg, #edffc8, var(--lime), var(--green));
    box-shadow: 0 8px 20px rgba(182, 245, 0, 0.28);
}

.team-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1.2px;
    margin-bottom: 0.2rem;
    color: #f4ffdd;
}

.team-role {
    font-size: 0.79rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #b5f531;
    margin-bottom: 0.72rem;
}

.team-description {
    color: #bcc1cd;
    line-height: 1.64;
}

/* Reveal animations for us page */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.us-page .hero-title,
.us-page .us-kicker {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.us-page.us-loaded .hero-title,
.us-page.us-loaded .us-kicker {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 968px) {
    .us-hero-section {
        min-height: auto;
    }

    .us-intro-title {
        font-size: 2.85rem;
    }

    .us-pillars-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .us-intro-section {
        padding: 0 1.2rem 2rem;
    }
}

@media (max-width: 600px) {
    .legal-main {
        padding: 7.6rem 1rem 1rem;
    }

    .legal-shell {
        padding: 1rem;
        border-radius: 16px;
    }

    .us-kicker {
        font-size: 0.68rem;
        letter-spacing: 0.08em;
    }

    .team-card,
    .us-pillar-card {
        border-radius: 16px;
    }

    .us-intro-title {
        font-size: 2.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .us-loader {
        display: none;
    }

    [data-reveal],
    .us-page .hero-title,
    .us-page .us-kicker {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}