/* =============================================
   dashboard.css — Dashboard Analytics Bokonzi
   ============================================= */

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #080c14;
    color: #d0d7e0;
    min-height: 100vh;
}

/* NAV INTERNE */
nav {
    background: linear-gradient(180deg, #10162b 0%, #0b1020 100%);
    border-bottom: 1px solid #1a2540;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0;
    position: sticky;
    top: 50px;
    z-index: 100;
    backdrop-filter: blur(12px);
}
nav .logo {
    color: #6c5ce7;
    font-weight: 800;
    font-size: 20px;
    padding: 14px 20px 14px 0;
    border-right: 1px solid #1a2540;
    margin-right: 5px;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px #6c5ce744;
}
nav a {
    color: #5a6580;
    text-decoration: none;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
nav a:hover { color: #d0d7e0; background: #ffffff08; }
nav a.active {
    color: #a29bfe;
    border-bottom-color: #6c5ce7;
    background: #6c5ce708;
}

/* LAYOUT */
.container { max-width: 1400px; margin: 0 auto; padding: 30px 25px; }

h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}
h2 {
    color: #e2e8f0;
    font-size: 17px;
    font-weight: 600;
    margin: 30px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1a2540;
    display: flex;
    align-items: center;
    gap: 8px;
}
h2::before {
    content: '';
    width: 3px;
    height: 16px;
    background: #6c5ce7;
    border-radius: 2px;
    flex-shrink: 0;
}
h3 { color: #e2e8f0; font-size: 15px; margin: 15px 0 8px; }
.subtitle { color: #5a6580; margin-bottom: 20px; font-size: 14px; }

/* =============================================
   STAT CARDS
   ============================================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.card {
    background: linear-gradient(135deg, #111830 0%, #0d1220 100%);
    border: 1px solid #1a2540;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6c5ce7, #fd79a8);
    opacity: 0;
    transition: opacity 0.3s;
}
.card:hover {
    border-color: #2a3560;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px #00000050;
}
.card:hover::before { opacity: 1; }
.card .num {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #a29bfe, #6c5ce7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    letter-spacing: -1px;
}
.card .label {
    color: #5a6580;
    font-size: 13px;
    font-weight: 500;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-link { text-decoration: none; color: inherit; display: block; }

/* Card accent colors */
.card.accent-green .num { background: linear-gradient(135deg, #00cec9, #55efc4); -webkit-background-clip: text; background-clip: text; }
.card.accent-green::before { background: linear-gradient(90deg, #00cec9, #55efc4); }
.card.accent-purple .num { background: linear-gradient(135deg, #6c5ce7, #a29bfe); -webkit-background-clip: text; background-clip: text; }
.card.accent-purple::before { background: linear-gradient(90deg, #6c5ce7, #a29bfe); }
.card.accent-amber .num { background: linear-gradient(135deg, #fdcb6e, #ffeaa7); -webkit-background-clip: text; background-clip: text; }
.card.accent-amber::before { background: linear-gradient(90deg, #fdcb6e, #ffeaa7); }
.card.accent-rose .num { background: linear-gradient(135deg, #fd79a8, #e84393); -webkit-background-clip: text; background-clip: text; }
.card.accent-rose::before { background: linear-gradient(90deg, #fd79a8, #e84393); }

/* =============================================
   CHARTS SECTION
   ============================================= */
.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}
.chart-card {
    background: linear-gradient(135deg, #111830 0%, #0d1220 100%);
    border: 1px solid #1a2540;
    border-radius: 12px;
    padding: 24px;
    position: relative;
}
.chart-card h3 {
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.chart-card h3 .chart-icon {
    width: 28px; height: 28px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
}
.chart-card canvas { max-height: 280px; }

.charts-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

/* =============================================
   TABLES — classe commune : bk-table
   ============================================= */
.bk-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    background: #0c1020;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1a2540;
}
.table-wrap .bk-table,
.table-wrap .perf-table { margin: 0; border-radius: 0; }
.table-wrap .bk-table + .bk-table,
.table-wrap .perf-table + .perf-table { border-top: none; }
.table-wrap .bk-table:first-child,
.table-wrap .perf-table:first-child { border-radius: 10px 10px 0 0; }
.table-wrap .bk-table:last-child,
.table-wrap .perf-table:last-child { border-radius: 0 0 10px 10px; }
.bk-table th {
    background: #111830;
    color: #7c85a0;
    padding: 20px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 102px;
    border-bottom: 1px solid #1a2540;
}
.bk-table td {
    padding: 20px 24px;
    border-top: 1px solid #121a30;
    font-size: 13px;
    color: #d0d7e0;
}
.bk-table tr:hover td { background: #131b35; }
.bk-table td a { color: #a29bfe; text-decoration: none; transition: color 0.15s; }
.bk-table td a:hover { color: #d0ccff; text-decoration: underline; }
.bk-table .perf-val { color: #55efc4; font-weight: 600; font-family: 'Courier New', monospace; }

/* =============================================
   BADGES
   ============================================= */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.badge-or { background: #ffd70020; color: #ffeaa7; border: 1px solid #ffd70030; }
.badge-argent { background: #c0c0c020; color: #dfe6e9; border: 1px solid #c0c0c030; }
.badge-bronze { background: #cd7f3220; color: #e17055; border: 1px solid #cd7f3230; }
.badge-m { background: #6c5ce720; color: #a29bfe; border: 1px solid #6c5ce730; }
.badge-f { background: #fd79a820; color: #fd79a8; border: 1px solid #fd79a830; }
.badge-cat { background: #00cec920; color: #55efc4; border: 1px solid #00cec930; }
.badge-perf { background: #6c5ce720; color: #a29bfe; border: 1px solid #6c5ce730; }

/* =============================================
   FORMS
   ============================================= */
.search-box {
    background: linear-gradient(135deg, #111830 0%, #0d1220 100%);
    border: 1px solid #1a2540;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
}
.search-box input, .search-box select {
    background: #080c14;
    border: 1px solid #1a2540;
    color: #d0d7e0;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin: 3px;
    transition: border-color 0.2s;
}
.search-box input:focus, .search-box select:focus {
    border-color: #6c5ce7;
    outline: none;
    box-shadow: 0 0 0 3px #6c5ce715;
}
.btn {
    background: linear-gradient(135deg, #6c5ce7, #5541d0);
    color: #fff;
    border: none;
    padding: 9px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    margin: 3px;
    transition: all 0.2s;
    text-shadow: 0 1px 2px #00000040;
}
.btn:hover { background: linear-gradient(135deg, #7c6cf7, #6c5ce7); box-shadow: 0 4px 15px #6c5ce730; }
.btn-blue { background: linear-gradient(135deg, #0984e3, #0652DD); }
.btn-blue:hover { background: linear-gradient(135deg, #3498ff, #0984e3); box-shadow: 0 4px 15px #0984e330; }

/* =============================================
   PAGINATION
   ============================================= */
.pager { margin: 15px 0; display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.pager a, .pager span {
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s;
}
.pager a { background: #111830; color: #7c85a0; border: 1px solid #1a2540; }
.pager a:hover { background: #1a2540; color: #fff; }
.pager .current { background: linear-gradient(135deg, #6c5ce7, #5541d0); color: #fff; border: none; }
.pager .info { color: #5a6580; }

/* =============================================
   PROFIL
   ============================================= */
.profil-header {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: linear-gradient(135deg, #111830 0%, #0d1220 100%);
    border: 1px solid #1a2540;
    border-radius: 12px;
    padding: 25px;
    margin: 15px 0;
}
.profil-header .name {
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
}
.profil-header .meta { color: #7c85a0; font-size: 14px; margin-top: 8px; line-height: 1.8; }
.profil-header .meta b { color: #d0d7e0; }

.section-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #1a2540;
    margin: 20px 0 0;
    background: #0c1020;
    border-radius: 10px 10px 0 0;
    overflow-x: auto;
}
.section-tabs a {
    padding: 11px 18px;
    color: #5a6580;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.section-tabs a:hover { color: #d0d7e0; background: #111830; }
.section-tabs a.active { color: #a29bfe; border-bottom-color: #6c5ce7; background: #111830; }
.section-tabs .count {
    background: #1a2540;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 4px;
    color: #7c85a0;
}

.empty { color: #5a6580; font-style: italic; padding: 20px; text-align: center; }
.error {
    color: #ff7675;
    background: linear-gradient(135deg, #ff767510, #ff767505);
    border: 1px solid #ff767530;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

/* =============================================
   LIVE SEARCH
   ============================================= */
.live-search { position: relative; margin: 15px 0; }
.live-search input {
    width: 100%;
    padding: 14px 18px 14px 48px;
    font-size: 15px;
    background: linear-gradient(135deg, #111830 0%, #0d1220 100%);
    border: 2px solid #1a2540;
    border-radius: 12px;
    color: #d0d7e0;
    outline: none;
    transition: all 0.25s;
}
.live-search input:focus {
    border-color: #6c5ce7;
    box-shadow: 0 0 0 4px #6c5ce712, 0 4px 20px #6c5ce710;
}
.live-search input::placeholder { color: #3a4560; }
.live-search .ls-icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    font-size: 18px; color: #3a4560; pointer-events: none;
}
.live-search .ls-status {
    text-align: center; color: #5a6580; font-size: 13px; margin-top: 8px; min-height: 18px;
}
.live-search .ls-status.loading { color: #a29bfe; }
.live-search .ls-status.error { color: #ff7675; }
.live-search input.ls-loading {
    border-color: #a29bfe !important;
    animation: ls-pulse 1s ease-in-out infinite;
}
@keyframes ls-pulse {
    0%, 100% { box-shadow: 0 0 0 2px #a29bfe20; }
    50% { box-shadow: 0 0 0 6px #a29bfe30; }
}
.ls-spinner {
    display: inline-block; width: 12px; height: 12px;
    border: 2px solid #a29bfe40; border-top-color: #a29bfe;
    border-radius: 50%; animation: ls-spin .6s linear infinite;
}
@keyframes ls-spin { to { transform: rotate(360deg); } }
.ls-results { margin-top: 10px; }

/* Wrapper scrollable pour les tableaux */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 10px 0; border-radius: 10px; }
.table-wrap table { margin: 0; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
    .container { padding: 15px 10px; }
    nav { flex-wrap: wrap; padding: 0 10px; }
    nav .logo { font-size: 16px; padding: 10px 12px 10px 0; }
    nav a { padding: 10px 10px; font-size: 12px; }
    .grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
    .card { padding: 14px; }
    .card .num { font-size: 24px; }
    .charts-row { grid-template-columns: 1fr; }
    .charts-row-3 { grid-template-columns: 1fr; }
    .chart-card { padding: 16px; }
    .profil-header { flex-direction: column; gap: 12px; padding: 15px; }
    .profil-header .name { font-size: 20px; }
    .section-tabs a { padding: 8px 12px; font-size: 12px; }
    .search-box { padding: 12px; }
    .search-box input, .search-box select { width: 100% !important; margin: 4px 0; }
    .btn { width: 100%; margin: 6px 0; }
    h1 { font-size: 22px; }
    .bk-table th, .bk-table td { padding: 14px 16px; font-size: 12px; white-space: nowrap; }
}

@media (max-width: 600px) {
    .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .card { padding: 12px; }
    .card .num { font-size: 20px; }
    nav a { padding: 8px 6px; font-size: 11px; }
    h1 { font-size: 20px; }
}

/* =============================================
   TUTORIEL ANIMÉ
   ============================================= */
.tuto-container { max-width: 900px; margin: 0 auto; }
.tuto-progress { display: flex; align-items: center; gap: 0; margin-bottom: 32px; padding: 10px 10px; position: sticky; top: 0; z-index: 50; background: #0a0f1aee; backdrop-filter: blur(8px); border-bottom: 1px solid #1e2a3a40; border-radius: 0 0 10px 10px; }
.tuto-progress-step { flex: 1; height: 4px; background: #1e2a3a; border-radius: 2px; transition: background .4s; position: relative; }
.tuto-progress-step.done { background: linear-gradient(90deg, #6c5ce7, #a29bfe); }
.tuto-progress-step.active { background: #a29bfe; box-shadow: 0 0 8px #a29bfe60; }
.tuto-progress-dot { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: #1e2a3a; border: 2px solid #30363d; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #5a6580; font-weight: 700; transition: all .4s; }
.tuto-progress-step.done .tuto-progress-dot,
.tuto-progress-step.active .tuto-progress-dot { background: #6c5ce7; border-color: #a29bfe; color: #fff; }

.tuto-step { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid #1e2a3a20; }
.tuto-step:last-of-type { border-bottom: none; }
.tuto-step.visible { opacity: 1; transform: translateY(0); }

.tuto-nav { display: none; }

.tuto-title { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.tuto-subtitle { color: #8b949e; font-size: 15px; line-height: 1.7; margin-bottom: 24px; }

/* Mock UI */
.tuto-mock { background: #0d1520; border: 1px solid #1e2a3a; border-radius: 12px; padding: 16px; margin: 16px 0; overflow: hidden; }
.tuto-mock-nav { display: flex; gap: 12px; padding: 8px 14px; background: #080c14; border-radius: 8px; margin-bottom: 12px; }
.tuto-mock-nav span { padding: 6px 14px; border-radius: 6px; font-size: 12px; color: #5a6580; }
.tuto-mock-nav span.hl { background: #6c5ce730; color: #a29bfe; font-weight: 700; animation: tutoPulse 1.5s ease infinite; }
.tuto-mock-search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #080c14; border: 1px solid #253049; border-radius: 10px; margin: 10px 0; }
.tuto-mock-search .icon { font-size: 16px; }
.tuto-mock-search .text { color: #a29bfe; font-size: 13px; font-family: monospace; }
.tuto-mock-panel { background: #080c14; border: 1px solid #253049; border-radius: 10px; padding: 14px; margin: 10px 0; }
.tuto-mock-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.tuto-mock-tabs span { padding: 5px 12px; border-radius: 6px; font-size: 11px; color: #5a6580; background: #0d1520; border: 1px solid #1e2a3a; }
.tuto-mock-tabs span.active { background: #6c5ce730; color: #a29bfe; border-color: #6c5ce7; }
.tuto-mock-row { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid #1e2a3a15; font-size: 12px; color: #8b949e; align-items: center; }
.tuto-mock-badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }

/* Cards grille */
.tuto-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.tuto-card { text-align: center; padding: 20px 14px; background: #0d1520; border: 1px solid #1e2a3a; border-radius: 12px; }
.tuto-card .num { font-size: 28px; font-weight: 800; color: #a29bfe; }
.tuto-card .label { font-size: 12px; color: #5a6580; margin-top: 4px; }

/* Feature list */
.tuto-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.tuto-feature { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: #0d1520; border: 1px solid #1e2a3a; border-radius: 10px; }
.tuto-feature .icon { font-size: 22px; flex-shrink: 0; }
.tuto-feature .title { color: #c9d1d9; font-weight: 700; font-size: 13px; }
.tuto-feature .desc { color: #5a6580; font-size: 12px; line-height: 1.5; }

/* Try button */
.tuto-try { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 22px; background: linear-gradient(135deg, #10b981, #059669); color: #fff; font-weight: 700; font-size: 13px; border-radius: 10px; text-decoration: none; transition: all .2s; animation: tutoPulse 2s ease infinite; }
.tuto-try:hover { box-shadow: 0 0 20px #10b98140; transform: translateY(-1px); }

/* Typing cursor */
.tuto-cursor { display: inline-block; width: 2px; height: 1em; background: #a29bfe; animation: tutoBlink .7s step-end infinite; vertical-align: text-bottom; margin-left: 2px; }

/* Niveau demo */
.tuto-niv-demo { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tuto-niv-demo span { padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; }

/* Animations */
@keyframes tutoFadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tutoPulse { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 12px #6c5ce740; } }
@keyframes tutoBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes tutoSlideRight { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

/* ═══ Interactive tuto — animations & style ═══ */

/* Entrance animation for steps */
.tuto-enter { animation: tutoSlideUp .5s cubic-bezier(.16,1,.3,1) both; }
@keyframes tutoSlideUp {
    from { opacity:0; transform:translateY(30px) scale(.97); }
    to   { opacity:1; transform:translateY(0) scale(1); }
}

/* Stagger animation for children */
.tuto-enter .tuto-title   { animation: tutoFadeSlide .5s ease .1s both; }
.tuto-enter .tuto-subtitle { animation: tutoFadeSlide .5s ease .2s both; }
.tuto-enter .tuto-cards    { animation: tutoFadeSlide .5s ease .3s both; }
.tuto-enter .tuto-mock     { animation: tutoFadeSlide .5s ease .25s both; }
.tuto-enter .tuto-features { animation: tutoFadeSlide .5s ease .3s both; }
.tuto-enter .tuto-live-search { animation: tutoFadeSlide .5s ease .2s both; }
.tuto-enter .tuto-inline-panel { animation: tutoFadeSlide .6s ease .3s both; }
.tuto-enter .tuto-niv-demo { animation: tutoFadeSlide .5s ease .3s both; }
.tuto-enter .tuto-next-btn { animation: tutoFadeSlide .4s ease .4s both; }
@keyframes tutoFadeSlide {
    from { opacity:0; transform:translateY(16px); }
    to   { opacity:1; transform:translateY(0); }
}

/* Skip button — glass effect */
.tuto-skip-btn {
    position:fixed;bottom:24px;right:24px;z-index:100;
    padding:10px 22px;
    background:rgba(13,21,32,.85);
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
    border:1px solid #30363d;border-radius:10px;
    color:#8b949e;font-size:13px;font-weight:500;
    cursor:pointer;transition:all .3s ease;
    box-shadow:0 4px 16px rgba(0,0,0,.3);
}
.tuto-skip-btn:hover {
    background:rgba(30,42,58,.95);color:#c9d1d9;
    border-color:#6c5ce7;
    box-shadow:0 4px 24px rgba(108,92,231,.2);
    transform:translateY(-2px);
}

/* Next button — gradient glow */
.tuto-next-btn {
    display:inline-flex;align-items:center;gap:8px;
    padding:12px 28px;
    background:linear-gradient(135deg,#6c5ce7,#5541d0);
    color:#fff;border:none;border-radius:12px;
    font-size:14px;font-weight:700;
    cursor:pointer;transition:all .3s ease;
    position:relative;overflow:hidden;
}
.tuto-next-btn::before {
    content:'';position:absolute;inset:0;
    background:linear-gradient(135deg,rgba(255,255,255,.15),transparent);
    opacity:0;transition:opacity .3s;
}
.tuto-next-btn:not(:disabled):hover {
    box-shadow:0 0 30px #6c5ce750,0 4px 12px rgba(0,0,0,.3);
    transform:translateY(-2px);
}
.tuto-next-btn:not(:disabled):hover::before { opacity:1; }
.tuto-next-btn:disabled { opacity:.35;cursor:not-allowed; }
.tuto-next-btn:not(:disabled):active { transform:translateY(0);box-shadow:0 0 16px #6c5ce740; }

/* Step completion */
.tuto-step.completed { border-left:3px solid #34d399; }

/* Badge "Action complétée" — pulse */
.tuto-complete-badge {
    display:inline-flex;align-items:center;gap:6px;
    padding:8px 18px;
    background:linear-gradient(135deg,#10b98118,#10b98108);
    border:1px solid #10b98140;border-radius:10px;
    color:#34d399;font-size:13px;font-weight:600;
    animation: tutoBadgeAppear .5s cubic-bezier(.16,1,.3,1) both, tutoBadgePulse 2s ease 1s infinite;
}
@keyframes tutoBadgeAppear {
    from { opacity:0; transform:scale(.8); }
    to   { opacity:1; transform:scale(1); }
}
@keyframes tutoBadgePulse {
    0%,100% { box-shadow:0 0 0 0 #34d39900; }
    50%     { box-shadow:0 0 0 6px #34d39920; }
}

/* Club/Athlete result items — smooth hover */
.tuto-club-result,.tuto-ath-result {
    display:flex;justify-content:space-between;align-items:center;
    padding:12px 16px;border-bottom:1px solid #1e2a3a20;
    cursor:pointer;transition:all .25s ease;
    border-left:3px solid transparent;
}
.tuto-club-result:hover,.tuto-ath-result:hover {
    background:linear-gradient(90deg,#6c5ce708,transparent);
    border-left-color:#6c5ce7;
    transform:translateX(4px);
}
.tuto-club-result:first-child,.tuto-ath-result:first-child { border-radius:10px 10px 0 0; }
.tuto-club-result:last-child,.tuto-ath-result:last-child { border-bottom:none;border-radius:0 0 10px 10px; }

/* Search bar — glow on focus */
.tuto-live-search {
    display:flex;align-items:center;gap:10px;
    padding:14px 18px;
    background:linear-gradient(135deg,#080c14,#0d1520);
    border:2px solid #253049;border-radius:12px;
    margin:14px 0;transition:all .3s ease;
    box-shadow:0 2px 8px rgba(0,0,0,.2);
}
.tuto-live-search:focus-within {
    border-color:#6c5ce7;
    box-shadow:0 0 0 3px #6c5ce720,0 4px 16px rgba(0,0,0,.3);
}
.tuto-live-search input { flex:1;background:transparent;border:none;outline:none;color:#c9d1d9;font-size:15px; }
.tuto-live-search input::placeholder { color:#3a4560; }

/* Results dropdown — slide down */
.tuto-live-results {
    background:#0d1520;border:1px solid #1e2a3a;border-radius:12px;
    max-height:350px;overflow-y:auto;display:none;
    box-shadow:0 8px 32px rgba(0,0,0,.3);
    animation: tutoDropDown .3s ease both;
}
@keyframes tutoDropDown {
    from { opacity:0; transform:translateY(-8px); }
    to   { opacity:1; transform:translateY(0); }
}
.tuto-live-results::-webkit-scrollbar { width:6px; }
.tuto-live-results::-webkit-scrollbar-track { background:transparent; }
.tuto-live-results::-webkit-scrollbar-thumb { background:#253049;border-radius:3px; }

/* Highlight pulse */
.tuto-highlight { animation:tutoHighlight 2s ease infinite; }
@keyframes tutoHighlight {
    0%,100% { box-shadow:0 0 0 0 #6c5ce700; }
    50%     { box-shadow:0 0 0 5px #6c5ce730,0 0 20px #6c5ce715; }
}

/* Inline panel — elevated */
.tuto-inline-panel {
    background:#0d1520;
    border:1px solid #1e2a3a;border-radius:14px;
    padding:0;margin:16px 0;overflow:hidden;
    box-shadow:0 4px 24px rgba(0,0,0,.25);
}
.tuto-inline-panel .club-detail-header {
    padding:18px 20px;
    border-bottom:1px solid #1e2a3a;
    background:linear-gradient(135deg,#0d152080,#12182a80);
}
.tuto-inline-panel .club-detail-tabs {
    padding:10px 16px;border-bottom:1px solid #1e2a3a;
    background:#0a0f18;
}
.tuto-inline-panel .club-detail-content { padding:16px; }

/* Progress bar — active dot glow */
.tuto-progress-step.active .tuto-progress-dot {
    box-shadow:0 0 12px #6c5ce760,0 0 4px #6c5ce7;
}
.tuto-progress-step.done .tuto-progress-dot {
    box-shadow:0 0 8px #34d39940;
}

/* Step number indicator */
.tuto-step .tuto-title::before {
    display:inline-block;
    font-size:12px;font-weight:700;
    color:#5a6580;letter-spacing:1px;
    margin-bottom:6px;
    text-transform:uppercase;
}
.tuto-step[data-step="1"] .tuto-title::before { content:"Étape 1/9"; display:block; }
.tuto-step[data-step="2"] .tuto-title::before { content:"Étape 2/9"; display:block; }
.tuto-step[data-step="3"] .tuto-title::before { content:"Étape 3/9"; display:block; }
.tuto-step[data-step="4"] .tuto-title::before { content:"Étape 4/9"; display:block; }
.tuto-step[data-step="5"] .tuto-title::before { content:"Étape 5/9"; display:block; }
.tuto-step[data-step="6"] .tuto-title::before { content:"Étape 6/9"; display:block; }
.tuto-step[data-step="7"] .tuto-title::before { content:"Étape 7/9"; display:block; }
.tuto-step[data-step="8"] .tuto-title::before { content:"Étape 8/9"; display:block; }
.tuto-step[data-step="9"] .tuto-title::before { content:"Étape 9/9"; display:block; }

/* Tuto step cards — glass morph */
.tuto-step .tuto-card {
    background:linear-gradient(135deg,rgba(108,92,231,.08),rgba(13,21,32,.5));
    border:1px solid #6c5ce720;
    transition:transform .3s ease, box-shadow .3s ease;
}
.tuto-step .tuto-card:hover {
    transform:translateY(-3px);
    box-shadow:0 8px 24px rgba(108,92,231,.15);
}

/* Feature cards — animated reveal */
.tuto-enter .tuto-feature:nth-child(1) { animation: tutoFadeSlide .4s ease .2s both; }
.tuto-enter .tuto-feature:nth-child(2) { animation: tutoFadeSlide .4s ease .3s both; }
.tuto-enter .tuto-feature:nth-child(3) { animation: tutoFadeSlide .4s ease .4s both; }
.tuto-enter .tuto-feature:nth-child(4) { animation: tutoFadeSlide .4s ease .5s both; }
.tuto-enter .tuto-feature:nth-child(5) { animation: tutoFadeSlide .4s ease .6s both; }
.tuto-enter .tuto-feature:nth-child(6) { animation: tutoFadeSlide .4s ease .7s both; }

/* Tuto feature — hover lift */
.tuto-feature {
    transition:transform .2s ease, box-shadow .2s ease;
}
.tuto-feature:hover {
    transform:translateY(-2px);
    box-shadow:0 4px 16px rgba(0,0,0,.2);
}

/* Mock elements — shimmer border */
.tuto-mock {
    position:relative;overflow:hidden;
}
.tuto-mock::after {
    content:'';position:absolute;top:0;left:-100%;width:50%;height:100%;
    background:linear-gradient(90deg,transparent,rgba(108,92,231,.04),transparent);
    animation:tutoShimmer 4s ease infinite;
    pointer-events:none;
}
@keyframes tutoShimmer {
    0%   { left:-100%; }
    100% { left:200%; }
}

/* Niv demo badges — hover scale */
.tuto-niv-demo span {
    transition:transform .2s ease;
}
.tuto-niv-demo span:hover {
    transform:scale(1.08);
}

/* Grid épreuves/villes — column gap on mobile */
@media (max-width: 700px) {
    .tuto-cards { grid-template-columns: repeat(2, 1fr); }
    .tuto-features { grid-template-columns: 1fr; }
    .tuto-title { font-size: 22px; }
    .tuto-skip-btn { bottom:12px;right:12px;padding:8px 16px;font-size:12px; }
    .tuto-step[data-step="6"] div[style*="grid-template-columns"] { grid-template-columns:1fr !important; }
}

/* TEST — forcer padding tableaux */
