/* ==========================================================================
   USM FOOTBALL - STYLESHEET PRINCIPAL (FRONT-OFFICE)
   ========================================================================== */

/* ================= 1. VARIABLES & RESET ================= */
@font-face {
    font-family: 'Moglan';
    src: url('Assets/Moglan.ttf') format('ttf'), 
         url('Assets/Moglan.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
:root {
    --bg-dark: #050507; 
    --usm-pink: #d80056;
    --usm-pink-glow: rgba(216, 0, 86, 0.4);
    --text-light: #ffffff;
    --surface: rgba(25, 25, 30, 0.4); 
    --surface-border: rgba(255, 255, 255, 0.1);
    --card-radius: 32px; 
    --spacing-main: clamp(20px, 5vw, 60px);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
}

#agence, #services, #joueurs {
    scroll-margin-top: 50vh;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, var(--usm-pink-glow) 0%, transparent 60%),
        url('https://www.transparenttextures.com/patterns/black-scales.png');
    background-attachment: fixed; 
    background-repeat: repeat; 
    color: var(--text-light); 
    line-height: 1.4; 
    overflow-x: hidden;
}

.pink-accent { 
    color: var(--usm-pink); 
    font-weight: bold;
}

.text-white { 
    color: #fff; 
}


/* ================= 2. TYPO GÉANTE & ANIMATIONS ================= */
.giant-bg-text {
    position: absolute; 
    font-size: clamp(6rem, 12vw, 15rem); 
    font-weight: 900;
    text-transform: uppercase; 
    color: rgba(255, 255, 255, 0.02);
    z-index: -1; 
    line-height: 0.8; 
    pointer-events: none; 
    white-space: nowrap;
}

.text-1 { top: 15vh; left: -5%; } 
.text-2 { top: 55vh; right: -5%; text-align: right; }

.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: 0.8s cubic-bezier(0.25, 1, 0.5, 1); 
}

.reveal.visible { 
    opacity: 1; 
    transform: translateY(0); 
}


/* ================= 3. NAVBAR & LANGUES ================= */
.navbar {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 20px var(--spacing-main);
    background: rgba(5, 5, 7, 0.8); 
    backdrop-filter: blur(20px); 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 100; 
    border-bottom: 1px solid var(--surface-border);
}

.logo-nav { 
    font-family: 'Moglan', sans-serif; 
    font-size: 1.5rem; 
    font-weight: 900; 
    letter-spacing: 2px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.logo-nav img {
    height: 38px; 
    width: auto;
    transform: translateY(-5px); 
}
.logo-nav span { color: var(--usm-pink); }

.nav-links { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
}

.nav-links a { 
    color: white; 
    text-decoration: none; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    font-weight: bold; 
    transition: 0.3s; 
}

.nav-links a:hover { 
    color: var(--usm-pink); 
}

.btn-premium { 
    background: var(--usm-pink); 
    color: white; 
    padding: 10px 24px; 
    border-radius: 30px; 
    border: none; 
    font-weight: bold; 
    cursor: pointer; 
}

.lang-switcher select {
    background: transparent; 
    color: var(--text-light); 
    border: 1px solid var(--surface-border);
    padding: 5px 10px; 
    border-radius: 20px; 
    font-weight: bold; 
    cursor: pointer; 
    appearance: none;
    text-align: center; 
    transition: 0.3s;
}

.lang-switcher select:hover { 
    border-color: var(--usm-pink); 
    color: var(--usm-pink); 
}

.lang-switcher select option { 
    background: var(--bg-dark); 
    color: white; 
}


/* ================= 4. HERO SECTION ================= */
.hero-massive {
    min-height: 80vh; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    padding: 120px 20px 40px; 
    position: relative;
}

.massive-eagle-wrapper {
    width: clamp(300px, 60vw, 800px); 
    margin-bottom: 20px;
    will-change: transform; 
    transform: translateZ(0); 
    animation: float 6s ease-in-out infinite;
}

.massive-eagle-wrapper::before,
.massive-eagle-wrapper.is-hero-logo-ready::before,
.massive-eagle-wrapper.is-hero-logo-loading::before {
    content: none;
    display: none;
}

.massive-eagle-wrapper img { 
    width: 100%; 
    height: auto; 
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
    filter: drop-shadow(0 0 50px rgba(216,0,86,0.3)); 
}

.massive-eagle-wrapper img.usm-smooth-image,
.massive-eagle-wrapper img.dynamic-img {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
}

.hero-massive h1 { 
    font-size: clamp(1.5rem, 4vw, 3rem); 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    font-weight: 900; 
    margin-bottom: 15px;
}

@keyframes float { 
    0%, 100% { transform: translate3d(0, 0px, 0); } 
    50% { transform: translate3d(0, -20px, 0); } 
}


/* ================= 5. BENTO GRID (STATISTIQUES) ================= */
.bento-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 24px; 
    padding: var(--spacing-main); 
    max-width: 1400px; 
    margin: 0 auto; 
}

.bento-card {
    background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--card-radius); padding: 40px;
    backdrop-filter: blur(15px); 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    align-items: center;     
    text-align: center;      
    transition: 0.4s;
    min-height: 340px;
    min-width: 0;
    overflow: hidden;
}

.bento-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--usm-pink); 
    background: rgba(40, 30, 40, 0.6); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.5); 
}

.highlight-card { 
    background: linear-gradient(145deg, rgba(25,25,30,0.8), rgba(216,0,86,0.15)); 
}

.card-full { 
    grid-column: 1 / -1; 
    align-items: flex-start; 
    text-align: left; 
}

.data-label { 
    font-size: 1rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    color: #888; 
    font-weight: bold;
    height: 48px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-full .data-label {
    height: auto;
    justify-content: flex-start;
}

.data-huge {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: clamp(1.7rem, 2.35vw, 3.05rem);
    font-weight: 900;
    line-height: 0.98;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    letter-spacing: -1.8px;
    margin: auto 0;
    background: linear-gradient(135deg, #fff, var(--usm-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 4px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.data-desc { 
    color: #aaa; 
    font-size: 0.95rem; 
    margin: 0;
    height: 48px; 
    line-height: 24px; 
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ================= 6. SERVICES (SLIDER HORIZONTAL PC) ================= */
#services-container { 
    display: flex !important; 
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* 🪄 Sécurité anti-colonne */
    gap: 30px !important; 
    margin-top: 10px; 
    overflow-x: auto !important; /* 🪄 Force le scroll interne */
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth; 
    scrollbar-width: none; 
    padding-bottom: 20px;
    width: 100% !important;       /* 🪄 OBLIGE le slider à rester dans l'écran */
    max-width: 100vw !important;  
    box-sizing: border-box !important;
}
#services-container::-webkit-scrollbar { display: none; }

#services-container .bento-service-card {
    flex: 0 0 auto !important;    /* 🪄 Empêche l'écrasement ou l'étirement */
    width: 320px !important;      /* 🪄 Largeur stricte fixée */
    height: 320px !important;     /* 🪄 Hauteur stricte fixée (Carré parfait) */
    scroll-snap-align: start; 
    display: flex !important; 
    flex-direction: column !important; 
    justify-content: flex-end !important;
    box-shadow: inset 0 3px 0 0 var(--usm-pink), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 30px !important; 
    border-radius: 16px !important;
    text-decoration: none; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background-color: var(--bg-dark);
    clip-path: inset(0 0 0 0 round 16px);
    -webkit-clip-path: inset(0 0 0 0 round 16px);
    box-sizing: border-box !important;
    margin: 0 !important;
}

#services-container .bento-service-card:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 3px 0 0 rgba(216, 0, 86, 0.8), inset 0 0 0 1px rgba(216, 0, 86, 0.3), 0 15px 35px rgba(0,0,0,0.6);
}

#services-container .srv-card-content, 
#services-container .srv-card-arrow { position: relative; z-index: 2; }

#services-container .srv-card-content h3 { font-size: 1.6rem; color: #fff; margin-bottom: 10px; text-shadow: 0 2px 15px rgba(0,0,0,0.9); }
#services-container .srv-card-content p { 
    font-size: 0.95rem; color: #eee; line-height: 1.5; 
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; 
    text-shadow: 0 2px 15px rgba(0,0,0,0.9);
    text-transform: uppercase;
}

#services-container .srv-card-arrow { 
    align-self: flex-end; margin-top: 25px; color: var(--usm-pink); font-weight: bold; 
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; 
}
#services-container .bento-service-card:hover .srv-card-arrow { transform: translateX(8px); color: #fff; }


/* ================= 7. SECTION VIP (FONDATEUR) ================= */
.founder-vip-section {
    display: flex; 
    flex-wrap: wrap; 
    margin: 20px auto 80px; 
    max-width: 1360px;
    background: var(--surface); 
    border: 1px solid rgba(216, 0, 86, 0.3); 
    border-radius: var(--card-radius); 
    overflow: hidden; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* 🪄 Animation douce de la hauteur/largeur */
}

/* 🪄 Préparation des éléments pour le fondu JS */
#vip-title-display, #vip-quote-display, #vip-desc-display, #vip-licenses-display, #vip-img-display {
    transition: opacity 0.3s ease-in-out;
}

.vip-photo-wrapper { 
    flex: 1 1 400px; 
    position: relative; 
    min-height: 500px; 
}

.vip-photo-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: top center; 
    filter: contrast(1.1) brightness(0.9); 
}

.vip-photo-wrapper::after {
    content: ''; 
    position: absolute; 
    inset: 0;
    background: linear-gradient(to right, transparent 60%, rgba(25, 25, 30, 0.8) 100%), 
                linear-gradient(to top, rgba(5, 5, 7, 0.9) 0%, transparent 30%);
}

.vip-content { 
    flex: 1 1 500px; 
    padding: 60px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    background: linear-gradient(135deg, rgba(25, 25, 30, 0.9), rgba(216, 0, 86, 0.05)); 
}

.vip-badge { 
    align-self: flex-start; 
    background: var(--usm-pink); 
    color: white; 
    padding: 8px 16px; 
    border-radius: 20px; 
    font-weight: 900; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    margin-bottom: 20px; 
}

.vip-name { 
    font-size: clamp(2.5rem, 5vw, 4.5rem); 
    font-weight: 900; 
    line-height: 1; 
    text-transform: uppercase; 
    margin-bottom: 10px; 
}

