/* Clube do Motion — base visual: YouMotion na variação dark do Artlist (doc 2026-10-14-youmotion-estilo.md) */
:root {
  --pagina: #0d0d0d; --secao: #101010; --cartao: #171717; --elevado: #1a1a1a; --pilula: #2b2b2b; --borda: #242424;
  --texto: #fff; --texto-2: #b2b2b2; --texto-3: #878787; --texto-4: #5f5f5f;
  --verde: #49e498; --verde-hover: #1dc372; --verde-fundo: rgba(73, 228, 152, .12); --vermelho: #f53255;
  --raio-p: 6px; --raio: 12px; --raio-g: 16px; --raio-xg: 32px;
  --curva: cubic-bezier(.165, .84, .44, 1); --curva-forte: cubic-bezier(.76, 0, .24, 1);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --serifa: "Cormorant Infant", Georgia, serif;
  --marca: "Plus Jakarta Sans", "Inter", sans-serif;
  --largura: 1392px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--pagina); color: var(--texto); font: 400 16px/1.5 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
.envolve { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 24px; }
.serifa { font-family: var(--serifa); font-style: italic; font-weight: 600; letter-spacing: -.01em; }
.verde { color: var(--verde); }

/* Fundo vivo: manchas desfocadas + grão (o grão só se move no carregamento da página) */
.fundo { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fundo i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.fundo i:nth-child(1) { width: 620px; height: 420px; right: -160px; top: -200px; background: rgba(73, 228, 152, .28); }
.fundo i:nth-child(2) { width: 520px; height: 520px; left: -260px; top: 38vh; background: rgba(64, 64, 64, .5); }
.fundo::after { content: ""; position: absolute; inset: -50%; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* Faixa do topo */
.faixa { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 8px 48px;
  background: linear-gradient(90deg, #10231d, #13241d 45%, #161616); font-size: 14px; color: #fafafa; animation: desce .5s var(--curva) both; }
.faixa .btn-p { background: var(--verde); color: var(--pagina); font-size: 12px; font-weight: 600; border-radius: var(--raio-p); padding: 4px 8px;
  box-shadow: 0 4px 16px rgba(73, 228, 152, .16); white-space: nowrap; }
.faixa .fechar { position: absolute; right: 16px; color: var(--texto-3); font-size: 18px; line-height: 1; padding: 4px; }
@keyframes desce { from { transform: translateY(-100%); opacity: 0; } }

/* Cabeçalho */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(13, 13, 13, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.topo .linha { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--marca); font-size: 21px; letter-spacing: -.5px; white-space: nowrap; flex: none; }
.logo svg { height: 19px; width: auto; color: #fff; }
.logo b { font-weight: 800; }
.busca { flex: 1; display: flex; align-items: center; height: 44px; background: var(--pilula); border-radius: 999px; padding: 0 6px 0 18px; min-width: 0; transition: box-shadow .2s; }
.busca:focus-within { box-shadow: 0 0 0 2px rgba(73, 228, 152, .5); }
.busca .tipo { font-size: 15px; font-weight: 600; padding-right: 14px; margin-right: 14px; border-right: 1px solid #444; white-space: nowrap; }
.busca input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 15px; color: #fff; }
.busca input::placeholder { color: var(--texto-3); }
.busca button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.busca button:hover { background: rgba(255, 255, 255, .08); }
.acoes { display: flex; align-items: center; gap: 20px; flex: none; }
.lnk-planos { color: var(--verde); font-weight: 600; }
.lnk-planos:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--raio);
  font-weight: 600; font-size: 16px; position: relative; overflow: hidden; transition: background .2s, transform .16s ease, box-shadow .16s ease, opacity .2s; white-space: nowrap; }
.btn-verde { background: var(--verde); color: var(--pagina); }
.btn-verde:hover { background: var(--verde-hover); }
.btn-fantasma { background: rgba(255, 255, 255, .08); color: #fff; }
.btn-fantasma:hover { background: rgba(255, 255, 255, .14); }
.btn-contorno { border: 1px solid #3a3a3a; color: #fff; }
.btn-contorno:hover { border-color: #fff; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-g { height: 56px; border-radius: var(--raio-g); font-size: 18px; }
.cats { display: flex; gap: 24px; height: 44px; align-items: center; font-family: var(--sans); font-size: 15px; letter-spacing: -.13px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { position: relative; color: #fafafa; white-space: nowrap; }
.cats a:hover, .cats a.ativo { color: var(--verde); }
.selo-breve { font-family: var(--serifa); font-style: italic; font-weight: 600; font-size: 11px; background: var(--verde); color: var(--pagina);
  border-radius: 4px; padding: 0 6px; margin-left: 6px; vertical-align: 2px; }
.conta-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--pilula); display: grid; place-items: center; font-weight: 700; }
.menu-cel { display: none; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); place-items: center; }

/* Tipografia de seção */
.secao { padding: 96px 0 0; }
.titulo-secao { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.titulo-secao h2 { font-size: 48px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.05; }
.titulo-secao h2 .serifa { font-size: 1.15em; font-weight: 600; }
.mais { color: var(--verde); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.mais:hover { color: #fff; }
.mais svg { transition: transform .2s var(--curva); }
.mais:hover svg { transform: translateX(3px); }
.apoio { color: var(--texto-2); font-size: 18px; line-height: 1.55; max-width: 560px; }

/* Cards de projeto */
.grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grade-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: block; border-radius: var(--raio); transition: transform .16s ease; }
.card:hover { transform: translateY(-2px); }
.card .midia { position: relative; aspect-ratio: 16 / 10; border-radius: var(--raio); overflow: hidden; background: var(--cartao);
  transition: box-shadow .3s; }
.card:hover .midia { box-shadow: 0 0 34px rgba(73, 228, 152, .15), 0 8px 24px -16px rgba(0, 0, 0, .5); }
.card .midia img, .card .midia video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--curva), opacity .3s; }
.card:hover .midia img, .card:hover .midia video { transform: scale(1.085); }
.card .midia video { opacity: 0; }
.card.tocando .midia video { opacity: 1; }
.card .etiqueta { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); background: rgba(0, 0, 0, .6); backdrop-filter: blur(6px);
  border-radius: 4px 4px 4px 0; padding: 6px 8px; font-size: 14px; font-weight: 600; letter-spacing: -.13px; line-height: 1.25; }
.card .etiqueta small { display: block; font-weight: 400; font-size: 12px; color: var(--texto-2); }
.selo { position: absolute; right: 10px; top: 10px; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 3px 8px; background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px); }
.selo-clube { background: var(--verde); color: var(--pagina); }
.selo-gratis { background: #fff; color: var(--pagina); }
.card .dur { position: absolute; right: 10px; bottom: 10px; font-size: 12px; background: rgba(0, 0, 0, .6); border-radius: 4px; padding: 2px 6px; }
.esqueleto { background: linear-gradient(90deg, #171717 25%, #222 37%, #171717 63%); background-size: 400% 100%; animation: brilho 1.4s ease infinite; }
@keyframes brilho { from { background-position: 100% 50%; } to { background-position: 0 50%; } }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--pilula);
  font-size: 14px; color: #fff; white-space: nowrap; transition: background .2s, color .2s; }
.chip-serifa { font-family: var(--serifa); font-style: italic; font-weight: 600; font-size: 15px; border: 1px solid #3a3a3a; background: transparent; }
button.chip:hover, a.chip:hover { background: #3a3a3a; }
.chip.ativo { background: var(--verde); color: var(--pagina); }

/* Entrada dos blocos */
.entra { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--curva), transform .7s var(--curva); }
.entra.visto { opacity: 1; transform: none; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .18); transform: scale(0); animation: onda .5s ease-out forwards; pointer-events: none; }
@keyframes onda { to { transform: scale(2.6); opacity: 0; } }

/* Aviso rápido */
.aviso { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: #fff; color: var(--pagina);
  padding: 12px 18px; border-radius: var(--raio); font-weight: 600; z-index: 200; transition: .3s var(--curva); pointer-events: none; }
.aviso.mostra { opacity: 1; transform: translate(-50%, 0); }

/* Rodapé */
.rodape { margin-top: 120px; background: var(--elevado); padding: 40px 0 32px; }
.rodape .l1 { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--pilula); }
.rodape .redes { display: flex; gap: 10px; }
.rodape .redes a { width: 36px; height: 36px; border: 1px solid #3a3a3a; border-radius: 10px; display: grid; place-items: center; transition: border-color .2s; }
.rodape .redes a:hover { border-color: var(--verde); }
.rodape .l2 { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0 40px; flex-wrap: wrap; }
.rodape nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.rodape nav a:hover, .rodape .legal a:hover { color: #fff; text-decoration: underline 2px var(--verde); text-underline-offset: 4px; font-style: italic; }
.rodape .legal { display: flex; gap: 14px; font-size: 13px; font-weight: 600; color: var(--texto-2); }
.rodape .copy { font-size: 13px; color: var(--texto-3); }

@media (max-width: 1100px) {
  .grade { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .topo .busca, .acoes .lnk-planos, .acoes .entrar { display: none; }
  .topo .linha { justify-content: space-between; height: 64px; }
  .menu-cel { display: grid; }
  .grade, .grade-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .titulo-secao h2 { font-size: 34px; letter-spacing: -1px; }
  .secao { padding-top: 72px; }
  .faixa { font-size: 12px; padding: 8px 40px 8px 12px; justify-content: flex-start; }
}
@media (max-width: 520px) {
  .envolve { padding: 0 16px; }
  .topo .linha { gap: 10px; }
  .acoes { gap: 10px; }
  .logo { font-size: 18px; gap: 8px; }
  .logo svg { height: 16px; }
  .acoes .conta-btn { width: 36px; height: 36px; }
  .grade, .grade-3 { grid-template-columns: 1fr; }
  .acoes .btn-verde { height: 40px; padding: 0 14px; font-size: 15px; }
  .titulo-secao { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rodape .l2 { flex-direction: column; }
}
@media (max-width: 520px) {
  .acoes .btn-fantasma { display: none; }
}

/* ===================== Celular (14/10/2026): menu lateral, vídeo que toca sozinho, toque ===================== */
html { -webkit-tap-highlight-color: transparent; }
.card .progresso { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--verde); transform: scaleX(0);
  transform-origin: left; opacity: 0; transition: opacity .3s; z-index: 2; }
.card.tocando .progresso { opacity: 1; }
.menu-cel { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); place-items: center; flex: none; }
.menu-cel:active { background: rgba(255, 255, 255, .16); }

/* Gaveta (menu lateral) */
.gaveta-fundo { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.gaveta { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--secao); border-left: 1px solid var(--borda);
  z-index: 100; transform: translateX(100%); transition: transform .38s var(--curva); display: flex; flex-direction: column; gap: 20px;
  padding: calc(16px + env(safe-area-inset-top)) 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.menu-aberto { overflow: hidden; }
.menu-aberto .gaveta { transform: none; box-shadow: -24px 0 60px rgba(0, 0, 0, .5); }
.menu-aberto .gaveta-fundo { opacity: 1; pointer-events: auto; }
.g-topo { display: flex; align-items: center; justify-content: space-between; }
.g-topo .logo { font-size: 19px; }
.g-fechar { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 26px; line-height: 1; }
.g-busca { display: flex; align-items: center; gap: 10px; height: 52px; border-radius: 999px; background: var(--pilula); padding: 0 18px; }
.g-busca input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 16px; color: #fff; }
.g-busca input::placeholder { color: var(--texto-3); }
.g-busca:focus-within { box-shadow: 0 0 0 2px rgba(73, 228, 152, .5); }
.g-lista { display: grid; }
.g-item { display: flex; align-items: center; justify-content: space-between; min-height: 52px; font-size: 18px; font-weight: 600;
  letter-spacing: -.3px; border-bottom: 1px solid var(--borda); }
.g-item em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--texto-3); }
.g-item.ativo { color: var(--verde); }
.g-item.breve { color: var(--texto-3); justify-content: flex-start; }
.g-conta { display: grid; gap: 10px; margin-top: auto; }
.g-conta .btn { width: 100%; }
.g-ig { color: var(--texto-3); font-size: 13px; text-align: center; }

@media (max-width: 860px) {
  .menu-cel { display: grid; }
  .topo .cats { display: none; }
  .topo .linha { height: 60px; gap: 8px; }
  .topo .logo { margin-right: auto; }
  .acoes .btn, .acoes .lnk-planos, .acoes .entrar { display: none; }
  .acoes .conta-btn { width: 40px; height: 40px; }
  .faixa { flex-wrap: wrap; gap: 8px 12px; padding: 10px 44px 10px 16px; justify-content: flex-start; text-align: left; }
  .faixa span { flex: 1 1 100%; font-size: 13px; line-height: 1.35; }
  .faixa .btn-p { padding: 6px 10px; }
  .titulo-secao { margin-bottom: 20px; }
  .rodape { margin-top: 80px; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .rodape nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  /* carrossel de deslizar (home e projetos relacionados) */
  .trilho { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding: 0 16px; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .trilho::-webkit-scrollbar { display: none; }
  .trilho > * { scroll-snap-align: start; }
}
@media (max-width: 520px) {
  .faixa .btn-p { flex: 1; text-align: center; padding: 8px 10px; }
  .card .etiqueta { font-size: 13px; padding: 5px 7px; }
}
/* Toque: sem efeito de hover "preso" depois do toque */
@media (hover: none) {
  .card:hover, a.b-item:hover, .pasta:hover, .ic:hover { transform: none; }
  .card:hover .midia img, .card:hover .midia video { transform: none; }
  .card:active { transform: scale(.985); transition: transform .1s; }
}

/* ===================== Categorias: texto que rola para a serifada itálica + linha verde (14/10/2026) ===================== */
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cats a.cat-link { display: inline-flex; align-items: center; color: #fafafa; padding: 6px 0; }
.cats a.cat-link:hover { color: #fff; }
.rola { position: relative; display: inline-block; overflow: hidden; height: 1.4em; line-height: 1.4em; vertical-align: middle; }
.rola::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--verde); transform: scaleX(0);
  transform-origin: left; transition: transform .5s var(--curva); }
.rola-l1, .rola-l2 { display: block; white-space: nowrap; }
.rola-l2 { position: absolute; left: 0; top: 100%; font-family: var(--serifa); font-style: italic; font-weight: 600; font-size: 1.12em; letter-spacing: -.01em; }
.rola span span { display: inline-block; transition: transform .45s var(--curva-forte); transition-delay: calc(var(--i) * 12ms); }
.cats a.cat-link:hover .rola span span, .cats a.cat-link:focus-visible .rola span span, .cats a.cat-link.ativo .rola span span { transform: translateY(-100%); }
.cats a.cat-link:hover .rola::after, .cats a.cat-link:focus-visible .rola::after, .cats a.cat-link.ativo .rola::after { transform: scaleX(1); }
.cats a.cat-link.ativo { color: #fff; }
.rola { padding-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .rola span span, .rola::after { transition: none; } }
