/* Viana Works: a landing. A paleta Maré, Clash Display nos títulos e General Sans no texto.
   Uma seção clara (sobre) quebra o escuro; o verde-água (cursor) só aparece no cursor e nos botões principais. */
@font-face { font-family: "Clash Display"; font-weight: 500; font-display: swap; src: url(arquivos/fontes/ClashDisplay-500.woff2) format("woff2"); }
@font-face { font-family: "Clash Display"; font-weight: 600; font-display: swap; src: url(arquivos/fontes/ClashDisplay-600.woff2) format("woff2"); }
@font-face { font-family: "Permanent Marker"; font-weight: 400; font-display: swap; src: url(arquivos/fontes/PermanentMarker-400.woff2) format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 400; font-display: swap; src: url(arquivos/fontes/GeneralSans-400.woff2) format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 500; font-display: swap; src: url(arquivos/fontes/GeneralSans-500.woff2) format("woff2"); }
@font-face { font-family: "General Sans"; font-weight: 600; font-display: swap; src: url(arquivos/fontes/GeneralSans-600.woff2) format("woff2"); }

:root {
  --mar: #0B2530; --recife: #153845; --fundo-fundo: #081c25; --espuma: #EEF3F0; --nevoa: #86A2A6; --cursor: #3DDBC3;
  --cursor-claro: #0E9280; --apoio-claro: #576D72; --linha: rgba(238, 243, 240, .14);
  --titulo: "Clash Display", "Segoe UI", sans-serif; --texto: "General Sans", "Segoe UI", sans-serif;
  --largura: 1200px; --respiro: clamp(20px, 5vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { overflow-x: clip; margin: 0; background: var(--mar); color: var(--espuma); font: 400 18px/1.6 var(--texto); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cursor); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 600; letter-spacing: -.02em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(40px, 6vw, 72px); }
p { margin: 0; max-width: 62ch; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--espuma); color: var(--mar); padding: 8px 14px; border-radius: 8px; z-index: 30; }
.pular:focus { left: 8px; }

/* botões: o principal é o único lugar do verde-água fora do cursor */
.botao { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--cursor); color: var(--mar);
  font: 600 17px/1 var(--texto); text-decoration: none; border: 2px solid var(--cursor); transition: background .15s, color .15s; }
.botao:hover { background: var(--espuma); border-color: var(--espuma); }
.botao.vazado { background: transparent; color: var(--espuma); border-color: var(--linha); }
.botao.vazado:hover { border-color: var(--espuma); background: transparent; }
.botao.pequeno { padding: 10px 18px; font-size: 15px; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* topo */
.topo { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 16px var(--respiro);
  background: rgba(11, 37, 48, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linha); }
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 22px var(--titulo); letter-spacing: -.01em; }
.marca i { font-style: normal; font-weight: 500; color: var(--nevoa); }
.marca .simbolo { width: 52px; height: 27px; color: var(--espuma); }
.topo nav { display: flex; gap: 22px; margin-left: auto; }
.topo nav a { text-decoration: none; color: var(--nevoa); font-weight: 500; font-size: 16px; }
.topo nav a:hover { color: var(--espuma); }

