/* ==========================================================================
   Jailson Silva · TypeMaster — São Luís (MA)
   Tema escuro com linhas verticais, cartões de borda fina e uma única cor de
   destaque. Títulos em Bricolage Grotesque, texto em Geist.
   Ordem: fontes · tokens · base · fundo · utilitários · cabeçalho · laterais ·
          abertura · título de página · cartões · seções · projetos · contato ·
          rodapé · página de projeto · páginas simples · media
   ========================================================================== */

/* Bricolage Grotesque reduzida aos pesos 500–800 (39 KB); Geist variável para o texto */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("./fonts/bricolage-grotesque-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("./fonts/geist-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* -------------------------------------------------------------- tokens ---- */

:root {
  --accent: #4BFFA5; /* build:accent */
  --bg: #101010;
  --bg-2: #161616;
  --white: #FFFFFF;
  --text: #C2C2BE;
  --muted: #8C8C8C;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.14);
  --whatsapp: #25D366;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --shell: 1160px;
  --shell-w: min(calc(100% - 48px), var(--shell));
  --header: 92px;
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);

  color-scheme: dark;
}

/* ---------------------------------------------------------------- base ---- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3, h4, dl, dd, ol, ul, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4 { color: var(--white); font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }

::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ------------------------------------------------- fundo: linhas e grão ---- */

.bg-lines {
  position: fixed;
  z-index: 0;
  top: 0; bottom: 0;
  left: 50%;
  width: var(--shell-w);
  transform: translateX(-50%);
  border-right: 1px solid var(--line);
  background: linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / calc(100% / 3) 100% repeat-x;
  pointer-events: none;
}

.grain {
  position: fixed;
  z-index: 1;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page { position: relative; z-index: 2; }

/* ---------------------------------------------------------- utilitários ---- */

.shell { position: relative; width: var(--shell-w); margin-inline: auto; }

/* nas telas largas sobra espaço nas laterais para o contato fixo */
@media (min-width: 1100px) {
  :root { --shell-w: min(calc(100% - 192px), var(--shell)); }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px; left: 10px;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}
.skip-link:focus-visible { transform: none; }

.accent { color: var(--accent); }

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  transition: background-color 200ms var(--ease), color 200ms var(--ease);
}
.btn:hover { background: var(--accent); color: var(--bg); }
.btn .icon { width: 20px; height: 20px; }
.btn-solid { background: var(--accent); color: var(--bg); }
.btn-solid:hover { background: transparent; color: var(--accent); }

.lnk {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease);
}
.lnk:hover { color: var(--accent); }

/* revelação suave na rolagem — só com JavaScript */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ----------------------------------------------------------- cabeçalho ---- */

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header);
  transition: background-color 260ms var(--ease), height 260ms var(--ease);
}
.site-header.is-stuck { height: 70px; background: rgba(16, 16, 16, 0.94); box-shadow: 0 1px 0 var(--line); }

.header-inner { display: flex; height: 100%; align-items: center; gap: 32px; padding: 0 40px; }

.logo { display: inline-flex; min-height: 44px; align-items: center; margin-right: auto; color: var(--text); font-family: var(--display); font-size: 1.12rem; font-weight: 500; letter-spacing: -0.01em; }
.logo strong { color: var(--white); font-weight: 700; }
.logo-dot { color: var(--accent); font-weight: 700; }

.header-cta { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }
.header-cta .icon { width: 18px; height: 18px; }

.top-menu { display: flex; gap: 6px; }
.top-menu a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 180ms var(--ease);
}
.top-menu a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms var(--ease);
}
.top-menu a:hover,
.top-menu a[aria-current] { color: var(--white); }
.top-menu a[aria-current]::after { transform: scaleX(1); }

