/* ===== Gigante MTB: identidade e páginas do site (carrega depois de loja.css) ===== */
h1, h2 { text-transform: uppercase; }
.card__title, .line h2, .address-title, .footer h3, .panel h2, .account__hello { text-transform: none; }
.btn { border-radius: 6px; font-weight: 600; letter-spacing: .01em; }
.btn--hot { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn--hot:hover { background: #FF8540; border-color: #FF8540; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.eyebrow--light { color: var(--gold); }
.section__lead { margin: -12px 0 20px; color: var(--muted); }
.section--spaced { margin-top: 56px; }
.empty--left { text-align: left; padding: 24px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty--left p { margin: 0 0 6px; }

.logo { flex-direction: row; align-items: center; gap: 10px; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: .9; }
.logo__big { font-family: var(--display); font-size: 26px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .01em; }
.logo__small { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .32em; color: var(--brand); margin: 2px 0 0; }
.logo--footer .logo__big { color: #fff; }
.logo--footer .logo__small { color: var(--gold); }

.sitenav { display: flex; gap: 2px; flex: none; }
.sitenav a { color: var(--ink); text-decoration: none; font: 700 16px var(--display); text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-radius: 6px; }
.sitenav a:hover { background: var(--sand); }
.sitenav a.is-current { color: var(--brand); }
.header .search { max-width: 340px; }
.nav__site { display: none; }
.nav .nav__dept { font-weight: 700; }

.site-hero { background: radial-gradient(1200px 500px at 85% 20%, #2A1A12 0%, transparent 60%), var(--night); color: #E8E9EC; overflow: hidden; }
.site-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.site-hero__title { color: #fff; font-size: clamp(40px, 6vw, 76px); line-height: .95; margin-bottom: .3em; font-weight: 800; }
.site-hero__title em { font-style: italic; color: var(--gold); }
.site-hero__sub { font-size: 18px; color: #B9BBC3; max-width: 34em; margin: 0 0 28px; }
.site-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-hero__art { position: relative; }
.site-hero__art img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.next-event { position: absolute; left: -24px; bottom: -22px; background: var(--paper); color: var(--ink); text-decoration: none; border-radius: 12px; padding: 14px 18px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.6); max-width: 300px; border-left: 4px solid var(--gold); }
.next-event small { display: block; font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.next-event strong { display: block; font: 800 20px/1.1 var(--display); text-transform: uppercase; margin: 2px 0 4px; }
.next-event span { font-size: 14px; color: var(--muted); }

.stats { background: var(--gold); color: var(--night); }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.stat { display: flex; flex-direction: column; }
.stat strong { font: 800 clamp(30px, 4vw, 44px)/1 var(--display); text-transform: uppercase; }
.stat span { font-size: 14px; font-weight: 600; }
.stats--inline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; background: var(--night); color: #fff; border-radius: 12px; padding: 22px; margin: 28px 0; }
.stats--inline .stat strong { color: var(--gold); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
a.pillar:hover { transform: translateY(-3px); border-color: var(--brand); }
.pillar h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 6px; }
.pillar p { margin: 0 0 14px; color: var(--muted); flex: 1; }
.pillar__icon { width: 48px; height: 48px; border-radius: 10px; background: var(--night); color: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pillar__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar__more { color: var(--brand); font-weight: 700; }
.pillars--compact { margin: 40px 0; }

.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.event-card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.event-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--night-2); display: block; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--night) 0%, #2A1A12 100%); }
.event-card__placeholder .logo__mark { width: 72px; height: 72px; opacity: .9; }
.event-card__date { position: absolute; top: 12px; left: 12px; background: var(--gold); color: var(--night); border-radius: 8px; padding: 4px 10px; text-align: center; line-height: 1; }
.event-card__date strong { display: block; font: 800 26px var(--display); }
.event-card__date small { font: 700 13px var(--display); text-transform: uppercase; letter-spacing: .06em; }
.event-card.is-past .event-card__date { background: var(--paper); }
.event-card__body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.event-card__meta { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.event-card h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 6px; }
.event-card h3 a { color: var(--ink); text-decoration: none; }
.event-card h3 a:hover { color: var(--brand); }
.event-card__summary { font-size: 15px; margin: 0 0 10px; color: #3D3F46; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; }
.badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--sand); color: var(--ink); }
.badge--brand { background: var(--brand); color: #fff; }
.badge--dark { background: var(--night); color: #fff; }
.badge--light { background: #fff; color: var(--night); }
.badge--ok { background: var(--ok-bg); color: var(--ok); }

.store-band { background: var(--night); color: #E8E9EC; padding: 56px 0; margin-top: 64px; }
.store-band .section__title { color: #fff; }
.store-band .section__head a { color: var(--gold); }
.departments { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 32px; }
.department { border-radius: 14px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.department h3 { font-size: 30px; text-transform: uppercase; margin-bottom: 6px; }
.department h3 a { color: inherit; text-decoration: none; }
.department p { margin: 0 0 14px; }
.department--colecao { background: linear-gradient(135deg, #3A1D0E 0%, var(--night-2) 75%); border: 1px solid #4A2A18; }
.department--ciclismo { background: var(--night-2); border: 1px solid #2C2E36; }
.chips--links { gap: 8px; }
.chip-link { display: inline-block; padding: 5px 12px; border-radius: 99px; border: 1px solid currentColor; color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; }
.chip-link:hover { background: rgba(255,255,255,.08); }
.chips--catalog { margin: -6px 0 22px; }
.chips--catalog .chip-link { color: var(--ink); border-color: var(--line); background: var(--paper); }
.chips--catalog .chip-link:hover { border-color: var(--ink); }
.chips--catalog .chip-link.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.grid.grid--on-dark { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid--on-dark .card {background: var(--paper); border-radius: 10px; overflow: hidden; color: var(--ink); }
.grid--on-dark .card__body { padding: 10px 12px 14px; }

.story-teaser { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.story-teaser__list { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.story-teaser__list h3 { font-size: 20px; text-transform: uppercase; }
.story-teaser__list ul { list-style: none; margin: 0; padding: 0; }
.story-teaser__list li a { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.story-teaser__list li a span { font-size: 14px; color: var(--muted); }

.cta-hot { background: linear-gradient(120deg, var(--night) 0%, #3A1D0E 100%); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.insta { margin-top: 24px; }
.insta__card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); text-decoration: none; color: var(--ink); }
.insta__card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.insta__card small { color: var(--muted); font-size: 15px; }
.insta__icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); color: #fff; display: flex; align-items: center; justify-content: center; }
.insta__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.page-hero { background: var(--night); color: #E8E9EC; padding: 48px 0 44px; position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 60px); line-height: 1; font-weight: 800; max-width: 18em; margin-bottom: .3em; }
.page-hero__sub { font-size: 18px; color: #B9BBC3; max-width: 40em; margin: 0 0 12px; }
.page-hero--event { background: linear-gradient(180deg, rgba(14,15,19,.55) 0%, rgba(14,15,19,.92) 100%), var(--cover, none) center / cover, var(--night); padding: 64px 0 48px; }
.breadcrumb--light, .breadcrumb--light a { color: #B9BBC3; }
.signup { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.signup__btn { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; box-shadow: 0 10px 30px -10px rgba(255,107,26,.7); }
.signup__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.signup__note { color: #B9BBC3; font-size: 14px; }
.prose .lead { font-size: 20px; line-height: 1.5; }
.history-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.timeline { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.timeline li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.timeline li::before { content: counter(step, decimal-leading-zero); font: 800 32px/1 var(--display); color: var(--brand); }
.timeline strong { font: 700 20px var(--display); text-transform: uppercase; }
.timeline span { color: var(--muted); font-size: 15px; }

.event-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.event-page__side { position: sticky; top: 140px; }
.event-page__side .btn { margin-bottom: 10px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 18px; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin: 0; font-weight: 600; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; margin-bottom: 24px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Agenda por fim de semana */
.agenda { --booked: var(--gold); --free: #1F8F4E; --reserved: #8A8D96; }
.agenda__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.agenda__head .section__title { margin-bottom: 6px; }
.agenda__summary { margin: 0; color: var(--muted); max-width: 40em; }
.agenda__summary strong { color: var(--free); }
.agenda__legend { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; font-size: 14px; font-weight: 600; }
.agenda__legend li { display: flex; align-items: center; gap: 6px; }
.wk__dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; background: currentColor; }
.wk__dot--booked { background: var(--booked); }
.wk__dot--reserved { background: var(--reserved); }
.wk__dot--free { background: transparent; box-shadow: inset 0 0 0 2px var(--free); }

.agenda__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; margin-bottom: 8px; }
.agenda__tabs button { flex: 1 0 104px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; text-align: left; }
.agenda__tabs button:hover { border-color: var(--ink); }
.agenda__tabs button[aria-selected="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.agenda__tab-month { font: 800 20px/1 var(--display); text-transform: uppercase; }
.agenda__tab-free { font-size: 12.5px; color: var(--muted); }
.agenda__tabs button[aria-selected="true"] .agenda__tab-free { color: #B9BBC3; }
.agenda__bar { display: flex; gap: 3px; margin-top: 6px; width: 100%; }
.agenda__bar i { flex: 1; height: 5px; border-radius: 3px; background: var(--sand); }
.agenda__bar i.is-booked { background: var(--booked); }
.agenda__bar i.is-reserved { background: var(--reserved); }
.agenda__bar i.is-free { background: var(--free); }
.agenda__bar i.is-past { background: var(--line); opacity: .5; }

.agenda__month + .agenda__month { margin-top: 24px; }
.agenda__month-title { font-size: 18px; text-transform: uppercase; color: var(--muted); }
.agenda.is-tabbed .agenda__month-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.agenda.is-tabbed .agenda__month + .agenda__month { margin-top: 0; }
.agenda__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }

.wk { position: relative; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 1px solid var(--line); min-height: 196px; transition: transform .2s; }
.wk__date { display: flex; align-items: flex-end; gap: 8px; }
.wk__days { display: flex; flex-direction: column; font: 800 38px/1 var(--display); }
.wk__days small { font: 700 11px 'Barlow', sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 2px; }
.wk__sep { width: 10px; height: 3px; background: currentColor; border-radius: 2px; margin-bottom: 16px; opacity: .4; }
.wk__month { margin-left: auto; font: 700 14px var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.wk__status { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.wk__body { font-size: 14.5px; flex: 1; display: flex; flex-direction: column; }
.wk__body p { margin: 0 0 10px; color: var(--muted); }
.wk__event { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.wk__event strong { font: 700 19px/1.15 var(--display); text-transform: uppercase; }
.wk__event span { font-size: 14px; opacity: .8; }
.wk__more { margin-top: 4px; opacity: .8; }
.wk__cta { margin-top: auto; font-weight: 700; color: var(--free); text-decoration: none; }
.wk__cta:hover { text-decoration: underline; }

.wk--booked { background: var(--night); border-color: var(--night); color: #fff; }
.wk--booked::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; border-radius: 14px 0 0 14px; background: var(--booked); }
.wk--booked .wk__days small, .wk--booked .wk__month { color: #B9BBC3; }
.wk--booked .wk__status { color: var(--booked); }
.wk--booked:hover { transform: translateY(-3px); }
.wk--free { border: 2px dashed color-mix(in srgb, var(--free) 55%, transparent); background: color-mix(in srgb, var(--free) 5%, var(--paper)); }
.wk--free .wk__status { color: var(--free); }
.wk--free:hover { border-style: solid; transform: translateY(-3px); }
.wk--reserved { background: repeating-linear-gradient(135deg, var(--paper) 0 12px, var(--sand) 12px 24px); }
.wk--reserved .wk__status { color: #4C4E55; }
.wk--past { opacity: .5; min-height: 0; }
.wk--past .wk__status { color: var(--muted); }

/* Faixa compacta na página inicial */
.weekend-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-bottom: 28px; }
.weekend-strip .wk { scroll-snap-align: start; min-height: 170px; }
.weekend-strip .wk--free .wk__body p { display: none; }

@media (max-width: 600px) {
    .agenda__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .wk { padding: 12px; min-height: 170px; }
    .wk__days { font-size: 30px; }
    .wk--free .wk__body p { display: none; }
    .agenda__legend { gap: 12px; }
}

@media (max-width: 1180px) {
    .sitenav { display: none; }
    .nav__site { display: contents; }
    .nav__site a { font-weight: 700; }
}
@media (max-width: 1080px) {
    .events-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
    .pillar { padding: 18px; }
}
@media (max-width: 860px) {
    .pillars { grid-template-columns: minmax(0, 1fr); }
    .grid.grid--on-dark { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .site-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 28px; padding-bottom: 48px; }
    .site-hero__sub { font-size: 16px; }
    .next-event { left: 12px; right: 12px; bottom: -28px; max-width: none; }
    .stats__row { grid-template-columns: repeat(2, 1fr); padding-top: 34px; }
    .departments, .story-teaser, .event-page { grid-template-columns: minmax(0, 1fr); }
    .event-page__side { position: static; }
    .department { padding: 22px; }
    .logo__mark { width: 34px; height: 34px; }
    .logo__big { font-size: 22px; }
}
@media (max-width: 600px) {
    .events-grid, .pillars, .timeline { grid-template-columns: minmax(0, 1fr); }
    .site-hero__actions .btn { flex: 1; }
    .insta__card { flex-wrap: wrap; }
    .insta__card .btn { width: 100%; }
    .page-hero { padding: 32px 0; }
}

/* Estado -> cidade */
.city-picker--contents { display: contents; }
.field--full { grid-column: span 6; }
.city-picker select:disabled { opacity: .7; }
