:root {
    --clube-primary: #0b4a8b;
    --clube-primary-dark: #073564;
    --clube-accent: #f2b705;
    --clube-bg: #f4f7fb;
    --clube-text: #1f2937;
    --clube-muted: #64748b;
    --clube-border: rgba(15, 23, 42, .10);
    --clube-shadow: 0 18px 45px rgba(15, 23, 42, .10);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--clube-bg);
    color: var(--clube-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-main {
    padding-top: 88px;
    min-height: calc(100vh - 240px);
}

.clube-navbar {
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--clube-border);
    backdrop-filter: blur(12px);
}

.brand-logo-clube {
    width: auto;
    height: 48px;
    max-width: 180px;
    object-fit: contain;
}

.brand-logo-aciaja {
    width: auto;
    height: 44px;
    max-width: 160px;
    object-fit: contain;
}

.brand-divider {
    width: 1px;
    height: 34px;
    background: var(--clube-border);
}

.navbar .nav-link {
    color: #334155;
    font-weight: 600;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--clube-primary);
}

.btn-primary {
    --bs-btn-bg: var(--clube-primary);
    --bs-btn-border-color: var(--clube-primary);
    --bs-btn-hover-bg: var(--clube-primary-dark);
    --bs-btn-hover-border-color: var(--clube-primary-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--clube-primary);
    --bs-btn-border-color: var(--clube-primary);
    --bs-btn-hover-bg: var(--clube-primary);
    --bs-btn-hover-border-color: var(--clube-primary);
}

.hero-clube {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #073564 0%, #0b4a8b 55%, #1477c8 100%);
    color: #fff;
    border-radius: 0 0 36px 36px;
}

.hero-clube::after {
    content: "";
    position: absolute;
    inset: auto -8% -45% auto;
    width: 540px;
    height: 540px;
    background: rgba(255, 255, 255, .10);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 70px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .85rem;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -.06em;
    font-weight: 850;
}

.hero-subtitle {
    max-width: 680px;
    color: rgba(255, 255, 255, .88);
    font-size: 1.13rem;
}

.hero-card {
    background: rgba(255, 255, 255, .96);
    color: var(--clube-text);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 28px;
    box-shadow: var(--clube-shadow);
}

.hero-stat {
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid var(--clube-border);
    padding: 1.1rem;
}

.hero-stat strong {
    display: block;
    color: var(--clube-primary);
    font-size: 2rem;
    line-height: 1;
}

.filter-card,
.content-card,
.partner-card,
.auth-card,
.result-card {
    background: #fff;
    border: 1px solid var(--clube-border);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.filter-card {
    margin-top: -42px;
    position: relative;
    z-index: 2;
}

.category-pills {
    display: flex;
    flex-wrap: nowrap;
    gap: .65rem;
    overflow-x: auto;
    padding-bottom: .35rem;
}

.category-pills .btn {
    white-space: nowrap;
    border-radius: 999px;
}

.section-kicker {
    color: var(--clube-primary);
    font-weight: 800;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.section-title {
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -.03em;
}

.partner-card {
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--clube-shadow);
}

.partner-logo-wrap {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff, #f8fafc);
    border-bottom: 1px solid var(--clube-border);
    padding: 1.4rem;
}

.partner-logo-wrap img {
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}

.partner-card-body {
    min-height: 235px;
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
}

.partner-name {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: .55rem;
}

.partner-discount {
    color: var(--clube-muted);
    font-size: .93rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.partner-detail-logo {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.detail-map iframe,
.detail-map {
    border-radius: 24px;
    overflow: hidden;
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--clube-primary);
    color: #fff;
    font-weight: 800;
}

.form-control,
.form-select {
    border-radius: 14px;
    border-color: rgba(15, 23, 42, .14);
    padding: .8rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--clube-primary);
    box-shadow: 0 0 0 .25rem rgba(11, 74, 139, .14);
}

.auth-card {
    max-width: 480px;
    margin: 0 auto;
}

.result-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.result-icon.success {
    background: rgba(25, 135, 84, .12);
    color: #198754;
}

.result-icon.danger {
    background: rgba(220, 53, 69, .12);
    color: #dc3545;
}

.empty-state {
    border: 1px dashed rgba(15, 23, 42, .18);
    background: rgba(255, 255, 255, .72);
    border-radius: 24px;
}

.empty-icon {
    font-size: 2.4rem;
}

.clube-footer {
    color: #fff;
    background: #073564;
}

.footer-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--clube-accent);
}

.loading-shimmer {
    min-height: 200px;
    border-radius: 24px;
    background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 40%, #eef2f7 55%);
    background-size: 220% 100%;
    animation: shimmer 1s infinite linear;
}

@keyframes shimmer {
    to { background-position-x: -220%; }
}

@media (max-width: 991px) {
    .page-main {
        padding-top: 76px;
    }

    .hero-content {
        padding: 48px 0 64px;
    }

    .filter-card {
        margin-top: -34px;
    }
}

@media print {
    .clube-navbar,
    .clube-footer,
    .no-print {
        display: none !important;
    }

    .page-main {
        padding-top: 0;
    }

    body {
        background: #fff;
    }

    .result-card,
    .content-card {
        box-shadow: none;
        border: 0;
    }
}
