/* ============================================================
   Chess Jaú — Stylesheet
   Paleta: roxo #7C3AED · navy #0A0F1E · teal #0891B2 · gold #F59E0B
   Inspirado no Sports-Master template, tema dark
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --cj-dark:    #070B17;
    --cj-navy:    #0D1B3E;
    --cj-card:    #0F1829;
    --cj-card2:   #141E30;
    --cj-purple:  #7C3AED;
    --cj-purple2: #6D28D9;
    --cj-purple3: #5B21B6;
    --cj-teal:    #0891B2;
    --cj-gold:    #F59E0B;
    --cj-gold2:   #D97706;
    --cj-red:     #EF4444;
    --cj-green:   #10B981;
    --cj-white:   #FFFFFF;
    --cj-light:   #E2E8F0;
    --cj-muted:   #64748B;
    --cj-muted2:  #94A3B8;
    --cj-border:  rgba(255, 255, 255, 0.06);
    --cj-border2: rgba(124, 58, 237, 0.2);
}

/* ——— RESET & BASE ——— */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    background: var(--cj-dark);
    color: var(--cj-light);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; transition: all 0.25s ease; }
img { max-width: 100%; display: block; }
p { margin: 0 0 1rem; }

/* ——— PRELOADER ——— */
#cj-preloader {
    position: fixed;
    inset: 0;
    background: var(--cj-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}
#cj-preloader.hide { opacity: 0; pointer-events: none; }
.cj-loader {
    display: flex;
    gap: 0.4rem;
    font-size: 1.6rem;
}
.cj-loader span {
    animation: bounce 1.2s infinite;
    color: var(--cj-purple);
    opacity: 0;
}
.cj-loader span:nth-child(2) { animation-delay: 0.15s; color: var(--cj-teal); }
.cj-loader span:nth-child(3) { animation-delay: 0.30s; color: var(--cj-gold); }
.cj-loader span:nth-child(4) { animation-delay: 0.45s; color: var(--cj-purple); }
.cj-loader span:nth-child(5) { animation-delay: 0.60s; color: var(--cj-teal); }
@keyframes bounce {
    0%,100% { opacity: 0; transform: translateY(0); }
    50%      { opacity: 1; transform: translateY(-10px); }
}

/* ——— NAVBAR ——— */
.cj-navbar {
    background: rgba(7, 11, 23, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cj-border);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: padding 0.3s, background 0.3s;
}
.cj-navbar.scrolled {
    padding: 0.4rem 0;
    background: rgba(7, 11, 23, 0.99);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.cj-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.cj-brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--cj-border2);
}
.cj-brand-name {
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--cj-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.1;
}
.cj-brand-name span { color: var(--cj-purple); }
.cj-brand-sub {
    font-size: 0.62rem;
    color: var(--cj-muted2);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
}
.cj-nav-link {
    color: var(--cj-muted2) !important;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 0.7rem !important;
    position: relative;
    transition: color 0.2s;
}
.cj-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0.7rem;
    right: 0.7rem;
    height: 2px;
    background: var(--cj-purple);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.cj-nav-link:hover { color: var(--cj-white) !important; }
.cj-nav-link:hover::after { transform: scaleX(1); }
.btn-cj-nav {
    background: var(--cj-purple);
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.3rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    display: inline-block;
}
.btn-cj-nav:hover {
    background: var(--cj-purple2);
    color: #fff !important;
    transform: translateY(-1px);
}

/* ——— HERO FULLSCREEN ——— */
.cj-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cj-dark);
    overflow: hidden;
    padding-top: 80px;
}
.cj-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../layout/sports-master/images/bg1.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(30%);
    opacity: 0.18;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.cj-hero.loaded .cj-hero-bg { transform: scale(1); }
.cj-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(124,58,237,0.6) 0%,
        rgba(7,11,23,0.75) 45%,
        rgba(8,145,178,0.4) 100%
    );
}
.cj-hero-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--cj-dark), transparent);
}
.cj-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 0;
}
.cj-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124,58,237,0.15);
    border: 1px solid rgba(124,58,237,0.4);
    color: #A78BFA;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.cj-hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    color: var(--cj-white);
}
.cj-hero h1 .hl-purple { color: #A78BFA; }
.cj-hero h1 .hl-teal   { color: #38BDF8; }
.cj-hero h1 .hl-gold   { color: var(--cj-gold); }
.cj-hero-tagline {
    font-size: 1.05rem;
    color: var(--cj-muted2);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.65;
}
.cj-hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.btn-cj-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cj-purple);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}
.btn-cj-primary:hover {
    background: var(--cj-purple2);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124,58,237,0.5);
}
.btn-cj-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--cj-white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    text-decoration: none;
}
.btn-cj-outline:hover {
    border-color: var(--cj-purple);
    color: #A78BFA;
    background: rgba(124,58,237,0.08);
}
.btn-cj-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cj-gold);
    color: #000;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(245,158,11,0.3);
}
.btn-cj-gold:hover {
    background: var(--cj-gold2);
    color: #000;
    transform: translateY(-2px);
}

