/* Layout: preto e branco da marca + caneta azul e papel. Títulos em minúsculas no peso da logo, ilustrações de traço tremido, anotações à mão. */
@font-face { font-family: 'UC Display'; font-weight: 800 900; font-display: swap; src: url(/fonts/display-900.woff) format('woff'); }
@font-face { font-family: 'UC Display'; font-weight: 700; font-display: swap; src: url(/fonts/display-700.woff) format('woff'); }
@font-face { font-family: 'UC Texto'; font-weight: 400; font-display: swap; src: url(/fonts/texto-400.woff) format('woff'); }
@font-face { font-family: 'UC Texto'; font-weight: 500; font-display: swap; src: url(/fonts/texto-500.woff) format('woff'); }
@font-face { font-family: 'UC Texto'; font-weight: 600; font-display: swap; src: url(/fonts/texto-600.woff) format('woff'); }
:root {
  color-scheme: light;
  --preto: #111111;
  --branco: #FFFFFF;
  --cinza: #F5F5F5;
  --linha: #E5E5E5;
  --apoio: #707072;
  --apoio-escuro: #B5B5B5;
  --linha-escura: #333333;
  --verde: #1FA35B;
  --caneta: #2440FF;
  --caneta-clara: #8C9DFF;
  --postit: #FFE45C;
  --f-display: 'Bricolage Grotesque', 'UC Display', 'Helvetica Neue', Arial, sans-serif;
  --f-texto: 'UC Texto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-mao: 'Caveat', 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive;
  --f-cupom: 'Courier New', Courier, monospace;
  --margem: clamp(20px, 3.4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--branco); color: var(--preto); font: 400 16px/1.55 var(--f-texto); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--branco); }
[hidden] { display: none !important; }
.defs { position: absolute; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--caneta); outline-offset: 3px; }
.heroi :focus-visible, .calc :focus-visible, .rodape :focus-visible, .saida-topo :focus-visible { outline-color: var(--branco); }
.borda { max-width: 1440px; margin-inline: auto; padding-left: max(var(--margem), env(safe-area-inset-left, 0px)); padding-right: max(var(--margem), env(safe-area-inset-right, 0px)); }
.pular { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--preto); color: var(--branco); padding: 8px 14px; }
.pular:focus { left: 12px; }

