/* ==========================================================================
   MyTrain — Design System Obsidienne & Rail Émeraude (SNCB / Infrabel)
   Identité : Vert Transit néon (#00D58C), bleu SNCB (#0072CE), fonds obsidienne
   profonds (#070B12), header flottant, cartes squircles, typographie
   Plus Jakarta Sans & JetBrains Mono (tabular-nums).
   ========================================================================== */

:root {
    /* Couleurs principales */
    --ng-primary: 160 100% 42%;        /* #00D58C - Vert Transit */
    --ng-primary-dark: 160 100% 33%;   /* #00A86B */
    --ng-accent: 157 83% 57%;          /* #34EEA5 - Menthe claire */
    --ng-warm: 42 100% 50%;            /* #FFB300 */
    --ng-dark: 222 47% 8%;             /* #0B0F17 */
    --ng-darker: 224 71% 4%;           /* #04070D */

    /* Couleurs d'interface */
    --background: 222 47% 5%;          /* #070B12 */
    --card: 221 35% 11%;               /* #111725 */
    --border: 220 25% 19%;             /* #202A3D */
    --muted: 220 25% 14%;              /* #161D2B */
    --muted-foreground: 215 20% 68%;   /* #94A3B8 */
    --foreground: 210 40% 98%;         /* #F8FAFC */

    /* Lignes ferroviaires SNCB */
    --line-ic: #0072CE;
    --line-s: #00D58C;
    --line-l: #0284C7;
    --line-p: #8B5CF6;
    --line-intl: #F59E0B;

    --radius: 1.15rem;
    --radius-lg: 1.5rem;
    --radius-pill: 9999px;

    --gradient-hero: linear-gradient(135deg, #00D58C 0%, #00A86B 100%);
    --gradient-transit: linear-gradient(135deg, #00FF9D 0%, #00D58C 50%, #00A86B 100%);
    --gradient-dark: linear-gradient(180deg, #0B0F17 0%, #04070D 100%);
    --shadow-card: 0 18px 44px -12px rgba(0, 0, 0, 0.72);
    --shadow-glow: 0 0 35px rgba(0, 213, 140, 0.32);

    --site-header-top: 0.9rem;
    --site-header-height: 3.65rem;
    --site-header-offset: calc(var(--site-header-top) + var(--site-header-height) + 1.25rem);

    /* Rétro-compatibilité */
    --bg-main: hsl(var(--background));
    --bg-cosmic: #070B12;
    --card-surface: rgba(15, 22, 36, 0.88);
    --card-glass: rgba(15, 22, 36, 0.86);
    --card-border: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(0, 213, 140, 0.2);
    --card-border-hover: rgba(0, 213, 140, 0.45);
    --accent-sky: #00D58C;
    --accent-blue: #00D58C;
    --accent-glory: #00D58C;
}

/* ---------- Base & Typographie ---------- */
html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

html body {
    background-color: #070B12 !important;
    background-image:
        radial-gradient(1100px 540px at 50% -6%, rgba(0, 213, 140, 0.13), transparent 62%),
        radial-gradient(760px 440px at 96% 24%, rgba(0, 114, 206, 0.10), transparent 60%),
        radial-gradient(640px 420px at 4% 72%, rgba(0, 213, 140, 0.06), transparent 60%) !important;
    background-attachment: fixed !important;
    color: #F8FAFC !important;
    font-family: 'Plus Jakarta Sans', 'Figtree', ui-sans-serif, system-ui, -apple-system, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body .font-mono,
body .sncb-font.font-mono {
    font-family: 'JetBrains Mono', ui-monospace, monospace !important;
    font-variant-numeric: tabular-nums;
}
body .sncb-font { font-family: 'Plus Jakarta Sans', 'Figtree', ui-sans-serif, system-ui, sans-serif !important; }

::selection { background: rgba(0, 213, 140, 0.35); color: #FFFFFF; }

:focus-visible {
    outline: 2px solid rgba(0, 255, 157, 0.75);
    outline-offset: 2px;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #070B12; }
::-webkit-scrollbar-thumb { background: #1E293B; border-radius: 9999px; border: 2px solid #070B12; }
::-webkit-scrollbar-thumb:hover { background: #00D58C; }

/* ---------- Header Flottant ---------- */
.ng-header {
    position: fixed;
    top: var(--site-header-top);
    left: 0; right: 0;
    z-index: 2000;
    padding: 0 1rem;
    pointer-events: none;
}
.ng-header__bar {
    pointer-events: auto;
    max-width: 82rem;
    margin: 0 auto;
    height: var(--site-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 0 .6rem 0 1rem;
    border-radius: 9999px;
    background: rgba(9, 13, 22, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ng-header.is-scrolled .ng-header__bar {
    background: rgba(7, 11, 18, 0.96);
    border-color: rgba(0, 213, 140, 0.28);
    box-shadow: 0 18px 54px -10px rgba(0, 0, 0, 0.9), 0 0 24px rgba(0, 213, 140, 0.12);
}

/* Brand Logo */
.ng-brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; flex-shrink: 0; }
.ng-brand__logo {
    position: relative;
    width: 2.35rem; height: 2.35rem;
    border-radius: .85rem;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #00FF9D 0%, #00D58C 48%, #00A86B 100%);
    box-shadow: 0 0 22px rgba(0, 213, 140, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.ng-brand:hover .ng-brand__logo { transform: rotate(-5deg) scale(1.07); }
.ng-brand__logo i { font-size: 1rem; color: #051A12; }
.ng-brand__dot {
    position: absolute; top: -2px; right: -2px;
    width: 10px; height: 10px; border-radius: 9999px;
    background: #00FF9D; border: 2px solid #090D16;
}
.ng-brand__dot::after {
    content: ''; position: absolute; inset: -2px; border-radius: inherit;
    background: #00FF9D; animation: transit-ping 2s cubic-bezier(0,0,.2,1) infinite;
}
.ng-brand__name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.03em; line-height: 1; }
.ng-brand__name span { color: #00D58C; }
.ng-brand__tag { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #94A3B8; margin-top: 3px; }

/* Navigation Desktop */
.ng-nav { display: flex; align-items: center; gap: .2rem; }
.ng-nav__link {
    position: relative;
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .48rem .78rem;
    border-radius: 9999px;
    font-size: .83rem; font-weight: 700;
    color: #94A3B8;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, transform .2s ease;
    white-space: nowrap;
}
.ng-nav__link i { font-size: .78rem; opacity: .82; transition: transform .25s ease, opacity .2s; }
.ng-nav__link:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.06); }
.ng-nav__link:hover i { transform: translateY(-1px); opacity: 1; }
.ng-nav__link.is-active {
    color: #FFFFFF;
    background: rgba(0, 213, 140, 0.14);
    box-shadow: inset 0 0 0 1px rgba(0, 213, 140, 0.35);
}
.ng-nav__link.is-active i { color: #00FF9D; opacity: 1; }
.ng-nav__link.is-active::after {
    content: ''; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
    width: 14px; height: 2.5px; border-radius: 9999px;
    background: #00FF9D; box-shadow: 0 0 8px #00D58C;
}

@media (max-width: 1200px) and (min-width: 1024px) {
    .ng-nav__link { padding: .45rem .6rem; font-size: .78rem; gap: .35rem; }
    .ng-brand__tag { display: none; }
}

/* Badge LIVE & Admin */
.ng-live {
    font-family: 'JetBrains Mono', monospace;
    font-size: .56rem; font-weight: 800; letter-spacing: .08em;
    padding: .12rem .36rem; border-radius: .38rem;
    background: rgba(0, 213, 140, 0.18); color: #00FF9D;
    border: 1px solid rgba(0, 213, 140, 0.42);
}
.ng-admin-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: .65rem; font-weight: 800; letter-spacing: .08em;
    color: #FCD34D;
}

.ng-header__actions { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }
.ng-burger {
    display: none;
    width: 2.5rem; height: 2.5rem; border-radius: 9999px;
    color: #fff; background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center; justify-content: center;
    transition: background .2s, border-color .2s;
}
.ng-burger:hover { background: rgba(0, 213, 140, 0.15); border-color: rgba(0, 213, 140, 0.4); }

.ng-mobile {
    pointer-events: auto;
    max-width: 82rem; margin: .5rem auto 0;
    border-radius: 1.5rem;
    background: rgba(9, 13, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 24px 60px -10px rgba(0,0,0,.88);
    padding: .65rem;
    display: none;
    animation: ng-enter .25s cubic-bezier(.16,1,.3,1);
}
.ng-mobile.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.ng-mobile .ng-nav__link { padding: .85rem 1rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.03); }
.ng-mobile .ng-nav__link.is-active::after { display: none; }

@media (max-width: 1023px) {
    .ng-header .ng-nav, .ng-header .ng-cta-desktop { display: none; }
    .ng-burger { display: inline-flex; }
}

/* ---------- Boutons ---------- */
.ng-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.4rem;
    border-radius: 9999px;
    font-weight: 800; font-size: .88rem;
    text-decoration: none; cursor: pointer;
    transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s;
    border: 1px solid transparent;
    white-space: nowrap;
}
.ng-btn:active { transform: scale(.97); }

.ng-btn--primary,
html body .btn-gradient-primary,
html body .btn-gradient,
html body .rail-btn-primary {
    background: linear-gradient(135deg, #00D58C 0%, #00B377 100%) !important;
    color: #051A12 !important;
    border: 1px solid rgba(0, 255, 157, 0.45) !important;
    box-shadow: 0 6px 24px -4px rgba(0, 213, 140, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    font-weight: 800 !important;
}
.ng-btn--primary:hover,
html body .btn-gradient-primary:hover,
html body .btn-gradient:hover,
html body .rail-btn-primary:hover {
    background: linear-gradient(135deg, #00FF9D 0%, #00D58C 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px -4px rgba(0, 213, 140, 0.62), 0 0 24px rgba(0, 213, 140, 0.35) !important;
    color: #04120D !important;
}

.ng-btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}
.ng-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 213, 140, 0.42);
    transform: translateY(-1px);
}
.ng-btn--sm { padding: .48rem .95rem; font-size: .8rem; }

/* ---------- Cartes Squircles ---------- */
html body .glass-card,
html body .glass,
html body .rail-card,
.ng-card {
    background: linear-gradient(180deg, rgba(16, 22, 36, 0.90), rgba(11, 16, 27, 0.86)) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 1.35rem !important;
    box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition: border-color .28s ease, box-shadow .28s ease, transform .28s cubic-bezier(.16,1,.3,1);
}
html body .glass-card:hover,
html body .glass:hover,
html body .rail-card:hover,
.ng-card:hover {
    border-color: rgba(0, 213, 140, 0.32) !important;
    box-shadow: 0 22px 52px -12px rgba(0, 0, 0, 0.8), 0 0 26px rgba(0, 213, 140, 0.12) !important;
}

html body .radar-glass {
    background: rgba(9, 13, 22, 0.92) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ---------- Champs & Suggestions ---------- */
html body .rail-input,
.ng-input {
    background: rgba(9, 13, 22, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.11) !important;
    color: #FFFFFF !important;
    border-radius: 1rem !important;
    transition: border-color .2s, box-shadow .2s;
}
html body input[type="text"]:focus,
html body input[type="search"]:focus,
html body input[type="date"]:focus,
html body input[type="time"]:focus,
html body input[type="email"]:focus,
html body input[type="password"]:focus,
html body select:focus,
.ng-input:focus {
    outline: none !important;
    border-color: #00D58C !important;
    box-shadow: 0 0 0 3px rgba(0, 213, 140, 0.22) !important;
}

html body .suggestions-dropdown {
    background: rgba(9, 13, 22, 0.98) !important;
    border: 1px solid rgba(0, 213, 140, 0.28) !important;
    border-radius: 1.15rem !important;
    box-shadow: 0 24px 60px -10px rgba(0,0,0,.88) !important;
    margin-top: 0.35rem;
}
html body .suggestion-item:hover,
html body .suggestion-item.active {
    background: rgba(0, 213, 140, 0.16) !important;
    color: #00FF9D !important;
}

/* ---------- Typographie, Kickers, Chips & Séparateurs ---------- */
.ng-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #00D58C;
}
.ng-kicker::before {
    content: '';
    width: 14px;
    height: 2px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #00FF9D, #00D58C);
}
.ng-section-title {
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.12;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    color: #FFFFFF;
}

.ng-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .22rem .65rem;
    border-radius: 9999px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    background: rgba(0, 213, 140, 0.14);
    color: #00FF9D;
    border: 1px solid rgba(0, 213, 140, 0.32);
    white-space: nowrap;
}
.ng-chip--warm {
    background: rgba(245, 158, 11, 0.16);
    color: #FCD34D;
    border-color: rgba(245, 158, 11, 0.35);
}
.ng-chip--blue {
    background: rgba(0, 114, 206, 0.22);
    color: #7DD3FC;
    border-color: rgba(56, 189, 248, 0.35);
}

.ng-stock-code {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .72rem;
    font-weight: 800;
    padding: .15rem .5rem;
    border-radius: .5rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
}

.ng-credit {
    font-size: .7rem;
    color: #94A3B8;
    line-height: 1.4;
}
.ng-credit a { color: #34EEA5; text-decoration: none; }
.ng-credit a:hover { text-decoration: underline; }

.ng-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(0, 213, 140, 0.25), rgba(255, 255, 255, 0.04));
}

/* ---------- Cartes Photo Flotte (.ng-photo-card) ---------- */
.ng-photo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 16 / 10;
    min-height: 220px;
    border-radius: 1.35rem;
    overflow: hidden;
    background: #0D131F;
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 18px 42px -12px rgba(0, 0, 0, 0.72);
    text-decoration: none;
    color: inherit;
    transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s ease, box-shadow .3s ease;
}
.ng-photo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 213, 140, 0.45);
    box-shadow: 0 24px 56px -14px rgba(0, 0, 0, 0.85), 0 0 28px rgba(0, 213, 140, 0.22);
}
.ng-photo-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.16,1,.3,1), filter .35s ease;
}
.ng-photo-card:hover .ng-photo-card__img {
    transform: scale(1.07);
    filter: brightness(1.06);
}
.ng-photo-card__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 11, 18, 0.08) 0%, rgba(7, 11, 18, 0.35) 45%, rgba(7, 11, 18, 0.94) 100%);
    pointer-events: none;
}
.ng-photo-card__body {
    position: relative;
    z-index: 2;
    padding: 1.15rem 1.25rem;
}

/* ---------- Révélation au scroll ---------- */
.ng-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1);
}
.ng-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Transit Line Pills & Badges ---------- */
.transit-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .28rem .72rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .02em;
    white-space: nowrap;
}
.transit-pill--ic {
    background: #0072CE;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 114, 206, 0.35);
}
.transit-pill--s {
    background: #00D58C;
    color: #061A12;
    box-shadow: 0 4px 14px rgba(0, 213, 140, 0.35);
}
.transit-pill--l {
    background: #0284C7;
    color: #FFFFFF;
}
.transit-pill--p {
    background: #8B5CF6;
    color: #FFFFFF;
}
.transit-pill--exp {
    background: #F59E0B;
    color: #1F1300;
}

