/* Rodada 5 (28/10/2026): hero com troca manual, "Coming soon", acesso pelo Patreon, ligas completas, paginas novas. */

/* ---------- hero: TV com setas; abas com progresso e pausa embaixo (nada por cima da captura) ---------- */
.tv-box { position: relative; outline: none; }
.tv-box:focus-visible .tv { box-shadow: 0 0 0 2px var(--y), 0 40px 80px -30px #000; }
.tv-cap .nm { display: table; margin-bottom: 8px; padding: 4px 8px; border-radius: 4px; background: var(--y); color: #111; font: 800 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.tv-nav { position: absolute; top: calc(50% - 22px - 26px); z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(10, 10, 10, .6); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity .2s, background .2s, color .2s, transform .2s; }
.tv-nav svg { width: 18px; }
.tv-nav.p { left: 12px; }
.tv-nav.p svg { transform: rotate(180deg); }
.tv-nav.n { right: 12px; }
.tv-box:hover .tv-nav, .tv-nav:focus-visible { opacity: 1; }
.tv-nav:hover { background: var(--y); color: #111; border-color: var(--y); transform: scale(1.06); }
.tv-row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.tv-tabs { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.tv-tabs button { position: relative; overflow: hidden; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--s1); font: 700 13px var(--body); color: var(--muted); transition: color .2s, border-color .2s; }
.tv-tabs button:hover { color: var(--ink); border-color: #444; }
.tv-tabs button b { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--y); }
.tv-tabs button.on { color: var(--ink); border-color: var(--y-line); background: var(--s2); }
.tv-tabs button.on b { animation: barra var(--t, 5s) linear forwards; }
.tv-box.paused .tv-tabs button.on b { animation: none; width: 100%; }
.tv-pause { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--s1); display: grid; place-items: center; }
.tv-pause:hover { border-color: #444; }
.tv-pause span { width: 10px; height: 11px; border-left: 3px solid var(--ink); border-right: 3px solid var(--ink); }
.tv-box.paused .tv-pause span { width: 0; height: 0; border: 0; border-left: 10px solid var(--y); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* ---------- "Coming soon" e acesso pelo Patreon ---------- */
.ver.soon { border-color: rgba(255, 255, 255, .14); color: var(--muted); }
.ver.soon::before { background: var(--muted); }
.card.soon .cover img { filter: grayscale(.45) brightness(.8); }
.card.soon .cover::after { content: "Coming soon"; position: absolute; right: 12px; top: 12px; z-index: 2; padding: 5px 10px; border-radius: 6px; background: rgba(10, 10, 10, .8); font: 800 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--y); }
.dlc.soon { color: var(--muted); }
.chip.access { background: #f96854; color: #fff; }
.chip.access svg { color: #fff; }
.flow a.soon { opacity: .6; }
.btn-patreon-lg { background: #f96854; color: #fff; }
.btn-patreon-lg:hover { background: #ff7b68; }

/* ---------- pagina de kits: temporada e ligas completas ---------- */
.season { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px; background: #111; color: var(--y); font: 800 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.hero .season { background: var(--y); color: #111; }
.leagues-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 26px; }
.leagues-head p { color: var(--muted); max-width: 640px; margin-top: 12px; }
.lg-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.lg-legend { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.lg-legend .ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(61, 220, 132, .14); color: var(--green); }
.lg-legend .ok svg { width: 12px; }
.lg { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--s1); border: 1px solid var(--line); }
.lg .fi { width: 34px; height: 25px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); background-size: cover; }
.lg b { display: block; font: 800 15.5px/1.2 var(--display); }
.lg small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.lg .ok { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(61, 220, 132, .14); color: var(--green); }
.lg .ok svg { width: 14px; }
.lg .part { font: 800 14px/1 var(--display); color: var(--y); white-space: nowrap; }
.lg .meter { grid-column: 2 / -1; height: 5px; border-radius: 9px; background: var(--s3); overflow: hidden; }
.lg .meter i { display: block; height: 100%; background: linear-gradient(90deg, #b99600, var(--y)); }
.lg.hide { display: none; }
.lg-group { margin: 34px 0 14px; display: flex; align-items: center; gap: 12px; font: 800 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lg-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.kit-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kit-types div { padding: 22px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); }
.kit-types b { display: block; font: 800 17px/1.2 var(--display); margin-bottom: 6px; }
.kit-types span { color: var(--muted); font-size: 14.5px; }

/* ---------- paginas novas (Kits Suite, plugin no jogo, FM27) ---------- */
.access-box { margin-top: 26px; padding: 22px; border-radius: 18px; background: rgba(249, 104, 84, .09); border: 1px solid rgba(249, 104, 84, .4); display: grid; gap: 12px; max-width: 560px; }
.access-box h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; }
.access-box h3 svg { width: 18px; color: #f96854; }
.access-box p { color: #d6d5cd; font-size: 15px; }
.access-box .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.access-box small { color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tiers div { padding: 26px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line); }
.tiers div.on { border-color: rgba(249, 104, 84, .55); background: linear-gradient(180deg, rgba(249, 104, 84, .1), var(--s1)); }
.tiers b { display: block; font: 900 28px/1 var(--display); color: var(--y); margin: 8px 0 10px; }
.tiers h3 { font-size: 17px; }
.tiers p { color: var(--muted); font-size: 14.5px; }
.gal5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gal5 button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; opacity: .6; transition: all .2s; }
.gal5 button.on, .gal5 button:hover { opacity: 1; border-color: var(--y); }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: var(--s1); border: 1px solid var(--y-line); color: #d6d5cd; font-size: 15px; }
.notice svg { flex: none; width: 22px; color: var(--y); margin-top: 2px; }
.status-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.status-table th { text-align: left; font: 800 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 14px 12px; }
.status-table td { padding: 14px; border-top: 1px solid var(--line); vertical-align: top; }
.status-table td:first-child { font-weight: 700; white-space: nowrap; }
.st-pill { display: inline-flex; height: 24px; align-items: center; padding: 0 10px; border-radius: 999px; font: 800 11px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.st-pill.ok { background: rgba(61, 220, 132, .12); color: var(--green); }
.st-pill.wait { background: var(--y-soft); color: var(--y); }
.st-pill.soon { background: var(--s3); color: var(--muted); }
.stc.soon .car img { filter: saturate(.8); }
.stc .soon-tag { position: absolute; left: 12px; top: 12px; z-index: 3; padding: 6px 10px; border-radius: 6px; background: var(--y); color: #111; font: 800 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 900px) {
  .kit-types, .tiers { grid-template-columns: 1fr 1fr; }
  .gal5 { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .tv-nav { width: 38px; height: 38px; opacity: 1; }
}
@media (max-width: 560px) {
  .kit-types, .tiers { grid-template-columns: 1fr; }
  .status-table td:first-child { white-space: normal; }
}

/* paginas dos programas: captura da janela no hero */
.app-shot { border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px #000; background: #000; }
.app-shot img { width: 100%; }

/* botoes de download por jogo (FM27 principal, FM26 menor) */
.game-dl { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dl-alt svg { width: 15px; height: 15px; }
.dl-alt-off { font-size: 13px; color: var(--dim); }
/* video do YouTube que so carrega no clique */
.yt { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt-play:hover img { opacity: 1; }
.yt-btn { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--y); box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.yt-btn::after { content: ""; position: absolute; left: 34px; top: 26px; border-left: 24px solid #111; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }

/* filtros: o cartão escondido some também nas listas e grades (a regra de layout delas vinha depois e ganhava) */
.card.hide, .lg.hide { display: none !important; }

/* menu de idiomas com bandeiras */
.lang-pick { position: relative; }
.icon-b.lang .fi { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); background-size: cover; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 210px; padding: 6px; border-radius: 14px; background: #141414; border: 1px solid var(--line); box-shadow: 0 24px 50px -10px rgba(0, 0, 0, .7); display: grid; gap: 2px; }
.lang-menu[hidden] { display: none; }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 9px; font: 600 14px var(--body); color: #d6d5cd; }
.lang-menu a:hover { background: var(--s2); color: var(--ink); }
.lang-menu a.on { background: var(--y-soft); color: var(--y); }
.lang-menu .fi { width: 22px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); background-size: cover; flex: none; }

/* ---------- rodada 9 (28/10/2026): menos espaço vazio entre o hero e o destaque ---------- */
/* a pausa do carrossel fica logo abaixo da imagem, sem empurrar a altura do hero */
.hero2 .wrap { padding-bottom: 46px; }
.tv-row { position: absolute; right: 0; top: 100%; margin-top: 10px; }
.hero2 + section.block { padding-top: 64px; }
@media (max-width: 1000px) { .tv-row { position: static; } }

/* ---------- rodada 9: tigre grande do logo no fundo do hero, bem apagado e cortado embaixo ---------- */
.hero2 .wrap { position: relative; }
.hero2 .wrap::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: 820px; height: 820px;
  left: -250px; top: -40px; background: url(img/tiger.svg) center / contain no-repeat; opacity: .07;
  -webkit-mask: linear-gradient(180deg, #000 45%, transparent 92%); mask: linear-gradient(180deg, #000 45%, transparent 92%); }
@media (max-width: 1000px) { .hero2 .wrap::before { width: 560px; height: 560px; left: auto; right: -160px; top: -30px; opacity: .06; } }

/* ---------- rodada 10 (28/10/2026): revisão do design ---------- */
/* 1. celular: menu no botão ☰ (os links, Coffee e Patreon vão para o painel) */
.menu-b { display: none; }
.menu-b svg { width: 20px; }
.mnav { position: absolute; left: 0; right: 0; top: 100%; z-index: 55; padding: 10px 20px 22px; background: #0d0d0d;
  border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px #000; }
.mnav[hidden] { display: none; }
.mnav a.lnk { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); font: 800 18px var(--display); color: var(--ink); }
.mnav a.lnk.on { color: var(--y); }
.mnav .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 1000px) {
  .top .nav { display: none; }
  .menu-b { display: grid; }
}
@media (min-width: 1001px) { .mnav { display: none !important; } }
@media (max-width: 640px) {
  .top .wrap { gap: 8px; }
  .top .btn-coffee, .top .wrap > .btn-y, .top .word small { display: none; }
}

/* 2. faixa de anúncio vazia (AdSense ainda não aprovado) não aparece */
.ad-band:not(:has(.ad)) { display: none; }

/* 3. legendas numa faixa escura embaixo da imagem, sem cobrir a captura */
.tv { aspect-ratio: auto; padding-top: 56.25%; padding-bottom: 78px; }
.tv img.f { inset: 0 0 78px 0; height: auto; }
.tv::after { background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 22%); bottom: 78px; }
.tv-cap { bottom: 0; height: 78px; align-items: center; }
.tv-cap .nm { margin-bottom: 6px; }
.tv-nav { top: calc((100% - 78px) / 2 - 22px); }
.feature .shots { padding-bottom: 50px; }
.feature .shots img { inset: 0 0 50px 0; height: auto; }
.feature .cap { top: auto; bottom: 0; left: 20px; height: 50px; display: flex; align-items: center; padding: 0; background: none; backdrop-filter: none; color: #cfcec7; }
.feature .dots { left: auto; right: 22px; bottom: 22px; }
@media (max-width: 640px) {
  .tv { padding-bottom: 92px; }
  .tv img.f { bottom: 92px; }
  .tv::after { bottom: 92px; }
  .tv-cap { height: 92px; left: 14px; right: 14px; gap: 10px; }
  .tv-cap b { font-size: 16px; }
  .tv-cap small { font-size: 12px; }
  .tv-nav { top: calc((100% - 92px) / 2 - 19px); }
}

/* 4. menos espaço entre as seções */
section.block { padding: 84px 0; }
.hero2 + section.block { padding-top: 56px; }
@media (max-width: 640px) { section.block { padding: 56px 0; } .hero2 + section.block { padding-top: 40px; } }

/* 5. capas da lista de ferramentas inteiras (antes cortavam os lados quando o cartão era alto) */
.list .card .cover { align-self: start; aspect-ratio: 16/10; min-height: 0; }
/* cabeçalho do celular cabendo em 360–390 px: selo menor, nome um pouco menor, idioma só com a bandeira */
@media (max-width: 640px) {
  .brand .badge { width: 54px; height: 54px; transform: translateY(8px); }
  .brand { gap: 8px; }
  .brand .word b { font-size: 19px; }
  .icon-b.lang span:not(.fi) { display: none; }
  .icon-b.lang { padding: 0 12px; }
}
/* celular: colunas não alargam além da tela por causa de caminhos longos; grades escritas no HTML viram uma coluna */
@media (max-width: 1000px) {
  .tool-main, .doc { grid-template-columns: minmax(0, 1fr); }
  .wrap[style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; gap: 32px !important; }
}
@media (max-width: 640px) {
  p b, p code, li b, li code, td b { overflow-wrap: anywhere; }
}
.install, .faq { grid-template-columns: minmax(0, 1fr); }
.path span { min-width: 0; }
@media (max-width: 640px) {
  .install .s { padding: 20px 18px 20px 66px; }
  .install .s::before { left: 16px; width: 36px; height: 36px; }
  .status-table { display: block; overflow-x: auto; }
}
.top .mnav .btn-coffee, .top .mnav .btn-y { display: inline-flex !important; }
.top .mnav .btn .t { display: inline !important; }
.top .mnav .btn-sm { width: auto; padding: 0 18px; height: 42px; }

/* ---------- rodada 11 (28/10/2026) ---------- */
/* hero: faixa da legenda mais leve (etiqueta ao lado do título, fundo no tom do cartão) */
.tv { padding-bottom: 66px; background: #101010; }
.tv img.f { inset: 0 0 66px 0; height: calc(100% - 66px); }
.tv::after { bottom: 66px; }
.tv-cap { height: 66px; left: 0; right: 0; padding: 0 16px 0 18px; border-top: 1px solid rgba(255, 255, 255, .07);
  background: linear-gradient(180deg, #151515, #0f0f0f); }
.tv-cap > div { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 3px; align-items: center; min-width: 0; }
.tv-cap .nm { margin: 0; font-size: 10px; padding: 4px 7px; }
.tv-cap b { font-size: 16.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-cap small { grid-column: 1 / -1; margin: 0; font-size: 12.5px; color: var(--muted); }
.tv-cap .go { height: 32px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.tv-nav { top: calc((100% - 66px) / 2 - 22px); }
@media (max-width: 640px) {
  .tv { padding-bottom: 74px; }
  .tv img.f { bottom: 74px; height: calc(100% - 74px); }
  .tv::after { bottom: 74px; }
  .tv-cap { height: 74px; padding: 0 12px; }
  .tv-cap > div { grid-template-columns: minmax(0, 1fr); }
  .tv-cap .nm { justify-self: start; }
  .tv-cap small { display: none; }
  .tv-cap b { font-size: 15px; }
  .tv-nav { top: calc((100% - 74px) / 2 - 19px); }
}

/* destaque: a imagem ocupa a altura toda do cartão (antes sobrava um vão embaixo) */
.feature .shots { aspect-ratio: auto; min-height: 420px; }
.feature .shots img { height: calc(100% - 50px); }
@media (max-width: 1000px) { .feature .shots { aspect-ratio: 16 / 11; min-height: 0; } }

/* cartão grande da grade: capa inteira, sem cortar os lados */
.grid .card.wide .cover img.shot { object-fit: contain; }
.grid .card.wide .cover::after { background: linear-gradient(90deg, transparent 80%, rgba(18, 18, 18, .9)); }
.grid .card.wide { grid-template-columns: 1.55fr 1fr; }
.grid .card.wide .cover img.shot { transform: scale(1.14); }
.grid .card.wide:hover .cover img.shot { transform: scale(1.18); }
.feature .shots img { object-position: left center; }