.vip-name span { color: var(--usm-pink); }

.vip-quote { 
    font-size: 1.5rem; 
    color: #fff; 
    font-style: italic; 
    margin-bottom: 30px; 
    border-left: 4px solid var(--usm-pink); 
    padding-left: 15px; 
}

.vip-desc { 
    color: #aaa; 
    font-size: 1.1rem; 
    margin-bottom: 30px; 
    line-height: 1.6; 
    white-space: pre-line;
}

.licenses-wrapper { 
    display: flex; 
    gap: 15px; 
    flex-wrap: wrap;
}

.license-badge { 
    background: rgba(0,0,0,0.5); 
    border: 1px solid rgba(255,255,255,0.2); 
    padding: 10px 20px; 
    border-radius: 20px; 
    font-weight: bold; 
    font-size: 1rem; 
}


/* ================= 8. ROSTER & SLIDER (NETFLIX STYLE) ================= */
.players-section { 
    padding: var(--spacing-main); 
    max-width: 1400px; 
    margin: 0 auto; 
}

.players-section h2 { 
    font-size: 2.5rem; 
    text-transform: uppercase; 
    margin-bottom: 20px;
}

.player-filters { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn { 
    background: transparent; 
    color: #aaa; 
    border: 1px solid var(--surface-border); 
    padding: 10px 24px; 
    border-radius: 30px; 
    cursor: pointer; 
    transition: 0.3s; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    font-weight: bold; 
}

.filter-btn.active, .filter-btn:hover { 
    background: var(--usm-pink); 
    color: white; 
    border-color: var(--usm-pink);
}

.category-block {
    margin-bottom: 60px;
    position: relative;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(216, 0, 86, 0.2);
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.category-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--usm-pink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-controls {
    display: flex;
    gap: 12px;
}

.slider-btn {
    background: var(--surface);
    border: 1px solid var(--surface-border);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--usm-pink);
    border-color: var(--usm-pink);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(216, 0, 86, 0.5);
}

.slider-container {
    position: relative;
    width: 100%;
}

.horizontal-scroller {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin; 
    scrollbar-color: #444 rgba(255, 255, 255, 0.05);
}

.horizontal-scroller::-webkit-scrollbar {
    height: 8px; 
    display: block; 
}

.horizontal-scroller::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 10px;
}

.horizontal-scroller::-webkit-scrollbar-thumb {
    background: #444; 
    border-radius: 10px;
    transition: 0.3s;
}

.horizontal-scroller::-webkit-scrollbar-thumb:hover {
    background: var(--usm-pink); 
}

.player-card { 
    background: var(--surface); 
    border: 1px solid var(--surface-border); 
    border-radius: 24px; 
    overflow: hidden; 
    padding: 15px; 
    transition: 0.4s; 
    flex: 0 0 280px; 
    scroll-snap-align: start;
    margin: 0;
}

.player-card:hover { 
    border-color: var(--usm-pink); 
    transform: translateY(-10px); 
    background: rgba(25, 25, 30, 0.8);
}

.player-img-container { 
    width: 100%; 
    height: 320px; 
    border-radius: 16px; 
    overflow: hidden; 
    background: #111;
}

.player-img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.8; 
    transition: 0.4s;
}

.player-card:hover img { 
    opacity: 1; 
    transform: scale(1.05);
}

.player-info { 
    padding: 15px 5px 5px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.player-info h3 { 
    font-size: 1.2rem; 
    text-transform: uppercase; 
    margin-bottom: 5px;
}

.player-stat { 
    background: rgba(255,255,255,0.1); 
    padding: 5px 12px; 
    border-radius: 12px; 
    font-size: 0.8rem; 
    font-weight: bold;
}


/* ================= 9. FOOTER & LIENS ================= */
:root {
    --usm-pink: #D80056; /* Assure-toi que cette variable est définie */
    --footer-bg: #0A0A0C;
    --footer-text: #AAAAAA;
}

.usm-universal-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 20px 20px;
    font-family: 'Montserrat', sans-serif; /* Ou ta police principale */
    border-top: 1px solid rgba(216, 0, 86, 0.2);
    margin-top: auto; /* Pour le pousser en bas si contenu court */
}

.usm-universal-footer a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.footer-container {
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Info plus large, Nav plus étroite */
    gap: 60px;
    margin-bottom: 60px;
}

/* Colonne Info */
.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-hardcoded {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--usm-pink);
    width: 20px;
    text-align: center;
}

.contact-item a:hover {
    color: #fff;
}

/* Colonnes Titres */
.footer-col h3 {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--usm-pink);
}

/* Colonne Nav */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    font-size: 1rem;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #fff;
    padding-left: 5px; /* Petit effet au hover */
}

/* Colonne Social & Admin */
.social-links-container {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
}

.social-icon:hover {
    background-color: var(--usm-pink);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(216, 0, 86, 0.3);
}

.social-choice-popover {
    position: fixed;
    z-index: 20000;
    width: min(230px, calc(100vw - 24px));
    padding: 10px;
    border-radius: 18px;
    background: rgba(10, 10, 14, 0.96);
    border: 1px solid rgba(216, 0, 86, 0.35);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: socialChoiceIn 0.18s ease-out;
}

.social-choice-title {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 7px 9px;
    opacity: 0.8;
}

.social-choice-actions {
    display: grid;
    gap: 7px;
}

.social-choice-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 10px 12px;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.social-choice-btn:hover,
.social-choice-btn:focus-visible {
    background: rgba(216, 0, 86, 0.22);
    border-color: rgba(216, 0, 86, 0.5);
    transform: translateX(3px);
    outline: none;
}

[data-social-open="true"] {
    color: var(--usm-pink) !important;
}

@keyframes socialChoiceIn {
    from { opacity: 0; transform: translateY(6px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.admin-access-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(216, 0, 86, 0.1);
    border: 1px solid rgba(216, 0, 86, 0.3);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
}

.admin-access-btn i {
    color: var(--usm-pink);
    font-size: 0.9rem;
}

.admin-access-btn:hover {
    background: var(--usm-pink);
    border-color: var(--usm-pink);
    box-shadow: 0 5px 20px rgba(216, 0, 86, 0.2);
}

/* Bottom */
.footer-bottom {
    max-width: 1360px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 0.85rem;
}

.footer-bottom a:hover {
    color: var(--usm-pink);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .footer-info {
        grid-column: 1 / -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ================= 10. PAGE CONTACT ================= */
.contact-section {
    width: min(100%, 1240px);
    margin: 0 auto 80px;
    padding: clamp(22px, 4vw, 48px);
    box-sizing: border-box;
}
.contact-grid {
    display: grid;
    grid-template-columns: minmax(270px, 0.78fr) minmax(360px, 1.22fr);
    gap: clamp(18px, 3vw, 34px);
    align-items: start;
}
.contact-info,
.contact-form-box {
    min-height: auto;
    align-items: stretch;
    text-align: left;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
}
.contact-info {
    gap: clamp(18px, 2.5vw, 28px);
    padding: clamp(26px, 3.2vw, 42px);
}
.contact-form-box {
    padding: clamp(24px, 3vw, 40px);
}
.contact-info h2,
.contact-form-box h2 {
    margin-bottom: clamp(12px, 2vw, 20px) !important;
}
.contact-info-item {
    margin-top: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.contact-info-item h3 {
    color: var(--usm-pink);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.contact-info-item p {
    color: #fff;
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    font-weight: 800;
    line-height: 1.35;
    word-break: break-word;
}
.contact-info-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}
.contact-info-item a:hover {
    color: var(--usm-pink);
    text-shadow: 0 0 18px rgba(216, 0, 86, 0.35);
}

.public-form { display: flex; flex-direction: column; gap: 15px; width: 100%; margin-top: 18px; }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.public-form input, .public-form select, .public-form textarea { 
    width: 100%; padding: 15px; border-radius: 8px; 
    background: rgba(0,0,0,0.4); border: 1px solid var(--surface-border); 
    color: white; font-size: 1rem; transition: 0.3s; font-family: inherit;
}
.public-form textarea { resize: vertical; min-height: 118px; }
.public-form input:focus, .public-form select:focus, .public-form textarea:focus { 
    border-color: var(--usm-pink); outline: none; background: rgba(216, 0, 86, 0.05); box-shadow: 0 0 15px rgba(216,0,86,0.2);
}
.public-form select option { background: var(--bg-dark); color: white; }
.contact-consent { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,0.82); font-size: 0.88rem; line-height: 1.45; cursor: pointer; }
.contact-consent-secondary { color: rgba(255,255,255,0.68); margin-top: -6px; }
.contact-consent input { width: auto; min-width: 18px; height: 18px; margin-top: 2px; accent-color: var(--usm-pink); }
.contact-rgpd-note { margin: -4px 0 2px; color: rgba(255,255,255,0.52); font-size: 0.78rem; line-height: 1.5; }
.contact-mail-notice { margin-top: 2px; font-size: 0.92rem; line-height: 1.45; }
.contact-mail-notice.is-error { color: #ff6b8a; }
.contact-mail-notice.is-success { color: rgba(255,255,255,0.86); }
.contact-mail-notice.is-info { color: rgba(255,255,255,0.72); }

/* ================= 11. CARTES SERVICES & PAGE DYNAMIQUE ================= */

/* 🪄 L'ancien code de la grille a été supprimé d'ici pour laisser le Slider de la Section 6 fonctionner ! */

/* Header de la page service unique */
.service-hero {
    position: relative; height: 50vh; min-height: 400px; display: flex; align-items: flex-end;
    padding: var(--spacing-main); background: #050507; margin-top: 80px; overflow: hidden;
}
.service-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; transition: 0.5s; }
.service-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%); }
.service-hero-content { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; }
.service-hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); text-transform: uppercase; margin-bottom: 0; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.8); }

