/* ============================================================
   TOURNOIS PAGE — Styles spécifiques
   ============================================================ */

/* Hero */
.tournois-hero {
    padding: 160px 0 72px;
    background: linear-gradient(160deg, #1f1f1f 0%, #111 100%);
    text-align: center;
}

.tournois-hero-content {
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
}

.tournois-hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--golden-yellow);
    letter-spacing: -0.02em;
}

.tournois-hero-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
}

/* Intro */
.tournois-intro {
    padding: var(--section-padding);
    background: var(--off-white);
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 48px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.cat-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

.cat-card:hover {
    transform: translateY(-5px);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--white);
    letter-spacing: 0.05em;
}

.p25-badge {
    background: #1abc9c;
}

.p50-badge {
    background: #e67e22;
}

/* Green */
.p100-badge {
    background: var(--royal-blue);
}

/* Blue */
.p250-badge {
    background: #e74c3c;
}

/* Red */

.cat-card h3 {
    font-size: 1.25rem;
    color: var(--navy-dark);
    margin-bottom: 12px;
    font-weight: 800;
}

.cat-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Calendrier */
.calendrier-section {
    padding: var(--section-padding);
    background: var(--white);
}

.calendrier-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--navy-dark);
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.calendrier-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
    line-height: 1.7;
}

.years-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.year-block {
    background: var(--off-white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.year-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.tournaments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tournament-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #eef1f5;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tournament-row:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #d8e2ed;
}

.tournament-row.highlight {
    border-left: 1px solid #eef1f5;
}

.t-date {
    font-weight: 800;
    color: var(--navy-dark);
    font-size: 1.05rem;
    width: 60px;
    flex-shrink: 0;
}

.t-cat {
    flex-shrink: 0;
}

.t-cat .badge {
    margin-bottom: 0;
    padding: 4px 10px;
    font-size: 0.75rem;
}

.t-desc {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

/* Header overrides for this page */
.header--scrolled-init .nav-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.header--scrolled-init .logo {
    color: var(--text-dark);
}

.header--scrolled-init .nav-links a {
    color: var(--text-dark);
}

.header--scrolled-init .menu-toggle span {
    background: var(--text-dark);
}

.nav-active {
    position: relative;
}

.nav-active::after {
    width: 100% !important;
    background: var(--cyan-electric) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .years-container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .years-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .year-block {
        padding: 24px 16px;
    }

    .tournament-row {
        padding: 12px;
        gap: 12px;
    }

    .t-date {
        font-size: 0.95rem;
        width: 50px;
    }

    .t-desc {
        font-size: 0.85rem;
    }
}