        :root {
            --bg: #0f1117;
            --surface: #1a1d27;
            --surface2: #22263a;
            --border: rgba(255,255,255,0.07);
            --accent: #f97316;
            --accent2: #6366f1;
            --green: #22c55e;
            --red: #ef4444;
            --gold: #f59e0b;
            --text: #e8eaf0;
            --text2: #8b92a8;
            --sidebar-w: 340px;
        }

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

        body {
            font-family: 'DM Sans', sans-serif;
            background: var(--bg);
            color: var(--text);
            height: 100vh;
            height: 100dvh;
            overflow: hidden;
            display: flex;
        }

        /* ══════════════════════════════
           MAIN APP
        ══════════════════════════════ */
        .app-container {
            flex: 1;
            height: 100vh;
            height: 100dvh;
            display: flex;
            flex-direction: column;
            max-width: 800px;
            margin: 0 auto;
            transition: margin-right 0.35s cubic-bezier(.4,0,.2,1);
            min-width: 0;
            overflow: hidden;
        }

        /* ══════════════════════════════
           HEADER
        ══════════════════════════════ */
        .header {
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 10px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .logo-icon { font-size: 22px; }

        .header h1 {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 22px;
            letter-spacing: 1px;
            color: var(--accent);
        }

        .stats {
            display: flex;
            gap: 18px;
            align-items: center;
        }

        .stat { text-align: center; }

        .stat-value {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 22px;
            display: block;
            line-height: 1;
        }

        .stat-label {
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text2);
        }

        /* Toggle sidebar button in header */
        .sidebar-toggle {
            background: var(--surface2);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text2);
            cursor: pointer;
            padding: 6px 10px;
            font-size: 16px;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 5px;
            margin-left: 12px;
        }

        .sidebar-toggle:hover { border-color: var(--accent); color: var(--accent); }
        .sidebar-toggle.active { border-color: var(--accent); color: var(--accent); background: rgba(249,115,22,0.1); }
        .sidebar-toggle span { font-size: 11px; font-weight: 600; }

        /* ══════════════════════════════
           MAP
        ══════════════════════════════ */
        .map {
            height: 260px;
            background: #1a1f2e;
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }

        /* Leaflet dark tiles */
        .leaflet-tile { filter: brightness(0.75) saturate(0.6); }

        /* ══════════════════════════════
           PANELS
        ══════════════════════════════ */
        .panels-container {
            flex: 1;
            display: flex;
            flex-direction: row;
            min-height: 0;
            overflow: hidden;
        }

        .progress-panel {
            width: 38%;
            background: var(--surface);
            border-right: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .narration-panel {
            flex: 1;
            background: var(--bg);
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .panel-header {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }

        .panel-icon { font-size: 16px; }

        .panel-header h3 {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text2);
            flex: 1;
        }

        .step-indicator {
            font-size: 11px;
            background: var(--accent2);
            color: white;
            padding: 3px 8px;
            border-radius: 20px;
            font-weight: 600;
        }

        .play-audio-btn {
            background: rgba(34,197,94,0.15);
            border: 1px solid rgba(34,197,94,0.3);
            border-radius: 20px;
            color: var(--green);
            font-size: 11px;
            font-weight: 600;
            padding: 4px 10px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .play-audio-btn:hover { background: rgba(34,197,94,0.25); }
        .play-audio-btn.playing {
            background: rgba(249,115,22,0.15);
            border-color: rgba(249,115,22,0.4);
            color: var(--accent);
            animation: pulse-btn 1.4s ease-in-out infinite;
        }
        .play-audio-btn.loading {
            background: rgba(99,102,241,0.15);
            border-color: rgba(99,102,241,0.4);
            color: var(--accent2);
        }
        @keyframes pulse-btn {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }
        .audio-wave {
            display: none;
            gap: 2px;
            align-items: flex-end;
            height: 12px;
        }
        .play-audio-btn.playing .audio-wave { display: flex; }
        .play-audio-btn.playing .audio-wave-label { display: none; }
        .audio-wave span {
            display: block;
            width: 3px;
            background: var(--accent);
            border-radius: 2px;
            animation: wave-bar 0.8s ease-in-out infinite;
        }
        .audio-wave span:nth-child(1) { height: 6px; animation-delay: 0s; }
        .audio-wave span:nth-child(2) { height: 10px; animation-delay: 0.15s; }
        .audio-wave span:nth-child(3) { height: 8px; animation-delay: 0.3s; }
        .audio-wave span:nth-child(4) { height: 12px; animation-delay: 0.1s; }
        .audio-wave span:nth-child(5) { height: 5px; animation-delay: 0.25s; }
        @keyframes wave-bar {
            0%, 100% { transform: scaleY(0.4); }
            50% { transform: scaleY(1); }
        }

        /* Checkpoint list */
        .checkpoint-list {
            flex: 1;
            overflow-y: auto;
            padding: 10px;
        }

        .checkpoint-list::-webkit-scrollbar { width: 3px; }
        .checkpoint-list::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 2px; }

        .checkpoint-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 9px 10px;
            margin-bottom: 6px;
            background: var(--surface2);
            border-radius: 10px;
            border: 1px solid var(--border);
            transition: all 0.2s;
        }

        .checkpoint-item.completed {
            background: rgba(34,197,94,0.07);
            border-color: rgba(34,197,94,0.25);
            opacity: 0.8;
        }

        .checkpoint-item.current {
            background: rgba(249,115,22,0.1);
            border-color: var(--accent);
            border-width: 2px;
        }

        .checkpoint-icon { font-size: 18px; width: 26px; text-align: center; }

        .checkpoint-info { flex: 1; min-width: 0; }

        .checkpoint-name {
            font-size: 12px;
            font-weight: 600;
            color: var(--text);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .checkpoint-item.completed .checkpoint-name { color: var(--green); }
        .checkpoint-item.current .checkpoint-name { color: var(--accent); }

        .checkpoint-status { font-size: 10px; color: var(--text2); margin-top: 1px; }

        .checkpoint-distance {
            font-size: 11px;
            color: var(--accent);
            font-weight: 600;
            white-space: nowrap;
        }

        .checkpoint-placeholder {
            text-align: center;
            color: var(--text2);
            padding: 20px;
            font-size: 12px;
        }

        .inventory-mini {
            padding: 8px 14px;
            border-top: 1px solid var(--border);
            font-size: 11px;
            color: var(--text2);
            text-align: center;
            flex-shrink: 0;
        }

        /* Narration */
        .narration-text {
            flex: 1;
            overflow-y: auto;
            padding: 16px;
            font-size: 14px;
            line-height: 1.7;
            color: var(--text);
            white-space: pre-wrap;
        }

        .narration-text::-webkit-scrollbar { width: 3px; }
        .narration-text::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 2px; }

        /* ══════════════════════════════
           CONTROLS
        ══════════════════════════════ */
        .controls-bar {
            background: var(--surface);
            border-top: 1px solid var(--border);
            padding: 10px 14px;
            flex-shrink: 0;
            overflow: hidden;
        }

        .mode-selector {
            display: flex;
            gap: 8px;
            margin-bottom: 8px;
        }

        .mode-btn {
            flex: 1;
            padding: 7px;
            background: var(--surface2);
            border: 1px solid var(--border);
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            color: var(--text2);
            transition: all 0.2s;
            font-family: 'DM Sans', sans-serif;
        }

        .mode-btn.active { background: var(--accent2); border-color: var(--accent2); color: white; }

        .scenario-container { margin-bottom: 8px; }

        .scenario-buttons { display: flex; gap: 6px; }

        .scenario-btn {
            flex: 1;
            padding: 6px;
            background: var(--surface2);
            border: 1px solid var(--border);
            border-radius: 20px;
            font-size: 11px;
            cursor: pointer;
            color: var(--text2);
            transition: all 0.2s;
            font-family: 'DM Sans', sans-serif;
        }

        .scenario-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

        .action-buttons { display: flex; gap: 8px; }

        .control-btn {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 25px;
            font-weight: 700;
            font-size: 13px;
            cursor: pointer;
            transition: all 0.2s;
            font-family: 'DM Sans', sans-serif;
        }

        .control-btn.primary {
            background: linear-gradient(135deg, var(--green), #16a34a);
            color: white;
        }

        .control-btn.primary:hover { filter: brightness(1.1); }

        .control-btn.secondary {
            background: var(--surface2);
            border: 1px solid var(--border);
            color: var(--text2);
        }

        .control-btn.secondary:hover { border-color: var(--red); color: var(--red); }

        /* ══════════════════════════════
           RIGHT SIDEBAR
        ══════════════════════════════ */
        .right-sidebar {
            width: var(--sidebar-w);
            min-width: var(--sidebar-w);
            height: 100%;
            background: var(--surface);
            border-left: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            transform: translateX(100%);
            transition: transform 0.35s cubic-bezier(.4,0,.2,1);
            position: fixed;
            right: 0;
            top: 0;
            z-index: 1000;
            overflow: hidden;
        }

        .right-sidebar.open { transform: translateX(0); }

        .sidebar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 16px;
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }

        .sidebar-header h2 {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 18px;
            letter-spacing: 1px;
            color: var(--accent);
        }

        .sidebar-close {
            background: none;
            border: none;
            color: var(--text2);
            cursor: pointer;
            font-size: 20px;
            padding: 2px 6px;
            border-radius: 6px;
            transition: all 0.2s;
        }

        .sidebar-close:hover { color: var(--red); background: rgba(239,68,68,0.1); }

        /* Tab nav */
        .sidebar-tabs {
            display: flex;
            border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }

        .stab {
            flex: 1;
            padding: 10px 6px;
            background: none;
            border: none;
            border-bottom: 2px solid transparent;
            font-family: 'DM Sans', sans-serif;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: var(--text2);
            cursor: pointer;
            transition: all 0.2s;
        }

        .stab.active { color: var(--accent); border-bottom-color: var(--accent); }
        .stab:hover { color: var(--text); }

        .sidebar-content {
            flex: 1;
            overflow-y: auto;
            padding: 14px;
        }

        .sidebar-content::-webkit-scrollbar { width: 3px; }
        .sidebar-content::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 2px; }

        .tab-panel { display: none; }
        .tab-panel.active { display: block; }

        /* ── STATS PANEL ── */
        .stat-card {
            background: var(--surface2);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 14px;
            margin-bottom: 10px;
        }

        .stat-card-title {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text2);
            margin-bottom: 10px;
        }

        .stat-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .stat-item {
            background: var(--surface);
            border-radius: 8px;
            padding: 10px;
            text-align: center;
        }

        .stat-item-val {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 28px;
            color: var(--accent);
            line-height: 1;
        }

        .stat-item-lbl {
            font-size: 10px;
            color: var(--text2);
            margin-top: 2px;
        }

        .bar-row {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 6px;
        }

        .bar-label { font-size: 11px; color: var(--text2); width: 80px; flex-shrink: 0; }

        .bar-track {
            flex: 1;
            height: 6px;
            background: var(--bg);
            border-radius: 3px;
            overflow: hidden;
        }

        .bar-fill {
            height: 100%;
            border-radius: 3px;
            transition: width 0.5s ease;
        }

        .bar-val { font-size: 11px; color: var(--text); font-weight: 600; width: 40px; text-align: right; }

        .history-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            border-bottom: 1px solid var(--border);
        }

        .history-item:last-child { border-bottom: none; }

        .history-icon { font-size: 20px; width: 30px; text-align: center; }

        .history-info { flex: 1; }

        .history-name { font-size: 12px; font-weight: 600; }

        .history-meta { font-size: 10px; color: var(--text2); margin-top: 1px; }

        .history-xp { font-size: 12px; color: var(--gold); font-weight: 700; }

        /* ── PARTAGE PANEL ── */
        .share-card {
            background: var(--surface2);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 14px;
            margin-bottom: 10px;
        }

        .share-card-title {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text2);
            margin-bottom: 10px;
        }

        /* Perf card preview */
        .perf-card {
            background: linear-gradient(135deg, #1e1a2e, #0d1b2e);
            border: 1px solid rgba(249,115,22,0.3);
            border-radius: 14px;
            padding: 16px;
            margin-bottom: 12px;
            position: relative;
            overflow: hidden;
        }

        .perf-card::before {
            content: '';
            position: absolute;
            top: -30px; right: -30px;
            width: 100px; height: 100px;
            background: radial-gradient(circle, rgba(249,115,22,0.15), transparent 70%);
            border-radius: 50%;
        }

        .perf-card-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 13px;
            letter-spacing: 2px;
            color: var(--accent);
            margin-bottom: 8px;
        }

        .perf-card-scenario {
            font-size: 11px;
            color: var(--text2);
            margin-bottom: 12px;
        }

        .perf-card-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
        }

        .perf-stat {
            text-align: center;
        }

        .perf-stat-val {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 22px;
            color: var(--text);
        }

        .perf-stat-lbl {
            font-size: 9px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text2);
        }

        .perf-badges-row {
            display: flex;
            gap: 4px;
            margin-top: 10px;
            flex-wrap: wrap;
        }

        .perf-badge-mini {
            font-size: 16px;
            background: rgba(255,255,255,0.07);
            border-radius: 6px;
            padding: 3px 6px;
        }

        .share-btn {
            width: 100%;
            padding: 10px;
            border: none;
            border-radius: 10px;
            font-family: 'DM Sans', sans-serif;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            margin-bottom: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .share-btn.copy {
            background: var(--accent2);
            color: white;
        }

        .share-btn.copy:hover { filter: brightness(1.15); }

        .share-btn.text {
            background: var(--surface);
            border: 1px solid var(--border);
            color: var(--text2);
        }

        .share-btn.text:hover { border-color: var(--accent); color: var(--accent); }

        .share-copied {
            text-align: center;
            font-size: 11px;
            color: var(--green);
            margin-top: 4px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .share-copied.show { opacity: 1; }

        /* ── BADGES PANEL ── */
        .badges-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 10px;
        }

        .badge-card {
            background: var(--surface2);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 14px 10px;
            text-align: center;
            transition: all 0.25s;
            position: relative;
            overflow: hidden;
        }

        .badge-card.unlocked {
            border-color: var(--gold);
            background: rgba(245,158,11,0.08);
        }

        .badge-card.unlocked::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 50% 0%, rgba(245,158,11,0.12), transparent 70%);
        }

        .badge-card.locked { opacity: 0.45; filter: grayscale(0.8); }

        .badge-emoji { font-size: 32px; display: block; margin-bottom: 6px; }

        .badge-name {
            font-size: 11px;
            font-weight: 600;
            color: var(--text);
            margin-bottom: 3px;
        }

        .badge-desc {
            font-size: 10px;
            color: var(--text2);
            line-height: 1.4;
        }

        .badge-card.unlocked .badge-name { color: var(--gold); }

        .badge-lock {
            font-size: 11px;
            color: var(--text2);
            margin-top: 5px;
            font-style: italic;
        }

        .badge-section-title {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text2);
            margin: 12px 0 8px;
        }