.menu-btn { display: none; width: 44px; height: 44px; padding: 14px 10px; }
.menu-btn i { display: block; height: 2px; margin: 5px 0; background: var(--white); transition: transform 220ms var(--ease), opacity 220ms var(--ease); }
.menu-btn[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 49;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 90px 32px 40px;
  background: var(--bg);
}
.mobile-menu a { display: flex; min-height: 60px; align-items: center; color: var(--white); font-size: 2rem; font-weight: 700; }
.mobile-menu a[aria-current] { color: var(--accent); }
.mobile-menu .mobile-contacts { margin-top: 28px; color: var(--muted); font-size: 0.95rem; line-height: 2; }
.mobile-menu .mobile-contacts a { display: inline; min-height: 0; color: var(--text); font-size: inherit; font-weight: 400; }

/* ------------------------------------------- contato e redes laterais ---- */

.side-social {
  position: fixed;
  z-index: 40;
  right: 34px; bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.side-social .follow {
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.8rem;
  writing-mode: vertical-rl;
}
.side-social .rule { width: 1px; height: 64px; margin-bottom: 14px; background: var(--line-2); }
.side-social a { display: grid; width: 44px; height: 44px; place-items: center; color: var(--text); transition: color 180ms var(--ease); }
.side-social a:hover { color: var(--accent); }
.side-social .icon { width: 19px; height: 19px; }

/* ------------------------------------------------------------- abertura ---- */

/* texto à esquerda; à direita, um mural de sites rolando em duas colunas */
.hero { position: relative; padding: 150px 0 70px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; min-height: calc(100svh - 220px); }
.hero-copy { padding-left: 30px; }

.hero-kicker { display: flex; align-items: center; gap: 14px; color: var(--text); font-size: 0.95rem; line-height: 1.4; }
.hero-kicker img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; filter: grayscale(1); }
.hero-kicker b { display: block; color: var(--white); font-weight: 600; }

.hero-title { margin-top: 30px; font-size: clamp(2.6rem, 4.6vw, 4.6rem); font-weight: 750; line-height: 0.98; letter-spacing: -0.04em; }
.hero-title span { display: block; }
.hero-title span + span { margin-top: 0.08em; color: var(--accent); }
.hero-intro { max-width: 46ch; margin-top: 26px; font-size: 1.12rem; line-height: 1.65; }
.started-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin-top: 32px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.88rem; line-height: 1.35; }
.hero-facts strong { display: block; margin-bottom: 2px; color: var(--white); font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; }

.wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  height: min(78svh, 720px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}
.wall-col { min-width: 0; }
.wall-reel, .wall-track { display: flex; flex-direction: column; gap: 18px; }
.wall-reel { animation: wall-up 70s linear infinite; }
.wall-col--down .wall-reel { animation-name: wall-down; animation-duration: 82s; }
.wall:hover .wall-reel,
.wall:focus-within .wall-reel,
.wall.is-paused .wall-reel { animation-play-state: paused; }
@keyframes wall-up { to { transform: translate3d(0, calc(-50% - 9px), 0); } }
@keyframes wall-down { from { transform: translate3d(0, calc(-50% - 9px), 0); } to { transform: none; } }