/* Indicateur radar live */
.transit-beacon {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #00FF9D;
}
.transit-beacon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: #00FF9D;
    animation: transit-ping 2s cubic-bezier(0,0,.2,1) infinite;
}

/* ---------- Hero ---------- */
.ng-hero {
    position: relative;
    z-index: 5;
    isolation: isolate;
    padding: calc(var(--site-header-offset) + 2.2rem) 1rem 5.5rem;
    min-height: 620px;
    display: flex; align-items: center;
}
.ng-hero__bg {
    position: absolute; inset: 0; z-index: -2;
    overflow: hidden;
}
.ng-hero__bg::before {
    content: ''; position: absolute; inset: 0;
    background-image: var(--hero-img);
    background-size: cover; background-position: center 40%;
    transform: scale(1.06);
    animation: ng-kenburns 24s ease-in-out infinite alternate;
}
.ng-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 11, 18, 0.96) 0%, rgba(7, 11, 18, 0.8) 50%, rgba(7, 11, 18, 0.42) 100%),
        linear-gradient(180deg, rgba(7, 11, 18, 0.45) 0%, transparent 40%, rgba(7, 11, 18, 1) 100%);
}
.ng-hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.ng-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .38rem .9rem .38rem .52rem;
    border-radius: 9999px;
    background: rgba(0, 213, 140, 0.12);
    border: 1px solid rgba(0, 213, 140, 0.32);
    color: #00FF9D;
    font-size: .78rem; font-weight: 800; letter-spacing: .02em;
    backdrop-filter: blur(8px);
}
.ng-eyebrow__pill {
    background: linear-gradient(135deg, #00FF9D 0%, #00D58C 100%);
    color: #051A12;
    padding: .15rem .55rem;
    border-radius: 9999px;
    font-size: .65rem; font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ng-title {
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.04;
    font-size: clamp(2.5rem, 5.8vw, 4.7rem);
}
.ng-gradient-text {
    background: linear-gradient(90deg, #FFFFFF 0%, #34EEA5 52%, #00D58C 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ng-lead { color: #94A3B8; font-size: clamp(1rem, 1.55vw, 1.15rem); line-height: 1.65; max-width: 36rem; }

/* ---------- Stat Cards ---------- */
.ng-stat {
    position: relative;
    padding: 1.2rem 1.3rem;
    border-radius: 1.2rem;
    background: rgba(15, 22, 36, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: border-color .25s ease, transform .25s ease;
}
.ng-stat:hover {
    border-color: rgba(0, 213, 140, 0.35);
    transform: translateY(-2px);
}
.ng-stat::before {
    content: ''; position: absolute; inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #00D58C, #34EEA5);
}
.ng-stat__value { font-size: 1.85rem; font-weight: 900; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.ng-stat__label { margin-top: .4rem; font-size: .73rem; font-weight: 700; color: #94A3B8; text-transform: uppercase; letter-spacing: .08em; }

/* Feature Cards */
.ng-feature {
    position: relative; display: flex; flex-direction: column; gap: .9rem;
    padding: 1.65rem; border-radius: 1.35rem; overflow: hidden;
    background: rgba(15, 22, 36, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none; color: inherit;
    transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .3s, box-shadow .3s;
}
.ng-feature::before {
    content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
    background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(0, 213, 140, 0.18), transparent 70%);
}
.ng-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 213, 140, 0.45);
    box-shadow: 0 24px 60px -20px rgba(0, 213, 140, 0.3);
}
.ng-feature:hover::before { opacity: 1; }
.ng-feature__icon {
    position: relative; width: 2.85rem; height: 2.85rem; border-radius: 1rem;
    display: grid; place-items: center; font-size: 1.15rem;
    background: rgba(0, 213, 140, 0.14); color: #00FF9D;
    border: 1px solid rgba(0, 213, 140, 0.3);
}
.ng-feature__arrow {
    position: relative; margin-top: auto;
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .85rem; font-weight: 800; color: #00D58C;
}
.ng-feature__arrow i { transition: transform .25s; }
.ng-feature:hover .ng-feature__arrow i { transform: translateX(5px); }

/* Tableaux */
.glory-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.glory-table thead th {
    background: rgba(15, 22, 36, 0.96);
    color: #94A3B8;
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: .85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.glory-table tbody td {
    padding: .95rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background .15s ease;
}
.glory-table tbody tr:hover td {
    background: rgba(0, 213, 140, 0.07);
}
.glory-table tbody tr.is-active-stop td {
    background: rgba(0, 213, 140, 0.12);
    border-color: rgba(0, 213, 140, 0.25);
}
.tele-board-row {
    transition: background .15s ease;
}
.tele-board-row:hover {
    background: rgba(0, 213, 140, 0.06);
}
a:focus-visible, button:focus-visible {
    outline: 2px solid #00FF9D;
    outline-offset: 2px;
}

/* Animations */
@keyframes transit-ping {
    75%, 100% { transform: scale(2.4); opacity: 0; }
}
@keyframes ng-enter { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ng-kenburns { from { transform: scale(1.06) translate3d(0,0,0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }

/* Footer */
.ng-footer {
    position: relative;
    margin-top: 5rem;
    background: linear-gradient(180deg, #090D16 0%, #04070D 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ng-footer::before {
    content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 213, 140, 0.6), transparent);
}
.ng-footer a { color: #94A3B8; text-decoration: none; transition: color .2s; }
.ng-footer a:hover { color: #00FF9D; }
.ng-footer h4 { font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #FFFFFF; margin-bottom: 1.1rem; }

/* Conteneurs pleine largeur */
.container, main.container { max-width: 82rem !important; width: 100% !important; }
.table-responsive, .overflow-x-auto { width: 100% !important; max-width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
.train-track-container { width: 100% !important; max-width: 100% !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; }

@media (max-width: 640px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    .ng-header { padding: 0 .5rem; --site-header-top: .5rem; }
    .ng-header__bar { padding: .5rem .75rem; }
    .ng-brand__tag { display: none; }
    .ng-hero { padding-top: calc(var(--site-header-offset) + 1.25rem); padding-bottom: 3.5rem; }
    #radar-wrapper { margin: 0 .5rem .5rem !important; }
    .glass-card { border-radius: 1rem !important; }

    .overflow-x-auto, .train-track-container {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 213, 140, 0.3) transparent;
    }

    .ng-chip { font-size: 0.65rem; padding: 0.15rem 0.45rem; }
}
