/* ============================================================
   GO2RUN — CORRIDAS HUB — NIGHT SPEED THEME
   ============================================================ */

:root {
    --bg-base:        #06070D;
    --bg-surface:     #0F1220;
    --bg-elevated:    #171B28;
    --fire:           #EE00EE;
    --fire-mid:       #BB00BB;
    --fire-glow:      rgba(238, 0, 238, 0.25);
    --fire-subtle:    rgba(238, 0, 238, 0.08);
    --fire-border:    rgba(238, 0, 238, 0.35);
    --text-primary:   #EEF1FF;
    --text-secondary: #8A92B0;
    --border-subtle:  rgba(255, 255, 255, 0.06);
    --border-mid:     rgba(255, 255, 255, 0.12);
    --shadow:         0 4px 24px rgba(0, 0, 0, 0.6);
    --shadow-lg:      0 10px 48px rgba(0, 0, 0, 0.8);
    --transition:     all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: 'DM Sans', 'Poppins', sans-serif;
    margin: 0;
    padding-top: 72px;
    -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR — fixed dark ── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6,7,13,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(238,0,238,0.18);
    padding: 0.6rem 0;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.88) !important;
    transition: color 0.2s;
    font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active { color: #EE00EE !important; }

.navbar .navbar-brand img { max-height: 36px; width: auto; }

.navbar .dropdown-menu {
    background: rgba(9,11,20,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.7);
}

.navbar .dropdown-item { color: #8A92B0; transition: color 0.2s, background 0.2s; }
.navbar .dropdown-item:hover { background: rgba(238,0,238,0.1); color: #EE00EE; }

.navbar .btn-outline-primary {
    color: #EE00EE !important;
    border-color: #EE00EE !important;
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
}
.navbar .btn-outline-primary:hover {
    background: #EE00EE !important;
    color: #fff !important;
}

/* ── HERO ── */
.hero-section {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: var(--bg-base);
}

.hero-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.04;
    filter: grayscale(1);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(6,7,13,0.45) 0%,
        rgba(6,7,13,0.72) 60%,
        rgba(6,7,13,0.97) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 5rem 0 3.5rem;
}

.hero-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fire);
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-title span { color: var(--fire); }

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.65;
}

.hero-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 3;
    display: flex;
}
.hero-stripe-solid { width: 120px; background: var(--fire); }
.hero-stripe-dim   { flex: 1; background: linear-gradient(90deg, rgba(238,0,238,0.3), transparent); }

/* ── SELECAO ── */
.selecao-section {
    position: relative;
    padding: 5rem 0 6rem;
    overflow: hidden;
    background: var(--bg-base);
}

.selecao-ghost {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(12rem, 26vw, 26rem);
    font-weight: 900;
    color: rgba(255,255,255,0.012);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

/* ── RUN CARD ── */
.run-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.run-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 2.8rem 2.4rem 2.4rem;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.run-card-stripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--fire);
    transform: scaleX(0.35);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.run-card:hover .run-card-stripe { transform: scaleX(1); }

.run-card-glow {
    position: absolute;
    inset: 0;
    background: var(--fire-subtle);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
    border-radius: 10px;
}

.run-card:hover {
    border-color: var(--fire-border);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--fire-border), 0 0 40px var(--fire-glow);
}

.run-card:hover .run-card-glow { opacity: 1; }

.run-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: var(--fire-subtle);
    border: 1px solid var(--fire-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--fire);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.run-card:hover .run-card-icon {
    transform: scale(1.08);
    box-shadow: 0 0 20px var(--fire-glow);
}

.run-card-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fire);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.run-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
}

.run-card-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.run-card-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fire);
    position: relative;
    z-index: 1;
    transition: gap 0.25s;
}

.run-card:hover .run-card-cta { gap: 1rem; }

.run-card-cta i { font-size: 0.85rem; transition: transform 0.25s; }
.run-card:hover .run-card-cta i { transform: translateX(4px); }

/* Variante virtual — stripe lateral em vez de topo */
.run-card--virtual {
    border-left: 3px solid var(--border-subtle);
}

.run-card--virtual .run-card-stripe {
    display: none;
}

.run-card--virtual:hover {
    border-left-color: var(--fire);
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .selecao-section { padding: 4rem 0 5rem; }
    .run-card { min-height: 320px; padding: 2.2rem 2rem; }
}

@media (max-width: 768px) {
    .hero-section { min-height: 340px; }
    .hero-content { padding: 4rem 0 2.5rem; }
    .run-card { min-height: auto; }
}

@media (max-width: 576px) {
    .hero-section { min-height: 260px; }
    .hero-content { padding: 3rem 0 2rem; }
    .selecao-section { padding: 3rem 0 4rem; }
    .run-card { padding: 1.8rem 1.5rem; }
    .run-card-title { font-size: 2rem; }
}
