/* ═══════════════════════════════════════════════════════════
   OMNIPRONO — DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 1.5rem 1.5rem;
    margin: -2rem -1rem 0;
    margin-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #86efac;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.25px;
    margin-bottom: 1.25rem;
}

.hero h1 .accent {
    color: #4ade80;
}

.hero-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.625rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-hero.primary {
    background: #16a34a;
    color: white;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
}

.btn-hero.primary:hover {
    background: #15803d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
}

.btn-hero.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero.secondary:hover {
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

.hero-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 1rem;
}

/* ─── STATS BAR ─── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    margin: -3rem auto 3rem;
    max-width: 900px;
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.stat-item {
    background: white;
    padding: 1.5rem 1rem;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #1e40af;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── SECTION HEADERS ─── */
.section {
    padding: 3rem 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-sub {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0.25rem 0 0;
}

.section-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.section-link:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

/* ─── PICK CARDS ─── */
.picks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
    justify-items: stretch;
    align-items: start;
    width: 100%;
}

.pick-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    min-width: 0;
}

.pick-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.25s;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.pick-card:hover {
    border-color: #1e40af;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.12);
    transform: translateY(-3px);
}

.pick-head {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
}

.pick-league {
    color: #1e40af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 60%;
}

.pick-date {
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.pick-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pick-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.pick-team {
    text-align: center;
    min-width: 0;
}

.pick-team img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 0.35rem;
}

.pick-team .name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pick-vs {
    font-size: 0.7rem;
    font-weight: 700;
    color: #cbd5e1;
    letter-spacing: 1.5px;
}

.pick-prediction {
    background: #f8fafc;
    border-radius: 0.6rem;
    padding: 0.75rem;
    border-left: 3px solid #16a34a;
    margin-top: auto;
}

.pick-pred-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.pick-pred-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.pick-prob {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    padding: 0.2rem 0.55rem;
    border-radius: 0.35rem;
    font-size: 0.8rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.pick-quality {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.pick-quality.excellent { color: #16a34a; }
.pick-quality.bon       { color: #0ea5e9; }
.pick-quality.correct   { color: #f59e0b; }

/* ─── FEATURE CARDS (Comment ça marche) ─── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.75rem;
    transition: all 0.2s;
    position: relative;
}

.feature-card:hover {
    border-color: #1e40af;
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.06);
}

.feature-num {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-size: 2.25rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* ─── MARKET PILLS ─── */
.market-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.market-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.2s;
}

.market-pill:hover {
    border-color: #1e40af;
    color: #1e40af;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.08);
}

/* ─── CTA FINAL ─── */
.cta-final {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 1.25rem;
    text-align: center;
    margin: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-final h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    position: relative;
}

.cta-final p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    position: relative;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-final .btn-hero.primary {
    background: white;
    color: #1e40af;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    position: relative;
}

.cta-final .btn-hero.primary:hover {
    background: #f1f5f9;
    color: #1e40af;
}

/* ─── EMPTY STATE ─── */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #64748b;
    background: white;
    border: 1px dashed #e2e8f0;
    border-radius: 1rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .hero { padding: 2.5rem 1rem 3rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero-sub { font-size: 1rem; }
    .stats-bar { margin-top: -2rem; }
    .stat-value { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }
    .section { padding: 2rem 0; }
    .section-title { font-size: 1.25rem; }
    .cta-final { padding: 2rem 1.25rem; }
    .cta-final h2 { font-size: 1.4rem; }
}
/* ─── TABS ─── */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
}

.tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}

.tab:hover {
    color: #1e40af;
    text-decoration: none;
}

.tab.active {
    color: #1e40af;
    border-bottom-color: #1e40af;
}

/* ─── MINI PICKS DANS CARTE MATCH ─── */
.match-picks-mini {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
}

.mini-pick {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.78rem;
    padding: 0.35rem 0;
}

.mini-pick-market {
    font-weight: 700;
    color: #1e40af;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.mini-pick-selection {
    color: #0f172a;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-pick-prob {
    color: #16a34a;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    background: rgba(22, 163, 74, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 0.3rem;
    font-size: 0.7rem;
}

.match-no-picks {
    text-align: center;
    padding: 0.75rem;
    color: #94a3b8;
    font-size: 0.8rem;
    font-style: italic;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
}

/* ─── PAGINATION ─── */
.pagination-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0 1rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e40af;
    text-decoration: none;
    transition: all 0.2s;
}

.page-btn:hover:not(.disabled) {
    border-color: #1e40af;
    background: #f8fafc;
    text-decoration: none;
    color: #1e40af;
}

.page-btn.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

.page-info {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}
.match-picks-locked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: rgba(30, 64, 175, 0.06);
    border: 1px dashed rgba(30, 64, 175, 0.25);
    border-radius: 0.5rem;
    font-size: 0.78rem;
    color: #1e40af;
    font-weight: 600;
    text-align: center;
}