.tile { position: relative; display: block; overflow: hidden; border-radius: 8px; background: var(--brand, #222); box-shadow: 0 0 0 1px var(--line-2); }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 300ms var(--ease); }
.tile.is-playing video { opacity: 1; }
.tile-cap {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  padding: 28px 12px 10px;
  background: linear-gradient(rgba(8, 8, 8, 0), rgba(8, 8, 8, 0.9));
  color: var(--text);
  font-size: 0.74rem;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.tile-cap b { color: var(--white); font-size: 0.86rem; font-weight: 600; }
.tile:hover .tile-cap,
.tile:focus-visible .tile-cap { opacity: 1; transform: none; }

/* notebooks de tela baixa: o botão de WhatsApp continua na primeira tela */
@media (min-width: 1024px) and (max-height: 780px) {
  .hero { padding-top: 116px; }
  .hero-title { margin-top: 22px; font-size: clamp(2.6rem, min(4.6vw, 8.6svh), 4.6rem); }
  .hero-intro { margin-top: 20px; }
  .started-actions { margin-top: 26px; }
}

/* -------------------------------------------- título de página interna ---- */

.page-started { position: relative; padding: 160px 0 20px; }
.page-started > .shell { padding: 0 30px; }
.page-started h1 { max-width: 22ch; font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -0.04em; }
.page-started .sub { max-width: 62ch; margin-top: 16px; font-size: 1.08rem; }
.breadcrumb { margin-bottom: 8px; font-size: 0.9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--muted); }
.breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; color: var(--white); font-weight: 500; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current] { display: inline-flex; min-height: 44px; align-items: center; color: var(--text); }

/* -------------------------------------------------- seções e cartões ---- */

.section { padding-bottom: 20px; }
.section-title { padding: 110px 30px 34px; }
.section-title h2 { font-size: clamp(1.75rem, 2.6vw, 2.3rem); letter-spacing: -0.03em; }
.section-title p { max-width: 56ch; margin-top: 10px; }
.section-title .row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }

.box {
  position: relative;
  padding: 32px 30px;
  border: 1px solid var(--line);
  background: var(--bg);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }

/* cartão "sobre" */
.about-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 30px; align-items: start; }
.about-card .photo img { width: 150px; height: 150px; object-fit: cover; object-position: center 20%; filter: grayscale(1); }
.about-card p + p { margin-top: 12px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 24px; margin-top: 22px; font-size: 0.92rem; }
.facts dt { display: inline; color: var(--accent); font-weight: 500; }
.facts dt::after { content: ": "; }
.facts dd { display: inline; color: var(--text); }
.facts div { line-height: 1.6; }
.about-card .btn { margin-top: 24px; }

/* serviços, interesses e tudo que tem ícone centralizado */
.service { text-align: center; }
.service .icon { width: 40px; height: 40px; margin: 0 auto 18px; color: var(--accent); stroke-width: 1.6; }
.service h3 { margin-bottom: 10px; font-size: 1.05rem; font-weight: 500; }
.service p { font-size: 0.95rem; }