/* abertura */
.abertura { max-width: var(--largura); margin: 0 auto; padding: clamp(64px, 12vh, 140px) var(--respiro) clamp(72px, 12vh, 140px);
  display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.abertura h1 { font-size: clamp(50px, 7vw, 100px); line-height: .98; letter-spacing: -.035em; }
.abertura h1 .cursor { display: inline-block; width: .42em; height: .11em; margin-left: .06em; background: var(--cursor); border-radius: .02em; vertical-align: baseline; }
.abertura-texto > p { margin-top: 28px; color: var(--nevoa); font-size: 20px; max-width: 46ch; }
.abertura-simbolo { width: 100%; max-width: 420px; justify-self: end; color: var(--espuma); overflow: visible; }
.abertura-simbolo .p4 { fill: var(--cursor); }
.abertura-simbolo .peca { transform-box: fill-box; transform-origin: center; animation: .7s cubic-bezier(.34, 1.56, .64, 1) both; }
.abertura-simbolo .p1 { animation-name: vem-esq; animation-delay: .15s; }
.abertura-simbolo .p2 { animation-name: vem-dir; animation-delay: .15s; }
.abertura-simbolo .p3 { animation-name: cai; animation-delay: .6s; animation-timing-function: cubic-bezier(.22, 1.4, .36, 1); }
.abertura-simbolo .p4 { animation-name: aparece; animation-delay: 1.15s; }
@keyframes vem-esq { from { transform: translateX(-60%); opacity: 0; } }
@keyframes vem-dir { from { transform: translateX(60%); opacity: 0; } }
@keyframes cai { from { transform: translateY(-120%); opacity: 0; } }
@keyframes aparece { from { transform: scale(0); } }

/* o que já está no ar */
.no-ar { background: var(--fundo-fundo); border-top: 1px solid var(--linha); padding: clamp(64px, 10vh, 120px) 0; }
.no-ar-cabeca { max-width: var(--largura); margin: 0 auto 48px; padding: 0 var(--respiro); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.chave { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--recife); border: 1px solid var(--linha); }
.chave button { border: 0; background: transparent; color: var(--nevoa); font: 600 17px var(--texto); padding: 11px 20px; border-radius: 999px; cursor: pointer; }
.chave button span { color: var(--nevoa); font-weight: 500; margin-left: 4px; opacity: .8; }
.chave button[aria-selected="true"] { background: var(--espuma); color: var(--mar); }
.chave button[aria-selected="true"] span { color: var(--apoio-claro); }
.painel[hidden] { display: none; }
.painel { max-width: var(--largura); margin: 0 auto; padding: 0 var(--respiro); display: grid; gap: clamp(56px, 9vh, 96px); }
.projeto { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.projeto + .projeto { padding-top: clamp(56px, 9vh, 96px); border-top: 1px solid var(--linha); }
.projeto h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(34px, 4.4vw, 52px); }
.projeto h3 img { border-radius: 12px; }
.projeto .o-que { margin-top: 16px; font-size: 20px; }
.projeto ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--nevoa); }
.projeto li { padding-left: 22px; position: relative; }
.projeto li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--nevoa); }
.estado { margin-top: 22px; font-weight: 600; font-size: 16px; color: var(--nevoa); display: flex; align-items: center; gap: 10px; }
.estado.no-ar-sim::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cursor); }
.projeto .botao { margin-top: 20px; }
.projeto .acoes { margin-top: 0; }
.nota { margin-top: 14px; font-size: 15px; color: var(--nevoa); }
.logo-pnr { height: 56px; border-radius: 0 !important; }