.service-content-wrapper { max-width: 900px; margin: 50px auto 100px; padding: 0 var(--spacing-main); }
.service-desc { font-size: 1.15rem; line-height: 1.8; color: #ccc; white-space: pre-line; }
.btn-back { display: inline-block; margin-bottom: 20px; color: var(--usm-pink); text-decoration: none; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.btn-back:hover { color: #fff; transform: translateX(-5px); }

/* ================= 12. LAYOUT PAGE DYNAMIQUE (SIDEBAR) ================= */
/* ================= 12. LAYOUT PAGE DYNAMIQUE (SIDEBAR) ================= */
.service-page-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1400px;
    margin: 50px auto 100px;
    padding: 0 var(--spacing-main);
}

.service-main-content {
    flex: 1 1 600px; 
}

.service-sidebar {
    flex: 0 0 350px; 
    width: 100%;
}

.service-desc { 
    font-size: 1.15rem; 
    line-height: 1.8; 
    color: #ccc; 
    white-space: pre-line; 
}

/* Le design des boutons de la liste à droite */
.sidebar-srv-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    margin-bottom: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sidebar-srv-link:hover, .sidebar-srv-link.active {
    border-color: var(--usm-pink);
    background: rgba(216, 0, 86, 0.1);
    transform: translateX(8px); 
    color: var(--usm-pink);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ================= 13. APPARITION DOUCE ================= */
img {
    transition: opacity 1.2s ease-in-out;
}

/* ================= 14. OPTIMISATION MOBILE (ULTRA RESPONSIVE) ================= */

/* 1. RÈGLE D'OR : Verrouillage absolu anti-débordement horizontal */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

@media (max-width: 850px) {
    /* 2. HEADER STRICTEMENT CADRÉ (CORRIGÉ) */
    .navbar {
        flex-direction: row !important; 
        justify-content: space-between !important; 
        align-items: center;
        padding: 15px 20px;
        width: 100%;
        left: 0; 
        box-sizing: border-box;
    }

    /* 3. TEXTES GÉANTS EN ARRIÈRE-PLAN */
    .giant-bg-text { font-size: 4rem; }

    /* 4. HERO SECTION */
    .hero-massive { padding-top: 160px; width: 100%; box-sizing: border-box; }
    .massive-eagle-wrapper { width: 90%; }

    /* 5. STATISTIQUES (BENTO GRID) */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
    }
    .bento-card { min-height: auto; padding: 15px 10px; width: 100%; }
    .data-label { height: auto; min-height: 35px; font-size: 0.75rem; line-height: 1.2; }
    .data-huge { font-size: clamp(1.45rem, 7vw, 2rem); margin: 5px 0; letter-spacing: -1px; }
    .data-desc { height: auto; -webkit-line-clamp: 4; font-size: 0.75rem; line-height: 1.3; }
    .card-full { grid-column: 1 / -1; align-items: center; text-align: center; }
    .card-full .data-label { justify-content: center; }

   /* 🪄 6. DESIGN SERVICES EN SLIDER MOBILE (Format Cinéma & Ancrage Haut) */
    #services-container { 
        gap: 15px !important; 
        padding: 0 15px 20px 15px !important; 
    }
    #services-container .bento-service-card {
        flex: 0 0 85% !important; 
        width: 85% !important;
        height: 220px !important; 
        scroll-snap-align: center !important; 
        padding: 25px 20px !important;
        justify-content: space-between !important; /* 🪄 Pousse le texte en haut et la flèche en bas */
        align-items: flex-start !important; /* 🪄 Ancre tout le bloc à gauche */
        text-align: left !important; /* 🪄 Force l'alignement du texte à gauche */
    }
    /* Dégradé ajusté pour protéger le texte en haut et la flèche en bas, clair au centre */
    .bento-service-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.8) 100%);
        z-index: 1;
    }
    .srv-card-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        width: 100%; /* S'assure que le titre prend bien toute la largeur pour s'aligner à gauche */
    }
    
    .srv-card-content h3 { 
        font-size: 1.15rem; 
        line-height: 1.2;
        margin-bottom: 6px; 
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .srv-card-content p { 
        font-size: 0.85rem; 
        line-height: 1.3; 
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .srv-card-arrow { 
        position: relative; 
        z-index: 2; 
        font-size: 0.8rem; 
        margin-top: auto; /* 🪄 Pousse la flèche vers le bas au maximum */
        align-self: flex-end; /* 🪄 Garde la flèche bien calée à droite */
    }

    /* 7. SECTION FONDATEUR */
    .founder-vip-section { flex-direction: column; margin: 20px 15px 60px; width: calc(100% - 30px); }
    .vip-photo-wrapper, .vip-content { flex: 1 1 100%; width: 100%; }
    .vip-photo-wrapper { height: 350px; min-height: 350px; }
    .vip-content { padding: 30px 20px; }
    .vip-name { font-size: 2.5rem; }

    /* 8. ROSTER & SLIDER JOUEURS */
    .players-section { padding: 15px; width: 100%; overflow: hidden; box-sizing: border-box; }
    .player-filters { justify-content: center; }
    .category-block { width: 100%; max-width: 100%; }
    .slider-container { width: 100%; max-width: 100%; }
    .horizontal-scroller { width: 100%; padding-bottom: 20px; }
    .player-card { flex: 0 0 240px; }
    .player-img-container { height: 280px; }

    /* 9. PAGES INTERNES */
    .contact-section { padding: 18px 14px 72px; margin-bottom: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 18px; }
    .contact-info, .contact-form-box { padding: 24px 18px; }
    .contact-info { gap: 16px; }
    .contact-form-row { grid-template-columns: 1fr; }
    .contact-consent { font-size: 0.82rem; }
    .contact-rgpd-note { font-size: 0.74rem; }
    .service-page-layout { flex-direction: column; padding: 15px; width: 100%; box-sizing: border-box; }
    .service-sidebar { flex: 1 1 100%; }
    .service-hero h1 { font-size: 2rem; }

    /* 10. CACHER LE BADGE INSTAGRAM SUR MOBILE */
    #instagram-feed {
        height: 750px !important; 
    }
    #instagram-feed iframe, 
    #instagram-feed [class*="elfsight-app"] {
        margin-top: -45px !important; 
        height: calc(100% + 85px) !important; 
    }
    .insta-overlay-fix {
        width: 100% !important; 
        height: 40px !important; 
        left: 0;
    }
}

/* Optimisation extrême pour les très petits téléphones (iPhone SE, etc.) */
@media (max-width: 480px) {
    .nav-links a {
        font-size: 0.75rem; 
    }
    .btn-premium {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .data-huge {
        font-size: clamp(1.35rem, 8.5vw, 1.85rem);
        letter-spacing: -0.8px;
    }
    .data-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .contact-section { padding-inline: 10px; }
    .contact-info, .contact-form-box { padding: 22px 14px; border-radius: 22px; }
    .contact-info-item p { font-size: 0.98rem; }
    .public-form input, .public-form select, .public-form textarea { padding: 13px 12px; font-size: 0.92rem; }
}

/* ================= 15. PAGE PRESSE ================= */
.presse-hero { 
    padding: 160px 20px 60px; 
    text-align: center; 
}
.presse-hero h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    text-transform: uppercase; 
}

/* Slider Vidéos */
.video-slider-wrapper { 
    max-width: 1400px; 
    margin: 0 auto 80px; 
    padding: 0 var(--spacing-main); 
}
.video-slider { 
    display: flex; 
    gap: 20px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; /* Cache la barre de scroll moche sur Firefox */
    padding-bottom: 20px; 
    scroll-behavior: smooth;
}
.video-slider::-webkit-scrollbar { 
    display: none; /* Cache la barre sur Chrome/Safari */
}
.video-card { 
    flex: 0 0 clamp(280px, 40vw, 500px); 
    scroll-snap-align: start; 
    background: var(--surface); 
    border: 1px solid var(--surface-border); 
    border-radius: 16px; 
    overflow: hidden; 
    transition: 0.3s;
}
.video-card:hover { border-color: var(--usm-pink); transform: translateY(-5px); }
.video-container { 
    position: relative; 
    padding-bottom: 56.25%; /* Ratio 16:9 parfait pour YouTube */
    height: 0; 
}
.video-container iframe { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    border: 0; 
}
.video-title { padding: 15px; font-size: 1rem; font-weight: bold; color: white; }

/* Mosaïque Articles (Effet Vrai Journal Plié) */
.mosaic-wrapper { max-width: 1400px; margin: 0 auto 100px; padding: 0 var(--spacing-main); }
.mosaic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 35px; }

.mosaic-item { 
    position: relative; 
    cursor: pointer; 
    aspect-ratio: 1 / 1; 
    background: #eaeaea; /* Couleur papier légèrement grisée */
    display: flex; align-items: center; justify-content: center;
    /* Plus de marge à gauche pour la pliure, moins à droite */
    padding: 12px 8px 12px 18px; 
    
    /* 🪄 L'EFFET PLIURE : Très arrondi à gauche, angles droits à droite */
    border-radius: 14px 2px 2px 14px; 
    
    /* 🪄 OMBRES 3D : Lignes blanches et grises alternées pour simuler les pages */
    box-shadow: 
        2px 2px 0px #fff, 
        3px 3px 2px rgba(0,0,0,0.15), 
        5px 5px 0px #fff, 
        6px 6px 3px rgba(0,0,0,0.15), 
        8px 8px 0px #fff, 
        10px 10px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

/* Mosaïque Articles (Effet Vrai Journal Plié - Grand format) */
.mosaic-wrapper { max-width: 1400px; margin: 0 auto 100px; padding: 0 var(--spacing-main); }

.mosaic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 35px; }

.mosaic-item { 
    position: relative; 
    cursor: pointer; 
    aspect-ratio: 1 / 1; 
    background: #eaeaea; 
    display: flex; align-items: center; justify-content: center;
    padding: 6px 4px 6px 14px; 
    
    border-radius: 14px 2px 2px 14px; 
    box-shadow: 
        2px 2px 0px #fff, 
        3px 3px 2px rgba(0,0,0,0.15), 
        5px 5px 0px #fff, 
        6px 6px 3px rgba(0,0,0,0.15), 
        8px 8px 0px #fff, 
        10px 10px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.mosaic-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px 2px 2px 14px;
    background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, rgba(255,255,255,0.4) 6%, transparent 15%);
    pointer-events: none;
    z-index: 2;
}

.mosaic-item img { 
    width: 100%; height: 100%; 
    object-fit: cover !important; 
    object-position: top center; 
    display: block;
    z-index: 1;
    filter: contrast(1.03) sepia(0.02); 
    transition: transform 0.5s ease; 
    border-radius: 2px;
}