.match-picks-locked i {
    color: #1e40af;
}

.match-picks-locked a {
    color: #16a34a;
    font-weight: 700;
    text-decoration: none;
}

.match-picks-locked a:hover {
    text-decoration: underline;
}
.pick-link {
    cursor: pointer;
}

.pick-link:focus-visible {
    outline: 2px solid #1e40af;
    outline-offset: 4px;
    border-radius: 1rem;
}
/* ═══════════════════════════════════════════
   PAGE DÉTAIL MATCH
   ═══════════════════════════════════════════ */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #1e40af;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* ─── En-tête match ─── */
.match-detail-header {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}

.match-detail-league {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.85rem;
}

.match-detail-league-name {
    color: #1e40af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-detail-league-date {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.match-detail-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
}

.match-detail-team {
    text-align: center;
}

.match-detail-team img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.match-detail-team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.match-detail-team-role {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-detail-vs {
    text-align: center;
}

.match-detail-score {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.match-detail-vs-text {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 700;
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    .match-detail-team img { width: 48px; height: 48px; }
    .match-detail-team-name { font-size: 0.95rem; }
}

/* ─── Barre résumé ─── */
.match-summary-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.match-summary-item {
    text-align: center;
}

.match-summary-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.match-summary-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ─── Sections ─── */
.match-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0 1rem;
    letter-spacing: -0.25px;
}

/* ─── Grille de pronostics ─── */
.pronostic-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* ─── Carte pronostic détaillée ─── */
.pronostic-detail-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    padding: 1.25rem;
    border-left: 4px solid #e2e8f0;
    transition: all 0.2s;
}

.pronostic-detail-card:hover {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}