/* Stats bar no hero */
.cj-hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.cj-hero-stat-item { text-align: left; }
.cj-hero-stat-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--cj-white);
    line-height: 1;
}
.cj-hero-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cj-muted2);
}

/* Hero chess piece visual */
.cj-hero-chess-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 420px;
}
.cj-chess-king {
    font-size: clamp(8rem, 20vw, 14rem);
    line-height: 1;
    text-align: center;
    color: rgba(255,255,255,0.07);
    position: relative;
    z-index: 1;
    user-select: none;
    animation: floatPiece 4s ease-in-out infinite;
}
.cj-chess-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(124,58,237,0.15);
    animation: spinRing 12s linear infinite;
}
.cj-chess-ring:nth-child(1) { width: 260px; height: 260px; border-color: rgba(124,58,237,0.2); }
.cj-chess-ring:nth-child(2) { width: 340px; height: 340px; animation-direction: reverse; border-color: rgba(8,145,178,0.12); }
.cj-chess-ring:nth-child(3) { width: 420px; height: 420px; border-color: rgba(245,158,11,0.08); animation-duration: 20s; }
@keyframes floatPiece {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-16px); }
}
@keyframes spinRing {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ——— HERO CAROUSEL ——— */
.cj-hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
}
.cj-hero-carousel .carousel,
.cj-hero-carousel .carousel-inner,
.cj-hero-carousel .carousel-item {
    height: 100%;
}
.cj-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
    filter: grayscale(20%);
}
.cj-hero-carousel .carousel-item.active .cj-slide-bg {
    transform: scale(1);
}

/* Overlay gradiente por slide */
.cj-slide-overlay {
    position: absolute;
    inset: 0;
}
.cj-slide-overlay-1 {
    background: linear-gradient(135deg,
        rgba(124,58,237,0.72) 0%,
        rgba(7,11,23,0.80) 50%,
        rgba(8,145,178,0.45) 100%);
}
.cj-slide-overlay-2 {
    background: linear-gradient(135deg,
        rgba(7,11,23,0.85) 0%,
        rgba(124,58,237,0.55) 50%,
        rgba(7,11,23,0.80) 100%);
}
.cj-slide-overlay-3 {
    background: linear-gradient(160deg,
        rgba(8,145,178,0.6) 0%,
        rgba(7,11,23,0.82) 45%,
        rgba(124,58,237,0.55) 100%);
}

/* Gradiente de saída para baixo */
.cj-hero-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 220px;
    background: linear-gradient(to top, var(--cj-dark), transparent);
    z-index: 3;
    pointer-events: none;
}

/* Conteúdo do hero — fixo sobre todos os slides */
.cj-hero-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

/* Indicadores customizados */
.cj-carousel-indicators {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.cj-carousel-indicators button {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
}
.cj-carousel-indicators button.active {
    background: var(--cj-purple);
    width: 48px;
}

/* Controles prev/next */
.cj-carousel-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
}
.cj-carousel-ctrl:hover { background: var(--cj-purple); border-color: var(--cj-purple); color: #fff; }
.cj-carousel-ctrl-prev { left: 1.5rem; }
.cj-carousel-ctrl-next { right: 1.5rem; }

/* Animação de entrada do texto por slide */
.carousel-item .cj-slide-text { opacity: 0; transform: translateY(20px); transition: none; }
.carousel-item.active .cj-slide-text {
    animation: slideTextIn 0.7s ease 0.2s forwards;
}
@keyframes slideTextIn {
    to { opacity: 1; transform: translateY(0); }
}

/* ——— MANCHETES BAR ——— */
.cj-manchetes {
    background: linear-gradient(90deg, var(--cj-purple3) 0%, var(--cj-purple) 100%);
    padding: 0.6rem 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.cj-manchetes-inner { display: flex; align-items: center; gap: 0; overflow: hidden; }
.cj-manchetes-label {
    flex-shrink: 0;
    background: rgba(0,0,0,0.2);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.25rem 1.1rem;
    white-space: nowrap;
    margin-right: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.cj-manchetes-ticker {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.92);
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}
.cj-ticker-track {
    display: inline-block;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}
.cj-ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ——— COUNTDOWN BAR ——— */
.cj-countdown-bar {
    background: var(--cj-card2);
    border-bottom: 1px solid var(--cj-border);
    padding: 1rem 0;
}
.cj-countdown-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cj-countdown-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cj-muted2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cj-countdown-label span { color: var(--cj-gold); font-size: 0.9rem; }
.cj-countdown-digits {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.cj-cd-unit {
    text-align: center;
    background: var(--cj-card);
    border: 1px solid var(--cj-border2);
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    min-width: 56px;
}
.cj-cd-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--cj-white);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.cj-cd-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cj-muted2);
    margin-top: 0.2rem;
}
.cj-cd-sep {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--cj-purple);
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.cj-countdown-cta { flex-shrink: 0; }