.mosaic-item:hover { 
    transform: translateY(-5px) translateX(-2px); 
    box-shadow: 
        3px 3px 0px #fff, 4px 4px 3px rgba(0,0,0,0.15), 
        7px 7px 0px #fff, 8px 8px 4px rgba(0,0,0,0.15), 
        11px 11px 0px #fff, 15px 15px 20px rgba(0,0,0,0.4);
    border: 1px solid var(--usm-pink); 
}
.mosaic-item:hover img { transform: scale(1.02); }


/* Modale (Lightbox Responsive & Mini-Slider) */
.lightbox { 
    position: fixed; inset: 0; background: rgba(0,0,0,0.92); 
    z-index: 9999; display: none; align-items: center; justify-content: center; 
}
.lightbox.active { display: flex; }

.lightbox-container { 
    display: flex; flex-direction: row; align-items: center; justify-content: center; 
    gap: 40px; width: 95vw; max-width: 1400px; height: 90vh; position: relative; 
}

/* 🪄 NOUVEAU : La colonne qui gère le média + le slider */
.lightbox-left-col {
    flex: 1 1 auto; display: flex; flex-direction: column; 
    height: 100%; max-width: calc(100% - 390px); gap: 15px;
}

.lightbox-media { 
    flex: 1 1 auto; height: calc(100% - 135px); /* Laisse 135px pour le slider en bas */
    display: flex; align-items: center; justify-content: center; 
}
.lightbox-media img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lightbox-media iframe { width: 100%; max-width: 1000px; aspect-ratio: 16 / 9; height: auto; max-height: 100%; border: none; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.9); }

/* 🪄 NOUVEAU : Le bloc du Mini-Slider */
.lightbox-slider-wrapper {
    flex: 0 0 120px; display: flex; align-items: center; gap: 15px;
    background: rgba(25, 25, 30, 0.85); border-radius: 16px; padding: 10px 15px;
    border: 1px solid rgba(255,255,255,0.1);
}
.lightbox-slider-btn { background: transparent; color: white; border: none; font-size: 1.5rem; cursor: pointer; transition: 0.3s; }
.lightbox-slider-btn:hover { color: var(--usm-pink); }

.lightbox-mini-slider {
    display: flex; gap: 15px; overflow-x: auto; scroll-behavior: smooth;
    flex: 1; height: 100%; scrollbar-width: none; align-items: center;
}
.lightbox-mini-slider::-webkit-scrollbar { display: none; }

.mini-slider-item {
    flex: 0 0 140px; height: 90px; border-radius: 8px; cursor: pointer;
    opacity: 0.4; transition: 0.3s; overflow: hidden; border: 2px solid transparent;
}
.mini-slider-item.active, .mini-slider-item:hover { opacity: 1; border-color: var(--usm-pink); }
.mini-slider-item img { width: 100%; height: 100%; object-fit: cover; }

/* 🪄 L'effet Journal conservé pour le mini-slider */
.mini-slider-item.is-article { background: #eaeaea; padding: 4px; border-radius: 8px 2px 2px 8px; }
.mini-slider-item.is-article img { object-fit: cover !important; object-position: top center; border-radius: 2px; }

/* La Sidebar (Inchangée) */
.lightbox-sidebar { 
    flex: 0 0 350px; max-height: 80vh; overflow-y: auto; background: rgba(25, 25, 30, 0.85); 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 30px; box-shadow: -10px 0 40px rgba(0,0,0,0.5); 
}
.lightbox-sidebar::-webkit-scrollbar { width: 4px; }
.lightbox-sidebar::-webkit-scrollbar-thumb { background: var(--usm-pink); border-radius: 4px; }

.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 3rem; cursor: pointer; background: transparent; border: none; transition: 0.3s; z-index: 10000; }
.lightbox-close:hover { color: var(--usm-pink); transform: scale(1.1); }

@media (max-width: 950px) {
    .lightbox-container { flex-direction: column; gap: 20px; padding-top: 60px; }
    .lightbox-left-col { max-width: 100%; height: 45vh; }
    .lightbox-media { height: 100%; }
    .lightbox-slider-wrapper { display: none; /* Cache le mini slider sur mobile pour gagner de la place */ }
    .lightbox-sidebar { flex: 1 1 auto; width: 100%; max-height: 40vh; border-radius: 20px 20px 0 0; padding: 20px; }
    .lightbox-media iframe { width: 100%; height: 100%; }
}

/* 🪄 Masquage manuel précis du Watermark Instagram - RÉGLAGE FINAL FINAL */
#instagram-feed {
    position: relative;
    padding-top: 0; 
    
    /* 🪄 ON POUSSE À 840px : Pour libérer le bas des photos à 100% */
    height: 840px; 
    
    overflow: hidden; 
    /* Ombre interne maintenue pour noyer le logo Elfsight */
    box-shadow: inset 0 -60px 50px var(--bg-dark);
    border-bottom: 2px solid var(--surface-border);
}

/* 🪄 AJUSTEMENT DU CONTENU INTERNE (Le haut est déjà parfait) */
#instagram-feed iframe, 
#instagram-feed [class*="elfsight-app"] {
    margin-top: -90px !important; 
    height: calc(100% + 150px) !important; 
    width: 100% !important;
    display: block;
}

/* 🪄 Badge de recouvrement pour le coin inférieur droit */
.insta-overlay-fix {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 260px; 
    height: 80px; 
    background: var(--bg-dark); 
    z-index: 100; 
    pointer-events: none; 
}

/* ================= MENU MOBILE ================= */
@media (max-width: 950px) {
    #mobile-menu-btn { display: block !important; }
    .nav-links {
        position: fixed !important; top: 0; right: -100%; width: 100%; height: 100vh;
        background: rgba(5, 5, 7, 0.98) !important; backdrop-filter: blur(15px);
        flex-direction: column !important; align-items: center !important; justify-content: center !important;
        gap: 30px !important; font-size: 1.5rem; transition: 0.4s ease-in-out; z-index: 10000;
    }
    .nav-links.active { right: 0; }
    #close-menu-btn { display: block !important; }
}

.footer-separator { margin: 0 10px; color: #555; }
.admin-secret-link { color: inherit; text-decoration: none; cursor: default; }

/* ================= BARRE SOCIALE FLOTTANTE (RESTAVRÉE & AGRANDIE) ================= */
.sticky-social-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 25px; /* Espacement agrandi */
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-right: none;
    padding: 30px 20px; /* Boîte agrandie */
    border-radius: 16px 0 0 16px;
    backdrop-filter: blur(10px);
    box-shadow: -5px 0 20px rgba(0,0,0,0.5);
}

.sticky-icon {
    color: #888;
    transition: all 0.3s ease;
    display: none; /* Masqué par défaut tant que Firebase n'a pas validé le lien */
}

/* 🪄 ICÔNES X2.5 PLUS GRANDES */
.sticky-icon svg {
    width: 45px !important; 
    height: 45px !important;
    stroke-width: 1.5 !important; /* Trait affiné pour rester élégant en grand */
}

.sticky-icon:hover {
    color: var(--usm-pink);
    transform: scale(1.15) translateX(-5px);
    filter: drop-shadow(0 0 12px rgba(216, 0, 86, 0.6));
}

@media (max-width: 768px) {
    .sticky-social-bar { display: none; }
}

/* ================= BANDEROLE IMAGES (MARQUEE) ================= */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
    background: var(--bg-dark);
    position: relative;
}
/* Dégradés sur les bords pour fondre les images dans le décor */
.marquee-wrapper::before, .marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 10%, transparent);
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 10%, transparent);
}
.marquee-track {
    display: flex;
    width: max-content;
    /* 40s = Vitesse raisonnable et classe. Fluidité absolue via translate3d */
    animation: scrollMarquee 40s linear infinite; 
    will-change: transform;
}
.marquee-item {
    width: 280px;
    height: 380px;
    margin: 0 15px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    background: #08080b;
}
.marquee-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center center;
    transform: translate(var(--marquee-x, 0%), var(--marquee-y, 0%)) scale(var(--marquee-zoom, 1));
    filter: grayscale(80%) brightness(0.6);
    transition: filter 0.5s ease;
}
.marquee-item img:hover {
    filter: grayscale(0%) brightness(1);
}

@keyframes scrollMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); } /* -50% car on duplique le contenu en JS pour boucler */
}

/* ================= 16. BARRE DE CONTACT MOBILE (BOTTOM BAR) ================= */
.mobile-bottom-bar {
    display: none; /* Toujours caché sur PC */
}

@media (max-width: 850px) {
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background: rgba(10, 10, 12, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(216, 0, 86, 0.3); /* Liseré rose */
        z-index: 10000;
        justify-content: space-evenly;
        align-items: center;
        box-shadow: 0 -5px 25px rgba(0,0,0,0.6);
        /* Support intelligent pour la barre iOS d'iPhone */
        padding-bottom: env(safe-area-inset-bottom); 
    }

    .mobile-bar-icon {
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
        height: 100%;
        transition: 0.3s;
    }

    .mobile-bar-icon:hover, .mobile-bar-icon:active {
        color: var(--usm-pink);
        background: rgba(216, 0, 86, 0.1);
    }

    .mobile-bar-separator {
        width: 1px;
        height: 30px;
        background: rgba(255, 255, 255, 0.1);
    }

    /* On repousse le bas du site pour que la barre ne cache rien */
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom)) !important;
    }
}

/* ================= ANIMATION BOUTON HERO (PULSE + FLASHLIGHT) ================= */
.btn-premium {
    position: relative;
    overflow: hidden;
    animation: btn-pulse 2s infinite; /* Pulsation continue */
}

/* Le rayon lumineux qui balaie le bouton */
.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: btn-flashlight 3s infinite; /* Passe toutes les 3 secondes */
}

@keyframes btn-pulse {
    0% { box-shadow: 0 0 10px rgba(216, 0, 86, 0.4); }
    50% { box-shadow: 0 0 25px rgba(216, 0, 86, 0.8), 0 0 45px rgba(216, 0, 86, 0.5); }
    100% { box-shadow: 0 0 10px rgba(216, 0, 86, 0.4); }
}

@keyframes btn-flashlight {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; } /* Pause de 80% du temps avant de recommencer */
}

/* ================= ANIMATION DES BOUTONS VIP (SWITCH DYNAMIQUE) ================= */

#tab-founder, #tab-agency {
    position: relative;
    overflow: hidden;
}