.pronostic-detail-card.excellent { border-left-color: #16a34a; }
.pronostic-detail-card.bon       { border-left-color: #0ea5e9; }
.pronostic-detail-card.correct   { border-left-color: #f59e0b; }

.pronostic-detail-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pronostic-detail-market {
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e40af;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-right: 0.5rem;
}

.pronostic-detail-tier {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
    letter-spacing: 0.4px;
}

.tier-safe {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

.tier-moderate {
    background: rgba(234, 88, 12, 0.12);
    color: #c2410c;
}

.pronostic-detail-quality {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.quality-excellent { color: #16a34a; }
.quality-bon       { color: #0ea5e9; }
.quality-correct   { color: #f59e0b; }

.pronostic-detail-selection {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.pronostic-detail-meta {
    display: flex;
    gap: 1.25rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}

.pronostic-detail-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pronostic-detail-meta-item .label {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.pronostic-detail-meta-item .value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.pronostic-detail-reason {
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.5;
}

.pronostic-detail-reason i {
    color: #94a3b8;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* ─── Bloc cadenas ─── */
.match-locked-block {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px dashed #93c5fd;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
}

.match-locked-icon {
    font-size: 1.75rem;
    color: #1e40af;
    flex-shrink: 0;
}

.match-locked-content {
    flex: 1;
    min-width: 0;
}

.match-locked-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.match-locked-sub {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .match-locked-block {
        flex-direction: column;
        text-align: center;
    }
    .match-locked-block .btn-hero {
        width: 100%;
        justify-content: center;
    }
}
/* ═══════════════════════════════════════════
   PAGE PICKS
   ═══════════════════════════════════════════ */

.picks-filters {
    margin-bottom: 1.5rem;
}

.picks-markets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.picks-market-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.2s;
}

.picks-market-pill:hover {
    border-color: #1e40af;
    color: #1e40af;
    text-decoration: none;
}

.picks-market-pill.active {
    background: #1e40af;
    border-color: #1e40af;
    color: white;
}

.picks-market-count {
    background: rgba(30, 64, 175, 0.1);
    color: #1e40af;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
}

.picks-market-pill.active .picks-market-count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* ─── Liste des picks ─── */
.picks-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.picks-list-item {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr auto;
    gap: 1.5rem;
    align-items: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.picks-list-item:hover {
    border-color: #1e40af;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.08);
    transform: translateY(-1px);
    text-decoration: none;
    color: inherit;
}

.picks-list-left {
    min-width: 0;
}

.picks-list-teams {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.picks-list-team {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 45%;
}

.picks-list-vs {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.picks-list-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #64748b;
}

.picks-list-meta i {
    margin-right: 0.2rem;
}

.picks-list-center {
    min-width: 0;
}

.picks-list-market {
    font-size: 0.7rem;
    color: #1e40af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.picks-list-selection {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.25px;
}

.picks-list-reason {
    font-size: 0.72rem;
    color: #94a3b8;
    font-style: italic;
    margin-top: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.picks-list-right {
    text-align: right;
    flex-shrink: 0;
}

.picks-list-prob {
    font-size: 1.35rem;
    font-weight: 800;
    color: #16a34a;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.picks-list-odds {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.picks-list-quality {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.quality-excellent { color: #16a34a; }
.quality-bon       { color: #0ea5e9; }
.quality-correct   { color: #f59e0b; }

@media (max-width: 768px) {
    .picks-list-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .picks-list-right {
        text-align: left;
        display: flex;
        gap: 1rem;
        align-items: baseline;
    }

    .picks-list-prob { margin-bottom: 0; }
    .picks-list-odds { margin-bottom: 0; }
}
/* ═══════════════════════════════════════════
   PAGES MARCHÉS
   ═══════════════════════════════════════════ */

.market-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 2.5rem 1.5rem 3rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.market-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.market-hero-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    position: relative;
}

.market-hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 1rem;
    max-width: 600px;
    position: relative;
}

.market-hero-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
}

.market-hero-count strong {
    color: #4ade80;
    font-weight: 800;
}

/* ═══════════════════════════════════════════
   PAGE PERFORMANCES
   ═══════════════════════════════════════════ */

.perf-hero {
    text-align: center;
    padding: 2.5rem 1rem;
    margin-bottom: 2rem;
}

.perf-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.75px;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.perf-hero-sub {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 640px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.perf-hero-sub strong {
    color: #0f172a;
    font-weight: 700;
}

.perf-hero-note {
    font-size: 0.85rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.perf-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.perf-stat-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: all 0.2s;
}

.perf-stat-card.primary {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border-color: #1e40af;
}

.perf-stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}

.perf-stat-card.primary .perf-stat-value {
    color: #4ade80;
}

.perf-stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.perf-stat-card.primary .perf-stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.perf-stat-sub {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
}

.perf-stat-card.primary .perf-stat-sub {
    color: rgba(255, 255, 255, 0.6);
}

/* ─── Marché bar list ─── */
.perf-market-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
}

.perf-market-row {
    display: grid;
    grid-template-columns: auto 180px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.perf-market-row:last-child { border-bottom: none; }

.perf-market-icon {
    font-size: 1.5rem;
    width: 2rem;
    text-align: center;
}

.perf-market-info {
    min-width: 0;
}

.perf-market-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.perf-market-total {
    font-size: 0.75rem;
    color: #94a3b8;
}

.perf-market-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.perf-market-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #16a34a, #22c55e);
    border-radius: 999px;
    transition: width 0.6s ease;
}

.perf-market-accuracy {
    font-size: 1.1rem;
    font-weight: 800;
    color: #16a34a;
    font-variant-numeric: tabular-nums;
    min-width: 60px;
    text-align: right;
}

.perf-info-block {
    background: rgba(30, 64, 175, 0.04);
    border-left: 4px solid #1e40af;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.65;
}

.perf-info-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
    .perf-market-row {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.5rem 0.75rem;
    }
    .perf-market-bar {
        grid-column: 1 / -1;
    }
}
/* ─── EN-TÊTE DE PÉRIODE ─── */
.period-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin: 2rem 0 1rem;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.15);
}

.period-header:first-of-type {
    margin-top: 1.5rem;
}

.period-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.period-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.25px;
}

.period-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.15rem;
}
/* ─── FILTRE PÉRIODE ─── */
.period-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.period-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.2s;
}

.period-pill:hover {
    border-color: #1e40af;
    color: #1e40af;
    text-decoration: none;
}

.period-pill.active {
    background: #0f172a;
    border-color: #0f172a;
    color: white;
}.mini-pick-period {
    display: inline-block;
    background: #1e40af;
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.1rem 0.3rem;
    border-radius: 0.25rem;
    margin-left: 0.25rem;
    letter-spacing: 0.3px;
    vertical-align: middle;
}
/* ═══════════════════════════════════════════
   PAGE PRO — STATS DÉTAILLÉES
   ═══════════════════════════════════════════ */

.pro-header {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.pro-header::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pro-badge {
    display: inline-block;
    background: #f59e0b;
    color: #0f172a;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    position: relative;
}

.pro-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    position: relative;
}

.pro-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
    position: relative;
}

.pro-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    position: relative;
}

.pro-team-block {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.pro-team-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.pro-team-header img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.pro-team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.pro-team-context {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.2rem;
}

.pro-team-context strong {
    color: #1e40af;
}

.pro-table {
    width: 100%;
    border-collapse: collapse;
}

.pro-table thead th {
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.pro-table thead th:not(:first-child) {
    text-align: right;
}

.pro-table tbody td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
}

.pro-table tbody td:not(:first-child) {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pro-table tbody tr:last-child td {
    border-bottom: none;
}

.stat-icon {
    margin-right: 0.5rem;
}

.pro-table-footer {
    padding: 0.75rem 0.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    font-style: italic;
    text-align: center !important;
}

.pro-info {
    background: rgba(30, 64, 175, 0.04);
    border-left: 4px solid #1e40af;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.65;
}

.pro-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
    .pro-title { font-size: 1.35rem; }
    .pro-table thead th,
    .pro-table tbody td {
        padding: 0.6rem 0.25rem;
        font-size: 0.8rem;
    }
}
.pro-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: #92400e;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.pro-cta:hover {
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15);
    text-decoration: none;
    color: #78350f;
    transform: translateY(-1px);
}

.pro-cta .pro-badge {
    margin: 0;
    flex-shrink: 0;
}

.pro-cta i {
    margin-left: auto;
    font-size: 1.25rem;
}
/* ─── EN-TÊTE CARTE AVEC BADGE PRO ─── */
.pick-head-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.pick-pro-badge {
    display: inline-flex;
    align-items: center;
    background: #f59e0b;
    color: #0f172a;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 0.2rem 0.45rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #d97706;
}

.pick-pro-badge:hover {
    background: #d97706;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}
/* ═══════════════════════════════════════════
   PAGE PRO — RÉCAPITULATIF GLOBAL
   ═══════════════════════════════════════════ */

.pro-summary-block {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.pro-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.pro-summary-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.25px;
    margin: 0 0 0.25rem 0;
}

.pro-summary-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pro-summary-warning {
    display: inline-block;
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 0.25rem;
}

.pro-summary-table-wrap {
    overflow-x: auto;
}

.pro-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.pro-summary-table thead th {
    text-align: left;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.pro-summary-table thead th:not(:first-child) {
    text-align: right;
}

.pro-summary-table tbody td {
    padding: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.pro-summary-table tbody td:not(:first-child) {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.pro-summary-table tbody tr:last-child td {
    border-bottom: none;
}

.pro-summary-label {
    font-weight: 500;
    color: #0f172a;
}

.pro-summary-value {
    color: #334155;
    font-weight: 600;
}

.pro-summary-value-strong {
    color: #1e40af;
    font-weight: 800;
    font-size: 1.05rem;
}

.pro-summary-pct {
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 0.25rem;
}

.pro-summary-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 1rem 0 0 0;
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .pro-summary-table thead th,
    .pro-summary-table tbody td {
        padding: 0.5rem 0.4rem;
        font-size: 0.82rem;
    }
    .pro-summary-pct {
        display: none;
    }
}