/* ——— SECTION BASE ——— */
.cj-section { padding: 5.5rem 0; }
.cj-section-dark { background: var(--cj-dark); }
.cj-section-navy { background: var(--cj-navy); }
.cj-section-card { background: var(--cj-card2); }
.cj-section-light { background: #fff; }
.cj-section-light .cj-section-tag   { color: var(--cj-purple); }
.cj-section-light .cj-section-title { color: var(--cj-purple); }
.cj-section-light .cj-section-lead  { color: var(--cj-purple); }
.cj-section-light .cj-divider       { background: linear-gradient(90deg, var(--cj-purple), #A78BFA); }
.cj-section-light .cj-info-card     { background: #F5F3FF; border-color: rgba(124,58,237,0.15); }
.cj-section-light .cj-info-icon     { color: var(--cj-purple); }
.cj-section-light .cj-info-card-title { color: var(--cj-purple); }
.cj-section-light .cj-info-card-text  { color: #4C1D95; }
.cj-section-light .cj-video-placeholder { background: #F5F3FF; border-color: rgba(124,58,237,0.2); }
.cj-section-light .cj-video-placeholder p { color: var(--cj-purple); }

.cj-section-header { margin-bottom: 3.5rem; }
.cj-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--cj-purple);
    margin-bottom: 0.7rem;
}
.cj-section-tag::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--cj-purple);
    border-radius: 2px;
}
.cj-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: var(--cj-white);
}
.cj-section-title .hl       { color: var(--cj-purple); }
.cj-section-title .hl-teal  { color: var(--cj-teal); }
.cj-section-title .hl-gold  { color: var(--cj-gold); }
.cj-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--cj-purple), var(--cj-teal));
    border-radius: 2px;
    margin-bottom: 1.5rem;
}
.cj-divider.mx-auto { margin-left: auto; margin-right: auto; }
.cj-section-lead { color: var(--cj-muted2); font-size: 0.97rem; max-width: 540px; }

/* ——— TORNEIO — STAGE CARDS ——— */

.cj-stage-card {
    background: var(--cj-card);
    border-radius: 14px;
    border: 1px solid var(--cj-border);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    min-height: 240px;
}
.cj-stage-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.cj-stage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124,58,237,0.4);
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(124,58,237,0.15);
}
.cj-stage-card:hover::before { opacity: 1; }

/* Stage: Peão - Cavalo - Bispo - Torre */
.cj-stage-card.stage-pawn   { --accent: #7C3AED; }
.cj-stage-card.stage-knight { --accent: #0891B2; }
.cj-stage-card.stage-bishop { --accent: #10B981; }
.cj-stage-card.stage-rook   { --accent: #F59E0B; }

/* Final: Rei e Rainha — destaque especial */
.cj-stage-card.stage-final {
    background: linear-gradient(135deg, #1A0A35 0%, #0A1628 50%, #1A1000 100%);
    border: 1px solid rgba(245,158,11,0.3);
    grid-column: span 1;
    --accent: #F59E0B;
}
.cj-stage-card.stage-final::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(245,158,11,0.12), transparent 60%);
    pointer-events: none;
}

/* Regulamento */
.cj-stage-card.stage-rules {
    background: var(--cj-card2);
    border-style: dashed;
    border-color: rgba(100,116,139,0.3);
    --accent: #64748B;
}
.cj-stage-card.stage-rules:hover { border-style: solid; border-color: rgba(100,116,139,0.5); }

/* Left accent stripe */
.cj-stage-card-stripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent, var(--cj-purple));
    border-radius: 14px 0 0 14px;
}

.cj-stage-number {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cj-muted2);
    margin-bottom: 0.75rem;
}
.cj-stage-icon {
    font-size: 2.8rem;
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
    color: var(--accent, var(--cj-purple));
    filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent, var(--cj-purple)) 40%, transparent));
    transition: transform 0.25s;
}
.cj-stage-card:hover .cj-stage-icon { transform: scale(1.12); }