/* tabela de formatos */
.price { display: flex; flex-direction: column; text-align: center; }
.price .icon { width: 40px; height: 40px; margin: 0 auto 16px; color: var(--accent); stroke-width: 1.6; }
.price h3 { font-size: 1.15rem; font-weight: 500; }
.price .for { margin-top: 8px; font-size: 0.92rem; }
.price .amount { margin: 20px 0 6px; color: var(--white); font-size: 1.35rem; font-weight: 700; }
.price ul { margin: 14px 0 22px; }
.price li { padding: 6px 0; font-size: 0.95rem; }
.price .examples { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.price .examples a { display: inline-flex; min-height: 44px; align-items: center; margin: 0 6px; color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.price .btn { align-self: center; margin-top: 16px; }
.price .badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 2px 8px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.price--featured { border-color: var(--line-2); }
.price .terms { color: var(--muted); font-size: 0.86rem; }
.price-note { max-width: 760px; margin: 28px auto 0; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* linha do tempo: processo, experiência, formação */
.timeline { display: grid; gap: 30px; }
.timeline h3 { margin: 4px 0 10px; font-size: 1.05rem; font-weight: 500; }
.timeline .date { color: var(--accent); font-size: 0.82rem; font-weight: 500; }
.timeline p { font-size: 0.95rem; }

/* barras de habilidade */
.skill + .skill { margin-top: 22px; }
.skill .head { display: flex; justify-content: space-between; color: var(--white); font-size: 0.95rem; font-weight: 500; }
.skill .bar { height: 3px; margin-top: 8px; background: #262626; }
.skill .bar span { display: block; height: 100%; background: var(--accent); width: var(--level); }
.js .skills .bar span { width: 0; transition: width 1200ms var(--ease); }
.js .skills.is-in .bar span { width: var(--level); }

/* lista de conhecimentos */
.knowledge { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; }
.knowledge li { display: flex; align-items: center; gap: 12px; color: var(--white); font-size: 0.95rem; }
.knowledge .icon { width: 18px; height: 18px; color: var(--accent); stroke-width: 2.6; }

/* depoimentos */
.quote-person { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.quote-person img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.quote-person strong { display: block; color: var(--white); font-weight: 500; }
.quote-person span { font-size: 0.85rem; }

/* perguntas frequentes */
.faq-list { display: grid; gap: 16px; }
.faq-list details { padding: 0 30px; border: 1px solid var(--line); background: var(--bg); }
.faq-list summary {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 1.6rem; font-weight: 300; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-bottom: 26px; }

/* ------------------------------------------------------------ projetos ---- */

.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.work { padding: 0; overflow: hidden; transition: border-color 240ms var(--ease); }
.work:hover { border-color: var(--line-2); }
.work-visual {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--brand, #222);
}
.work-shot {
  position: absolute;
  left: 8%; top: 10%;
  width: 78%;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 44px -20px rgba(0, 0, 0, 0.9);
  transition: transform 520ms var(--ease);
}
.work-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.work-phone {
  position: absolute;
  right: 6%; top: 30%;
  width: 19%;
  overflow: hidden;
  border: 3px solid #0A0A0A;
  border-radius: 14px;
  background: #0A0A0A;
  box-shadow: 0 20px 34px -14px rgba(0, 0, 0, 0.9);
  transition: transform 520ms var(--ease);
}
.work-phone img { width: 100%; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; border-radius: 10px; }
.work:hover .work-shot { transform: translateY(-6px); }
.work:hover .work-phone { transform: translateY(-12px); }
.work-meta { padding: 24px 28px 28px; }
.work-meta .seg { color: var(--accent); font-size: 0.82rem; font-weight: 500; }
.work-meta h2, .work-meta h3 { margin: 4px 0 8px; font-size: 1.25rem; font-weight: 500; }
.work-link::after { content: ""; position: absolute; z-index: 2; inset: 0; }
.work-link:focus-visible { outline: none; }
.work-link:focus-visible::after { outline: 2px solid var(--accent); outline-offset: -4px; }
.work-meta p { font-size: 0.95rem; }
.work-meta .more { display: inline-flex; margin-top: 14px; color: var(--white); font-size: 0.92rem; font-weight: 500; }
.work:hover .more { color: var(--accent); }

/* o site em movimento: o vídeo cobre a captura ao passar o mouse */
.work-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 360ms var(--ease);
}
.work-shot.is-playing .work-video { opacity: 1; }

/* etiqueta "Proposta": site feito para apresentar ao negócio, antes de contrato */
.work-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 2px 10px 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(10, 10, 10, 0.62);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.work-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.work-visual > .work-tag,
.project-visual > .work-tag { position: absolute; z-index: 3; bottom: 14px; left: 14px; }

.works-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 30px; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* filtros da página Projetos (no celular ficam presos sob o cabeçalho) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.filters button {
  display: inline-flex;
  flex: none;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.filters button span { color: var(--muted); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.filters button:hover { border-color: var(--accent); color: var(--white); }
.filters button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: var(--bg); }
.filters button[aria-pressed="true"] span { color: rgba(16, 16, 16, 0.62); }

/* atalhos por segmento na página inicial */
.seg-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 36px;
  padding: 24px 30px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.seg-links p { color: var(--white); font-weight: 500; }
.seg-links ul { display: flex; flex-wrap: wrap; gap: 8px; }
.seg-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  color: var(--text);
  font-size: 0.9rem;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}
.seg-links a span { color: var(--accent); font-size: 0.8rem; font-variant-numeric: tabular-nums; }
.seg-links a:hover { border-color: var(--accent); color: var(--white); }

.center-row { display: flex; justify-content: center; margin-top: 40px; }

/* chamada para contato */
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 32px; }
.cta-box .person { display: flex; align-items: center; gap: 18px; }
.cta-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 20%; filter: grayscale(1); }
.cta-box h2 { font-size: 1.45rem; }
.cta-box p { margin-top: 4px; }

/* ------------------------------------------------------------- contato ---- */

.contact-card { text-align: center; }
.contact-card .icon { width: 34px; height: 34px; margin: 0 auto 14px; color: var(--accent); }
.contact-card h3 { margin-bottom: 6px; font-size: 1rem; font-weight: 500; }
.contact-card a { display: inline-flex; min-height: 44px; align-items: center; color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; }
.contact-card a:hover { color: var(--accent); }

.contact-form { display: grid; gap: 10px; }
.contact-form label { display: block; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  transition: border-color 200ms var(--ease);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form textarea:focus { outline: 0; border-bottom-color: var(--accent); }
.contact-form .is-invalid { border-bottom-color: #FF6B6B; }
.contact-form .btn { justify-self: start; margin-top: 18px; }
.form-status { min-height: 26px; font-size: 0.92rem; }
.form-status.is-error { color: #FF8A8A; }
.form-status.is-ok { color: var(--accent); }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 18px; font-size: 0.92rem; }
.copy-email { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); font-size: 0.85rem; }
.copy-email:hover { border-color: var(--accent); color: var(--accent); }

/* -------------------------------------------------------------- rodapé ---- */

.site-footer { padding: 90px 0 40px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 26px 30px 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.footer-inner a { display: inline-flex; min-height: 44px; align-items: center; color: var(--text); }
.footer-inner a:hover { color: var(--accent); }

.floating-whatsapp {
  position: fixed;
  z-index: 45;
  right: 14px; bottom: 14px;
  display: none;
  width: 56px; height: 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 26px -8px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.floating-whatsapp.is-shown { opacity: 1; pointer-events: auto; transform: none; }
.floating-whatsapp .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; }

/* cursor que acompanha o mouse */
.cursor {
  position: fixed;
  z-index: 100;
  top: 0; left: 0;
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease), width 220ms var(--ease), height 220ms var(--ease), margin 220ms var(--ease);
  mix-blend-mode: difference;
}
.cursor.is-on { opacity: 0.55; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; opacity: 0.35; }

/* ------------------------------------- início: etapas e "quem faz" ---- */

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps .box { padding: 28px 24px; }
.steps .date { color: var(--accent); font-size: 0.82rem; font-weight: 500; }
.steps h3 { margin: 6px 0 10px; font-size: 1.15rem; }
.steps p:not(.date) { font-size: 0.93rem; line-height: 1.65; }

.who { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 64px; align-items: center; padding: 120px 30px 0; }
.who-photo { aspect-ratio: 4 / 5; background: #1A1A1A; clip-path: polygon(16% 0, 100% 7%, 86% 100%, 0 94%); }
.who-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; filter: grayscale(1) contrast(1.08) brightness(0.9); }
.eyebrow { color: var(--accent); font-size: 0.85rem; font-weight: 500; }
.who h2 { margin: 10px 0 20px; font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.04; letter-spacing: -0.035em; }
.who-copy p + p { margin-top: 12px; }
.who .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 26px 0 14px; }

/* --------------------------------------------------- página de projeto ---- */

.project-card { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 34px; align-items: center; }
.project-card .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-card .actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; }
.project-visual { position: relative; padding: 8% 8% 12%; background: var(--brand, #222); }
.project-visual .shot { overflow: hidden; border-radius: 4px; box-shadow: 0 26px 46px -22px rgba(0, 0, 0, 0.95); }
.project-visual .phone {
  position: absolute;
  right: 4%; bottom: 6%;
  width: 22%;
  overflow: hidden;
  border: 4px solid #0A0A0A;
  border-radius: 16px;
  background: #0A0A0A;
}
.project-visual .phone img { width: 100%; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; border-radius: 11px; }
.case-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #0A0A0A; }
.proposal-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; line-height: 1.6; }

.problem { color: var(--white); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 300; line-height: 1.55; }
.problem::before { content: "“"; display: block; height: 0.5em; color: var(--accent); font-size: 3.4rem; font-weight: 700; line-height: 1; }

.pager a { display: grid; gap: 2px; }
.pager small { color: var(--accent); font-size: 0.85rem; font-weight: 500; }
.pager strong { color: var(--white); font-size: 1.2rem; font-weight: 500; }
.pager a:last-child { text-align: right; }
.pager a:hover { border-color: var(--line-2); }

.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech li { padding: 6px 14px; border: 1px solid var(--line-2); color: var(--white); font-size: 0.88rem; }

/* ------------------------------------------------------ páginas simples ---- */

.prose { max-width: 70ch; }
.prose h2 { margin: 36px 0 10px; font-size: 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 12px; }
.prose ul { margin-top: 10px; padding-left: 20px; list-style: disc; }
.prose li + li { margin-top: 4px; }
.prose a { color: var(--white); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.prose .updated { margin-top: 30px; color: var(--muted); font-size: 0.9rem; }

/* ================================================================ media ==== */

@media (max-width: 1099px) {
  .side-social { display: none; }
  .cursor { display: none; }
}

@media (max-width: 1023px) {
  :root { --header: 72px; }
  .header-inner { padding: 0 24px; }
  .top-menu { display: none; }
  .menu-btn { display: block; position: relative; z-index: 51; }
  .floating-whatsapp { display: grid; }

  .header-cta { display: none; }

  /* abertura em coluna; o mural vira duas faixas que correm de lado */
  .hero { padding: 112px 0 40px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 44px; min-height: 0; }
  .hero-copy { padding-left: 0; }
  .wall {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100vw;
    height: auto;
    margin-left: calc(50% - 50vw);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .wall-col { overflow: hidden; }
  .wall-reel, .wall-track { flex-direction: row; gap: 12px; }
  .wall-reel { width: max-content; animation-name: wall-left; animation-duration: 64s; }
  .wall-col--down .wall-reel { animation-name: wall-right; animation-duration: 76s; }
  .wall-track li { width: 220px; }
  @keyframes wall-left { to { transform: translate3d(calc(-50% - 6px), 0, 0); } }
  @keyframes wall-right { from { transform: translate3d(calc(-50% - 6px), 0, 0); } to { transform: none; } }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 90px 0 0; }
  .who-photo { width: min(420px, 86%); }
  .grid-3, .knowledge { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  :root { --shell-w: calc(100% - 32px); }
  .section-title { padding: 80px 0 26px; }
  .box { padding: 26px 22px; }
  .grid-2, .grid-3, .works, .knowledge { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .about-card { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .project-card .facts { grid-template-columns: minmax(0, 1fr); }
  .work-visual { aspect-ratio: 4 / 3; }
  .work-meta { padding: 22px; }
  .pager a:last-child { text-align: left; }
  .faq-list details { padding: 0 22px; }
  .footer-inner { padding: 22px 0 0; }
  .cta-box .btn { width: 100%; }
  .page-started { padding: 112px 0 10px; }
  .page-started > .shell { padding: 0; }
  .page-started h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .hero-title { font-size: clamp(2.3rem, 10.4vw, 3.2rem); }
  .hero-intro { font-size: 1.04rem; }
  .hero-facts { gap: 14px 26px; margin-top: 36px; }
  .hero-facts strong { font-size: 1.4rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .who .facts { grid-template-columns: minmax(0, 1fr); }
  .filters { position: sticky; z-index: 30; top: 70px; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 10px 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .seg-links { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .cursor { display: none; }
}

@media print {
  .site-header, .mobile-menu, .side-social, .floating-whatsapp, .cursor, .grain, .bg-lines { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
