/* ========================================
   HYROX HYBRID - Design System
   Inspirado no Hyrox Mental Training
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --hyrox-blue: #0057FF;
    --hyrox-blue-dark: #0041CC;
    --hyrox-yellow: #C8FF00;
    --hyrox-black: #0A0A0A;
    --hyrox-gray: #1A1A1A;
    --hyrox-light: #F5F5F5;
    --hyrox-white: #FFFFFF;
    --hyrox-text: #111111;
    --hyrox-muted: #6B7280;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--hyrox-white);
    color: var(--hyrox-text);
    -webkit-font-smoothing: antialiased;
}

/* ========== TIPOGRAFIA ========== */
.heading-xl {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.heading-lg {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.heading-md {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* ========== BOTÕES ========== */
.btn-hyrox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--hyrox-blue);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-hyrox:hover {
    background-color: var(--hyrox-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 87, 255, 0.35);
}

.btn-hyrox-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--hyrox-black);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    border: 2px solid #E5E5E5;
    transition: all 0.2s ease;
}

.btn-hyrox-outline:hover {
    border-color: var(--hyrox-blue);
    color: var(--hyrox-blue);
}

.btn-yellow {
    background-color: var(--hyrox-yellow);
    color: var(--hyrox-black);
    font-weight: 800;
}

.btn-yellow:hover {
    background-color: #b8eb00;
}

/* ========== CARDS ========== */
.card-hyrox {
    background-color: var(--hyrox-white);
    border: 1px solid #EAEAEA;
    border-radius: 1rem;
    transition: all 0.25s ease;
}

.card-hyrox:hover {
    border-color: var(--hyrox-blue);
    box-shadow: 0 8px 24px rgba(0, 87, 255, 0.08);
}

.card-dark {
    background-color: var(--hyrox-black);
    color: white;
    border-radius: 1rem;
}

/* ========== BADGES DE NÍVEL ========== */
.badge-level {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.badge-iniciante {
    background-color: #DCFCE7;
    color: #166534;
}

.badge-intermedio {
    background-color: #FEF9C3;
    color: #854D0E;
}

.badge-endurance {
    background-color: #FEE2E2;
    color: #9F1239;
}

/* ========== ELEMENTOS GEOMÉTRICOS ========== */
.hyrox-bar {
    display: inline-block;
    height: 4px;
    background: linear-gradient(90deg, var(--hyrox-blue) 0%, var(--hyrox-yellow) 100%);
    border-radius: 2px;
}

.hyrox-stripe {
    width: 48px;
    height: 6px;
    background: repeating-linear-gradient(
        -45deg,
        var(--hyrox-blue),
        var(--hyrox-blue) 4px,
        var(--hyrox-yellow) 4px,
        var(--hyrox-yellow) 8px
    );
}

/* ========== NAVBAR ========== */
.navbar-hyrox {
    background-color: var(--hyrox-white);
    border-bottom: 1px solid #EEEEEE;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--hyrox-blue);
}

.nav-link-active {
    color: var(--hyrox-blue);
}

/* ========== UTILITÁRIOS ========== */
.text-hyrox-blue {
    color: var(--hyrox-blue);
}

.text-hyrox-yellow {
    color: var(--hyrox-yellow);
}

.bg-hyrox-blue {
    background-color: var(--hyrox-blue);
}

.bg-hyrox-light {
    background-color: var(--hyrox-light);
}

.fade-in {
    animation: fadeIn 0.45s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Número grande estilo poster */
.big-number {
    font-size: clamp(4rem, 15vw, 7rem);
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--hyrox-blue);
}

.hero-gym {
    position: relative;
    min-height: 78vh;
    background: #0b0b0b center/cover no-repeat;
    color: white;
    overflow: hidden;
}
.hero-gym::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.25) 100%);
}
.hero-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    line-height: .85;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 2px #b6ff3b;
}
.cut-card {
    position: relative;
    width: 150px;
    background: #111;
    color: white;
    overflow: hidden;
}
.cut-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
}
.cut-flag {
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 54px;
    background: #b6ff3b;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}