/* 🪄 L'animation s'active UNIQUEMENT sur le bouton inactif */
#tab-founder:not(.active), #tab-agency:not(.active) {
    animation: tab-pulse 2s infinite; 
}

#tab-founder:not(.active)::after, #tab-agency:not(.active)::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: tab-flashlight 3s infinite;
}

@keyframes tab-pulse {
    0% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.05); }
    50% { box-shadow: 0 0 15px rgba(255, 255, 255, 0.3); }
    100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.05); }
}

@keyframes tab-flashlight {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}


/* ================= CHARGEMENT PROGRESSIF / ANTI-POP ================= */
.progressive-zone {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.progressive-zone.is-loading {
    opacity: 0.78;
}

.progressive-zone.is-ready {
    opacity: 1;
    animation: progressiveReveal 0.42s ease both;
}

@keyframes progressiveReveal {
    from { opacity: 0.55; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.skeleton-card,
.skeleton-line,
.skeleton-dot {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, rgba(255,255,255,0.055) 8%, rgba(255,255,255,0.11) 18%, rgba(255,255,255,0.055) 33%);
    background-size: 200% 100%;
    animation: skeletonSweep 1.25s linear infinite;
    border: 1px solid rgba(255,255,255,0.08);
}

@keyframes skeletonSweep {
    to { background-position-x: -200%; }
}

.skeleton-service-card {
    flex: 0 0 auto;
    width: 320px;
    height: 320px;
    border-radius: 16px;
}

.skeleton-roster-block {
    width: 100%;
    margin-bottom: 60px;
}

.skeleton-player-card {
    flex: 0 0 280px;
    height: 395px;
    border-radius: 24px;
}

.skeleton-press-card {
    min-height: 220px;
    border-radius: 22px;
}

.skeleton-line.skeleton-title {
    width: 220px;
    height: 22px;
    border-radius: 999px;
}

.skeleton-dot {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.dynamic-img {
    opacity: 0;
    transition: opacity 0.65s ease-in-out, filter 0.65s ease-in-out;
}

.dynamic-img.loaded {
    opacity: var(--final-opacity, 1);
}

#services-container:empty,
#roster-categories-container:empty {
    min-height: 320px;
}

#services-container.is-loading,
#roster-categories-container.is-loading {
    min-height: 320px;
}

/* ================= FINAL LAYERED FIX - VIP + ROSTER V3 ================= */
@media (min-width: 769px) {
    .founder-vip-section {
        height: clamp(640px, 46vw, 760px);
        min-height: clamp(640px, 46vw, 760px);
        max-height: 760px;
        flex-wrap: nowrap;
        align-items: stretch;
        contain: paint;
    }

    .vip-photo-wrapper,
    .vip-content {
        height: 100%;
        min-height: 0;
    }

    .vip-photo-wrapper {
        flex: 0 0 clamp(390px, 34%, 470px);
        max-width: 470px;
        min-width: 390px;
    }

    .vip-content {
        flex: 1 1 auto;
        overflow: hidden;
    }
}

.vip-photo-wrapper {
    position: relative;
    overflow: hidden;
    background: #050507;
    isolation: isolate;
}

.vip-photo-wrapper img.vip-layer-founder,
#vip-agency-img-display {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: contrast(1.1) brightness(0.9);
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: opacity;
}

#vip-img-display.vip-layer-founder {
    z-index: 0;
    opacity: 1 !important;
}

#vip-agency-img-display {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    object-position: center center;
    transition: opacity 0.68s cubic-bezier(0.25, 1, 0.5, 1);
}

#vip-agency-img-display.is-active {
    opacity: 1;
}

.vip-photo-wrapper::after {
    z-index: 2;
    pointer-events: none;
}

#vip-title-display,
#vip-quote-display,
#vip-desc-display,
#vip-licenses-display {
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.vip-panel-switching {
    opacity: 0 !important;
    transform: translateY(6px);
}

#vip-title-display { min-height: 92px; }
#vip-quote-display {
    min-height: 76px;
    max-height: 132px;
    overflow-y: auto;
}
#vip-desc-display {
    min-height: 150px;
    max-height: 230px;
    overflow-y: auto;
    padding-right: 6px;
}

#vip-quote-display::-webkit-scrollbar,
#vip-desc-display::-webkit-scrollbar { width: 4px; }
#vip-quote-display::-webkit-scrollbar-thumb,
#vip-desc-display::-webkit-scrollbar-thumb {
    background: rgba(216, 0, 86, 0.45);
    border-radius: 999px;
}

#vip-licenses-display {
    display: flex !important;
    min-height: 48px;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

#vip-licenses-display.vip-licenses-hidden,
#vip-licenses-display[aria-hidden="true"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#roster-categories-container {
    transition: min-height 0.35s ease;
}

#roster-categories-container.roster-is-preparing {
    pointer-events: none;
}

.player-img-container {
    position: relative;
    background:
        radial-gradient(circle at 30% 18%, hsla(var(--roster-hue, 330), 76%, 45%, 0.42), transparent 38%),
        radial-gradient(circle at 75% 82%, rgba(216, 0, 86, 0.22), transparent 44%),
        linear-gradient(135deg, #17171f 0%, #08080c 72%);
    overflow: hidden;
    isolation: isolate;
}

.player-img-container::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(110deg, rgba(255,255,255,0.03), rgba(255,255,255,0.11), rgba(255,255,255,0.03));
    transform: translateX(-120%);
    animation: rosterSoftSweep 1.55s ease-in-out infinite;
    opacity: 0.7;
    transition: opacity 0.35s ease;
}

.player-img-container::after {
    content: '';
    position: absolute;
    inset: -8%;
    z-index: 0;
    background:
        radial-gradient(circle at 42% 26%, hsla(var(--roster-hue, 330), 72%, 48%, 0.33), transparent 42%),
        linear-gradient(160deg, rgba(255,255,255,0.08), transparent 62%);
    filter: blur(18px) saturate(1.2);
    opacity: 0.8;
}

.player-img-container.roster-holder-ready::before {
    opacity: 0;
    animation-play-state: paused;
}

.player-img-container img {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: scale(1.018);
    transition: opacity 0.78s ease, transform 0.82s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.player-img-container img.roster-img-ready {
    opacity: 0.9 !important;
    transform: scale(1);
}

.player-card:hover .player-img-container img.roster-img-ready {
    opacity: 1 !important;
    transform: scale(1.05);
}

@keyframes rosterSoftSweep {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

@media (max-width: 768px) {
    .founder-vip-section {
        min-height: auto;
        contain: paint;
    }

    .vip-photo-wrapper {
        height: 420px;
        min-height: 420px;
    }

    .vip-content {
        min-height: 500px;
        padding: 42px 28px;
    }

    #vip-title-display { min-height: 92px; }
    #vip-quote-display { min-height: 78px; max-height: 120px; }
    #vip-desc-display { min-height: 150px; max-height: 210px; }
}


/* ================= FINAL SCROLL + SECTION RHYTHM V4 ================= */
:root {
    --front-section-gap: clamp(76px, 8vw, 116px);
}

.bento-grid {
    margin-bottom: var(--front-section-gap) !important;
    padding-bottom: 0 !important;
}

.founder-vip-section {
    margin-top: 0 !important;
    margin-bottom: var(--front-section-gap) !important;
}

#services {
    margin-top: 0 !important;
    margin-bottom: var(--front-section-gap) !important;
}

.players-section {
    padding-top: 0 !important;
}

@media (max-width: 768px) {
    :root {
        --front-section-gap: 64px;
    }

    #agence, #services, #joueurs {
        scroll-margin-top: 90px;
    }

    .bento-grid,
    .founder-vip-section,
    #services {
        margin-bottom: var(--front-section-gap) !important;
    }
}
/* ==========================================================================
   HOTFIX URGENT - VIP text overflow + service cards top alignment
   Date: 2026-04-28
   ========================================================================== */

/* Le script public force parfois une hauteur fixe inline sur certains écrans.
   Ces règles reprennent la main pour laisser le bloc respirer. */
.founder-vip-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    align-items: stretch !important;
}

.founder-vip-section .vip-content {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    padding: clamp(34px, 4vw, 60px) !important;
}

.founder-vip-section .vip-photo-wrapper {
    height: auto !important;
    min-height: clamp(520px, 42vw, 680px) !important;
    max-height: none !important;
    align-self: stretch !important;
}

.founder-vip-section .vip-tabs {
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: clamp(14px, 2vw, 22px) !important;
}

.founder-vip-section .vip-name {
    font-size: clamp(2.6rem, 4.2vw, 4.15rem) !important;
    line-height: 0.95 !important;
    margin-bottom: clamp(12px, 1.4vw, 18px) !important;
    overflow-wrap: anywhere;
}

.founder-vip-section .vip-quote {
    font-size: clamp(1.05rem, 1.45vw, 1.35rem) !important;
    line-height: 1.36 !important;
    margin-bottom: clamp(16px, 2vw, 24px) !important;
}

.founder-vip-section .vip-desc {
    font-size: clamp(0.95rem, 1.05vw, 1.08rem) !important;
    line-height: 1.55 !important;
    margin-bottom: clamp(16px, 2vw, 24px) !important;
}

/* Les cartes services doivent présenter le texte en haut du bloc. */
#services-container .bento-service-card {
    justify-content: flex-start !important;
    align-items: stretch !important;
}

#services-container .srv-card-content {
    width: 100% !important;
}

#services-container .srv-card-arrow {
    margin-top: auto !important;
}

@media (max-width: 1180px) {
    .founder-vip-section {
        max-width: calc(100vw - 40px) !important;
    }

    .founder-vip-section .vip-content {
        padding: 36px !important;
    }

    .founder-vip-section .vip-name {
        font-size: clamp(2.25rem, 4vw, 3.35rem) !important;
    }

    .founder-vip-section .vip-quote {
        font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
    }
}

@media (max-width: 900px) {
    .founder-vip-section {
        overflow: hidden !important;
    }

    .founder-vip-section .vip-photo-wrapper {
        min-height: 420px !important;
    }

    .founder-vip-section .vip-content {
        padding: 32px 24px !important;
    }
}

