/* ============================================================
   GO2RUN — CORRIDA DETALHE — NIGHT SPEED THEME
   ============================================================ */

html, body { overflow-x: hidden; }
img { max-width: 100%; }

: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;
    line-height: 1.7;
}


/* ── NAVBAR ── */
.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; }

/* ── BREADCRUMB ── */
.breadcrumb-section {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.85rem 0;
}
.breadcrumb { background: transparent; margin: 0; padding: 0; }
.breadcrumb-item a { color: var(--text-secondary); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.breadcrumb-item a:hover { color: var(--fire); }
.breadcrumb-item.active { color: var(--text-secondary); font-size: 0.82rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.2); }

/* ── HERO ── */
.hero-banner {
    position: relative;
    overflow: hidden;
    color: white;
    background: #06070D;
}

/* Imagem real — escala naturalmente em mobile, corta no desktop */
.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center top;
}

@media (min-width: 769px) {
    .hero-banner {
        max-height: 62vh;
        min-height: 420px;
    }
    .hero-banner-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6,7,13,0.15) 0%,
        rgba(6,7,13,0.5) 55%,
        rgba(6,7,13,0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

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

.hero-content h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 6vw, 5rem);
    margin-bottom: 0.9rem;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.hero-content .lead {
    font-size: 1rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.btn-filled {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 2rem;
    background: var(--fire);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-filled:hover:not(:disabled) { background: var(--fire-mid); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px var(--fire-glow); }
.btn-filled:disabled { opacity: 0.5; cursor: not-allowed; background: rgba(255,255,255,0.15); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.8rem;
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-outline:hover { border-color: var(--fire); color: var(--fire); }

/* Stripe decorativa no rodapé do hero */
.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); }

/* ── CONTEÚDO PRINCIPAL ── */
.content-section { padding: 3.5rem 0; }

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--fire);
    border-radius: 2px;
}

.section-title.text-center { padding-left: 0; }
.section-title.text-center::before { display: none; }

.product-description {
    font-size: 0.98rem;
    line-height: 1.82;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Percurso */
.percurso-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
}

.percurso-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fire);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.percurso-img {
    max-width: 520px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
}

.btn-percurso {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.4rem;
    background: var(--fire-subtle);
    color: var(--fire);
    border: 1px solid var(--fire-border);
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}
.btn-percurso:hover { background: var(--fire); color: #fff; }

.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 520px;
    border-radius: 8px;
    background: #000;
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 8px; }

/* Endereço retirada kit */
.endereco-block {
    margin-bottom: 2rem;
    padding: 1.2rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--fire);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.endereco-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fire);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Kit atleta */
.kit-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fire);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kit-item-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    display: block;
    transition: transform 0.3s;
}

.kit-item-img:hover { transform: scale(1.03); }

.kit-item-placeholder {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
}

.kit-item-placeholder i { font-size: 2rem; color: var(--text-secondary); opacity: 0.4; }

.kit-item-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-align: center;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2.5rem 0;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--fire);
    padding: 1.5rem;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--fire-subtle);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 0 20px var(--fire-glow); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    font-size: 1.6rem;
    color: var(--fire);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.feature-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Sidebar regulamento */
.sidebar-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.8rem;
    position: sticky;
    top: 90px;
}

.sidebar-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-card-title i { color: var(--fire); }

.btn-regulamento {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--fire-subtle);
    color: var(--fire);
    border: 1px solid var(--fire-border);
    border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: var(--transition);
}
.btn-regulamento:hover { background: var(--fire); color: #fff; }

.no-regulamento { font-size: 0.88rem; color: var(--text-secondary); }

/* ── BENEFÍCIOS ── */
.benefits-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 4rem 0;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--fire-subtle);
    border: 1px solid var(--fire-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--fire);
    flex-shrink: 0;
}

.benefit-content h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.benefit-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ── CTA ── */
.cta-section {
    position: relative;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 4.5rem 0;
    text-align: center;
    overflow: hidden;
    margin: 2rem 0;
}

.cta-section::before {
    content: 'RUN';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(10rem, 22vw, 22rem);
    font-weight: 900;
    color: rgba(238,0,238,0.025);
    pointer-events: none;
    user-select: none;
    line-height: 1;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

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

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

.cta-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.5rem;
    background: var(--fire);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
}
.cta-button:hover:not(:disabled) { background: var(--fire-mid); transform: translateY(-2px); box-shadow: 0 10px 30px var(--fire-glow); color: #fff; }
.cta-button:disabled { opacity: 0.5; cursor: not-allowed; background: rgba(255,255,255,0.12); }

/* ── CONTINUE NAVEGANDO ── */
.continue-section { padding: 3rem 0 4rem; }

.nav-card-link { text-decoration: none; color: inherit; display: block; }

.nav-card {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    transition: var(--transition);
    position: relative;
}

.nav-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--fire);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-card:hover { border-color: var(--fire-border); transform: translateY(-3px); box-shadow: var(--shadow); }
.nav-card:hover::after { transform: scaleX(1); }

.nav-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.nav-card:hover img { transform: scale(1.06); }

.nav-card-name {
    padding: 0.6rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* ── MOBILE CTA BAR ── */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(6,7,13,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(238,0,238,0.2);
    padding: 0.75rem 1rem;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-cta-btn {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--fire);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background 0.2s;
}
.mobile-cta-btn:active { opacity: 0.85; }
.mobile-cta-btn:disabled { background: rgba(255,255,255,0.12); cursor: not-allowed; }

/* ── TOAST ── */
.go-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 0.9rem 1.4rem;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    animation: toastIn 0.25s ease;
    max-width: 320px;
}
.go-toast.sucesso { background: #22c55e; border-left: 3px solid #16a34a; }
.go-toast.erro    { background: #dc2626; border-left: 3px solid #991b1b; }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive: ver corrida_detalhe_responsive.css */