.cj-stage-title {
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cj-white);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}
.cj-stage-final .cj-stage-title { color: var(--cj-gold); font-size: 1.1rem; }

.cj-stage-sub {
    font-size: 0.8rem;
    color: var(--cj-muted2);
    flex: 1;
    margin-bottom: 1.25rem;
}
.cj-stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.badge-embreve  { background: rgba(100,116,139,0.15); color: var(--cj-muted2); border: 1px solid rgba(100,116,139,0.2); }
.badge-ativo    { background: rgba(16,185,129,0.15);  color: #34D399;  border: 1px solid rgba(16,185,129,0.25); }
.badge-encerrado{ background: rgba(239,68,68,0.12);   color: #F87171;  border: 1px solid rgba(239,68,68,0.2); }
.badge-grande   { background: rgba(245,158,11,0.15);  color: var(--cj-gold); border: 1px solid rgba(245,158,11,0.3); }

.cj-stage-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1rem;
}
.cj-stage-info span {
    font-size: 0.72rem;
    color: var(--cj-muted2);
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.4;
}
.cj-stage-info span i { color: var(--cj-purple); margin-top: 0.1rem; flex-shrink: 0; }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

.cj-stage-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent, var(--cj-purple));
    transition: gap 0.2s;
    margin-top: auto;
}
.cj-stage-link:hover { gap: 0.7rem; color: var(--accent, var(--cj-purple)); }
.cj-stage-link.disabled { opacity: 0.35; pointer-events: none; }

/* Torneio banner (placeholder) */
.cj-torneio-hero {
    background: linear-gradient(135deg, var(--cj-navy) 0%, var(--cj-card2) 100%);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    border: 1px solid var(--cj-border);
    margin-bottom: 3rem;
}
.cj-torneio-hero img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.cj-torneio-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.7), rgba(7,11,23,0.6));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem 3rem;
}
.cj-torneio-placeholder {
    width: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--cj-muted2);
}
.cj-torneio-placeholder-icon {
    font-size: 4rem;
    opacity: 0.15;
    line-height: 1;
}

/* ——— CARROSSEL HORIZONTAL GENÉRICO ——— */
.cj-carousel-wrap { position: relative; }

.cj-h-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
}
.cj-h-track::-webkit-scrollbar { display: none; }

/* Slides: 3 visíveis desktop, 2 tablet, 1.15 mobile */
.cj-h-slide-3 { flex: 0 0 calc(33.333% - 0.84rem); scroll-snap-align: start; }
.cj-h-slide-4 { flex: 0 0 calc(25% - 0.94rem);     scroll-snap-align: start; }
@media (max-width: 991px) {
    .cj-h-slide-3, .cj-h-slide-4 { flex: 0 0 calc(50% - 0.63rem); }
}
@media (max-width: 575px) {
    .cj-h-slide-3, .cj-h-slide-4 { flex: 0 0 83%; }
}

/* Setas de navegação */
.cj-h-nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.75rem;
}
.cj-h-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--cj-card);
    border: 1px solid var(--cj-border);
    color: var(--cj-muted2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}
.cj-h-arrow:hover { background: var(--cj-purple); border-color: var(--cj-purple); color: #fff; }
.cj-h-dots {
    display: flex;
    gap: 0.4rem;
    flex: 1;
    justify-content: center;
}
.cj-h-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
    border-radius: 3px;
}
.cj-h-dot.active { background: var(--cj-purple); width: 20px; }