.auth-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
}
.auth-card {
    background: #1f2937; padding: 30px; border-radius: 20px;
    width: 90%; max-width: 400px; text-align: center; color: white;
    border: 1px solid #f97316;
}
.auth-card input {
    width: 100%; padding: 12px; margin: 8px 0; border-radius: 8px;
    border: none; background: #374151; color: white;
}
.login-google {
    background: white; color: #444; width: 100%; padding: 12px;
    border-radius: 8px; font-weight: bold; border: none; cursor: pointer;
}
.auth-buttons { display: flex; gap: 10px; margin-top: 15px; }
.auth-buttons button { flex: 1; padding: 10px; border-radius: 8px; cursor: pointer; border: none; }
#btn-login { background: #f97316; color: white; }

.share-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 2000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.share-card {
    width: 320px; background: #1a1a1a; border-radius: 20px;
    padding: 25px; border: 2px solid #f97316;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
    color: white; text-align: center; font-family: 'Inter', sans-serif;
}

.card-header { display: flex; justify-content: space-between; font-size: 12px; color: #888; margin-bottom: 20px; }

.card-body h2 { color: #f97316; font-size: 24px; margin-bottom: 20px; letter-spacing: 2px; }

.main-stats { display: flex; justify-content: space-around; margin-bottom: 25px; }
.stat-big { display: flex; flex-direction: column; }
.stat-big span { font-size: 36px; font-weight: 800; color: #fff; line-height: 1; }
.stat-big label { font-size: 12px; color: #f97316; font-weight: bold; }

.secondary-stats { display: flex; justify-content: center; gap: 20px; margin-bottom: 25px; background: #262626; padding: 10px; border-radius: 10px; }

.badges-section p { font-size: 10px; color: #888; margin-bottom: 10px; }
.badges-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.badge-mini { font-size: 24px; background: #333; padding: 5px; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid #444; }

.share-actions { margin-top: 20px; display: flex; gap: 10px; }
/* Bouton Burger */
#menu-burger {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 30px;
    z-index: 1001;
    cursor: pointer;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 5px 12px;
    border-radius: 8px;
}

/* Le Menu Latéral */
.side-menu {
    height: 100%;
    width: 280px;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: -280px; /* Caché par défaut */
    background-color: #1a1a1a;
    transition: 0.4s;
    padding-top: 20px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.5);
}

.side-menu.active {
    left: 0; /* Affiche le menu */
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 30px;
}

.menu-logo {
    height: 40px;
    cursor: pointer;
}

.close-btn {
    font-size: 35px;
    color: #888;
    cursor: pointer;
}

/* Liens de navigation */
.side-menu nav a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 18px;
    color: #ddd;
    display: block;
    transition: 0.3s;
    border-left: 4px solid transparent;
}

.side-menu nav a:hover {
    background: #333;
    color: #f97316;
    border-left: 4px solid #f97316;
}

/* Sections de contenu */
.content-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #121212;
    z-index: 1500;
    padding: 80px 20px;
    color: white;
    overflow-y: auto;
}
/* Container principal de la section */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.back-btn {
    background: #333;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    margin-right: 20px;
    cursor: pointer;
    font-weight: bold;
}

.about-text h3 {
    color: #f97316; /* Orange sport */
    margin-top: 25px;
    font-size: 1.4rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 15px;
}

/* Petites cartes d'atouts en bas */
.about-stats-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
}

.stat-card span {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
}

.stat-card p {
    font-size: 0.9rem;
    margin: 0;
    color: white;
}
/* Style dans le menu */
.menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 20px 25px;
}

.insta-link {
    color: #e1306c !important;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.insta-icon {
    font-size: 1.2rem;
}

/* ══════════════════════════════
   SECTION CONTACT — REFONTE
══════════════════════════════ */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.contact-method {
    background: #1e2130;
    padding: 20px 16px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.07);
    transition: border-color 0.2s;
}