@media (max-width: 560px) {
    .founder-vip-section .vip-photo-wrapper {
        min-height: 360px !important;
    }

    .founder-vip-section .vip-name {
        font-size: clamp(2rem, 12vw, 2.75rem) !important;
    }

    .founder-vip-section .vip-quote {
        font-size: 1rem !important;
    }

    #services-container .bento-service-card {
        height: 300px !important;
    }
}

@media (max-width: 850px) {
    .social-choice-popover {
        width: min(250px, calc(100vw - 28px));
        padding: 9px;
        border-radius: 16px;
    }

    .social-choice-btn {
        padding: 12px 13px;
        font-size: 0.95rem;
    }
}


/* ==========================================================================
   STATS + SERVICES READABILITY FIX
   Date: 2026-04-29
   - Les chiffres restent sur une seule ligne au lieu de se casser verticalement.
   - Les sous-titres des services gagnent un fond lisible sur les images.
   ========================================================================== */
.data-huge {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
    text-wrap: nowrap;
    font-size: clamp(1.45rem, 2.15vw, 2.85rem) !important;
    line-height: 1 !important;
    letter-spacing: -1.35px !important;
    max-width: 100% !important;
}

@media (max-width: 850px) {
    .data-huge {
        font-size: clamp(1.05rem, 5.6vw, 1.75rem) !important;
        letter-spacing: -0.85px !important;
        padding-inline: 0 !important;
    }
}

@media (max-width: 480px) {
    .data-huge {
        font-size: clamp(0.98rem, 6vw, 1.42rem) !important;
        letter-spacing: -0.55px !important;
    }
}

#services-container .bento-service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.62) 34%,
            rgba(0, 0, 0, 0.30) 58%,
            rgba(0, 0, 0, 0.86) 100%);
}

#services-container .srv-card-content h3 {
    line-height: 1.16 !important;
    text-shadow: 0 3px 16px rgba(0,0,0,0.95), 0 0 2px rgba(0,0,0,0.95) !important;
}

#services-container .srv-card-content p {
    width: fit-content;
    max-width: 100%;
    padding: 8px 10px;
    border-left: 2px solid rgba(216, 0, 86, 0.95);
    border-radius: 10px;
    background: rgba(3, 3, 6, 0.55);
    color: #fff !important;
    font-size: clamp(0.82rem, 0.9vw, 0.95rem) !important;
    font-weight: 700;
    letter-spacing: 0.15px;
    line-height: 1.34 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.95) !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

@media (max-width: 850px) {
    #services-container .srv-card-content p {
        padding: 7px 9px;
        font-size: 0.76rem !important;
        line-height: 1.28 !important;
        -webkit-line-clamp: 2;
    }
}

/* Fix lisibilité stat Impact Digital : force le rang mondial sur une ligne dédiée */
.data-label[data-i18n="stat_3_label"] {
    white-space: pre-line;
    line-height: 1.35;
    min-height: 54px;
}

@media (max-width: 768px) {
    .data-label[data-i18n="stat_3_label"] {
        min-height: 48px;
        line-height: 1.28;
    }
}


/* ================= PJAX FRONT : transitions fluides ================= */
html.usm-pjax-loading {
    cursor: progress;
}

html.usm-pjax-loading::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--usm-pink), #ff7abe, transparent);
    transform-origin: left center;
    animation: usm-pjax-progress 0.9s ease-in-out infinite;
    pointer-events: none;
}

html.usm-pjax-loading::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99990;
    background:
        radial-gradient(circle at 50% 20%, rgba(229, 0, 102, 0.12), transparent 34%),
        rgba(5, 5, 7, 0.24);
    backdrop-filter: blur(2px);
    opacity: 1;
    pointer-events: none;
    animation: usm-pjax-veil 0.28s ease both;
}