/* ——— NOTÍCIAS — card estilo grid com imagem no topo ——— */
.cj-news-card-v2 {
    background: var(--cj-card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--cj-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.cj-news-card-v2:hover {
    transform: translateY(-5px);
    border-color: rgba(124,58,237,0.3);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.cj-news-card-v2-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cj-card2), var(--cj-navy));
    position: relative;
    flex-shrink: 0;
}
.cj-news-card-v2-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* mostra a capa inteira, sem cortar */
    display: block;
    transition: transform 0.4s ease;
}
.cj-news-card-v2:hover .cj-news-card-v2-img img { transform: scale(1.06); }
.cj-news-card-v2-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.06);
}
.cj-news-card-v2-cat {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--cj-purple);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}
.cj-news-card-v2-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cj-news-card-v2-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--cj-white);
    line-height: 1.35;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color 0.2s;
}
.cj-news-card-v2-title:hover { color: #A78BFA; }
.cj-news-card-v2-meta {
    font-size: 0.72rem;
    color: var(--cj-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}
.cj-news-card-v2-excerpt {
    font-size: 0.83rem;
    color: var(--cj-muted2);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-bottom: 1rem;
}
.cj-news-card-v2-btn {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cj-purple);
    border: 1px solid rgba(124,58,237,0.35);
    border-radius: 6px;
    padding: 0.4rem 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
    margin-top: auto;
}
.cj-news-card-v2-btn:hover { background: var(--cj-purple); color: #fff; }

.link-cj {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cj-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
    margin-top: 0.75rem;
}
.link-cj:hover { gap: 0.6rem; color: #A78BFA; }

/* ——— (legado — mantido para compatibilidade) ——— */
.cj-news-sidebar { display: none; }
.cj-news-main    { display: none; }
.cj-news-card    { display: none; }

/* ——— AULAS — VÍDEO + INFO ——— */
.cj-sidebar-heading {
    background: var(--cj-purple);
    padding: 0.7rem 1.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cj-sidebar-body { padding: 0; }

/* Notícia item na sidebar */
.cj-news-side-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1.2rem;
    border-bottom: 1px solid var(--cj-border);
    transition: background 0.2s;
}
.cj-news-side-item:last-child { border-bottom: none; }
.cj-news-side-item:hover { background: rgba(255,255,255,0.03); }
.cj-news-side-thumb {
    width: 60px;
    height: 46px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--cj-card2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.08);
    overflow: hidden;
}
.cj-news-side-text { flex: 1; min-width: 0; }
.cj-news-side-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cj-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
    margin-bottom: 0.25rem;
    text-decoration: none;
}
.cj-news-side-title:hover { color: #A78BFA; }
.cj-news-side-meta { font-size: 0.68rem; color: var(--cj-muted); }

/* Notícia destaque principal */
.cj-news-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.cj-news-card {
    background: var(--cj-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--cj-border);
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    gap: 0;
}
.cj-news-card:hover { transform: translateY(-3px); border-color: rgba(124,58,237,0.25); }
.cj-news-card.featured { flex-direction: column; }
.cj-news-card.featured .cj-news-card-img {
    width: 100%;
    height: 220px;
    flex-shrink: 0;
}
.cj-news-card.small { flex-direction: row; }
.cj-news-card.small .cj-news-card-img {
    width: 120px;
    min-width: 120px;
    height: 100%;
    min-height: 96px;
}
.cj-news-card-img {
    overflow: hidden;
    background: var(--cj-card2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cj-news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.cj-news-card:hover .cj-news-card-img img { transform: scale(1.05); }
.cj-news-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.06);
    background: linear-gradient(135deg, var(--cj-card2), var(--cj-navy));
}
.cj-news-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.cj-news-card.small .cj-news-card-body { padding: 0.9rem; }
.cj-news-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cj-teal);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.cj-news-card-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--cj-white);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    text-decoration: none;
    display: block;
    transition: color 0.2s;
}
.cj-news-card-title:hover { color: #A78BFA; }
.cj-news-card.small .cj-news-card-title { font-size: 0.85rem; }
.cj-news-card-text { font-size: 0.83rem; color: var(--cj-muted2); flex: 1; line-height: 1.55; }
.cj-news-card-meta { font-size: 0.7rem; color: var(--cj-muted); margin-top: 0.75rem; display: flex; gap: 0.8rem; align-items: center; }
.link-cj {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cj-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: gap 0.2s, color 0.2s;
    margin-top: 0.75rem;
}
.link-cj:hover { gap: 0.6rem; color: #A78BFA; }

/* ——— AULAS — VÍDEO + INFO ——— */
.cj-video-outer {
    border-radius: 16px;
    overflow: hidden;
    background: var(--cj-card2);
    aspect-ratio: 16/9;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--cj-border);
}
.cj-video-outer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.cj-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--cj-navy), var(--cj-card2));
}
.cj-video-play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(124,58,237,0.8);
    border: 2px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    box-shadow: 0 0 0 12px rgba(124,58,237,0.1);
}
.cj-video-play-btn:hover { transform: scale(1.1); background: var(--cj-purple); }
.cj-video-placeholder p { font-size: 0.82rem; color: var(--cj-muted2); margin: 0; }

