/* Tema "mfc" — Master Fight Combat (eventos de MMA/luta profissional, PPV).
   DARK combativo: near-black + vermelho de marca. Paleta de 4 cores só (manual de
   marca): preto, vermelho, cinza, branco — sem segunda cor de destaque.
   Display condensado (Bebas Neue, equivalente livre de "Beba Sans") para energia
   esportiva; corpo em Montserrat. */
@font-face {
    font-family: 'Montserrat'; src: url('../fonts/montserrat-400.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Montserrat'; src: url('../fonts/montserrat-600.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Montserrat'; src: url('../fonts/montserrat-700.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Bebas Neue'; src: url('../fonts/bebas-400.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
:root {
    --bg: #0a0a0b;              /* near-black (marca) */
    --fg: #f5f5f5;             /* corpo off-white (marca) */
    --ink: #ffffff;            /* títulos brancos (marca) */
    --muted: #b9b9bd;          /* cinza de apoio (marca) */
    --accent: #c8102e;         /* vermelho de marca (UI: botões/bordas/títulos) */
    --accent-hover: #a30d26;   /* vermelho escuro (~15% mais escuro) */
    --link: #ef4444;           /* vermelho claro p/ LINK DE TEXTO (~5:1 no fundo escuro, WCAG 1.4.3) */
    --accent-fg: #ffffff;
    --accent-soft: #2a1114;    /* superfície com leve tinta vermelha */
    --gold: var(--accent);     /* marca é só 4 cores: sem 2ª cor de destaque, alias p/ accent */
    --border: #26262b;         /* borda em fundo escuro */
    --border-strong: #3a3a42;
    --soft: #111113;           /* superfície de cards/painéis (marca) */
    --radius: 6px;             /* cantos angulares (estética de combate) */
    --radius-sm: 3px;
    --maxw: 80rem;             /* 1280px */
    --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font);
    color: var(--fg); background: var(--bg); line-height: 1.6;
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--accent-fg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link, var(--accent)); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
    font-family: var(--font-display); font-weight: 400; line-height: 1.05;
    color: var(--ink); letter-spacing: 0.01em; text-transform: uppercase;
}

/* Container: 80rem e padding 1rem -> 1.5rem -> 2rem. */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

main.container {
    padding-top: 2.5rem; padding-bottom: 4rem; min-height: 60vh;
}

/* Header — barra 64/80/112px, fundo preto a 90% com blur, borda inferior #2a2a2e
   e nenhuma faixa no topo. */
.site-header {
    border-bottom: 1px solid #2a2a2e;
    background: rgba(10, 10, 11, 0.9);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    position: sticky; top: 0; z-index: 50;
}
.site-header .container {
    display: flex; align-items: center; gap: 0.5rem 1.25rem; height: 64px; flex-wrap: nowrap;
}
@media (min-width: 640px) { .site-header .container { height: 80px; } }
@media (min-width: 768px) { .site-header .container { height: 112px; } }
.site-nav { flex-wrap: nowrap; }
.site-brand { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; color: var(--ink); letter-spacing: 0.02em; display: inline-flex; align-items: center; margin-right: auto; }
/* Logo: h-12 / sm:h-16 / md:h-24. */
.site-logo { max-height: 48px; width: auto; display: block; object-fit: contain; }
@media (min-width: 640px) { .site-logo { max-height: 64px; } }
@media (min-width: 768px) { .site-logo { max-height: 96px; } }

.site-nav { display: flex; gap: 1.5rem; flex-wrap: nowrap; align-items: center; }
.site-nav__link, .nav-dropdown__trigger {
    color: rgba(255, 255, 255, 0.8); font-weight: 600; font-size: 0.875rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    transition: color 0.15s ease;
}
.site-nav__link:hover, .nav-dropdown__trigger:hover { color: #fff; text-decoration: none; }

/* Dropdown "Acessos" (área de conta/PPV) — <details>/<summary>, acessível */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger { display: inline-flex; align-items: center; gap: 0.32rem; cursor: pointer; list-style: none; user-select: none; }
.nav-dropdown__trigger::-webkit-details-marker { display: none; }
.nav-dropdown__caret { transition: transform 0.18s ease; }
.nav-dropdown[open] > .nav-dropdown__trigger { color: var(--accent); }
.nav-dropdown[open] .nav-dropdown__caret { transform: rotate(180deg); }
.nav-dropdown__panel {
    position: absolute; top: calc(100% + 0.7rem); right: 0; z-index: 30;
    min-width: 220px; display: flex; flex-direction: column;
    background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 0.4rem; box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.75);
}
.nav-dropdown__panel a, .nav-dropdown__panel button {
    display: block; width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    color: var(--fg); font: inherit; text-transform: none; letter-spacing: 0;
    padding: 0.6rem 0.8rem; border-radius: var(--radius-sm);
}
.nav-dropdown__panel a:hover, .nav-dropdown__panel button:hover { background: var(--accent-soft); color: var(--ink); text-decoration: none; }
.nav-dropdown__form { margin: 0.2rem 0 0; padding-top: 0.2rem; border-top: 1px solid var(--border); }

/* Ações do header: carrinho + botões ENTRAR (fantasma) e CONTATO (sólido) + hambúrguer */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-enter, .btn-contact {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; white-space: nowrap;
    padding: 0.5rem 1rem; border-radius: 0.5rem;
    font-weight: 600; font-size: 0.875rem; line-height: 1.25rem;
    text-transform: uppercase; letter-spacing: 0.05em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-enter { background: #2a2a2e; border: 1px solid #2a2a2e; color: #fff; }
.btn-enter:hover { border-color: var(--fg); color: var(--ink); text-decoration: none; }
.btn-contact { background: var(--accent); border: 1px solid var(--accent); color: var(--accent-fg); }
.btn-contact:hover { background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; }
.cart-link {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; color: var(--ink); border-radius: var(--radius);
}
.cart-link:hover { color: var(--accent); background: var(--soft); text-decoration: none; }
.cart-badge {
    position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 4px;
    background: var(--accent); color: #fff; border-radius: 999px; font-size: 0.68rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; line-height: 1; border: 2px solid var(--bg);
}
.nav-toggle { display: none; }
.nav-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); border-radius: var(--radius); cursor: pointer; }
.nav-btn:hover { background: var(--soft); }

@media (max-width: 720px) {
    .site-header .container { flex-wrap: wrap; }
    .header-actions { margin-left: auto; }
    .site-nav {
        display: none; order: 10; width: 100%; flex-direction: column; align-items: stretch;
        gap: 0; padding: 0.5rem 0 0.25rem; border-top: 1px solid var(--border); margin-top: 0.25rem;
    }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .site-nav__link, .nav-dropdown__trigger { width: 100%; padding: 0.65rem 0.25rem; border-bottom: 1px solid var(--border); }
    .site-nav__link:hover, .nav-dropdown__trigger:hover { border-bottom-color: var(--border); }
    .nav-dropdown { width: 100%; }
    .nav-dropdown__panel { position: static; min-width: 0; padding: 0.2rem 0 0.4rem 0.9rem; background: transparent; border: 0; box-shadow: none; }
    .nav-btn { display: inline-flex; }
    .btn-enter { display: none; } /* login fica no dropdown Acessos no mobile */
}

/* Buttons — sólido de acento + variante fantasma (bordada) */
button, .button {
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    background: var(--accent); color: var(--accent-fg);
    border: 1px solid var(--accent); border-radius: var(--radius);
    padding: 0.65rem 1.35rem; font-size: 0.98rem; font-weight: 600; font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
button:hover, .button:hover { background: var(--accent-hover); border-color: var(--accent-hover); text-decoration: none; }
.button--ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.button--ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

/* Hero (legado, ex.: templates de página) */
.hero {
    background: var(--soft); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2.5rem 2rem; margin-bottom: 2.5rem; text-align: center;
}
.hero h1 { margin: 0 0 0.5rem; font-size: 2rem; }
.hero p { color: var(--muted); margin: 0; }

/* Section + card grid */
.section { margin-bottom: 2.5rem; }
.section > h2 { border-bottom: 2px solid var(--border); padding-bottom: 0.5rem; }
.grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.card {
    border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; background: var(--bg);
}
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card .card-body { padding: 1rem; }
.card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Lists (blog/loja): cards refinados com hover */
.post-list, .product-list {
    list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}
.post-list > li, .product-list > li {
    position: relative;
    display: flex; flex-direction: column; overflow: hidden; background: var(--bg);
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.post-list > li:hover, .product-list > li:hover { border-color: var(--accent); transform: translateY(-3px); }
.post-list img, .product-list img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-list h2, .product-list h2 { margin: 0; padding: 1rem 1rem 0; font-size: 1.1rem; letter-spacing: -0.01em; }
.post-list h2 a, .product-list h2 a { color: var(--fg); }
.post-list > li:hover h2 a, .product-list > li:hover h2 a { color: var(--accent); }
.post-list small {
    padding: 0.4rem 1rem 0; color: var(--accent);
    font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.post-list p { margin: 0; padding: 0.5rem 1rem 1.1rem; color: var(--muted); font-size: 0.95rem; }
.product-list p { margin: 0; padding: 0.5rem 1rem; font-weight: 700; font-size: 1.15rem; }
.price { font-size: 1.3rem; font-weight: 700; }

/* Botão "Comprar" na listagem — some direto pro carrinho (variante padrão do
   produto). Fica preso no rodapé do card (margin-top: auto) mesmo com títulos
   de tamanhos diferentes, já que .product-list > li é flex column. z-index acima
   do link esticado do card (.product-card-link) — senão o clique seria roubado
   pelo overlay e o botão sempre abriria o produto em vez de adicionar ao carrinho. */
.product-buy-form { position: relative; z-index: 2; margin: auto 1rem 1rem; }
.btn-buy { width: 100%; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem; }
/* Link esticado: cobre o card inteiro (loja) por baixo do botão "Comprar". */
.product-card-link { position: absolute; inset: 0; z-index: 1; }

/* ============================================================================
   BLOG — estrutura editorial (destaque, meta, compartilhar, navegação entre
   posts, galeria, eventos relacionados). Mesma IA do tema default; identidade
   MFC vem de graça pelo h1-h3 global (Bebas Neue, caixa-alta) + var(--accent).
   ============================================================================ */

/* Destaque (só na 1ª página sem filtro). Grid mídia | corpo, empilha no mobile. */
.blog-featured {
    position: relative;
    display: grid; grid-template-columns: 1.15fr 1fr;
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    margin: 0 0 2rem; background: var(--soft);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
/* Link esticado: cobre o card inteiro por baixo da pílula de categoria (que
   fica com z-index maior e continua indo pro filtro, não pro artigo). */
.blog-featured__stretched-link { position: absolute; inset: 0; z-index: 1; }
.blog-featured:hover { border-color: var(--accent); transform: translateY(-3px); }
.blog-featured__media { display: block; background: var(--bg); }
.blog-featured__media img,
.blog-featured__media .media-placeholder {
    width: 100%; height: 100%; min-height: 220px; aspect-ratio: 16 / 10; object-fit: cover;
    display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--muted);
}
.blog-featured__body { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.7rem; justify-content: center; }
.blog-featured__title { margin: 0; font-size: 1.7rem; line-height: 1.05; }
.blog-featured__title a { color: var(--ink); }
.blog-featured:hover .blog-featured__title a { color: var(--accent); }
.blog-featured__excerpt { margin: 0; color: var(--fg); font-size: 1rem; }
.blog-featured__meta,
.post-list--blog .post-card__meta,
.article__meta {
    color: var(--muted); font-size: 0.82rem; display: flex; gap: 0.4rem; align-items: baseline; flex-wrap: wrap;
}

/* Pill de categoria (destaque e post) — mesma pílula translúcida do badge do hero.
   position/z-index: fica ACIMA do link esticado do card (.blog-featured__stretched-link),
   senão o clique na pílula seria roubado pelo overlay e sempre abriria o artigo. */
.blog-featured__cat, .article__cat {
    position: relative; z-index: 2;
    display: inline-block; align-self: flex-start;
    background: var(--accent-soft); border: 1px solid rgba(200, 16, 46, 0.35);
    color: var(--accent); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem; border-radius: 999px;
}
.blog-featured__cat:hover, .article__cat:hover { background: var(--accent); color: var(--accent-fg); text-decoration: none; }

/* Meta no card da grade + excerpt em 3 linhas (grade par). Escopado a --blog para
   não mexer nos cards de produto, que compartilham .post-list/.product-list. */
.post-list--blog > li > a > p {
    padding-bottom: 0.5rem;
    display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-list--blog .post-card__meta { margin: 0; padding: 0.15rem 1rem 1.1rem; }

/* Cards do blog com a mesma altura na grade (sobrescreve align-items: start da
   regra geral .post-list/.product-list, que existe pra loja/serviços). O excerpt
   vira flex: 1 pra absorver a sobra e manter a meta (data/tempo de leitura)
   sempre encostada no rodapé do card, mesmo com títulos de tamanhos diferentes. */
.post-list--blog { align-items: stretch; }
.post-list--blog > li { height: 100%; }
.post-list--blog > li > a > p { flex: 1 0 auto; }
/* Card inteiro é o link (não só o título): a <a> vira o container flex-column
   que antes era o <li>, preenchendo 100% da altura do card. */
.post-list--blog > li > a {
    display: flex; flex-direction: column; height: 100%;
    color: inherit; text-decoration: none;
}
.post-list--blog > li:hover h2 { color: var(--accent); }

/* Cabeçalho editorial do post. */
.article__header { margin: 0 0 1.75rem; }
.article__header .page-title { margin: 0.9rem 0 0; }
.article__dek { margin: 0.9rem 0 0; color: var(--fg); font-size: 1.15rem; line-height: 1.5; }
.article__meta { margin: 1.1rem 0 0; font-size: 0.9rem; }

/* Barra de compartilhar (botões estilo fantasma; alvo de toque ≥44px). */
.article__share {
    display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap;
    margin: 2.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--border);
}
.article__share-label { color: var(--muted); font-weight: 600; font-size: 0.9rem; margin-right: 0.25rem; }
.share-btn {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 1rem;
    border: 1px solid var(--border-strong); border-radius: var(--radius);
    background: transparent; color: var(--fg); font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.share-btn:hover, .share-btn.is-copied { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* Relacionados do blog: garante o grid do .related-cards (especificidade de .related ul). */
.related .related-cards { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.related-cards__meta time { font-weight: 700; }

/* Navegação anterior/próximo (rodapé do post). Duas colunas: prev à esquerda,
   next alinhado à direita. */
.post-nav {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--border);
}
.post-nav__link {
    display: flex; flex-direction: column; gap: 0.35rem;
    padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius);
    color: var(--fg); transition: border-color 0.15s ease, transform 0.15s ease;
}
.post-nav__link--next { text-align: right; }
.post-nav__link--empty { border: 0; padding: 0; }
a.post-nav__link:hover { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }
.post-nav__dir { color: var(--muted); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.post-nav__title { font-weight: 600; line-height: 1.3; }
a.post-nav__link:hover .post-nav__title { color: var(--accent); }

/* Galeria do post e do evento (imagens extras, fora a capa) — mesma linguagem. */
.post-gallery, .event-gallery { margin: 2.5rem 0; }
.post-gallery__title, .event-gallery__title { margin: 0 0 1rem; }
.post-gallery__grid, .event-gallery__grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.post-gallery__item, .event-gallery__item { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; cursor: zoom-in; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.post-gallery__item:hover, .event-gallery__item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.post-gallery__item img, .event-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Eventos relacionados ao post. */
.post-events { margin: 2.5rem 0; }
.post-events__title { margin: 0 0 1rem; }
.post-event { padding: 1.1rem 0; border-top: 1px solid var(--border); }
.post-event:first-of-type { border-top: none; }
.post-event__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.75rem; margin-bottom: 0.7rem; }
.post-event__name { font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.post-event__name:hover { color: var(--accent); }
.post-event__meta { color: var(--muted); font-size: 0.9rem; }
.post-event__grid { display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.post-event__thumb { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; cursor: zoom-in; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.post-event__thumb:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45); }
.post-event__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-event__more { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.1rem; aspect-ratio: 1/1; border-radius: var(--radius); background: var(--soft); border: 1px dashed var(--border-strong); color: var(--muted); font-weight: 700; font-size: 1.05rem; }
.post-event__more small { font-weight: 500; font-size: 0.68rem; }
.post-event__more:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.post-event__link { display: inline-block; margin-top: 0.7rem; font-weight: 600; color: var(--accent); }

@media (max-width: 640px) {
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured__body { padding: 1.25rem; }
    .blog-featured__title { font-size: 1.4rem; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav__link--next { text-align: left; }
    .post-nav__link--empty { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .blog-featured:hover { transform: none; }
    a.post-nav__link:hover { transform: none; }
    .post-gallery__item:hover, .event-gallery__item:hover, .post-event__thumb:hover { transform: none; }
}

/* ── Lightbox de galeria (blog/eventos) — overlay escuro, independe da paleta ── */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; z-index: 200; display: flex; align-items: center; justify-content: center; background: #0b0e14; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; animation: lb-fade 0.2s ease; }
.lightbox__stage { position: relative; z-index: 1; margin: 0; display: flex; align-items: center; justify-content: center; padding: 3vh clamp(3.5rem, 9vw, 6rem); max-width: 100%; max-height: 100%; box-sizing: border-box; }
.lightbox__img { max-width: 100%; max-height: 90vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); animation: lb-zoom 0.2s cubic-bezier(0.22, 1, 0.36, 1); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; transition: background 0.15s ease; }
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: clamp(0.5rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(0.5rem, 3vw, 2rem); }
.lightbox__nav--next svg { transform: scaleX(-1); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; transition: background 0.15s ease; }
.lightbox__close:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__counter { position: absolute; left: 0; right: 0; bottom: 1.2rem; z-index: 3; margin: 0; text-align: center; color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-zoom { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 640px) {
    .lightbox__nav { width: 44px; height: 44px; }
    .lightbox__stage { padding: 2vh 3.2rem; }
    .lightbox__img { max-height: 84vh; }
}
@media (prefers-reduced-motion: reduce) {
    .lightbox__backdrop, .lightbox__img { animation: none; }
    .lightbox__nav, .lightbox__close { transition: none; }
}

/* Forms */
form label { display: block; margin-bottom: 1rem; font-weight: 500; }
input[type=text], input[type=email], input[type=search], input[type=password],
input[type=tel], input[type=url], input[type=number], input[type=datetime-local],
select, textarea {
    width: 100%; padding: 0.6rem; margin-top: 0.3rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit;
    /* Tema dark: forms.css (app-level) não define fundo do controle → herda branco
       do navegador. O tema estiliza os controles na sua própria camada (sem tocar /app). */
    background: var(--soft); color: var(--fg);
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.purchase-form input, .purchase-form select { max-width: 360px; }
.purchase-form {
    background: #131316; border: 1px solid #232327; border-radius: var(--radius);
    padding: 1.25rem 1.5rem; max-width: 420px; margin-top: 1.5rem;
}
.purchase-form__summary { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 1rem; }
.purchase-form__summary strong { font-size: 1.05rem; }
.purchase-form__summary span { color: var(--muted); font-size: 0.9rem; }
.purchase-form__note, .purchase-form__alt { font-size: 0.82rem; color: var(--muted); margin: 0.75rem 0 0; }
.purchase-form--login p:first-child, .purchase-form--access p { margin-top: 0; color: var(--fg); }
.purchase-form .btn-buy { width: auto; display: inline-flex; }

/* Tables (cart) */
table.cart { width: 100%; border-collapse: collapse; }
table.cart th, table.cart td { padding: 0.6rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }

/* Flash / errors */
.flash { padding: 0.8rem 1rem; border-radius: 8px; margin: 1rem 0; }
.flash-success { background: #0f2a1c; color: #6ee7a8; border: 1px solid #1c5138; }
.flash-error { background: #2a1114; color: #fca5ad; border: 1px solid #5a1b23; }
.errors { background: #2a1114; color: #fca5ad; border: 1px solid #5a1b23; border-radius: var(--radius-sm); padding: 0.8rem 1.25rem; }

/* Pagination */
.pagination ul { list-style: none; display: flex; gap: 0.4rem; padding: 0; margin: 2rem 0 0; flex-wrap: wrap; }
.pagination a, .pagination span {
    display: inline-block; padding: 0.4rem 0.75rem;
    border: 1px solid var(--border); border-radius: 6px; color: var(--fg);
}
.pagination .is-active span { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }

/* Video (watch) */
.video { border-radius: var(--radius); overflow: hidden; margin-top: 1rem; }

/* Replay público do evento encerrado (detalhe do evento). */
.event-video {
    position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.5rem;
    border-radius: var(--radius); overflow: hidden; background: #000;
    border: 1px solid #2a2a2e;
}
.event-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Blog categories */
.blog-categories { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1rem 0; }
.blog-categories a[aria-current] { font-weight: 700; }

/* Patrocinadores */
.sponsor-level { margin-bottom: clamp(2rem, 5vw, 3rem); }
.sponsor-level > h2 {
    font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.09em;
    color: var(--muted); font-weight: 700;
    border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; margin-bottom: 1.5rem;
}
.sponsor-grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.sponsor-ouro .sponsor-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.sponsor { text-align: center; }
.sponsor__logo {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 3 / 2; background: #f5f5f7; /* logos precisam de fundo claro p/ contraste */
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: clamp(0.85rem, 2vw, 1.35rem); overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.sponsor__logo:hover {
    border-color: var(--accent); transform: translateY(-2px);
    box-shadow: 0 6px 20px -12px rgba(0,0,0,0.35);
}
.sponsor__logo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.sponsor__mono {
    font-size: 1.6rem; font-weight: 800; letter-spacing: 0.02em;
    color: var(--muted); text-transform: uppercase;
}
.sponsor__name { margin-top: 0.6rem; font-size: 0.92rem; font-weight: 600; color: var(--fg); }
.sponsor__desc { margin: 0.15rem 0 0; font-size: 0.82rem; color: var(--muted); }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border); background: var(--soft);
    padding: 2rem 0; color: var(--muted); font-size: 0.9rem;
}
.site-footer .container { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.footer-nav a { color: var(--fg); font-weight: 500; }
.footer-nav a:hover { color: var(--accent); }
.footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-nav + .footer-meta { padding-top: 1rem; border-top: 1px solid var(--border); }
.footer-social { display: flex; gap: 0.5rem; align-items: center; }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
    border: 1px solid var(--border); border-radius: 999px; color: var(--fg);
    transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.social-icon { display: block; }

/* Página de contato: form + informações do contato padrão */
.contact-layout { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-layout { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.contact-info { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.5rem; background: var(--soft); }
.contact-info h2 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.contact-info__item { margin: 0 0 0.6rem; line-height: 1.5; }
.contact-map { margin: 0.25rem 0 0.85rem; }
.contact-map iframe { width: 100%; height: 200px; border: 0; border-radius: var(--radius); display: block; background: var(--border); }
.contact-map__link { display: inline-block; margin-top: 0.5rem; font-size: 0.9rem; font-weight: 500; }

/* Line-up de eventos (atrações + participantes) — cada atração usa o mesmo
   componente de matchup "vs" do card de lutas da home (.fight__duo etc.),
   pra dar consistência entre a prévia na home e o card completo do evento. */
.lineup { margin: 2.25rem 0; }
.lineup__title { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 0 0 1rem; }
.lineup__card { background: #111113; border: 1px solid #2a2a2e; border-radius: 0.85rem; padding: 1.5rem 1.75rem; margin-bottom: 1rem; }
.lineup__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.lineup__head h3 {
    margin: 0; color: #9ca3af; font-size: 0.72rem; font-weight: 400;
    text-transform: uppercase; letter-spacing: 0.12em; font-family: inherit;
}
.lineup__time { color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; }
.fight__name small { display: block; color: var(--muted); font-weight: 500; font-size: 0.8rem; text-transform: none; letter-spacing: 0; margin-top: 0.15rem; }

/* Ingressos (produtos PPV vendidos pela loja) — mesma linguagem visual do
   .lineup__card (cartão escuro), reforçando que é parte da mesma página. */
.tickets { margin: 2.25rem 0; }
.tickets__title { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 0 0 1rem; }
.tickets__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tickets__card {
    background: #111113; border: 1px solid #2a2a2e; border-radius: 0.85rem;
    padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: 0.75rem;
}
.tickets__thumb { max-width: none; width: calc(100% + 3.5rem); margin: -1.5rem -1.75rem 0; aspect-ratio: 16/9; object-fit: cover; border-radius: 0.85rem 0.85rem 0 0; }
.tickets__name { margin: 0; font-size: 1.05rem; }
.tickets__price { margin: 0; color: var(--accent); font-weight: 700; font-size: 1.15rem; }
.tickets__closed { margin: 0; color: var(--muted); font-size: 0.9rem; }
.tickets__card form { margin: 0; }
/* Contato no rodapé */
.footer-contact { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.footer-contact strong { color: var(--fg); }

/* ============================================================================
   HOME — masthead tipográfico + módulos com forma própria (content-first).
   Gesto forte único: o marcador de acento (var(--accent)) do hero, reusado como
   motivo antes de cada título de seção. Sem grade de cards repetida.
   ============================================================================ */
.home-hero {
    padding: clamp(2rem, 6vw, 4rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    background: var(--accent-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.home-hero__title {
    margin: 0; color: var(--ink);
    font-size: clamp(2.5rem, 9vw, 5.5rem); font-weight: 800;
    letter-spacing: -0.04em; line-height: 1.0; text-wrap: balance;
}
.home-hero__marker {
    display: block; width: 64px; height: 4px; border-radius: 2px;
    background: var(--accent); transform-origin: left;
    margin: clamp(1rem, 2.5vw, 1.5rem) 0 clamp(1rem, 2vw, 1.25rem);
}
.home-hero__lead {
    margin: 0; max-width: 52ch; color: var(--fg);
    font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.5; text-wrap: pretty;
}

/* Seções */
.home-section { margin: clamp(2.5rem, 6vw, 4rem) 0; }
.home-section__head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 0.75rem 1.5rem; flex-wrap: wrap;
    padding-bottom: 0.85rem; margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
    border-bottom: 1px solid var(--border);
}
/* Título de seção — mesma família do título de página, sem a barra de acento. */
.home-section__title {
    margin: 0; color: var(--ink);
    font-family: var(--font-display); text-transform: uppercase; font-weight: 400;
    font-size: 1.5rem; letter-spacing: 0.05em; line-height: 1.05;
}
@media (min-width: 640px) { .home-section__title { font-size: 1.875rem; } }
@media (min-width: 768px) { .home-section__title { font-size: 2.25rem; } }
.home-section__all { font-size: 0.95rem; font-weight: 500; white-space: nowrap; }

/* Blog: 1 destaque editorial + lista compacta */
.home-blog { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); grid-template-columns: 1fr; }
@media (min-width: 720px) { .home-blog { grid-template-columns: 1.45fr 1fr; align-items: start; } }
.home-blog__leadlink { display: block; color: inherit; }
.home-blog__leadlink:hover { text-decoration: none; }
.home-blog__img {
    width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
    border-radius: var(--radius); margin-bottom: 1rem;
}
.home-blog__leadtitle {
    margin: 0; font-size: clamp(1.3rem, 3.4vw, 1.9rem); line-height: 1.2;
    letter-spacing: -0.02em; text-wrap: balance;
}
.home-blog__leadlink:hover .home-blog__leadtitle { color: var(--accent); }
.home-blog__excerpt { margin: 0.6rem 0 0; color: var(--fg); max-width: 58ch; }
.home-blog__list { list-style: none; margin: 0; padding: 0; }
.home-blog__item { padding: 0.9rem 0; border-top: 1px solid var(--border); }
.home-blog__item a { font-weight: 600; }
.home-blog__meta {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; margin-top: 0.25rem; color: var(--muted); font-size: 0.9rem;
}

/* Eventos: agenda com bloco de data */
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda__item { border-top: 1px solid var(--border); }
.agenda__item:last-child { border-bottom: 1px solid var(--border); }
.agenda__link {
    display: grid; grid-template-columns: auto 1fr; align-items: center;
    gap: 1.25rem; padding: 0.9rem 0.25rem; color: inherit;
}
.agenda__link:hover { text-decoration: none; }
.agenda__link:hover .agenda__title { color: var(--accent); }
.agenda__date {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 3.5rem; padding: 0.45rem 0.6rem; line-height: 1;
    background: var(--accent-soft); border: 1px solid var(--border); border-radius: var(--radius);
}
.agenda__day { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--accent); }
.agenda__mon {
    margin-top: 0.2rem; font-size: 0.72rem; text-transform: uppercase;
    letter-spacing: 0.06em; color: var(--muted);
}
.agenda__body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.agenda__title { font-weight: 600; font-size: 1.05rem; }
.agenda__meta { color: var(--muted); font-size: 0.9rem; }

/* Loja: fileira de destaques com preço em evidência */
.home-products {
    list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem;
    /* max fixo evita que 1-2 produtos estiquem o tile (aspect 1/1 viraria enorme) */
    grid-template-columns: repeat(auto-fill, minmax(170px, 230px));
    justify-content: start;
}
.home-products__link { display: flex; flex-direction: column; color: inherit; }
.home-products__link:hover { text-decoration: none; }
.home-products__media {
    display: block; aspect-ratio: 1 / 1; overflow: hidden;
    background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius);
}
.home-products__media img { width: 100%; height: 100%; object-fit: cover; }
.home-products__name { margin-top: 0.6rem; font-weight: 600; }
.home-products__link:hover .home-products__name { color: var(--accent); }
.home-products__price { margin-top: 0.15rem; font-weight: 700; font-size: 1.1rem; }

/* Primeiro acesso (sem conteúdo): diretório das seções ativas */
.home-directory {
    display: grid; gap: 1rem; margin: clamp(1rem, 3vw, 2rem) 0 3rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.home-directory__item {
    display: block; padding: 1.25rem 1.35rem; color: inherit;
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.home-directory__item:hover { background: var(--accent-soft); border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.home-directory__label { display: block; font-weight: 700; font-size: 1.1rem; }
.home-directory__desc { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.92rem; }

/* Motion: revelação discreta do masthead — só translate (o conteúdo, inclusive o
   marcador de acento, permanece SEMPRE visível; nunca animamos a partir de
   opacity:0 ou scaleX:0, para não "esconder" em render headless/aba oculta). */
@media (prefers-reduced-motion: no-preference) {
    .home-hero__title { animation: home-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both; }
    .home-hero__marker { animation: home-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both; }
    .home-hero__lead { animation: home-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both; }
}
@keyframes home-rise { from { transform: translateY(0.5rem); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .home-directory__item:hover { transform: none; }
}

/* ============================================================================
   SISTEMA compartilhado das páginas internas — mesma linguagem da home:
   título com marcador de acento, busca, chips, agenda, prose, detalhe, erro.
   ============================================================================ */

/* Título de página (marcador de acento sob o h1 — eco do masthead) */
/* Título de página — Bebas em caixa alta, como o título de impacto do site do
   cliente. Sem a barrinha de acento herdada do tema base: eles não têm. */
.page-title {
    margin: 0 0 1.5rem; color: var(--ink);
    font-family: var(--font-display); text-transform: uppercase;
    font-size: 1.875rem; font-weight: 400;
    letter-spacing: 0.05em; line-height: 1.05; text-wrap: balance;
}
@media (min-width: 640px) { .page-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .page-title { font-size: 3rem; } }
.page-lead { margin: 0 0 2rem; max-width: 60ch; color: var(--fg); font-size: clamp(1rem, 2vw, 1.15rem); }

/* Busca (blog/loja) */
.search-form { display: flex; gap: 0.5rem; margin: 0 0 1.5rem; max-width: 480px; }
.search-form input { margin: 0; flex: 1; min-width: 0; }
.search-form button { flex: none; }

/* Chips de categoria (blog) */
.blog-categories { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 2rem; }
.blog-categories a {
    padding: 0.3rem 0.85rem; border: 1px solid var(--border); border-radius: 999px;
    font-size: 0.9rem; color: var(--fg);
}
.blog-categories a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.blog-categories a[aria-current] {
    background: var(--accent); border-color: var(--accent); color: var(--accent-fg); font-weight: 600;
}

/* Agenda (eventos — mesma da home; margem de topo quando usada em lista de página) */
.event-page .agenda { margin-top: 0.5rem; }

/* Conteúdo longo (prose): posts, páginas, descrições */
.prose { max-width: 70ch; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; letter-spacing: -0.02em; }
.prose h3 { margin-top: 1.5rem; font-size: 1.2rem; }
.prose p, .prose li { line-height: 1.7; }
.prose a { text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; }
.prose p { text-wrap: pretty; }
.prose blockquote {
    margin: 1.5rem 0; padding: 1rem 1.25rem;
    background: var(--accent-soft); border-radius: var(--radius);
    color: var(--fg); font-style: italic;
}

/* Artigo / detalhe (post, evento) */
/* ── Capa do evento (fixa, antes do texto, full-bleed) ──────────────────────
   Substitui o h1/meta que existiam soltos no artigo — todo evento mostra esta
   capa (marca, título, ficha de transmissão/data/local, disciplinas, contagem
   regressiva quando agendado e CTA + selo "ao vivo"). O que varia por evento é
   só a arte de fundo: com capa cadastrada, a foto entra com gradiente escuro
   por cima (contraste WCAG); sem capa, um fundo sólido escuro no lugar. */
.event-banner {
    width: 100vw; margin-left: calc(50% - 50vw);
    background-size: cover; background-position: center; background-repeat: no-repeat;
    padding: clamp(3rem, 9vw, 6rem) 1.5rem;
}
.event-banner--solid { background-image: linear-gradient(160deg, #18181b, #0a0a0b); }
.event-banner__content { max-width: 52rem; margin: 0 auto; text-align: center; }
/* Respiro entre a capa full-bleed e o conteúdo do artigo logo abaixo. */
.event-banner + .article { margin-top: clamp(2rem, 5vw, 3.25rem); }
.event-banner__brand {
    margin: 0 0 0.75rem; color: var(--accent); font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 0.3em;
}
.event-banner__title {
    margin: 0 0 1.75rem; color: #fff; font-family: var(--font-display); text-transform: uppercase;
    letter-spacing: 0.02em; line-height: 0.95; font-size: clamp(2.25rem, 7vw, 4.5rem);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7); text-wrap: balance;
}
.event-banner__facts {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem;
    margin: 0 0 1.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, 0.15); border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.event-banner__fact { display: flex; flex-direction: column; gap: 0.3rem; }
.event-banner__fact-label { color: #b9b9bd; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; }
.event-banner__fact strong { color: #fff; font-size: 1.05rem; font-weight: 700; }
.event-banner__disciplines { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 0 0 2rem; }
.event-banner__disciplines span {
    padding: 0.35rem 0.9rem; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
    color: #fff; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
}
.event-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem; }
.event-banner__live {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: #fff; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
}
@media (max-width: 560px) {
    .event-banner__facts { gap: 1rem 1.75rem; }
}

.article { max-width: 760px; }
.article > .page-title { margin-bottom: 0.75rem; }
.detail-meta { margin: 0 0 1.5rem; color: var(--muted); font-size: 1.05rem; }
.detail-meta strong { color: var(--fg); }
.article__cover { width: 100%; border-radius: var(--radius); margin: 0 0 1.75rem; }

/* Produto: mídia + info em 2 colunas no desktop */
.product-detail { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .product-detail { grid-template-columns: 1fr 1fr; align-items: start; } }
.product-detail__media img { width: 100%; border-radius: var(--radius); }
/* Galeria do produto: imagem principal + miniaturas + vídeos. */
.gallery__main-img { width: 100%; border-radius: var(--radius); display: block; aspect-ratio: 1 / 1; object-fit: cover; background: var(--soft); }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: none; width: 64px; height: 64px; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb-video { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--fg); color: #fff; font-size: 1.3rem; }
.gallery__thumb.is-active { border-color: var(--accent); }
.gallery__thumb:hover { border-color: var(--border-strong); }
.gallery__video { margin-top: 0.75rem; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.gallery__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.product-detail__media--empty {
    aspect-ratio: 1 / 1; background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius);
}
.product-detail .price { margin: 0.25rem 0 1.25rem; }

/* Relacionados / aside de lista */
.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related h2 { margin: 0 0 1rem; font-size: 1.2rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.related .agenda { gap: 0; }
/* "Veja também" (produtos) — mini-cards para preencher o detalhe sem deixá-lo oco. */
.related-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); align-items: start; }
.related-cards a { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--fg); transition: border-color 0.15s ease, transform 0.15s ease; }
.related-cards a:hover { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }
.related-cards img, .related-cards .media-placeholder { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; font-size: 1.6rem; }
.related-cards__name { padding: 0.6rem 0.7rem 0; font-weight: 600; }
.related-cards__meta { padding: 0.25rem 0.7rem 0.7rem; color: var(--muted); font-weight: 700; }

/* Detalhe (evento/post) não estica prosa demais numa tela larga. */
.article { max-width: 820px; }

/* Seletor de meio de pagamento no checkout */
.payment-methods { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1rem 0; }
.payment-methods legend { font-weight: 600; padding: 0 0.4rem; }
.payment-option { display: flex; align-items: center; gap: 0.6rem; margin: 0.35rem 0; }
.payment-option input { width: auto; margin: 0; }

/* Pagamento PIX (copia e cola) */
.pix { max-width: 560px; }
.pix__amount { font-size: 1.15rem; }
.pix__help { color: var(--muted); }
.pix__qr { display: inline-block; padding: 0.75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin: 0.5rem 0 1.25rem; line-height: 0; }
.pix__qr svg { display: block; }
.pix__code { width: 100%; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.85rem; word-break: break-all; resize: vertical; background: var(--soft); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 0.75rem; }
.pix__actions { margin: 1rem 0; }
.pix__copy { cursor: pointer; }
.pix__note { color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Barra de ações / voltar */
.back-link { display: inline-block; margin: 0 0 1.5rem; color: var(--muted); font-weight: 500; }
.back-link:hover { color: var(--accent); }
.action-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0 0 2rem; }
.action-row form { margin: 0; }

/* "Meus eventos" (conta) */
.account-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.account-events__item {
    display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between;
    background: #131316; border: 1px solid #232327; border-radius: var(--radius); padding: 1rem 1.25rem;
}
.account-events__info { display: flex; flex-direction: column; gap: 0.15rem; }
.account-events__meta { color: var(--muted); font-size: 0.85rem; }

/* Página de erro — masthead centralizado (eco do hero da home) */
.error-page { padding: clamp(3rem, 10vw, 6rem) 0; text-align: center; }
.error-page__code {
    margin: 0; color: var(--fg); font-weight: 800; line-height: 1;
    font-size: clamp(4rem, 15vw, 9rem); letter-spacing: -0.04em;
}
.error-page__msg { margin: 1rem auto 2rem; max-width: 40ch; color: var(--muted); font-size: 1.15rem; }

/* Página estática com sidebar — responsivo (empilha no mobile) */
.page-with-sidebar { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .page-with-sidebar { grid-template-columns: 1fr 260px; } }
.page-with-sidebar .sidebar { min-width: 0; }

/* ============================================================================
   POLISH — foco acessível, estados de botão, alvos de toque, reduced-motion.
   ============================================================================ */
a:focus-visible, button:focus-visible, .button:focus-visible,
[tabindex]:focus-visible, summary:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
button:active, .button:active { transform: translateY(1px); }

/* Alvos de toque ≥ ~44px em telas de toque (nav, chips, paginação) */
@media (pointer: coarse) {
    .site-nav__link, .nav-dropdown__trigger { padding: 0.5rem 0; }
    .blog-categories a { padding: 0.6rem 1rem; }
    .pagination a, .pagination span { padding: 0.6rem 0.95rem; }
}

/* Sem movimento: neutraliza os hovers/estados que transladam */
@media (prefers-reduced-motion: reduce) {
    .post-list > li:hover, .product-list > li:hover { transform: none; }
    button:active, .button:active { transform: none; }
}

/* ============================================================================
   SLIDESHOW (Swiper) — carrossel da home. Config vem do admin via data-attrs.
   ============================================================================ */
/* Hero full-bleed: quebra o container e cola no header.
   A imagem grande do topo é o slide em destaque; a altura vem do admin. */
.slideshow {
    margin: 0 0 clamp(2rem, 5vw, 3.5rem);
    width: 100vw; margin-left: calc(50% - 50vw); /* full-bleed edge-to-edge */
}
main.container > .slideshow:first-child { margin-top: calc(-1 * var(--main-pad-top, 2.5rem)); }
.slideshow .swiper { width: 100%; border-radius: 0; overflow: hidden; }
.slideshow .swiper-slide {
    position: relative; height: var(--slideshow-h, 560px); min-height: 360px;
    background: #000; overflow: hidden;
}
.slide-img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Badge "AO VIVO" no canto superior esquerdo */
.slide-live {
    position: absolute; top: 1.1rem; left: 1.1rem; z-index: 3;
    display: inline-flex; align-items: center; gap: 0.42rem;
    background: var(--accent); color: #fff; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.09em; font-size: 0.72rem; padding: 0.34rem 0.72rem; border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px -4px rgba(200, 16, 46, 0.7);
}
.slide-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .slide-live__dot { animation: none; } }
.slide-caption {
    position: absolute; inset: auto 0 0 0;
    padding: clamp(1.5rem, 5vw, 3rem); padding-bottom: clamp(2.75rem, 6vw, 3.5rem);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
    color: #fff;
}
.slideshow .swiper-pagination { bottom: 0.6rem; }
.slide-title {
    margin: 0; font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
    color: #fff; letter-spacing: 0.01em; text-wrap: balance;
    font-size: clamp(2rem, 6vw, 4rem); line-height: 1.0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}
.slide-text {
    margin: 0.6rem 0 0; max-width: 52ch; color: #f3f4f6;
    font-size: clamp(0.95rem, 2vw, 1.2rem); text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.slide-btn { margin-top: 1.1rem; }
/* Controles do Swiper na cor do tema */
.slideshow .swiper-button-prev, .slideshow .swiper-button-next { color: #fff; }
.slideshow .swiper-button-prev::after, .slideshow .swiper-button-next::after { font-size: 1.6rem; }
.slideshow .swiper-pagination-bullet { background: #fff; opacity: 0.6; }
.slideshow .swiper-pagination-bullet-active { background: var(--accent); opacity: 1; }

/* ============================================================================
   Comportamento sob VOLUME (listas longas, itens sem imagem, carregar mais)
   ============================================================================ */

/* Cards alinham ao topo: item sem imagem não estica até a altura do vizinho. */
.post-list, .product-list { align-items: start; }

/* Placeholder para item sem foto (produto na lista e no detalhe). */
.media-placeholder {
    display: flex; align-items: center; justify-content: center;
    width: 100%; aspect-ratio: 16 / 10;
    background: var(--accent-soft); color: var(--accent);
    font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
}
.product-detail__media--empty { display: flex; align-items: center; justify-content: center; padding: 0; }
.product-detail__media--empty .media-placeholder { aspect-ratio: 1 / 1; font-size: 4rem; border-radius: var(--radius); }

/* "Carregar mais" — ocupa a largura toda da grade; neutraliza o visual de card. */
.load-more-row {
    grid-column: 1 / -1; display: flex; justify-content: center;
    border: 0; background: transparent; overflow: visible; margin-top: 0.25rem;
}
.load-more-row:hover { transform: none; border-color: transparent; }
.btn-load-more {
    display: inline-block; padding: 0.7rem 1.6rem; background: var(--bg); color: var(--fg);
    border: 1px solid var(--border-strong); border-radius: var(--radius); font-weight: 600; cursor: pointer;
}
.btn-load-more:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-load-more.htmx-request { opacity: 0.55; pointer-events: none; }

/* Filtro de categorias colapsável (top-N + "mais categorias"). Chips consistentes. */
.blog-categories a, .blog-categories__extra a {
    display: inline-block; padding: 0.35rem 0.85rem; border: 1px solid var(--border-strong);
    border-radius: 999px; color: var(--fg); font-size: 0.9rem; line-height: 1.2;
}
.blog-categories a:hover, .blog-categories__extra a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.blog-categories a[aria-current], .blog-categories__extra a[aria-current] {
    background: var(--accent); border-color: var(--accent); color: var(--accent-fg); font-weight: 600;
}
.blog-categories__more { position: relative; }
.blog-categories__more summary {
    cursor: pointer; color: var(--accent); font-weight: 600; list-style: none; padding: 0.35rem 0;
}
.blog-categories__more summary::-webkit-details-marker { display: none; }
.blog-categories__more[open] { flex-basis: 100%; }
.blog-categories__extra { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }

/* Barra de listagem (busca + ordenação) e contagem de resultados. */
.list-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1rem 0 1.25rem; }
.list-toolbar input[type=search] { width: auto; flex: 1 1 220px; margin-top: 0; }
.list-toolbar__sort { margin: 0; display: flex; flex: 0 0 auto; }
.list-toolbar__sort select { width: auto; margin-top: 0; }
.list-toolbar button { flex: 0 0 auto; }
.list-count { color: var(--muted); font-size: 0.9rem; margin: 0 0 1rem; }
.empty-note { color: var(--muted); padding: 2rem 0; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Filtro de categorias da Loja — mesmos chips do blog (colapsável top-N + "mais"). */
.store-categories { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 0 0 2rem; }
.store-categories a, .store-categories__extra a {
    display: inline-block; padding: 0.35rem 0.85rem; border: 1px solid var(--border-strong);
    border-radius: 999px; color: var(--fg); font-size: 0.9rem; line-height: 1.2;
}
.store-categories a:hover, .store-categories__extra a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.store-categories a[aria-current], .store-categories__extra a[aria-current] {
    background: var(--accent); border-color: var(--accent); color: var(--accent-fg); font-weight: 600;
}
.store-categories__more summary {
    cursor: pointer; color: var(--accent); font-weight: 600; list-style: none; padding: 0.35rem 0;
}
.store-categories__more summary::-webkit-details-marker { display: none; }
.store-categories__more[open] { flex-basis: 100%; }
.store-categories__extra { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.75rem; }
.product-detail__category { margin: 0 0 0.35rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.product-detail__category a { color: var(--muted); }
.product-detail__category a:hover { color: var(--accent); }

/* Serviços: grade de cards (card inteiro clicável). Mesma linguagem do blog/loja. */
.service-list {
    list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}
.service-card {
    display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--bg);
    border: 1px solid var(--border); border-radius: var(--radius); color: var(--fg);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card .media-placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; font-size: 2.5rem; }
.service-card h2 { margin: 0; padding: 1rem 1rem 0; font-size: 1.1rem; letter-spacing: -0.01em; }
.service-card:hover h2 { color: var(--accent); }
.service-card p { margin: 0; padding: 0.5rem 1rem 1.1rem; color: var(--muted); font-size: 0.95rem; }

/* Breadcrumb (trilha de navegação; liga/desliga por Setting). Home não exibe. */
.breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.55rem;
    margin: 0 0 1.5rem; font-size: 0.9rem; color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--fg); font-weight: 600; }
.breadcrumb__sep { color: var(--border-strong); }

/* Login social */
.social-login { max-width: 400px; margin: 1.25rem 0; }
.social-login__sep { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .85rem; margin: 1rem 0; }
.social-login__sep::before, .social-login__sep::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.social-login__buttons { display: grid; gap: .6rem; }
.social-btn {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .7rem 1rem; border: 1px solid var(--border-strong); border-radius: var(--radius);
    color: var(--fg); font-weight: 600; background: var(--bg);
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.social-btn--google:hover { border-color: #ea4335; color: #ea4335; }
.social-btn--facebook:hover { border-color: #1877f2; color: #1877f2; }
.social-btn--apple:hover { border-color: #000; color: #000; }

/* ============================================================================
   PÁGINAS DE PORTÃO (manutenção / em breve) — layout "bare": sem menu/rodapé.
   Centralizadas na viewport, só a casca do tema. Ver layout.php + maintenance.php
   ============================================================================ */
body.is-bare main.container {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; padding: 2rem 1.5rem;
}
.gate { width: 100%; }
.gate__inner { max-width: 560px; margin: 0 auto; text-align: center; }
.gate__logo { max-height: 68px; width: auto; margin: 0 auto 1.75rem; display: block; }
.gate__brand {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em;
    font-size: clamp(1.6rem, 5vw, 2.2rem); color: var(--ink); margin: 0 0 1.5rem;
}
.gate__title { font-size: clamp(2rem, 6vw, 3.4rem); margin: 0 0 1rem; }
.gate__title::after {
    content: ""; display: block; width: 64px; height: 4px; margin: 1.1rem auto 0;
    background: var(--accent); border-radius: 999px;
}
.gate__message {
    color: var(--muted); font-size: 1.1rem; line-height: 1.6;
    margin: 0 auto; max-width: 42ch;
}

/* Newsletter (rodapé) — dirigido por tokens do tema */
.footer-newsletter { margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.newsletter-form__label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--ink); }
.newsletter-form__row { display: flex; gap: 0.5rem; flex-wrap: wrap; max-width: 480px; }
.newsletter-form__input { flex: 1 1 220px; padding: 0.6rem 0.8rem; border: 1px solid var(--border); border-radius: var(--radius-sm, 6px); background: var(--soft); color: var(--fg); font: inherit; }
.newsletter-form__input:focus { outline: none; border-color: var(--accent); }
.newsletter-form__btn { padding: 0.6rem 1.3rem; border: 1px solid var(--accent); border-radius: var(--radius-sm, 6px); background: var(--accent); color: var(--accent-fg, #fff); font-weight: 700; cursor: pointer; white-space: nowrap; }
.newsletter-form__btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* Cupom no checkout */
.checkout-coupon { margin: 1.25rem 0; }
.coupon-form__row { display: flex; gap: 0.5rem; flex-wrap: wrap; max-width: 420px; }
.coupon-form__row input { flex: 1 1 180px; }
.coupon-applied { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.summary-discount strong { color: var(--accent); }

/* Checkout: dados do comprador — mesma linguagem visual de .shipping-methods/
   .payment-methods (fieldset com borda), pra agrupar visualmente sem introduzir
   um padrão novo. */
.buyer-fields { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 1rem; }
.buyer-fields legend { font-weight: 600; padding: 0 0.4rem; }
.checkout-digital-note { margin: 1rem 0; }
[data-checkout-submit]:disabled { opacity: 0.7; cursor: wait; }

/* ============================================================================
   HOME — faixa de diferenciais + CTA de newsletter
   ============================================================================ */
/* Faixa de diferenciais — sem ícone nem card repetido: cada item usa o mesmo
   marcador de acento do masthead (.home-hero__marker), gesto único reaproveitado
   em vez de uma grade de caixinhas ícone+texto. */
.home-features {
    width: 100vw; margin-left: calc(50% - 50vw); margin-top: clamp(2.5rem, 6vw, 4rem);
    padding: 2.5rem 0; background: var(--bg); border-top: 1px solid #2a2a2e;
}
@media (min-width: 640px) { .home-features { padding: 3.5rem 0; } }
.home-features__grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .home-features__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.home-feature { text-align: left; }
.home-feature__marker {
    display: block; width: 40px; height: 3px; border-radius: 2px;
    background: var(--accent); margin: 0 0 0.85rem;
}
.home-feature__title {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
    font-size: 1.15rem; line-height: 1.2; margin: 0; font-weight: 400; color: var(--ink);
}
@media (min-width: 640px) { .home-feature__title { font-size: 1.3rem; } }
.home-feature__text { color: #9ca3af; margin: 0.4rem 0 0; font-size: 0.9rem; line-height: 1.55; max-width: 32ch; }

/* CTA — mesma linguagem restrita do resto do tema (fundo com leve tinta de
   marca, sem malha decorativa nem glow). */
.home-cta {
    position: relative; text-align: center;
    width: 100vw; margin-left: calc(50% - 50vw);
    padding: 3rem 1.5rem;
    background: linear-gradient(to bottom right, rgba(200, 16, 46, 0.14), var(--bg) 65%);
    border-top: 1px solid #2a2a2e;
}
@media (min-width: 1024px) { .home-cta { padding: 5rem 2rem; } }
.home-cta__inner { position: relative; max-width: 42rem; margin: 0 auto; }
.home-cta__title { font-size: 1.875rem; margin: 0 0 1rem; }
@media (min-width: 640px) { .home-cta__title { font-size: 2.25rem; } }
@media (min-width: 768px) { .home-cta__title { font-size: 3.75rem; } }
.home-cta__lead { color: #9ca3af; margin: 0 0 1.5rem; font-size: 1rem; line-height: 1.5; }
@media (min-width: 640px) { .home-cta__lead { font-size: 1.125rem; margin-bottom: 2rem; } }
.home-cta__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--accent); color: var(--accent-fg);
    border: 1px solid var(--accent); border-radius: 0.5rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 640px) { .home-cta__btn { padding: 1.25rem 2.5rem; font-size: 1rem; } }
.home-cta__btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-fg); text-decoration: none; }
.home-cta .newsletter-form { display: inline-block; text-align: left; }
.home-cta .newsletter-form__row { justify-content: center; max-width: 480px; }

/* ============================================================================
   FOOTER — 3 colunas (Navegação | Contato | Newsletter) + barra inferior
   ============================================================================ */
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem 2.5rem; padding: 2.75rem 0 2rem; }
.footer-col__title { font-size: 1.2rem; margin: 0 0 1.1rem; letter-spacing: 0.08em; color: var(--ink); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-contact-list { color: var(--muted); line-height: 1.5; }
.footer-col__text { color: var(--muted); margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.55; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; flex-wrap: wrap; }
.footer-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }
/* No rodapé, o título "Newsletter" já é o <h3> — esconde o label duplicado do form. */
.footer-col .newsletter-form__label { display: none; }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    padding: 1.25rem 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem;
}
.footer-brand { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; color: var(--ink); letter-spacing: 0.02em; display: inline-flex; align-items: center; }
.footer-logo { max-height: 34px; width: auto; display: block; }
.footer-sitemap { color: var(--muted); }
.footer-sitemap:hover { color: var(--accent); }

/* Footer — bloco de marca (logo + frase) */
.footer-col--brand { max-width: 340px; }
.footer-logo-lg { max-height: 78px; width: auto; margin-bottom: 1.1rem; display: block; }
.footer-brand-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1.9rem; color: var(--ink); letter-spacing: 0.02em; display: block; margin-bottom: 1.1rem; }
.footer-tagline { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0; max-width: 36ch; }

/* Hero: no desktop a arte ocupa a altura da janela menos o header
   (h-[calc(100vh-8.5rem)]) com object-cover/center; no mobile a imagem aparece
   inteira (w-full h-auto). */
.slideshow .swiper-slide { height: auto; min-height: 0; }
.slideshow .swiper-slide .slide-img { height: auto; object-fit: contain; }
@media (min-width: 640px) {
    .slideshow .swiper-slide { height: calc(100vh - 8.5rem); }
    .slideshow .swiper-slide .slide-img { height: 100%; object-fit: cover; object-position: center; }
}

/* ── Evento em destaque (hero + card de lutas em UMA seção só) ──────────────
   .event-hero__top: bloco alinhado à esquerda, título em Bebas 4xl->7xl e badge
   "ao vivo"/"próximo evento" em pílula vermelha translúcida. Em telas largas
   vira grid 2 colunas: texto | countdown (ver .event-hero__text/__side).
   .event-hero__fightcard: o card de lutas do mesmo evento, logo abaixo — mesma
   seção visual, sem a quebra que existia antes entre hero e "Card de lutas". */
.event-hero { padding: 1.25rem 0 2.5rem; }
@media (min-width: 640px) { .event-hero { padding: 2rem 0 3.5rem; } }
/* Com capa: fundo opaco (foto do evento) SÓ no bloco superior (título/countdown)
   — vira um cartão com respiro e cantos arredondados; o card de lutas abaixo
   (.event-hero__fightcard) fica de fora, com o fundo sólido normal. O gradiente
   escuro (aplicado inline) garante contraste do texto. */
.event-hero__top--photo {
    background-size: cover; background-position: center; background-repeat: no-repeat;
    border-radius: 0.85rem; padding: 2rem 1.5rem 2.5rem;
}
@media (min-width: 640px) { .event-hero__top--photo { padding: 2.5rem 2rem 3.5rem; } }
.event-hero__top { max-width: 48rem; }
@media (min-width: 900px) {
    .event-hero__top {
        max-width: none; display: grid; grid-template-columns: 1.5fr 1fr;
        align-items: center; gap: 2.5rem;
    }
    .event-hero__side { display: flex; justify-content: flex-end; }
    .countdown { margin-bottom: 0; }
}
.event-hero__fightcard { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.event-hero__badge {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem;
    padding: 0.25rem 0.75rem; border-radius: 999px;
    background: rgba(200, 16, 46, 0.1); border: 1px solid rgba(200, 16, 46, 0.3);
    color: var(--accent); font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
}
.event-hero__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: livePulse 1.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .event-hero__dot { animation: none; } }
.event-hero__title {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
    font-size: 2.25rem; line-height: 0.95; margin: 0 0 1rem; font-weight: 400; color: var(--ink);
}
@media (min-width: 640px)  { .event-hero__title { font-size: 3rem; } }
@media (min-width: 768px)  { .event-hero__title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .event-hero__title { font-size: 4.5rem; } }
.event-hero__lead {
    color: #9ca3af; font-size: 0.875rem; margin: 0 0 1.25rem; max-width: 42rem; line-height: 1.6;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
}
@media (min-width: 768px) { .event-hero__lead { font-size: 1.125rem; } }
.event-hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem; }
.event-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }

/* Contagem regressiva */
.countdown { margin-bottom: 1.75rem; }
.countdown__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: #9ca3af; margin: 0 0 0.75rem; }
.countdown__row { display: flex; gap: 0.5rem; }
/* Variante centralizada (banner do evento, poster centralizado) */
.countdown--center .countdown__row { justify-content: center; }
@media (min-width: 768px) { .countdown__row { gap: 1rem; } }
.countdown__cell { display: flex; flex-direction: column; align-items: center; }
.countdown__num {
    min-width: 64px; padding: 0.75rem;
    background: #1a1a1d; border: 1px solid #2a2a2e; border-radius: 0.5rem;
    font-family: var(--font-display); font-size: 1.875rem; line-height: 1;
    letter-spacing: 0.05em; color: var(--ink); text-align: center;
}
@media (min-width: 768px) { .countdown__num { min-width: 88px; padding: 1rem 1.25rem; font-size: 3rem; } }
.countdown__unit { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; color: #9ca3af; margin-top: 0.5rem; }

/* Tela de espera de /assistir (comprador com acesso pago, vídeo ainda não liberado) */
.watch__waiting { text-align: center; padding: 3rem 1rem; }
.watch__waiting p { color: var(--muted); font-size: 1rem; margin-bottom: 1.5rem; }

.btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border: 2px solid var(--accent); border-radius: 0.5rem;
    color: var(--accent); font-size: 0.875rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-outline:hover { background: var(--accent); color: var(--accent-fg); text-decoration: none; }

/* Atletas em destaque */
.athletes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.athlete { position: relative; border: 1px solid #2a2a2e; border-radius: 0.75rem; overflow: hidden; background: #111113; }
.athlete__photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.athlete__body { padding: 1rem; }
.athlete__name { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.25rem; margin: 0; font-weight: 400; color: var(--ink); }
.athlete__meta { color: #9ca3af; font-size: 0.8rem; margin: 0.25rem 0 0; }

/* Faixa de patrocinadores */
.sponsor-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.sponsor-strip__item {
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 16 / 9; padding: 0.75rem;
    background: #111113; border: 1px solid #2a2a2e; border-radius: 0.75rem;
    transition: border-color 0.2s ease;
}
@media (min-width: 640px) { .sponsor-strip__item { padding: 1.25rem; } }
a.sponsor-strip__item:hover { border-color: rgba(200, 16, 46, 0.6); }
.sponsor-strip__item img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0.7; transition: opacity 0.2s ease; }
a.sponsor-strip__item:hover img { opacity: 1; }

/* ── Transmissão ao vivo + Loja ("home-split") ───────────────────────────────
   Bloco full-bleed com borda superior; "Assista agora" e "Loja oficial" lado a
   lado em desktop (grid 2 colunas), empilhados no mobile. Quando só um dos dois
   existe (sem vídeo OU sem produtos em destaque), .home-split--solo cai para
   1 coluna full-width em vez de deixar metade vazia. */
.home-split {
    width: 100vw; margin-left: calc(50% - 50vw);
    padding: 2.5rem 0; border-top: 1px solid #2a2a2e; background: var(--bg);
}
@media (min-width: 640px) { .home-split { padding: 3.5rem 0; } }
.home-split__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.home-watch__title {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
    font-size: 1.875rem; margin: 0.5rem 0 0; font-weight: 400; color: var(--ink);
}
@media (min-width: 640px) { .home-watch__title { font-size: 2.25rem; } }
@media (min-width: 768px) { .home-watch__title { font-size: 3rem; } }
.home-split__store-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 0.75rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; text-align: center;
}

/* ── Em destaque: card de lutas ──────────────────────────────────────────── */
.featured { display: block; }

.fightcard { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }

/* Cartão de luta — o card inteiro é um link pro evento (affordance clara: quem
   quer ver a luta completa clica em qualquer parte, não só no "Card completo"
   no topo da seção). Hover levanta o card e acende a borda; a foto do lutador
   ganha leve zoom, sinalizando interatividade sem ser um efeito gratuito. */
.fight {
    list-style: none; background: #111113; border: 1px solid #2a2a2e; border-radius: 0.85rem;
    overflow: hidden; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.fight:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.6); }
.fight__link { display: block; padding: 1.5rem 1.75rem 1.75rem; color: inherit; }
.fight__link:hover { text-decoration: none; }
.fight__head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.25rem; }
.fight__num {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 0.5rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(200, 16, 46, 0.1); color: var(--accent);
    font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.05em;
    transition: background 0.2s ease, color 0.2s ease;
}
.fight:hover .fight__num { background: var(--accent); color: var(--accent-fg); }
.fight__meta { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.fight__cat {
    margin: 0; color: #9ca3af; font-size: 0.72rem;
    text-transform: uppercase; letter-spacing: 0.12em;
}
.fight__time { color: var(--accent); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; }

/* Duo: cada lutador é um bloco com retrato grande em cima do nome — o visitante
   identifica quem é quem de cara, não só um ícone decorativo. */
.fight__duo { margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem; }
.fight__fighter { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; min-width: 130px; }
.fight__avatar {
    flex-shrink: 0; width: 130px; height: 130px; border-radius: 0.85rem; overflow: hidden;
    background: var(--soft); border: 1px solid #2a2a2e;
}
.fight__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 0.3s ease; }
.fight:hover .fight__avatar img { transform: scale(1.06); }
.fight__avatar-initial {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background: rgba(200, 16, 46, 0.1); color: var(--accent); font-weight: 700; font-size: 2.75rem;
}
.fight__name {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
    font-size: 1.3rem; line-height: 1.1; color: var(--ink);
}
/* "VS" central com traços diagonais — mesma linguagem do "linha destaque" da
   marca (traço vermelho), sem ser um gradiente ou uma borda lateral decorativa. */
.fight__vs {
    align-self: center; display: flex; align-items: center; gap: 0.5rem;
    color: var(--accent); font-family: var(--font-display); font-size: 1.3rem;
    letter-spacing: 0.04em; line-height: 1;
}
.fight__vs::before, .fight__vs::after { content: ""; width: 14px; height: 2px; background: var(--accent); transform: skewX(-25deg); }

@media (max-width: 640px) {
    .fight__link { padding: 1.25rem 1.25rem 1.5rem; }
    .fight__avatar { width: 96px; height: 96px; }
    .fight__fighter { min-width: 96px; }
    .fight__name { font-size: 1.05rem; }
}
@media (max-width: 400px) {
    .fight__duo { gap: 0.85rem; }
    .fight__vs { flex-direction: column; gap: 0.3rem; }
    .fight__vs::before, .fight__vs::after { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .fight, .fight__num, .fight__avatar img { transition: none; }
    .fight:hover { transform: none; }
    .fight:hover .fight__avatar img { transform: none; }
}


/* "+N lutas no card completo" — chamada abaixo das lutas mostradas na home. */
.fightcard__more {
    display: inline-block; margin-top: 0.9rem;
    color: #9ca3af; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
}
.fightcard__more:hover { color: var(--accent); text-decoration: none; }

/* Faixa promocional (slides além do primeiro) */
.home-banner { padding: 1.5rem 0; }
@media (min-width: 768px) { .home-banner { padding: 2rem 0; } }
.home-banner img { width: 100%; height: auto; display: block; border-radius: 1rem; }
.home-banner__link { display: block; }

/* Grupos da agenda de eventos (Ao vivo / Próximos / Anteriores) */
.event-group {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
    font-size: 1.75rem; font-weight: 400; color: var(--ink);
    margin: 2.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #2a2a2e;
}
.event-page > .event-group:first-child { margin-top: 0; }
/* "Ao vivo agora": o cabeçalho do grupo é o próprio badge (não um título de
   texto simples) — sem a tipografia display/uppercase do .event-group normal,
   que competiria visualmente com o badge. */
.event-group--live { border-bottom: none; padding-bottom: 0; margin-bottom: 1.25rem; }
/* Eventos já encerrados ficam em segundo plano, sem sumir. */
.agenda--past .agenda__item { opacity: 0.62; }
.agenda--past .agenda__item:hover { opacity: 1; }
/* Eventos ao vivo agora: destacados (oposto do dimming de "anteriores"), com
   fundo com leve tinta de marca em vez de borda lateral colorida. */
.agenda--live .agenda__item { border: none; }
.agenda--live .agenda__link {
    background: var(--soft); border: 1px solid rgba(200, 16, 46, 0.35);
    border-radius: var(--radius); padding: 0.9rem 1rem; margin: 0.5rem 0;
}
.agenda--live .agenda__item:first-child { border-top: none; }
.agenda--live .agenda__item:last-child { border-bottom: none; }

/* O CTA de patrocínio reaproveita o bloco da home, sem o recuo full-bleed extra. */
.sponsors-cta { margin-top: clamp(2.5rem, 6vw, 4rem); }

/* ── Perguntas frequentes (contato) ─────────────────────────────────────────
   <details> nativo: acordeão acessível e sem JS. */
.faq { margin-top: clamp(2.5rem, 6vw, 4rem); }
.faq__title {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
    font-size: 1.875rem; font-weight: 400; color: var(--ink); margin: 0 0 1.25rem;
}
@media (min-width: 768px) { .faq__title { font-size: 2.25rem; } }
.faq__list { display: grid; gap: 0.6rem; }
.faq__item { background: #111113; border: 1px solid #2a2a2e; border-radius: 0.75rem; }
.faq__q {
    cursor: pointer; list-style: none; padding: 1rem 1.15rem;
    font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--accent); font-size: 1.35rem; line-height: 1; flex-shrink: 0; }
.faq__item[open] .faq__q::after { content: "−"; }
.faq__item[open] .faq__q { color: var(--accent); }
.faq__a { padding: 0 1.15rem 1.15rem; color: #9ca3af; line-height: 1.65; }

/* ── Contato: canal principal em destaque + demais canais ──────────────────── */
.channel-hero {
    text-align: center; padding: 2rem 1.25rem; margin-bottom: 2rem;
    background: linear-gradient(to bottom right, rgba(200, 16, 46, 0.12), var(--soft));
    border: 1px solid #2a2a2e; border-radius: 0.75rem;
}
.channel-hero__title {
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
    font-size: 1.5rem; font-weight: 400; color: var(--ink); margin: 0 0 0.5rem;
}
@media (min-width: 640px) { .channel-hero__title { font-size: 1.875rem; } }
.channel-hero__lead { color: #9ca3af; margin: 0 0 1.25rem; }

.channels { margin-bottom: 2.5rem; }
.channels__grid {
    list-style: none; margin: 1.25rem 0 0; padding: 0;
    display: grid; gap: 0.75rem; grid-template-columns: 1fr;
}
@media (min-width: 768px) { .channels__grid { grid-template-columns: repeat(3, 1fr); } }
.channel {
    background: #111113; border: 1px solid #2a2a2e; border-radius: 0.75rem; padding: 1.1rem;
}
.channel__label {
    display: block; color: var(--accent); font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.4rem;
}
.channel__value { color: var(--fg); line-height: 1.5; }
a.channel__value:hover { color: var(--accent); }

/* Formulário de contato dentro de uma página (template com-contato) */
.page-contact { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 2rem; border-top: 1px solid #2a2a2e; }