body.pjax-page-enter main,
body.pjax-page-enter .hero-massive > p {
    animation: usm-pjax-content-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes usm-pjax-progress {
    0% { transform: scaleX(0.08) translateX(-20%); opacity: 0.45; }
    45% { transform: scaleX(0.54) translateX(60%); opacity: 1; }
    100% { transform: scaleX(0.14) translateX(700%); opacity: 0.2; }
}

@keyframes usm-pjax-veil {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes usm-pjax-content-in {
    from {
        opacity: 0;
        transform: translateY(16px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* ================= PJAX FRONT 9.4 — Navigation douce entre services ================= */
body.service-page.is-service-switching .service-hero-content,
body.service-page.is-service-switching .service-main-content,
body.service-page.is-service-switching .service-sidebar {
    opacity: 0.38;
    transform: translateY(8px);
    filter: blur(3px);
    transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
}

body.service-page .service-hero-content,
body.service-page .service-main-content,
body.service-page .service-sidebar {
    transition: opacity 0.42s ease, transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s ease;
}

body.service-page .service-hero-img-live,
body.service-page .service-hero-img-ghost {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    pointer-events: none;
}

body.service-page .service-hero-img-live {
    z-index: 0;
    transform: scale(1);
    transition: opacity 0.72s ease, transform 1.05s cubic-bezier(0.22, 1, 0.36, 1), filter 0.72s ease;
}

body.service-page .service-hero-img-live.service-hero-img-switching {
    opacity: 0 !important;
    transform: scale(1.025);
    filter: blur(5px);
}

body.service-page .service-hero-img-live.service-hero-img-ready {
    opacity: 0.4 !important;
    transform: scale(1);
    filter: blur(0);
}

body.service-page .service-hero-img-ghost {
    z-index: 0;
    opacity: 0.4;
    transform: scale(1);
    transition: opacity 0.78s ease, filter 0.78s ease;
}

body.service-page .service-hero-img-ghost.is-fading-out {
    opacity: 0;
    filter: blur(4px);
}

body.service-page .sidebar-srv-link[aria-current="page"] {
    border-color: var(--usm-pink);
    background: rgba(216, 0, 86, 0.14);
    color: var(--usm-pink);
}

@media (prefers-reduced-motion: reduce) {
    body.service-page.is-service-switching .service-hero-content,
    body.service-page.is-service-switching .service-main-content,
    body.service-page.is-service-switching .service-sidebar,
    body.service-page .service-hero-img-live,
    body.service-page .service-hero-img-ghost {
        opacity: 1 !important;
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }

    html.usm-pjax-loading::before,
    html.usm-pjax-loading::after,
    body.pjax-page-enter main,
    body.pjax-page-enter .hero-massive > p {
        animation: none !important;
        transition: none !important;
        filter: none !important;
        transform: none !important;
    }
}

/* ================= PJAX / ROSTER SMOOTHNESS PATCH ================= */
.horizontal-scroller {
    align-items: stretch;
    overflow-x: scroll;
    overscroll-behavior-x: contain;
    min-height: 512px;
    transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s ease;
}

.category-block,
.roster-empty-message {
    will-change: opacity, transform;
}

#roster-categories-container {
    transition: min-height 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

#roster-categories-container.roster-is-preparing,
#roster-categories-container.roster-is-swapping {
    opacity: 0.72;
}

.roster-transition-enter {
    opacity: 0;
    transform: translateY(18px) scale(0.992);
    filter: blur(8px);
    transition: opacity 0.48s ease, transform 0.54s cubic-bezier(0.22, 1, 0.36, 1), filter 0.54s ease;
}

.roster-transition-enter.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.slider-controls {
    min-width: 100px;
    justify-content: flex-end;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.32s ease, transform 0.32s ease, filter 0.32s ease;
}

.slider-controls.is-disabled {
    opacity: 0.28;
    filter: grayscale(1);
}

.slider-btn.is-edge-disabled {
    opacity: 0.38;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.slider-btn.is-edge-disabled:hover {
    background: var(--surface);
    border-color: var(--surface-border);
    transform: none;
    box-shadow: none;
}

.player-card {
    min-height: 488px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(18px) scale(0.988);
    animation: playerCardSoftIn 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--card-index, 0) * 32ms);
}

.player-card:nth-child(1) { --card-index: 0; }
.player-card:nth-child(2) { --card-index: 1; }
.player-card:nth-child(3) { --card-index: 2; }
.player-card:nth-child(4) { --card-index: 3; }
.player-card:nth-child(5) { --card-index: 4; }
.player-card:nth-child(6) { --card-index: 5; }
.player-card:nth-child(7) { --card-index: 6; }
.player-card:nth-child(8) { --card-index: 7; }
.player-card:nth-child(9) { --card-index: 8; }
.player-card:nth-child(10) { --card-index: 9; }
.player-card:nth-child(n+11) { --card-index: 10; }

.player-info {
    align-items: flex-start;
    flex: 1 1 auto;
    min-height: 96px;
}

.player-info > div {
    width: 100%;
    min-width: 0;
}

.player-info h3 {
    min-height: 2.85em;
    line-height: 1.18;
    display: flex;
    align-items: flex-start;
}

.player-category-label {
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.04em;
}

.player-transfer-link {
    color: var(--usm-pink);
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-block;
    margin-top: 7px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.player-transfer-link:hover {
    color: #ff4d9d;
    transform: translateX(3px);
}

.player-stat-wrap {
    margin-top: auto;
    padding: 0 15px 15px;
    min-height: 48px;
    display: flex;
    align-items: flex-end;
}

.player-stat {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

img.usm-smooth-image {
    opacity: 0;
    transform: translateY(7px) scale(1.01);
    transition: opacity 0.72s ease var(--usm-img-delay, 0ms), transform 0.78s cubic-bezier(0.22, 1, 0.36, 1) var(--usm-img-delay, 0ms);
    will-change: opacity, transform;
}

img.usm-smooth-image.usm-smooth-image-ready {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes playerCardSoftIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .horizontal-scroller {
        min-height: 448px;
    }

    .player-card {
        min-height: 430px;
    }

    .player-info {
        min-height: 86px;
    }

    .player-info h3 {
        min-height: 2.55em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .roster-transition-enter,
    .player-card,
    img.usm-smooth-image,
    .horizontal-scroller,
    #roster-categories-container,
    .slider-controls {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}


/* ================= PJAX FRONT 7 — Topbar fixe & massive logo plus doux ================= */
.navbar,
.navbar * {
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.navbar {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: auto;
    transition: none !important;
}

.navbar img,
.logo-nav img,
.usm-universal-footer img,
aside.sticky-social-bar img,
.social-links-container img,
.social-icon img {
    opacity: 1 !important;
    filter: none !important;
    will-change: auto !important;
    backface-visibility: hidden;
    transition: none !important;
}

.logo-nav img,
.navbar img#nav-logo-dyn {
    transform: translateY(-5px) !important;
}

.usm-universal-footer img,
aside.sticky-social-bar img,
.social-links-container img,
.social-icon img {
    transform: none !important;
}

.navbar img.usm-smooth-image,
.navbar img.dynamic-img,
.logo-nav img.usm-smooth-image,
.logo-nav img.dynamic-img,
.usm-universal-footer img.usm-smooth-image,
.usm-universal-footer img.dynamic-img {
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
}

.usm-pjax-loading .navbar,
.pjax-page-enter .navbar {
    opacity: 1 !important;
    filter: none !important;
    transform: translate3d(0, 0, 0) !important;
}

/* ================= PJAX FRONT 9 — Massive logo isolé + topbar stable ================= */
.hero-massive {
    position: relative;
    isolation: auto;
}

.massive-eagle-wrapper,
.massive-eagle-wrapper.reveal,
.massive-eagle-wrapper.visible,
.massive-eagle-wrapper.is-hero-logo-ready,
.massive-eagle-wrapper.is-hero-logo-loading,
body.pjax-page-enter .massive-eagle-wrapper,
.usm-pjax-loading .massive-eagle-wrapper {
    width: clamp(300px, 60vw, 800px);
    margin-bottom: 20px;
    opacity: 1 !important;
    transform: translateZ(0);
    will-change: transform !important;
    transform-style: flat !important;
    backface-visibility: hidden !important;
    contain: none !important;
    animation: float 6s ease-in-out infinite !important;
    animation-play-state: running !important;
    transition: none !important;
    filter: none !important;
}

.massive-eagle-wrapper::before,
.massive-eagle-wrapper.is-hero-logo-ready::before,
.massive-eagle-wrapper.is-hero-logo-loading::before {
    content: none !important;
    display: none !important;
}

.massive-eagle-wrapper img,
.massive-eagle-wrapper.is-hero-logo-ready img,
.massive-eagle-wrapper.is-hero-logo-loading img,
.massive-eagle-wrapper img.usm-smooth-image,
.massive-eagle-wrapper img.usm-smooth-image.usm-smooth-image-ready,
.massive-eagle-wrapper img.dynamic-img,
.massive-eagle-wrapper img.loaded,
body.pjax-page-enter .massive-eagle-wrapper img,
.usm-pjax-loading .massive-eagle-wrapper img {
    width: 100%;
    height: auto;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
    filter: drop-shadow(0 0 50px rgba(216,0,86,0.3)) !important;
}

.navbar,
.navbar *,
.navbar img,
.logo-nav img,
.navbar img#nav-logo-dyn {
    animation: none !important;
}

.navbar img#nav-logo-dyn,
.logo-nav img {
    opacity: 1 !important;
    filter: none !important;
    transition: none !important;
    transform: translateY(-5px) !important;
}


/* ================= PJAX FRONT 9.1 — Topbar au-dessus du voile PJAX ================= */
/* Le voile de transition doit habiller le contenu, pas recouvrir la topbar persistante. */
html.usm-pjax-loading::after {
    z-index: 90 !important;
}

/* ================= PJAX FRONT 9.2 — Massive logo animé restauré ================= */
/* Important : ne jamais figer transform avec !important sur le wrapper.
   L'animation main actuelle flotte via @keyframes float, qui anime aussi transform. */

html.usm-pjax-loading::before {
    z-index: 99999 !important;
}

.navbar,
.usm-pjax-loading .navbar,
.pjax-page-enter .navbar {
    z-index: 1000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

.navbar #nav-logo-dyn,
.logo-nav #nav-logo-dyn {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto;
}

/* ================= PJAX FRONT 9.3 — Apparition douce pages dynamiques ================= */
body.service-page .service-hero,
body.service-page .service-page-layout {
    will-change: opacity, transform, filter;
}

body.service-page.is-service-loading .service-hero,
body.service-page.is-service-loading .service-page-layout {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(10px);
}

body.service-page.is-service-ready .service-hero {
    animation: usm-service-hero-in 0.86s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.service-page.is-service-ready .service-page-layout {
    animation: usm-service-layout-in 0.92s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

body.service-page.is-service-ready .service-hero-content {
    animation: usm-service-content-in 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

body.service-page.is-service-ready .service-main-content {
    animation: usm-service-content-in 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

body.service-page.is-service-ready .service-sidebar {
    animation: usm-service-sidebar-in 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

body.service-page.pjax-page-enter main.service-main-content {
    animation: none;
}

body.service-page .service-hero img.dynamic-img,
body.service-page .service-hero img.usm-smooth-image {
    transform: scale(1.035);
    transition: opacity 0.95s ease, transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), filter 0.95s ease;
}

body.service-page .service-hero img.dynamic-img.loaded,
body.service-page .service-hero img.usm-smooth-image.usm-smooth-image-ready {
    transform: scale(1);
}

@keyframes usm-service-hero-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.992);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes usm-service-layout-in {
    from {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes usm-service-content-in {
    from {
        opacity: 0;
        transform: translateY(14px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes usm-service-sidebar-in {
    from {
        opacity: 0;
        transform: translateX(18px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@media (max-width: 768px) {
    body.service-page.is-service-ready .service-sidebar {
        animation-name: usm-service-content-in;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.service-page.is-service-loading .service-hero,
    body.service-page.is-service-loading .service-page-layout,
    body.service-page.is-service-ready .service-hero,
    body.service-page.is-service-ready .service-page-layout,
    body.service-page.is-service-ready .service-hero-content,
    body.service-page.is-service-ready .service-main-content,
    body.service-page.is-service-ready .service-sidebar,
    body.service-page .service-hero img.dynamic-img,
    body.service-page .service-hero img.usm-smooth-image {
        opacity: 1 !important;
        animation: none !important;
        transition: none !important;
        transform: none !important;
        filter: none !important;
    }
}


/* ================= PJAX FRONT 9.7 — Page service lisibilité & cadrage image ================= */
body.service-page .service-hero img,
body.service-page .service-hero-img-live,
body.service-page .service-hero-img-ghost {
    object-position: top center !important;
    filter: brightness(1.08) contrast(1.03);
}

body.service-page .service-hero img {
    opacity: 0.56;
}

body.service-page .service-hero::after {
    background:
        linear-gradient(to top, rgba(5, 5, 7, 0.82) 0%, rgba(5, 5, 7, 0.36) 52%, rgba(5, 5, 7, 0.06) 100%),
        linear-gradient(to right, rgba(5, 5, 7, 0.34) 0%, rgba(5, 5, 7, 0.06) 55%, rgba(5, 5, 7, 0.22) 100%);
}

body.service-page .service-hero-img-live,
body.service-page .service-hero-img-ghost {
    opacity: 0.56;
}

body.service-page .service-hero-img-live.service-hero-img-ready {
    opacity: 0.56 !important;
}

body.service-page .service-hero-img-ghost.is-fading-out {
    opacity: 0;
}

body.service-page .service-main-content {
    position: relative;
    padding: clamp(26px, 3vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(14, 14, 18, 0.76), rgba(20, 16, 22, 0.58)),
        rgba(5, 5, 7, 0.46);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

body.service-page .service-main-content::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 12% 0%, rgba(216, 0, 86, 0.14), transparent 34%);
}

body.service-page .service-desc {
    position: relative;
    z-index: 1;
    white-space: normal;
    color: rgba(255, 255, 255, 0.8);
}

body.service-page .service-desc p {
    margin: 0 0 1.15em;
}

body.service-page .service-desc p:last-child {
    margin-bottom: 0;
}

body.service-page .service-desc-final {
    margin-top: clamp(18px, 2.5vw, 28px) !important;
    padding: clamp(18px, 2.4vw, 26px);
    border: 1px solid rgba(216, 0, 86, 0.28);
    border-left: 4px solid var(--usm-pink);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(216, 0, 86, 0.16), rgba(255, 255, 255, 0.055));
    color: #fff;
    font-weight: 800;
    line-height: 1.65;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

@media (max-width: 768px) {
    body.service-page .service-hero {
        min-height: 360px;
    }

    body.service-page .service-main-content {
        padding: 24px 20px;
        border-radius: 22px;
    }

    body.service-page .service-desc-final {
        padding: 18px;
    }
}


/* ================= PJAX FRONT 9.8 — Service image depth & index cards polish ================= */
body.service-page .service-hero {
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.48),
        0 14px 34px rgba(216, 0, 86, 0.08),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

#services-container .bento-service-card::before {
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.28) 0%,
            rgba(0, 0, 0, 0.12) 34%,
            rgba(0, 0, 0, 0.05) 58%,
            rgba(0, 0, 0, 0.34) 100%) !important;
}

#services-container .srv-card-content h3 {
    text-transform: uppercase !important;
}


/* ================= PJAX FRONT 10 AUDIT 1 — Stats + lighter service visuals ================= */
#stat-3[data-live-followers="true"] {
    display: inline-flex !important;
    align-items: baseline;
    justify-content: center;
    gap: 0.02em;
    width: 100%;
    max-width: 100%;
    white-space: nowrap !important;
    overflow: hidden;
    text-wrap: nowrap;
    font-size: clamp(1.35rem, 2.02vw, 2.72rem) !important;
    letter-spacing: -1.15px !important;
    line-height: 0.96 !important;
}

#stat-3[data-live-followers="true"] .stat-number-main {
    display: inline-block;
    min-width: 0;
    max-width: calc(100% - 0.45em);
    overflow: hidden;
    text-overflow: clip;
}

#stat-3[data-live-followers="true"] .stat-number-plus {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 0.58em;
    line-height: 1;
    margin-left: 0.015em;
    transform: translateY(-0.08em);
}

@media (max-width: 850px) {
    #stat-3[data-live-followers="true"] {
        font-size: clamp(0.92rem, 5.05vw, 1.58rem) !important;
        letter-spacing: -0.7px !important;
    }
}

@media (max-width: 480px) {
    #stat-3[data-live-followers="true"] {
        font-size: clamp(0.78rem, 5.35vw, 1.22rem) !important;
        letter-spacing: -0.42px !important;
    }

    #stat-3[data-live-followers="true"] .stat-number-plus {
        font-size: 0.54em;
    }
}

#services-container .bento-service-card::before {
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.24) 0%,
            rgba(0, 0, 0, 0.10) 34%,
            rgba(0, 0, 0, 0.04) 58%,
            rgba(0, 0, 0, 0.30) 100%) !important;
}

#services-container .bento-service-card {
    background-color: rgba(5, 5, 7, 0.18) !important;
}

#services-container .srv-card-content h3,
#services-container .srv-card-content p {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72), 0 1px 2px rgba(0, 0, 0, 0.85);
}

body.service-page .service-hero img,
body.service-page .service-hero-img-live,
body.service-page .service-hero-img-ghost {
    opacity: 0.86;
    filter: brightness(1.04) contrast(1.02);
}

body.service-page .service-hero img {
    opacity: 0.86 !important;
}

body.service-page .service-hero-img-live.service-hero-img-ready {
    opacity: 0.86 !important;
}

body.service-page .service-hero-img-ghost.is-fading-out {
    opacity: 0;
}

body.service-page .service-hero::after {
    background:
        linear-gradient(to top, rgba(5, 5, 7, 0.34) 0%, rgba(5, 5, 7, 0.10) 52%, rgba(5, 5, 7, 0.02) 100%),
        linear-gradient(to right, rgba(5, 5, 7, 0.14) 0%, rgba(5, 5, 7, 0.02) 55%, rgba(5, 5, 7, 0.10) 100%);
}

/* ================= PJAX FRONT 10 AUDIT 2 — Plus sécurisé + voiles divisés ================= */
.data-huge.has-stat-plus,
#stat-3[data-live-followers="true"] {
    display: inline-flex !important;
    align-items: baseline;
    justify-content: center;
    gap: 0.018em;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap !important;
    overflow: hidden;
    font-size: clamp(1.28rem, 1.92vw, 2.58rem) !important;
    letter-spacing: -1.05px !important;
    line-height: 0.96 !important;
}

.data-huge .stat-number-main,
#stat-3[data-live-followers="true"] .stat-number-main {
    display: inline-block;
    min-width: 0;
    max-width: calc(100% - 0.34em);
    overflow: hidden;
    text-overflow: clip;
}