.cj-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.cj-info-card {
    background: var(--cj-card);
    border-radius: 12px;
    padding: 1.25rem 1.4rem;
    border: 1px solid var(--cj-border);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: border-color 0.2s, transform 0.2s;
}
.cj-info-card:hover { border-color: var(--cj-border2); transform: translateX(4px); }
.cj-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(124,58,237,0.12);
    border: 1px solid rgba(124,58,237,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--cj-purple);
    flex-shrink: 0;
}
.cj-info-card:nth-child(2) .cj-info-icon { background: rgba(8,145,178,0.12); border-color: rgba(8,145,178,0.2); color: var(--cj-teal); }
.cj-info-card:nth-child(3) .cj-info-icon { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.2); color: var(--cj-gold); }
.cj-info-card-content { flex: 1; }
.cj-info-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cj-white);
    margin-bottom: 0.3rem;
}
.cj-info-card-text { font-size: 0.84rem; color: var(--cj-muted2); line-height: 1.5; }

/* ——— PARALLAX VIDEO SECTION ——— */
.cj-parallax-section {
    position: relative;
    min-height: 400px;
    background-image: url('../images/chess4.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.cj-parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,11,23,0.85), rgba(8,145,178,0.6), rgba(7,11,23,0.85));
}
.cj-parallax-content {
    position: relative;
    z-index: 1;
    padding: 4rem 1rem;
}
.cj-parallax-quote {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--cj-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.cj-parallax-quote em { color: var(--cj-gold); font-style: normal; }

/* ——— ROBÓTICA ——— */
/* Seção robótica — fundo com foto */
.cj-section-robotica {
    position: relative;
    background-image: url('../images/robotica.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.cj-robotica-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,11,23,0.88) 0%, rgba(13,27,62,0.82) 100%);
    z-index: 1;
}

.cj-robotica-wrap {
    border-radius: 20px;
    padding: 4rem;
    border: 1px solid rgba(8,145,178,0.2);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 3rem;
}
.cj-robotica-visual {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cj-robotica-logo-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(8,145,178,0.5));
    transition: filter 0.3s;
}
.cj-robotica-logo-img:hover { filter: drop-shadow(0 0 36px rgba(8,145,178,0.8)); }
.cj-robotica-visual-fallback {
    font-size: 4rem;
    color: var(--cj-teal);
    animation: spinSlow 15s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.cj-nav-badge {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: var(--cj-teal);
    border-radius: 20px;
    padding: 0.15rem 0.5rem;
    margin-left: 0.3rem;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

.cj-robotica-text { flex: 1; }
.cj-robotica-text h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.cj-robotica-text p { color: var(--cj-muted2); max-width: 480px; }

/* Galeria da robótica — fotos do CRUD de galerias (slug 'robotica') */
.cj-robotica-galeria {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.cj-rob-gal-item {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(8,145,178,0.2);
    background: rgba(255,255,255,0.03);
}
.cj-rob-gal-item img,
.cj-rob-gal-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.cj-rob-gal-item:hover img,
.cj-rob-gal-item:hover video { transform: scale(1.06); }
.cj-rob-gal-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(8, 145, 178, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    pointer-events: none;
    transition: background 0.3s ease, transform 0.3s ease;
}
.cj-rob-gal-play i { margin-left: 3px; }
.cj-rob-gal-item:hover .cj-rob-gal-play {
    background: rgba(8, 145, 178, 1);
    transform: translate(-50%, -50%) scale(1.1);
}
.cj-rob-gal-item { display: block; }
.cj-rob-gal-item figcaption,
.cj-rob-gal-legenda {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.85);
    background: linear-gradient(transparent, rgba(7,11,23,0.85));
}
/* ── Galeria do Clube (cards de galerias do CRUD) ── */
.cj-gal-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.25);
    background: rgba(255, 255, 255, 0.03);
}
.cj-gal-card img,
.cj-gal-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.cj-gal-card:hover img,
.cj-gal-card:hover video { transform: scale(1.06); }
.cj-gal-card-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1.6rem 0.9rem 0.7rem;
    background: linear-gradient(transparent, rgba(7, 11, 23, 0.92));
    pointer-events: none;
}
.cj-gal-card-nome {
    font-weight: 800;
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.cj-gal-card-qtd {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.65);
}
.cj-gal-card-qtd i { margin-right: 0.25rem; }

.cj-rob-gal-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}
.cj-rob-gal-placeholder span { font-size: 2rem; opacity: 0.5; }
.cj-rob-gal-placeholder small {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cj-muted);
}