.contact-method:hover {
    border-color: #f97316;
}

.contact-method .icon {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 8px;
}

.contact-method p {
    font-size: 0.85rem;
    color: #aab0c4;
    margin-bottom: 10px;
    line-height: 1.5;
}

.contact-method strong {
    color: #e8eaf0;
    display: block;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.btn-insta-mini {
    display: inline-block;
    padding: 5px 14px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Formulaire */
.contact-form {
    background: #1e2130;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8b92a8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #0f1117;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px 14px;
    color: #e8eaf0;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #3d4560;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

.btn-send {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #f97316, #ea6c0a);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s, transform 0.1s;
    letter-spacing: 0.3px;
}

.btn-send:hover {
    filter: brightness(1.1);
}

.btn-send:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 16px;
    }
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.team-card {
    background: #1e2130;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.team-card:hover {
    border-color: #f97316;
    transform: translateY(-3px);
}

.team-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f97316;
    margin-bottom: 10px;
}

.team-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e8eaf0;
    margin-bottom: 6px;
}

.team-quote {
    font-size: 0.78rem;
    color: #8b92a8;
    line-height: 1.5;
    font-style: italic;
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
        /* ══════════════════════════════
           MARKERS
        ══════════════════════════════ */
        .runner-marker, .checkpoint-marker, .completed-marker {
            background: none;
            border: none;
            font-size: 24px;
            text-align: center;
            line-height: 1;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
        }

        /* ══════════════════════════════
           RESPONSIVE
        ══════════════════════════════ */
        @media (max-width: 600px) {
            .panels-container { flex-direction: column; }
            .progress-panel { width: 100%; height: 160px; border-right: none; border-bottom: 1px solid var(--border); }
            .map { height: 150px; }
            .right-sidebar { width: 100%; min-width: 100%; }
            .header h1 { font-size: 18px; }
            .stat-value { font-size: 18px; }
            .controls-bar { padding: 8px 10px; }
            .mode-btn, .scenario-btn { font-size: 11px; padding: 6px 4px; }
            .control-btn { padding: 9px; font-size: 12px; }
            .scenario-container { margin-bottom: 6px; }
        }

        /* Empêche le rebond iOS/Android sur scroll */
        html { height: 100%; height: -webkit-fill-available; }
        body { min-height: 100%; min-height: -webkit-fill-available; }