.data-huge .stat-number-plus,
#stat-3[data-live-followers="true"] .stat-number-plus {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 0.5em;
    line-height: 1;
    margin-left: 0.01em;
    transform: translateY(-0.12em);
    transform-origin: left center;
}

@media (max-width: 850px) {
    .data-huge.has-stat-plus,
    #stat-3[data-live-followers="true"] {
        font-size: clamp(0.86rem, 4.6vw, 1.42rem) !important;
        letter-spacing: -0.58px !important;
    }
}

@media (max-width: 480px) {
    .data-huge.has-stat-plus,
    #stat-3[data-live-followers="true"] {
        font-size: clamp(0.78rem, 5vw, 1.14rem) !important;
        letter-spacing: -0.34px !important;
    }

    .data-huge .stat-number-plus,
    #stat-3[data-live-followers="true"] .stat-number-plus {
        font-size: 0.46em;
    }
}

#services-container .bento-service-card {
    isolation: isolate;
    background-image: none !important;
    background-color: rgba(5, 5, 7, 0.08) !important;
}

#services-container .bento-service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: var(--srv-bg-image, none);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform-origin: center center;
    transform: translate(var(--srv-card-img-x, 0%), var(--srv-card-img-y, 0%)) scale(var(--srv-card-img-zoom, 1));
    transition: transform 0.35s ease, filter 0.35s ease;
}

#services-container .bento-service-card::before {
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.03) 34%,
            rgba(0, 0, 0, 0.012) 58%,
            rgba(0, 0, 0, 0.10) 100%) !important;
}

#services-container .srv-card-content,
#services-container .srv-card-arrow {
    position: relative;
    z-index: 2;
}

#services-container .srv-card-content h3,
#services-container .srv-card-content p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.66), 0 1px 2px rgba(0, 0, 0, 0.74) !important;
}

body.service-page .service-hero img,
body.service-page .service-hero-img-live,
body.service-page .service-hero-img-ghost {
    object-position: center center !important;
    opacity: 0.96 !important;
    filter: brightness(1.08) contrast(1.03);
    transform-origin: center center;
    transform: translate(var(--srv-hero-img-x, 0%), var(--srv-hero-img-y, 0%)) scale(var(--srv-hero-img-zoom, 1)) !important;
}

body.service-page .service-hero-img-live.service-hero-img-switching {
    opacity: 0 !important;
}

body.service-page .service-hero-img-live.service-hero-img-ready {
    opacity: 0.96 !important;
}

body.service-page .service-hero-img-ghost.is-fading-out {
    opacity: 0 !important;
}

body.service-page .service-hero::after {
    background:
        linear-gradient(to top, rgba(5, 5, 7, 0.11) 0%, rgba(5, 5, 7, 0.035) 52%, rgba(5, 5, 7, 0.008) 100%),
        linear-gradient(to right, rgba(5, 5, 7, 0.045) 0%, rgba(5, 5, 7, 0.008) 55%, rgba(5, 5, 7, 0.03) 100%) !important;
}


/* ================= POST AUDIT 3 — stats, service CTA, service hero subtitle ================= */
.data-huge.has-stat-plus {
    display: inline-flex !important;
    align-items: baseline;
    justify-content: center;
    gap: 0.04em;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap !important;
    overflow: hidden;
    line-height: 0.98 !important;
}

.data-huge.has-stat-plus .stat-number-main {
    display: inline-block;
    min-width: 0;
    max-width: calc(100% - 0.4em);
    overflow: hidden;
    text-overflow: clip;
    flex: 1 1 auto;
}

.data-huge.has-stat-plus .stat-number-plus {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 0.48em;
    line-height: 1;
    margin-left: 0.01em;
    transform: translateY(-0.14em);
}

@media (max-width: 850px) {
    .data-huge.has-stat-plus {
        gap: 0.025em;
    }

    .data-huge.has-stat-plus .stat-number-plus {
        font-size: 0.44em;
    }
}

#services-container .srv-card-arrow {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(5, 5, 7, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    color: #fff !important;
    font-weight: 900 !important;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.78);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

#services-container .bento-service-card:hover .srv-card-arrow {
    transform: translateX(8px);
    background: rgba(216, 0, 86, 0.3);
    border-color: rgba(216, 0, 86, 0.44);
}

body.service-page #srv-page-subtitle {
    display: inline-flex;
    align-items: center;
    max-width: min(100%, 780px);
    margin-top: 14px !important;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(5, 5, 7, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    color: #fff !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}


/* ================= POST AUDIT 4 — plus stats visibles + lisibilité CTA ================= */
.data-huge.has-stat-plus {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: baseline;
    justify-content: center;
    gap: 0.035em;
    max-width: 100%;
    min-width: 0;
    white-space: nowrap !important;
    overflow: visible !important;
    line-height: 0.98 !important;
    padding-inline: 2px !important;
}

.data-huge.has-stat-plus .stat-number-main,
.data-huge.has-stat-plus .stat-number-plus {
    background: linear-gradient(135deg, #fff, var(--usm-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.data-huge.has-stat-plus .stat-number-main {
    display: inline-block;
    flex: 0 1 auto;
    min-width: 0;
    max-width: calc(100% - 0.42em);
    overflow: hidden;
    text-overflow: clip;
}

.data-huge.has-stat-plus .stat-number-plus {
    display: inline-block;
    flex: 0 0 auto;
    font-size: 0.5em;
    line-height: 1;
    margin-left: 0.01em;
    transform: translateY(-0.14em);
    overflow: visible;
}

@media (max-width: 850px) {
    .data-huge.has-stat-plus {
        gap: 0.02em;
    }

    .data-huge.has-stat-plus .stat-number-plus {
        font-size: 0.44em;
    }
}

#stat-3[data-live-followers="true"] {
    background: linear-gradient(135deg, #fff, var(--usm-pink)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

#services-container .srv-card-arrow {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(5, 5, 7, 0.62) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(10px);
    color: #fff !important;
    font-weight: 900 !important;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

body.service-page #srv-page-subtitle {
    display: inline-flex;
    align-items: center;
    max-width: min(100%, 780px);
    margin-top: 14px !important;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(5, 5, 7, 0.40);
    border: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(8px);
    color: #fff !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.82);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}


/* ================= POST AUDIT 5 — Service hero true banner preview/no forced crop ================= */
body.service-page .service-hero img,
body.service-page .service-hero-img-live,
body.service-page .service-hero-img-ghost {
    object-fit: contain !important;
    background: #050507 !important;
}

/* ================= POST AUDIT 7 — Images déco non-croppées + mentions légales PJAX ================= */
.marquee-item {
    background:
        linear-gradient(45deg, rgba(255,255,255,0.028) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.028) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.028) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.028) 75%),
        #08080b;
    background-size: 22px 22px;
    background-position: 0 0, 0 11px, 11px -11px, -11px 0;
}

.marquee-item img {
    object-fit: contain !important;
}

.legal-container {
    max-width: 900px;
    margin: 150px auto 100px;
    padding: 50px;
    background: var(--surface);
    border: 1px solid rgba(216, 0, 86, 0.2);
    border-radius: var(--card-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    position: relative;
    z-index: 10;
}

.legal-container h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.legal-container h2 {
    color: var(--usm-pink);
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(216, 0, 86, 0.2);
    padding-bottom: 10px;
}

.legal-container p,
.legal-container ul {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.legal-container ul {
    padding-left: 20px;
}

.legal-container li {
    margin-bottom: 8px;
}

.legal-container a {
    color: var(--usm-pink);
    text-decoration: none;
    transition: color 0.3s;
}

.legal-container a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-container {
        margin: 115px 16px 90px;
        padding: 28px 20px;
        border-radius: 22px;
    }

    .legal-container h1 {
        margin-bottom: 32px;
    }
}


/* ================= POST AUDIT 10 — Massive logo no text caret/focus ================= */
.hero-massive {
    user-select: none;
    -webkit-user-select: none;
    caret-color: transparent;
}

.hero-massive * {
    user-select: none;
    -webkit-user-select: none;
}

.massive-eagle-wrapper,
.massive-eagle-wrapper img {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
    caret-color: transparent;
    cursor: default;
    outline: none;
}

.massive-eagle-wrapper img::selection,
.hero-massive::selection,
.hero-massive *::selection {
    background: transparent;
}