/* ——— PÁGINA DE NOTÍCIA ——— */
.cj-article {
    padding: 10rem 0 4rem;
    background: var(--cj-dark);
}
/* Restaura o margin-top dos títulos que o Bootstrap zera (texto colava no menu) */
.cj-article h1, .cj-article h2, .cj-article h3,
.cj-article h4, .cj-article h5, .cj-article h6 {
    margin-top: revert;
}
.cj-article-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--cj-white);
    line-height: 1.2;
    margin: 1.5rem 0 1rem;
}
.cj-article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--cj-muted2);
    margin: 1rem 0 2rem;
}
.cj-article-voltar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cj-muted2);
    text-decoration: none;
    transition: color 0.25s, gap 0.25s;
}
.cj-article-voltar:hover {
    color: #fff;
    gap: 0.75rem;
}
.cj-article-capa {
    float: right;
    width: 46%;
    margin: 0.4rem 0 1.25rem 2rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--cj-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.cj-article-capa img { width: 100%; height: auto; display: block; }
@media (max-width: 767px) {
    .cj-article-capa { float: none; width: 100%; margin: 0 0 1.5rem; }
}
.cj-article-body {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--cj-muted2);
}
.cj-article-body p { margin-bottom: 1.25rem; }
.cj-article-body strong { color: var(--cj-white); }
.cj-article-body a { color: var(--cj-purple-l, #A78BFA); }
.cj-article-body img { max-width: 100%; height: auto; border-radius: 12px; }
.cj-article-share {
    clear: both;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cj-border);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cj-muted);
}
.cj-article-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--cj-border);
    color: var(--cj-muted2);
    transition: all 0.25s;
}
.cj-article-share a:hover {
    color: #fff;
    background: var(--cj-purple);
    border-color: var(--cj-purple);
}
.cj-article-galeria {
    clear: both;
    margin-top: 3rem;
}
.cj-article-galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.cj-art-gal-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--cj-border);
    background: var(--cj-card);
}
.cj-art-gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.cj-art-gal-item:hover img { transform: scale(1.06); }
.cj-art-gal-legenda {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    background: linear-gradient(transparent, rgba(7, 11, 23, 0.85));
}
@media (max-width: 767px) {
    .cj-article-galeria-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ——— ATLETAS — player-name style ——— */
.cj-player-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--cj-card);
    border: 1px solid var(--cj-border);
    transition: transform 0.3s ease, box-shadow 0.3s;
}
.cj-player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.cj-player-photo-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--cj-card2), var(--cj-navy));
}
.cj-player-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.cj-player-card:hover .cj-player-photo { transform: scale(1.06); }
.cj-player-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.06);
}

/* Hover overlay — inspirado no .team-column.style-2 .overlay */
.cj-player-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 62, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cj-player-card:hover .cj-player-overlay { opacity: 1; }
.cj-player-overlay-bio {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.cj-player-overlay-social {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.cj-player-overlay-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    transition: background 0.2s, border-color 0.2s;
}
.cj-player-overlay-social a:hover { background: var(--cj-purple); border-color: var(--cj-purple); }

/* Placa inferior — inspirado em .player-name */
.cj-player-nameplate {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.88);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.3s;
}
.cj-player-card:hover .cj-player-nameplate { opacity: 0; }
.cj-player-nameplate-cat {
    position: absolute;
    top: -24px;
    left: 0;
    background: var(--cj-purple);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.2rem 0.75rem;
    color: #fff;
}
.cj-player-nameplate-cat::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 0;
    border-bottom: 24px solid var(--cj-purple);
    border-right: 14px solid transparent;
}
.cj-player-nameplate-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    flex: 1;
}
.cj-player-nameplate-number {
    width: 38px;
    height: 38px;
    background: var(--cj-purple);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Professores — card mais simples */
.cj-prof-card {
    background: var(--cj-card);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--cj-border);
    transition: transform 0.25s, border-color 0.25s;
    text-align: center;
}
.cj-prof-card:hover { transform: translateY(-4px); border-color: rgba(8,145,178,0.3); }
.cj-prof-photo-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, var(--cj-card2), var(--cj-navy));
}
.cj-prof-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.cj-prof-card:hover .cj-prof-photo { transform: scale(1.05); }
.cj-prof-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255,255,255,0.06);
}
.cj-prof-body { padding: 1.25rem 1rem; }
.cj-prof-name { font-size: 0.95rem; font-weight: 700; color: var(--cj-white); margin-bottom: 0.25rem; }
.cj-prof-role { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--cj-teal); margin-bottom: 0.5rem; display: block; }
.cj-prof-bio { font-size: 0.8rem; color: var(--cj-muted2); line-height: 1.5; }