/* Tipografia */
.titulo { font-family: var(--f-display); font-weight: 800; font-variation-settings: 'opsz' 96; text-transform: lowercase; letter-spacing: -0.035em; line-height: .96; font-size: clamp(2rem, 4.2vw, 3.9rem); text-wrap: balance; }
.titulo-capa { font-size: clamp(3.2rem, 10vw, 9rem); line-height: .9; }
.titulo-menor { font-size: clamp(1.6rem, 2.8vw, 2.5rem); margin-block: clamp(56px, 7vw, 104px) 24px; }
.titulo-nome { text-transform: none; font-size: clamp(2.6rem, 6vw, 5.6rem); }
.sobre-titulo { font-size: .95rem; font-weight: 500; color: var(--apoio); margin-bottom: 8px; }
.texto-apoio { color: var(--apoio); font-size: 1.1rem; max-width: 44ch; margin-top: 16px; }
h3 { font: 800 1.35rem/1.12 var(--f-display); font-variation-settings: 'opsz' 40; letter-spacing: -0.02em; }
.nota { font: 700 1.45rem/1.02 var(--f-mao); color: var(--caneta); }
.risco { position: relative; white-space: nowrap; }
.risco svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .22em; overflow: visible; }
.risco path { fill: none; stroke: var(--caneta); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Ilustrações: traço à mão */
.ilu { display: block; width: 100%; height: auto; overflow: visible; filter: url(#tremido-p); }
.ilu .t, .rua svg .t { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ilu .c, .rua svg .c { fill: none; stroke: var(--caneta); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ilu .p { fill: currentColor; stroke: none; }
.ilu .pc, .rua svg .pc { fill: var(--caneta); stroke: none; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: 500 .95rem/1 var(--f-texto); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease; }
.btn:active { transform: scale(.97); }
.btn-grande { min-height: 54px; padding: 0 30px; font-size: 1rem; }
.btn-preto { background: var(--preto); color: var(--branco); }
.btn-preto:hover { background: var(--caneta); }
.btn-branco { background: var(--branco); color: var(--preto); }
.btn-branco:hover { background: #CFCFCF; }
.btn-contorno { border-color: #CACACB; color: var(--preto); background: transparent; }
.btn-contorno:hover { border-color: var(--preto); }
.btn-contorno-claro { border-color: #6B6B6B; color: var(--branco); background: transparent; }
.btn-contorno-claro:hover { border-color: var(--branco); }
.linha-botoes { display: flex; flex-wrap: wrap; gap: 10px; }

/* Topo */
.topo { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.topo-barra { background: var(--branco); }
.topo-linha { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 60px; }
.marca { justify-self: start; display: block; }
.marca img { height: 21px; width: auto; }
.menu { display: flex; gap: 26px; }
.menu a { padding: 6px 0; text-decoration: none; font-weight: 500; font-size: 1rem; border-bottom: 2px solid transparent; transition: border-color .15s ease; }
.menu a:hover, .menu a[aria-current="page"] { border-bottom-color: var(--preto); }
.topo-acoes { display: flex; align-items: center; gap: 18px; justify-self: end; }
.topo-link { font-weight: 500; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.topo-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--apoio); white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #BDBDBD; }
.status[data-estado="ok"] i { background: var(--verde); }
.status[data-estado="falha"] i { background: #D98B1F; }
.btn-menu { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; position: relative; }
.btn-menu i { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--preto); transition: transform .2s ease; }
.btn-menu i:first-child { top: 15px; } .btn-menu i:last-child { top: 23px; }
.btn-menu[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.btn-menu[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
.faixa { background: var(--cinza); }
.faixa-linha { display: flex; align-items: center; justify-content: center; gap: 14px; height: 38px; }
.faixa-texto { flex: 0 1 640px; min-width: 0; text-align: center; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.faixa-texto b { font-weight: 600; text-transform: uppercase; letter-spacing: .01em; margin-right: 8px; }
.faixa-texto a { margin-left: 8px; font-weight: 500; text-underline-offset: 3px; }
.faixa-texto.troca { animation: sobe .35s ease; }
.faixa-seta { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; flex: none; border-radius: 50%; }
.faixa-seta:hover { background: var(--linha); }
.faixa-seta svg, .rede-ic svg, .flutuante-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gaveta { background: var(--branco); border-bottom: 1px solid var(--preto); }
.gaveta-links { display: grid; padding-block: 6px 18px; }
.gaveta-links a { padding: 14px 0; text-decoration: none; font: 900 2rem/1 var(--f-display); text-transform: uppercase; letter-spacing: -0.04em; border-bottom: 1px solid var(--linha); }
.gaveta-links a.gaveta-menor { font: 500 1rem/1 var(--f-texto); text-transform: none; letter-spacing: 0; border-bottom: 0; padding-top: 20px; }
@keyframes sobe { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes revela { from { transform: translateY(105%); } to { transform: none; } }
@keyframes corre { to { transform: translateX(-50%); } }

@keyframes sobe { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes corre { to { transform: translateX(-50%); } }
@keyframes balanca { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes desenha { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Herói */
.pagina { animation: sobe .4s ease; overflow-x: clip; }
.heroi { background: var(--preto); color: var(--branco); padding-top: 22px; --caneta: var(--caneta-clara); overflow: hidden; }
.heroi-topo { display: flex; justify-content: space-between; gap: 16px; font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--apoio-escuro); padding-bottom: 14px; border-bottom: 1px solid var(--linha-escura); margin-bottom: clamp(32px, 5vw, 72px); }
.heroi-grade { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 80px); align-items: end; }
.heroi-titulo { font-size: clamp(2.9rem, 7.6vw, 7.4rem); line-height: .92; animation: sobe .7s cubic-bezier(.2, .8, .2, 1) both; }
.heroi-titulo .risco path { stroke-width: 7; }
.heroi-lado p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.4; color: var(--apoio-escuro); max-width: 38ch; margin-bottom: 24px; }
.heroi-botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.rua { margin-top: clamp(28px, 4vw, 56px); display: flex; justify-content: center; }
.rua svg { display: block; width: 100%; min-width: 980px; height: auto; flex: none; filter: url(#tremido); overflow: visible; }
.rua text { font-family: var(--f-display); font-weight: 800; }
.rua .mao { font-family: var(--f-mao); font-weight: 700; fill: var(--caneta); }
.rua .pisca { animation: balanca 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }

/* Letreiro */
.letreiro { overflow: hidden; border-bottom: 1.5px solid var(--preto); padding-block: 12px; }
.letreiro-trilho { display: flex; width: max-content; animation: corre 46s linear infinite; }
.letreiro-trilho span { font: 800 clamp(1.4rem, 2.8vw, 2.3rem)/1 var(--f-display); font-variation-settings: 'opsz' 96; text-transform: lowercase; letter-spacing: -0.03em; white-space: nowrap; padding: .12em .55em .18em 0; display: inline-flex; align-items: center; gap: .55em; }
.letreiro-trilho span::after { content: "✳"; font-family: var(--f-texto); font-weight: 400; color: var(--caneta); font-size: .7em; }

/* Blocos */
.bloco { padding-block: clamp(56px, 7.5vw, 112px); }
.bloco-sem-topo { padding-top: 0; }
.cabeca { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.capa { padding-block: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 52px); }
.capa-grade { display: grid; grid-template-columns: minmax(0, 1fr) clamp(120px, 18vw, 240px); gap: 24px; align-items: end; }
.capa-ilu { transform: rotate(6deg); }
.capa .titulo-capa { animation: sobe .6s cubic-bezier(.2, .8, .2, 1) both; }
.capa-sub { max-width: 52ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--apoio); margin-top: clamp(18px, 2.4vw, 28px); }
.duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.faixa-cinza { background: var(--cinza); padding-block: clamp(56px, 7.5vw, 112px); overflow: hidden; }

/* Filtros: o escolhido ganha um círculo de caneta */
.filtros { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.filtros-solto { margin-bottom: clamp(24px, 3vw, 40px); }
.filtros button { position: relative; font: 500 1rem/1.2 var(--f-texto); color: var(--apoio); background: none; border: 0; padding: 10px 14px; cursor: pointer; transition: color .15s ease; }
.filtros button:hover { color: var(--preto); }
.filtros button::after { content: ""; position: absolute; inset: -2px -4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'%3E%3Cpath d='M22 46C16 22 66 7 112 8c46 1 78 14 74 38-4 22-54 30-100 28C48 72 12 64 15 40 18 20 60 10 104 11' fill='none' stroke='%232440FF' stroke-width='2.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; opacity: 0; transform: scale(.9) rotate(-2deg); transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.filtros button[aria-pressed="true"], .filtros button[aria-selected="true"] { color: var(--preto); font-weight: 600; }
.filtros button[aria-pressed="true"]::after, .filtros button[aria-selected="true"]::after { opacity: 1; transform: none; }
.abas { margin-top: clamp(20px, 3vw, 32px); margin-left: -14px; }
.previa-abas { margin-top: 14px; }

/* Quadro de serviços: folha quadriculada com desenho em cada célula */
.quadro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--preto); border-left: 1.5px solid var(--preto); }
.celula { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 34px); border-right: 1.5px solid var(--preto); border-bottom: 1.5px solid var(--preto); text-decoration: none; min-width: 0; transition: background .25s ease, opacity .25s ease; }
.celula-ilu { display: block; width: clamp(84px, 9vw, 120px); margin-bottom: clamp(10px, 1.6vw, 22px); transition: transform .35s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 80%; }
.celula h3 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); text-transform: lowercase; }
.celula p { color: var(--apoio); }
.celula ul { display: grid; gap: 4px; font-size: .94rem; font-weight: 500; margin-top: 4px; }
.celula li { padding-left: 18px; position: relative; }
.celula li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 6px; border-left: 2px solid var(--caneta); border-bottom: 2px solid var(--caneta); transform: rotate(-45deg); }
.celula-ir { margin-top: auto; padding-top: 14px; font: 700 1.4rem/1 var(--f-mao); color: var(--caneta); display: inline-flex; align-items: center; gap: 8px; }
.celula-ir::after { content: "→"; font-family: var(--f-texto); font-weight: 500; font-size: 1.1rem; transition: transform .25s ease; }
.celula:hover { background: var(--cinza); }
.celula:hover .celula-ilu { transform: rotate(-7deg) scale(1.08); }
.celula:hover .celula-ir::after { transform: translateX(6px); }
.celula.apagado { opacity: .18; }
.celula .estado { margin-bottom: 2px; }

/* Tela anotada à caneta */
.tela-cel { border-radius: 26px; box-shadow: 0 0 0 1.5px var(--preto), 10px 12px 0 var(--preto); }
.tela-pc { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1.5px var(--preto), 10px 12px 0 var(--preto); }
.anotado { position: relative; display: grid; justify-items: center; padding-block: 10px 22px; min-width: 0; }
.anotado .tela-cel { width: min(46%, 270px); transform: rotate(2deg); }
.anotado .nota { position: absolute; max-width: 8.5em; }
.anotado .nota svg { display: block; width: 84px; height: auto; margin-top: 4px; overflow: visible; }
.anotado .nota path { fill: none; stroke: var(--caneta); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nota-e1 { right: calc(50% + 27%); top: 4%; text-align: right; transform: rotate(-4deg); }
.nota-e1 svg { margin-left: auto; }
.nota-d1 { left: calc(50% + 28%); top: 34%; transform: rotate(3deg); }
.nota-d1 svg { transform: scaleX(-1); }
.nota-e2 { right: calc(50% + 27%); top: 58%; text-align: right; transform: rotate(-2deg); }
.nota-e2 svg { margin-left: auto; }
.feitos { display: grid; gap: 12px; margin-block: 26px 30px; }
.feitos li { position: relative; padding-left: 34px; font-weight: 500; }
.feitos li::before { content: ""; position: absolute; left: 2px; top: -.05em; width: 24px; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath d='M4 15c3 2 6 6 8 10C16 16 22 8 29 3' fill='none' stroke='%232440FF' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Calculadora com cupom */
.calc { background: var(--preto); color: var(--branco); padding-block: clamp(56px, 7.5vw, 112px); overflow: hidden; }
.calc-grade { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 7vw, 112px); align-items: center; }
.calc .titulo { margin-bottom: clamp(28px, 3.4vw, 44px); }
.calc-campo { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: baseline; padding-top: 16px; margin-bottom: 22px; border-top: 1px solid var(--linha-escura); color: var(--apoio-escuro); }
.calc-campo output { font: 800 1.3rem/1 var(--f-display); color: var(--branco); font-variant-numeric: tabular-nums; }
.calc-campo input { grid-column: 1 / -1; width: 100%; accent-color: var(--branco); }
.cupom { justify-self: center; width: min(100%, 380px); background: var(--branco); color: var(--preto); font: 400 .92rem/1.4 var(--f-cupom); padding: 26px 24px 34px; transform: rotate(2.2deg); --dente: 12px; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--dente) 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--dente) 51% repeat-x; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / var(--dente) 51% repeat-x, conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / var(--dente) 51% repeat-x; }
.cupom-topo { text-align: center; padding-bottom: 14px; border-bottom: 1.5px dashed var(--preto); }
.cupom-topo b { display: block; font-weight: 700; letter-spacing: .06em; }
.cupom dl { margin: 0; padding-block: 12px; border-bottom: 1.5px dashed var(--preto); }
.cupom dl div { display: flex; justify-content: space-between; gap: 12px; }
.cupom dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.cupom-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; font-weight: 700; }
.cupom-total strong { font: 800 clamp(1.9rem, 3.4vw, 2.7rem)/1 var(--f-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cupom-fim { text-align: center; margin-top: 18px; padding-top: 12px; border-top: 1.5px dashed var(--preto); font-size: .82rem; }

/* Passos */
.passos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(16px, 2.4vw, 36px); }
.passos .num { position: relative; display: inline-grid; place-items: center; width: 64px; height: 64px; font: 800 2rem/1 var(--f-display); }
.passos .num::after { content: ""; position: absolute; inset: -4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M52 8C26 6 8 26 9 52c1 26 20 42 44 40 24-2 40-22 38-46C89 24 72 9 46 12' fill='none' stroke='%232440FF' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.passos li:nth-child(even) .num::after { transform: rotate(140deg); }
.passos h3 { margin-block: 18px 8px; text-transform: lowercase; font-size: 1.5rem; }
.passos p { color: var(--apoio); }

/* Sistemas */
.acesso { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 22px clamp(18px, 2.4vw, 32px); background: var(--preto); color: var(--branco); text-decoration: none; border-radius: 18px; transition: background .2s ease; }
.acesso span { color: var(--apoio-escuro); }
.acesso b { font-weight: 600; font-size: 1.1rem; }
.acesso em { font-style: normal; margin-left: auto; font-size: 1.4rem; transition: transform .2s ease; }
.acesso:hover { background: var(--caneta); } .acesso:hover span { color: var(--branco); } .acesso:hover em { transform: translate(4px, -4px); }
.produto { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.previa { min-width: 0; }
.previa-palco { position: relative; background: var(--cinza); height: clamp(440px, 46vw, 660px); padding: clamp(26px, 3.4vw, 52px) clamp(26px, 3.4vw, 52px) clamp(36px, 4vw, 60px); display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; border-radius: 18px; }
.previa-palco img { animation: sobe .4s ease; }
.previa-palco .tela-cel { height: 100%; width: auto; max-width: none; min-height: 0; }
.nota-palco { position: absolute; right: 5%; top: 6%; transform: rotate(5deg); text-align: center; }
.estado { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--apoio); white-space: nowrap; }
.estado i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.estado-ativo { color: var(--preto); margin-bottom: 14px; } .estado-ativo i { background: var(--verde); border-color: var(--verde); }
.vazio-filtro { margin-top: 24px; color: var(--apoio); }

/* Portfólio */
.aba-painel { animation: sobe .35s ease; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 250px)); justify-content: center; gap: clamp(18px, 4vw, 64px); background: var(--cinza); border-radius: 18px; padding: clamp(28px, 4vw, 56px) clamp(18px, 3vw, 40px) clamp(22px, 3vw, 36px); }
.trio figure { display: grid; gap: 22px; justify-items: center; }
.trio figure:nth-child(1) { transform: rotate(-2deg); } .trio figure:nth-child(3) { transform: rotate(2deg); }
.trio .tela-cel { width: 100%; }
.fluxo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px clamp(26px, 3.4vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.fluxo li { position: relative; border-top: 1.5px solid var(--preto); padding-top: 14px; display: grid; gap: 4px; align-content: start; }
.fluxo li:not(:last-child)::after { content: ""; position: absolute; right: calc(clamp(26px, 3.4vw, 48px) * -1 + 4px); top: -11px; width: clamp(18px, 2.6vw, 38px); height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20' preserveAspectRatio='none'%3E%3Cpath d='M2 11c8-4 20-4 34-1M27 3l9 7-9 7' fill='none' stroke='%232440FF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.fluxo span { color: var(--apoio); font-size: .9rem; }
.fluxo b { font-weight: 600; line-height: 1.3; }
.mural { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 56px); background: var(--cinza); border-radius: 18px; padding: clamp(40px, 6vw, 88px) 20px; }
.postit { position: relative; width: min(100%, 250px); aspect-ratio: 1; background: var(--postit); padding: 34px 22px 22px; display: grid; align-content: center; gap: 8px; text-align: center; box-shadow: 6px 8px 0 rgba(17, 17, 17, .12); text-decoration: none; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.postit:nth-child(3n+1) { transform: rotate(-4deg); } .postit:nth-child(3n+2) { transform: rotate(2deg) translateY(14px); } .postit:nth-child(3n) { transform: rotate(-1.5deg); }
.postit:hover { transform: rotate(0) scale(1.04); }
.postit::before { content: ""; position: absolute; left: 50%; top: -12px; width: 86px; height: 26px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(17, 17, 17, .08); transform: translateX(-50%) rotate(-3deg); }
.postit b { font: 700 2.3rem/1 var(--f-mao); color: var(--preto); }
.postit span { font: 700 1.3rem/1.1 var(--f-mao); color: var(--caneta); }
.postit img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.gmn { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.gmn-ilu { width: clamp(120px, 14vw, 190px); margin-top: 32px; transform: rotate(-5deg); }
.grafico { display: grid; gap: clamp(26px, 3vw, 40px); min-width: 0; }
.graf-item { border-top: 1.5px solid var(--preto); padding-top: 14px; }
.graf-item h4 { font: 600 1rem/1.2 var(--f-texto); display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.graf-item h4 em { font: 700 clamp(2.4rem, 4.4vw, 3.8rem)/.8 var(--f-mao); color: var(--caneta); font-style: normal; transform: rotate(-3deg); }
.graf-barra { display: grid; grid-template-columns: 58px minmax(0, 1fr) 52px; align-items: center; gap: 10px; font-size: .86rem; color: var(--apoio); margin-bottom: 6px; }
.graf-barra i { display: block; height: 22px; background: #D4D4D4; width: 0; border-radius: 0 6px 6px 0; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.graf-barra.depois i { background: var(--preto); }
.graf-barra b { color: var(--preto); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }

/* Sobre */
.manifesto { font: 600 clamp(1.3rem, 2.4vw, 2.2rem)/1.2 var(--f-texto); letter-spacing: -0.025em; max-width: 30em; margin-top: clamp(20px, 3vw, 36px); text-wrap: pretty; }
.fundador { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.retrato { position: relative; justify-self: center; width: min(100%, 400px); background: var(--branco); padding: 14px 14px 12px; box-shadow: 0 0 0 1.5px var(--preto), 10px 12px 0 var(--preto); transform: rotate(-3deg); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.retrato:hover { transform: rotate(0); }
.retrato img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 30%; }
.retrato figcaption { text-align: center; padding-top: 10px; font-size: 1.7rem; }
.retrato::before, .retrato::after { content: ""; position: absolute; width: 96px; height: 28px; background: rgba(255, 228, 92, .85); box-shadow: 0 0 0 1px rgba(17, 17, 17, .1); }
.retrato::before { left: -30px; top: 6px; transform: rotate(-38deg); }
.retrato::after { right: -30px; bottom: 60px; transform: rotate(-34deg); }
.fundador-texto .texto-apoio { margin-bottom: 28px; }
.principios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(16px, 2.4vw, 36px); margin-top: clamp(64px, 8vw, 128px); }
.principios h3 { text-transform: lowercase; font-size: 1.5rem; }
.principios p { color: var(--apoio); margin-top: 8px; max-width: 38ch; }

/* Chamada final */
.chamada { border-top: 1.5px solid var(--preto); padding-block: clamp(44px, 6vw, 96px); overflow: hidden; }
.chamada-grade { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(24px, 4vw, 64px); align-items: center; }
.chamada-link { text-decoration: none; display: block; min-width: 0; }
.chamada-link .titulo { display: block; font-size: clamp(2.8rem, 9.4vw, 9.6rem); line-height: .9; text-wrap: wrap; }
.chamada-link em { font-style: normal; display: inline-block; color: var(--caneta); transition: transform .3s ease; }
.chamada-link:hover em { transform: translateX(.2em); }
.chamada-link .risco path { stroke-width: 7; }
.chamada-link .risco svg { transition: transform .3s ease; transform-origin: left; }
.chamada-link:hover .risco svg { transform: scaleX(1.06) rotate(-1deg); }
.chamada-lado { display: grid; justify-items: center; gap: 14px; text-align: center; }
.chamada-ilu { width: clamp(120px, 13vw, 180px); animation: balanca 4s ease-in-out infinite; }
.chamada-lado .nota { transform: rotate(-3deg); font-size: 1.6rem; }

/* Rodapé */
.rodape { background: var(--preto); color: var(--branco); padding-top: clamp(32px, 4vw, 56px); }
.redes { border: 1px solid var(--linha-escura); border-radius: 28px; padding: 22px 24px 24px; }
.redes-cabeca { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: .82rem; color: var(--apoio-escuro); }
.redes-cabeca span:first-child { text-transform: uppercase; letter-spacing: .14em; }
.redes-lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.redes-lista a { display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px; border-radius: 999px; border: 1px solid var(--linha-escura); background: #1B1B1B; text-decoration: none; min-width: 0; transition: border-color .2s ease, background .2s ease; }
.redes-lista a:hover { border-color: var(--branco); background: #242424; }
.rede-ic { width: 38px; height: 38px; border-radius: 50%; background: #2C2C2C; display: grid; place-items: center; flex: none; }
.redes-lista b { display: block; line-height: 1.2; font-weight: 600; }
.redes-lista small { color: var(--apoio-escuro); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.redes-lista a > span:last-child { min-width: 0; }
.rodape-grade { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 28px clamp(24px, 6vw, 96px); margin-top: clamp(36px, 5vw, 64px); }
.rodape nav { display: grid; gap: 10px; align-content: start; }
.rodape h4 { font: 500 .95rem/1.2 var(--f-texto); margin-bottom: 4px; }
.rodape nav a { text-decoration: none; color: var(--apoio-escuro); font-size: .95rem; }
.rodape nav a:hover { color: var(--branco); }
.rodape-fim { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: clamp(36px, 5vw, 64px); padding-block: 22px calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linha-escura); font-size: .8rem; color: #8A8A8A; }
.rodape-logo { width: 150px; height: auto; }

/* Atendimento rápido */
.flutuante { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 55; display: grid; justify-items: end; gap: 12px; }
.flutuante-btn { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--branco); background: var(--preto); color: var(--branco); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); transition: transform .2s ease, background .2s ease; }
.flutuante-btn:hover { transform: scale(1.07) rotate(-6deg); background: var(--caneta); }
.flutuante-btn svg { width: 26px; height: 26px; }
.flutuante-painel { width: min(290px, calc(100vw - 36px)); background: var(--branco); border: 1.5px solid var(--preto); border-radius: 18px; padding: 18px 18px 6px; box-shadow: 8px 10px 0 var(--preto); animation: sobe .25s ease; margin-right: 8px; margin-bottom: 4px; }
.flutuante-painel p { margin-bottom: 12px; } .flutuante-painel b { font-weight: 600; } .flutuante-painel small { display: block; color: var(--apoio); }
.flutuante-painel a { display: flex; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--linha); text-decoration: none; font-weight: 500; }
.flutuante-painel a em { font-style: normal; color: var(--caneta); transition: transform .2s ease; }
.flutuante-painel a:hover em { transform: translateX(4px); }

/* Antes de sair */
.saida-fundo { position: fixed; inset: 0; z-index: 70; background: rgba(17, 17, 17, .6); display: grid; place-items: center; padding: 20px; animation: sobe .25s ease; }
.saida { width: min(440px, 100%); border-radius: 22px; overflow: hidden; background: var(--branco); box-shadow: 0 40px 100px rgba(0, 0, 0, .45); }
.saida-topo { background: var(--preto); color: var(--branco); padding: 26px 28px 28px; position: relative; }
.saida-topo img { height: 20px; width: auto; margin-bottom: 22px; }
.saida-topo p { font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--apoio-escuro); margin-bottom: 8px; }
.saida-topo h2 { font: 800 1.8rem/1 var(--f-display); text-transform: lowercase; letter-spacing: -0.03em; }
.saida-x { position: absolute; right: 14px; top: 12px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--branco); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.saida-corpo { padding: 24px 28px 22px; display: grid; gap: 12px; }
.saida-corpo p { color: var(--apoio); }
.saida-corpo label { font-weight: 600; font-size: .9rem; }
.saida-linha { display: flex; flex-wrap: wrap; gap: 10px; }
.saida-linha input { flex: 1 1 180px; min-width: 0; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #CACACB; background: var(--branco); color: var(--preto); font: inherit; }
.saida-linha input:focus { outline: 0; border-color: var(--preto); }
.saida-linha .btn { min-height: 46px; }
.saida-nao { justify-self: start; border: 0; background: transparent; color: var(--apoio); font-size: .88rem; cursor: pointer; padding: 6px 0 0; text-decoration: underline; text-underline-offset: 3px; }

/* Revelar ao rolar */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .rv.on { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .status span, .so-desktop { display: none; }
}
@media (max-width: 860px) {
  .menu { display: none; }
  .btn-menu { display: block; }
  .topo-linha { grid-template-columns: 1fr auto; height: 56px; }
  .topo-acoes { gap: 10px; }
  .topo-acoes .btn { min-height: 36px; padding: 0 16px; font-size: .86rem; }
  .faixa-texto b { display: none; }
  .heroi-grade, .duas, .calc-grade, .produto, .gmn, .fundador, .chamada-grade { grid-template-columns: minmax(0, 1fr); }
  .heroi-botoes .btn { flex: 1 1 auto; }
  .quadro { grid-template-columns: minmax(0, 1fr); }
  .celula { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 16px; align-items: start; }
  .celula-ilu { width: 76px; grid-row: 1 / span 5; margin: 0; }
  .celula > :not(.celula-ilu) { grid-column: 2; }
  .anotado { padding-bottom: 0; }
  .anotado .tela-cel { width: min(64%, 260px); transform: none; }
  .anotado .nota { position: static; transform: none; text-align: center; max-width: none; margin-top: 18px; }
  .anotado .nota br, .anotado .nota svg, .anotado .nota-d1, .anotado .nota-e2 { display: none; }
  .passos { grid-template-columns: 1fr 1fr; }
  .trio { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .trio figure { scroll-snap-align: center; transform: none !important; }
  .fluxo, .principios { grid-template-columns: 1fr; }
  .fluxo li::after { display: none; }
  .capa-grade { grid-template-columns: minmax(0, 1fr) 84px; }
  .chamada-lado { justify-items: start; text-align: left; grid-template-columns: auto 1fr; align-items: center; }
  .chamada-ilu { width: 92px; grid-row: 1 / span 2; }
  .chamada-lado .btn { grid-column: 1 / -1; justify-self: stretch; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .previa-palco { height: 480px; }
  .cupom { transform: rotate(1.2deg); }
}
@media (max-width: 480px) {
  .passos { grid-template-columns: 1fr; }
  .status { display: none; }
  .heroi-topo span:last-child { display: none; }
  .nota-palco { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
}