/* cada visual tem a forma do próprio projeto */
.kanchat .projeto-visual { background: #0e1714; border-radius: 28px; padding: 22px;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 18px 18px; }
.kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kb-col { background: #17211d; border: 1px solid #233029; border-radius: 16px; padding: 12px; min-height: 230px; display: grid; align-content: start; gap: 9px; }
.kb-col b { display: flex; justify-content: space-between; font: 600 14px var(--texto); color: #9fb3aa; }
.kb-col b em { font-style: normal; color: #c8f169; }
.kb-card { background: #fff; color: #5d6b65; border-radius: 11px; border-top: 6px solid; padding: 8px 10px; font-size: 13px; line-height: 1.3; }
.kb-card strong { display: block; color: #0c1311; font-size: 14px; }
.kb-card.coral { border-color: #e5533d; } .kb-card.amarelo { border-color: #f2c14e; } .kb-card.verde { border-color: #1fa37a; } .kb-card.azul { border-color: #2e5a88; }
.leque { position: relative; height: 420px; }
.leque img { position: absolute; top: 50%; left: 50%; width: 46%; aspect-ratio: 9 / 16; object-fit: cover; border: 5px solid #0f2a2a; box-shadow: 10px 10px 0 #308c75; }
.leque img:nth-child(1) { transform: translate(-108%, -50%) rotate(-7deg); }
.leque img:nth-child(2) { transform: translate(8%, -50%) rotate(7deg); }
.leque img:nth-child(3) { transform: translate(-50%, -54%); z-index: 2; }
.telas { display: flex; justify-content: center; gap: 18px; }
.telas img { width: 44%; border-radius: 30px; border: 8px solid #1d1d1d; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .7); }
.telas img:first-child { transform: rotate(-4deg) translateY(16px); }
.telas img:last-child { transform: rotate(4deg); }
.k7 .projeto-visual { background: #EFE6D3; border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.fita { display: block; width: 100%; transform: rotate(-3deg); }

/* jogos: rodam aqui mesmo, num console que só carrega quando a pessoa pede */
.jogos { display: grid; gap: clamp(48px, 8vh, 80px); }
.jogo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.jogo h3 { font-size: clamp(34px, 4.4vw, 52px); }
.jogo + .jogo { padding-top: clamp(48px, 8vh, 80px); border-top: 1px solid var(--linha); }
.console { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #000; border: 1px solid var(--linha); }
.console img, .console iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.console .jogar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.console .tela-cheia { position: absolute; right: 12px; top: 12px; padding: 8px 14px; font-size: 14px; }
.jogo .controles { margin-top: 18px; font-size: 15px; color: var(--nevoa); }
.jogo .controles kbd { font: 600 13px var(--texto); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--linha); color: var(--espuma); }
.vazio { color: var(--nevoa); }

/* sobre mim: claro */
.sobre { background: var(--espuma); color: var(--mar); padding: clamp(64px, 10vh, 120px) var(--respiro); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px); align-items: center; max-width: none; }
.sobre .foto { width: 100%; max-width: 460px; justify-self: end; border-radius: 28px; aspect-ratio: 720 / 838; object-fit: cover; height: auto; }
.sobre-texto { max-width: 620px; }
.sobre-texto p { margin-top: 20px; color: #2a454f; }
.sobre-texto h3 { margin-top: 44px; font-size: 30px; }
.passos { list-style: none; counter-reset: passo; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; }
.passos li { counter-increment: passo; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; color: var(--apoio-claro); }
.passos li::before { content: counter(passo); grid-row: span 2; width: 52px; height: 52px; border-radius: 50%; background: var(--mar); color: var(--espuma);
  display: grid; place-items: center; font: 600 22px var(--titulo); }
.passos b { color: var(--mar); font: 600 22px var(--titulo); letter-spacing: -.01em; }

/* contato e rodapé */
.contato { max-width: var(--largura); margin: 0 auto; padding: clamp(72px, 12vh, 140px) var(--respiro); }
.contato h2 { font-size: clamp(44px, 7vw, 96px); max-width: 14ch; }
.contato p { margin-top: 20px; color: var(--nevoa); font-size: 20px; }
.rodape { border-top: 1px solid var(--linha); padding: 32px var(--respiro); display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; color: var(--nevoa); font-size: 15px; }
.rodape .marca { font-size: 18px; color: var(--espuma); }
.rodape p:last-child { margin-left: auto; }

@media (max-width: 860px) {
  .topo nav { display: none; }
  .topo .botao { margin-left: auto; }
  .abertura { grid-template-columns: 1fr; }
  .abertura-simbolo { order: -1; justify-self: start; max-width: 220px; }
  .projeto, .jogo, .sobre { grid-template-columns: 1fr; }
  .sobre .foto { justify-self: start; max-width: 360px; }
  .leque { height: 340px; }
  .leque img:nth-child(1) { transform: translate(-96%, -50%) rotate(-6deg); }
  .leque img:nth-child(2) { transform: translate(-4%, -50%) rotate(6deg); }
  .chave button { padding: 10px 14px; font-size: 16px; white-space: nowrap; }
  .no-ar-cabeca { margin-bottom: 36px; }
  .kb-card { font-size: 12px; }
  .rodape p:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .abertura-simbolo .peca { animation: none; }
}
.console .sem-teclado { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(8, 28, 37, .88); color: var(--espuma);
  padding: 10px 16px; border-radius: 999px; font-size: 15px; white-space: nowrap; }
.formacao { margin: 18px 0 0; display: grid; gap: 14px; }
.formacao dt { font: 600 20px/1.3 var(--titulo); color: var(--mar); letter-spacing: -.01em; }
.formacao dd { margin: 2px 0 0; color: var(--apoio-claro); max-width: 60ch; }
.botao.escuro { margin-top: 24px; background: var(--mar); color: var(--espuma); border-color: var(--mar); }
.botao.escuro:hover { background: var(--recife); border-color: var(--recife); }

/* Volta a Fita no tema do app: papel creme, preto, o vermelho do REC e recortes com sombra seca */
.projeto.k7 { background: #EFE6D3; color: #151413; border-radius: 28px; padding: clamp(28px, 4vw, 56px); border-top: 0;
  margin-top: clamp(16px, 3vh, 32px); box-shadow: 10px 12px 0 rgba(0, 0, 0, .25); }
.projeto.k7 h3 img.icone-app { border-radius: 14px; box-shadow: 4px 5px 0 rgba(0, 0, 0, .18); }
.projeto.k7 .o-que { color: #151413; }
.projeto.k7 ul { color: #4A4640; }
.projeto.k7 li::before { width: 9px; height: 9px; top: .55em; background: #E53935; }
.projeto.k7 .estado.selo-k7 { display: inline-flex; padding: 9px 16px; background: #151413; color: #ECE4D2; font-family: var(--titulo); letter-spacing: .02em;
  box-shadow: 5px 6px 0 rgba(0, 0, 0, .18); }
.projeto.k7 .botao { background: #151413; border-color: #151413; color: #ECE4D2; }
.projeto.k7 .botao:hover { background: #E53935; border-color: #E53935; color: #fff; }
.projeto.k7 .nota { color: #5E5A54; }
.projeto.k7 .projeto-visual { background: none; padding: 0; }
.projeto.k7 .fita { width: 100%; height: auto; display: block; transform: rotate(-3deg); }
.projeto.k7 .carretel { transform-box: view-box; }
.projeto.k7:hover .carretel, .projeto.k7:focus-within .carretel { animation: gira 1.6s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .projeto.k7:hover .carretel, .projeto.k7:focus-within .carretel { animation: none; } }

/* Pé na Rua no tema do app: o mapa claro do site, a rota laranja, os cartões brancos e a fonte do sistema.
   Laranja cheio nos botões com texto preto; no texto, o laranja escuro #B85400 (regra da marca). */
.projeto.pnr { background: #F4F5F7 url(arquivos/img/pnr-mapa.svg) center / cover no-repeat; color: #1D1D1D; border-radius: 28px;
  padding: clamp(28px, 4vw, 56px); font-family: system-ui, "Segoe UI", Roboto, sans-serif; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.projeto.pnr .projeto-texto { background: rgba(255, 255, 255, .9); border-radius: 24px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .3); }
.projeto.pnr .logo-pnr { height: 64px; }
.projeto.pnr .o-que { color: #1D1D1D; font-weight: 600; }
.projeto.pnr ul { color: #4A4A4A; }
.projeto.pnr li::before { width: 9px; height: 9px; top: .55em; background: #6FA77A; transform: rotate(45deg); }
.projeto.pnr .estado.pnr-selo { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: #fff; color: #B85400; font-weight: 800;
  letter-spacing: .02em; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .35); }
.projeto.pnr .estado.pnr-selo::before { background: #FB8738; }
.projeto.pnr .botao { background: #FB8738; border-color: #FB8738; color: #1D1D1D; font-weight: 800; }
.projeto.pnr .botao:hover { background: #1D1D1D; border-color: #1D1D1D; color: #fff; }
.projeto.pnr .botao.vazado { background: #fff; border-color: #fff; color: #1D1D1D; }
.projeto.pnr .projeto-visual { position: relative; }
.projeto.pnr .telas img { border-color: #1D1D1D; }
.projeto.pnr .pnr-numeros { position: absolute; left: 0; bottom: 6%; z-index: 2; background: #fff; border-radius: 22px; padding: 14px 20px; color: #1D1D1D;
  font-size: 18px; box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .45); }
.projeto.pnr .pnr-numeros b { font-size: 44px; font-weight: 800; color: #B85400; margin-right: 6px; }
.projeto.pnr .pnr-numeros span { display: block; font-size: 14px; color: #6B6B6B; }