/* ——— BACK TO TOP ——— */
.cj-back-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--cj-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s, background 0.2s;
    text-decoration: none;
    z-index: 500;
    box-shadow: 0 4px 16px rgba(124,58,237,0.4);
}
.cj-back-top.visible { opacity: 1; transform: translateY(0); }
.cj-back-top:hover { background: var(--cj-purple2); color: #fff; }

/* ——— FOOTER ——— */
.cj-footer {
    background: #050810;
    border-top: 1px solid var(--cj-border);
    padding: 4rem 0 0;
}
.cj-footer-logo-wrap { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.cj-footer-logo { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.cj-footer-brand-name { font-weight: 900; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--cj-white); }
.cj-footer-brand-name span { color: var(--cj-purple); }
.cj-footer-tagline { font-size: 0.78rem; color: var(--cj-muted); margin-bottom: 1.5rem; }
.cj-footer-about { font-size: 0.83rem; color: var(--cj-muted2); line-height: 1.65; margin-bottom: 1.5rem; }
.cj-footer-social { display: flex; gap: 0.6rem; }
.cj-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--cj-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cj-muted2);
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none;
}
.cj-footer-social a:hover { background: var(--cj-purple); color: #fff; border-color: var(--cj-purple); }
.cj-footer-heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cj-border);
}
.cj-footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.cj-footer-menu a { font-size: 0.84rem; color: var(--cj-muted2); transition: color 0.2s, padding-left 0.2s; }
.cj-footer-menu a:hover { color: var(--cj-white); padding-left: 4px; }
.cj-footer-address { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.cj-footer-address li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.83rem; color: var(--cj-muted2); }
.cj-footer-address li i { font-size: 0.9rem; color: var(--cj-purple); margin-top: 0.2rem; flex-shrink: 0; }
.cj-footer-bottom {
    background: #030608;
    margin-top: 3rem;
    padding: 1.2rem 0;
    text-align: center;
    border-top: 1px solid var(--cj-border);
}
.cj-footer-copy { font-size: 0.78rem; color: var(--cj-muted); margin: 0; }
.cj-footer-copy a { color: var(--cj-purple); }

/* ——— PATROCINADORES — TICKER FULL-WIDTH ——— */
.cj-sponsors-wrap {
    background: var(--cj-card);
    border-top: 1px solid var(--cj-border);
    border-bottom: 1px solid var(--cj-border);
    padding: 1.5rem 0;
    overflow: hidden;
    width: 100%;
}
.cj-sponsors-label {
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.2);
    margin-bottom: 1.25rem;
}
.cj-sponsors-track-outer {
    width: 100%;
    overflow: hidden;
}
.cj-sponsors-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: cj-sponsors-scroll 20s linear infinite;
}
.cj-sponsors-track:hover { animation-play-state: paused; }
@keyframes cj-sponsors-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.cj-sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    min-width: 120px;
    opacity: 0.6;
    transition: opacity 0.25s;
    cursor: default;
}
.cj-sponsor-item:hover { opacity: 1; }
.cj-sponsor-logo {
    height: 48px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.4);
    transition: filter 0.25s;
}
.cj-sponsor-item:hover .cj-sponsor-logo { filter: grayscale(0) brightness(1); }
.cj-sponsor-placeholder {
    width: 80px;
    height: 48px;
    background: rgba(255,255,255,0.04);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.08);
}
.cj-sponsor-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color 0.25s;
}
.cj-sponsor-item:hover .cj-sponsor-name { color: rgba(255,255,255,0.7); }

/* ——— UTILITIES ——— */
.text-purple  { color: var(--cj-purple); }
.text-teal    { color: var(--cj-teal); }
.text-gold    { color: var(--cj-gold); }
.text-muted   { color: var(--cj-muted2) !important; }

/* ——— RESPONSIVE ——— */
@media (max-width: 991px) {
    .cj-robotica-wrap { flex-direction: column; text-align: center; padding: 3rem 2rem; }
    .cj-robotica-wrap::before { display: none; }
    .cj-robotica-text p { margin: 0 auto; }
    .cj-robotica-galeria { grid-template-columns: repeat(2, 1fr); }
    .cj-hero-chess-visual { min-height: 200px; }
}
@media (max-width: 768px) {
    .cj-section { padding: 4rem 0; }
    .cj-hero { min-height: 90vh; }
    .cj-countdown-bar .cj-countdown-inner { justify-content: center; text-align: center; flex-direction: column; }
    .cj-countdown-label { justify-content: center; }
    .cj-back-top { bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px; }
    .cj-hero-chess-visual { display: none; }
}
@media (max-width: 480px) {
    .cj-hero h1 { font-size: 1.9rem; }
    .cj-hero-cta { flex-direction: column; gap: 0.75rem; }
    .cj-hero-cta .btn-cj-primary, .cj-hero-cta .btn-cj-outline { text-align: center; justify-content: center; }
}
