/* Fontes servidas pelo próprio site (Google Fonts, licença OFL, subconjunto latin) */
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(../fonts/plus-jakarta-sans-800-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format('woff2');
}

:root {
  --creme: #FFF7ED;
  --branco: #FFFFFF;
  --laranja: #F97316;
  --amarelo: #FACC15;
  --amarelo-suave: #FEF9C3;
  --tinta: #1C1917;
  --texto-2: #57534E;
  --whats: #22C55E;
  --raio: 14px;
  --fonte-titulo: 'Plus Jakarta Sans', system-ui, sans-serif;
  --fonte-texto: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--creme);
  color: var(--tinta);
  font-family: var(--fonte-texto);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-titulo); line-height: 1.1; text-wrap: balance; }

section[id] { scroll-margin-top: 64px; }
.container { max-width: 1120px; margin-inline: auto; padding-inline: 16px; }

:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; border-radius: 4px; }
/* Sobre fundo escuro o contorno escuro some: amarelo (11,4:1 sobre --tinta) */
.contato :focus-visible, .galeria :focus-visible { outline-color: var(--amarelo); }

.pular {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--tinta); color: var(--branco); padding: 12px 16px; border-radius: 10px;
}
.pular:focus { top: 12px; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 24px; border-radius: 12px;
  font-weight: 600; font-size: 1.0625rem; text-decoration: none; line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.botao--escuro { background: var(--tinta); color: var(--branco); }
.botao--laranja { background: var(--laranja); color: var(--tinta); }

/* Cabeçalho */
.cabecalho {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--creme) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(28 25 23 / .06);
}
.cabecalho__linha { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; position: relative; }
.logo {
  font-family: var(--fonte-titulo); font-weight: 800; font-size: 1.375rem; letter-spacing: -.02em;
  text-decoration: none; display: inline-flex; align-items: center; min-height: 44px;
}
.logo span { color: var(--laranja); }
.menu ul { list-style: none; padding: 0; display: flex; gap: 4px; }
.menu a {
  display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px;
  font-weight: 600; font-size: .9375rem; text-decoration: none; border-radius: 8px;
}
.menu a:hover { color: #C2410C; }
.menu-botao { display: none; }

@media (max-width: 767.98px) {
  html.js .menu-botao {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--tinta); cursor: pointer;
  }
  .menu-botao__icone, .menu-botao__icone::before, .menu-botao__icone::after {
    display: block; width: 20px; height: 2px; background: var(--branco); border-radius: 2px; position: relative;
    transition: transform .2s ease, background-color .2s ease;
  }
  .menu-botao__icone::before, .menu-botao__icone::after { content: ''; position: absolute; left: 0; }
  .menu-botao__icone::before { top: -6px; }
  .menu-botao__icone::after { top: 6px; }
  .menu-botao[aria-expanded="true"] .menu-botao__icone { background: transparent; }
  .menu-botao[aria-expanded="true"] .menu-botao__icone::before { transform: translateY(6px) rotate(45deg); }
  .menu-botao[aria-expanded="true"] .menu-botao__icone::after { transform: translateY(-6px) rotate(-45deg); }

  html.js .menu {
    position: absolute; top: 100%; left: 16px; right: 16px;
    background: var(--branco); border-radius: var(--raio); padding: 8px;
    box-shadow: 0 16px 40px rgb(28 25 23 / .15);
  }
  html.js .menu:not(.aberto) { display: none; }
  html.js .menu ul { flex-direction: column; }
  html.js .menu a { display: flex; min-height: 48px; padding-inline: 16px; font-size: 1.0625rem; }
}

/* Topo */
.topo { position: relative; overflow: hidden; padding-block: 48px 184px; }
.topo__conteudo { position: relative; z-index: 1; }
.selo {
  display: inline-block; background: var(--amarelo); color: var(--tinta);
  font-weight: 600; font-size: .8125rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.topo h1 { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; }
.topo__sub { font-size: 1.125rem; color: var(--texto-2); margin-block: 16px 28px; max-width: 32ch; }
.forma { position: absolute; display: block; }
.forma--quadrado {
  width: 180px; height: 180px; right: -50px; bottom: -50px;
  background: var(--laranja); border-radius: 36px; transform: rotate(18deg);
}
.forma--circulo { width: 64px; height: 64px; right: 120px; bottom: 90px; background: var(--amarelo); border-radius: 50%; }

/* Formas sempre à direita do texto (teste formas-sem-cobrir-texto). */
@media (min-width: 768px) {
  .topo { padding-block: 96px 112px; }
  .topo__conteudo > * { max-width: 58%; }
  .topo__sub { font-size: 1.25rem; }
  .forma--quadrado { width: 280px; height: 280px; right: -90px; bottom: -90px; border-radius: 52px; }
  .forma--circulo { width: 90px; height: 90px; right: 120px; bottom: auto; top: 40px; }
}
@media (min-width: 1024px) {
  .topo__conteudo > * { max-width: 60%; }
  .forma--quadrado { width: 340px; height: 340px; right: -70px; bottom: -80px; border-radius: 60px; }
  .forma--circulo { width: 100px; height: 100px; right: 260px; top: 60px; }
}
@media (min-width: 1280px) {
  .forma--quadrado { width: 440px; height: 440px; right: 0; bottom: -60px; border-radius: 64px; }
  .forma--circulo { width: 110px; height: 110px; right: 400px; top: 90px; }
}

/* Seções */
.secao { padding-block: 72px; }
.secao--branca { background: var(--branco); }
.secao h2 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 32px; }
.container--estreito { max-width: 800px; }
@media (min-width: 768px) { .secao { padding-block: 104px; } }

/* Serviços */
.servicos { display: grid; gap: 20px; }
.servico { padding: 28px 24px; border-radius: var(--raio); border: 1px solid rgb(28 25 23 / .06); }
.servico--creme { background: var(--creme); }
.servico--amarelo { background: var(--amarelo-suave); }
.servico__icone { display: block; width: 80px; height: 80px; margin: -8px 0 12px -8px; mix-blend-mode: multiply; }
.servico h3 { font-size: 1.625rem; font-weight: 800; margin-bottom: 8px; }
.servico > p { color: var(--texto-2); font-size: 1.0625rem; margin-bottom: 20px; }
.etiquetas { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquetas li {
  background: var(--branco); border: 1px solid rgb(28 25 23 / .1); border-radius: 999px;
  padding: 6px 12px; font-size: .875rem; font-weight: 600;
}
@media (min-width: 768px) { .servicos { grid-template-columns: 1fr 1fr; } .servico { padding: 36px 32px; } }

/* Como funciona */
.passos { list-style: none; padding: 0; display: grid; gap: 16px; counter-reset: passo; }
.passo {
  counter-increment: passo; position: relative;
  padding: 24px 24px 24px 100px; border-radius: var(--raio); background: var(--creme); min-height: 112px;
}
.passo__icone { position: absolute; left: 16px; top: 20px; width: 64px; height: 64px; mix-blend-mode: multiply; }
.passo::before {
  content: counter(passo); position: absolute; left: 62px; top: 66px; z-index: 1;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--laranja); color: var(--tinta); border: 2px solid var(--creme);
  font-family: var(--fonte-titulo); font-weight: 800; font-size: .875rem;
}
.passo h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.passo p { color: var(--texto-2); }
@media (min-width: 768px) { .passos { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Sobre */
.sobre { display: grid; gap: 28px; align-items: center; }
.sobre h2 { margin-bottom: 16px; }
.sobre p { font-size: 1.0625rem; color: var(--texto-2); max-width: 62ch; }
.sobre__foto {
  width: 140px; height: 140px; border-radius: 50%; background: var(--laranja); color: var(--tinta);
  display: grid; place-items: center; font-family: var(--fonte-titulo); font-weight: 800; font-size: 3.5rem;
  box-shadow: 10px 10px 0 var(--amarelo);
}
@media (min-width: 768px) { .sobre { grid-template-columns: auto 1fr; gap: 56px; } .sobre__foto { width: 200px; height: 200px; font-size: 5rem; } }

/* Dúvidas */
.duvidas { display: grid; gap: 12px; }
.duvida { background: var(--creme); border-radius: var(--raio); }
.duvida summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 16px 20px; font-weight: 600; font-size: 1.0625rem; border-radius: var(--raio);
}
.duvida summary::-webkit-details-marker { display: none; }
.duvida summary::after {
  content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--amarelo); font-weight: 800; font-size: 1.25rem; transition: transform .2s ease;
}
.duvida[open] summary::after { transform: rotate(45deg); }
.duvida p { padding: 0 20px 20px; color: var(--texto-2); }

/* Chamada final */
.contato { background: var(--tinta); color: var(--branco); text-align: center; }
.contato h2 { margin-bottom: 16px; }
.contato p { color: #D6D3D1; font-size: 1.125rem; margin-bottom: 32px; }

/* Rodapé */
.rodape { padding-block: 32px 104px; font-size: .9375rem; text-align: center; }
.rodape__linha { display: grid; gap: 6px; }
.rodape a { text-decoration: none; font-weight: 600; display: inline-block; padding-block: 12px; }
.rodape a:hover { text-decoration: underline; }
.rodape__fe { color: var(--texto-2); font-size: .8125rem; }

/* Botão flutuante */
.whats-flutuante {
  position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--whats); color: var(--branco);
  box-shadow: 0 8px 24px rgb(28 25 23 / .25);
  transition: transform .2s ease;
}
@media (min-width: 768px) { .whats-flutuante { right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); width: 60px; height: 60px; } }

/* Projetos */
.projetos { display: grid; gap: 32px; }
.projeto-card { background: var(--branco); border-radius: var(--raio); overflow: hidden; border: 1px solid rgb(28 25 23 / .06); display: flex; flex-direction: column; }
.projeto {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3;
  padding: 24px; border: 0; cursor: zoom-in; background: var(--amarelo-suave); overflow: hidden;
}
.projeto-card:nth-child(2) .projeto { background: #FFEDD5; }
.projeto__ver {
  position: absolute; right: 12px; bottom: 12px; background: var(--tinta); color: var(--branco);
  font-size: .8125rem; font-weight: 600; padding: 6px 10px; border-radius: 999px;
}
html:not(.js) .projeto { cursor: default; }
html:not(.js) .projeto__ver { display: none; }
.projeto__texto { padding: 24px; }
.etiqueta {
  display: inline-block; background: var(--creme); border: 1px solid rgb(249 115 22 / .4);
  font-size: .8125rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.projeto__texto h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; }
.caso dt { font-weight: 600; font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; color: #C2410C; }
.caso dd { margin: 2px 0 14px; color: var(--texto-2); }
.caso dd:last-child { margin-bottom: 0; }
.caso strong { color: var(--tinta); }

/* Molduras */
.moldura-notebook { display: block; width: 92%; position: relative; padding-bottom: 14px; }
.moldura-notebook img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border: 8px solid var(--tinta); border-bottom-width: 12px; border-radius: 12px 12px 0 0; background: var(--tinta);
}
.moldura-notebook::after {
  content: ''; position: absolute; left: -5%; right: -5%; bottom: 0; height: 14px;
  background: #44403C; clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%); border-radius: 0 0 6px 6px;
}
.moldura-celular { position: absolute; top: 24px; bottom: 24px; left: 50%; translate: -50% 0; aspect-ratio: 9 / 18; }
.moldura-celular img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  border: 7px solid var(--tinta); border-radius: 28px; background: var(--tinta);
}
.projeto:hover .moldura-notebook, .projeto:hover .moldura-celular { transform: scale(1.02); }
.moldura-notebook, .moldura-celular { transition: transform .3s ease; }

@media (min-width: 1024px) { .projetos { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* Galeria */
.galeria {
  border: 0; padding: 0; background: transparent; color: var(--branco);
  width: min(100% - 32px, 1100px); max-width: none; max-height: calc(100dvh - 32px); margin: auto; overflow: visible;
}
.galeria::backdrop { background: rgb(28 25 23 / .88); }
.galeria__caixa { position: relative; display: grid; gap: 12px; justify-items: center; }
.galeria__figura { margin: 0; display: grid; place-items: center; }
.galeria__img {
  width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 184px);
  border-radius: 10px; background: var(--branco); object-fit: contain;
}
.galeria__controles { display: flex; align-items: center; gap: 16px; }
.galeria__contador { min-width: 5ch; text-align: center; font-weight: 600; }
.galeria__botao {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--branco); color: var(--tinta); font-size: 1.25rem; font-weight: 700; display: grid; place-items: center;
}
.galeria__fechar { order: -1; justify-self: end; background: var(--amarelo); }

/* Animações (só para quem não pediu menos movimento) */
@media (prefers-reduced-motion: no-preference) {
  html.js .revelar:not(.visivel) { opacity: 0; transform: translateY(16px); }
  html.js .revelar { transition: opacity .5s ease, transform .5s ease; }
  .botao:hover, .whats-flutuante:hover { transform: translateY(-2px); }
  .botao--escuro:hover { box-shadow: 0 8px 20px rgb(28 25 23 / .25); }
  .botao--laranja:hover { box-shadow: 0 8px 24px rgb(249 115 22 / .4); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
.sem-quebra { white-space: nowrap; }
.ponto { margin-left: -.1em; }

/* Ícones 3D flutuando */
@media (prefers-reduced-motion: no-preference) {
  .servico__icone, .passo__icone { animation: flutuar 4s ease-in-out infinite; }
  .servico:nth-child(2) .servico__icone, .passo:nth-child(2) .passo__icone { animation-delay: -1.3s; }
  .passo:nth-child(3) .passo__icone { animation-delay: -2.6s; }
}
@keyframes flutuar { 50% { transform: translateY(-4px); } }

/* Grifo amarelo em "boost" */
.topo h1 { isolation: isolate; }
.grifo { position: relative; white-space: nowrap; }
.grifo::before {
  content: ''; position: absolute; z-index: -1; left: -.04em; right: -.06em; bottom: .06em; height: .34em;
  background: var(--amarelo); border-radius: .08em; transform-origin: left center;
}

/* Entrada do topo */
@media (prefers-reduced-motion: no-preference) {
  html.js .topo__conteudo > * { animation: entrar .6s cubic-bezier(.2, .7, .2, 1) both; }
  /* o h1 é o LCP: entra só deslizando, sem começar invisível, para ser pintado no primeiro quadro */
  html.js .topo__conteudo > h1 { animation-name: deslizar; animation-delay: 0s; }
  html.js .topo__conteudo > :nth-child(3) { animation-delay: .2s; }
  html.js .topo__conteudo > :nth-child(4) { animation-delay: .3s; }
  html.js .grifo::before { animation: grifar .5s .7s cubic-bezier(.6, 0, .2, 1) both; }
  html.js .forma--quadrado { animation: entrar-quadrado .9s cubic-bezier(.2, .7, .2, 1) both, flutuar-quadrado 7s ease-in-out .9s infinite; }
  html.js .forma--circulo { animation: entrar-circulo .8s .2s cubic-bezier(.3, 1.4, .5, 1) both, flutuar-circulo 6s ease-in-out 1s infinite; }
}
@keyframes entrar { from { opacity: 0; transform: translateY(16px); } }
@keyframes deslizar { from { transform: translateY(16px); } }
@keyframes grifar { from { transform: scaleX(0); } }
@keyframes entrar-quadrado { from { opacity: 0; transform: rotate(-8deg) scale(.6); } }
@keyframes flutuar-quadrado {
  0%, 100% { transform: rotate(18deg); }
  50% { transform: rotate(23deg) translateY(-10px); }
}
@keyframes entrar-circulo { from { opacity: 0; transform: scale(.3); } }
@keyframes flutuar-circulo { 50% { transform: translateY(-14px); } }

/* Título que troca a palavra (as palavras ficam empilhadas na mesma célula, com a largura da maior) */
.troca { display: inline-grid; }
.troca > * { grid-area: 1 / 1; }
.troca__palavra { visibility: hidden; }
.troca.trocando .troca__final { opacity: 0; } /* opacity, não visibility: o leitor de tela continua lendo "negócio." */
.troca__palavra.ativa { visibility: visible; animation: palavra-entra .45s cubic-bezier(.2, .7, .2, 1) both; }
.troca__palavra.saindo { visibility: visible; animation: palavra-sai .35s ease-in both; }
.troca__final.chegou { animation: palavra-entra .45s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes palavra-entra { from { opacity: 0; transform: translateY(.4em); filter: blur(4px); } }
@keyframes palavra-sai { to { opacity: 0; transform: translateY(-.4em); filter: blur(4px); visibility: hidden; } }

/* Faixa de serviços correndo */
.faixa {
  display: flex; overflow: hidden; background: var(--tinta); color: var(--creme);
  font-family: var(--fonte-titulo); font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em;
}
.faixa__trilho { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; }
.faixa__trilho li { white-space: nowrap; padding-inline: 14px; }
.faixa__trilho li::after { content: '✦'; color: var(--amarelo); margin-left: 28px; }
.faixa__trilho[aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .faixa__trilho { flex: none; flex-wrap: nowrap; animation: correr 36s linear infinite; }
  .faixa__trilho[aria-hidden="true"] { display: flex; }
  .faixa:hover .faixa__trilho { animation-play-state: paused; }
}
@keyframes correr { to { transform: translateX(-100%); } }
@media (min-width: 768px) { .faixa { font-size: 1.375rem; } .faixa__trilho { padding-block: 22px; } }

/* Botões de WhatsApp: microinterações */
.botao__icone { display: inline-block; transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.botao:active { transform: scale(.97); }
@media (prefers-reduced-motion: no-preference) {
  .botao:hover .botao__icone { transform: translateX(3px) rotate(-8deg); }
  .whats-flutuante { animation: pulso 1.4s 1s ease-out 1; }
}
@keyframes pulso {
  from { box-shadow: 0 8px 24px rgb(28 25 23 / .25), 0 0 0 0 rgb(34 197 94 / .55); }
  to { box-shadow: 0 8px 24px rgb(28 25 23 / .25), 0 0 0 18px rgb(34 197 94 / 0); }
}

/* Balão do botão flutuante */
.balao {
  position: fixed; z-index: 60; right: 84px; bottom: calc(24px + env(safe-area-inset-bottom));
  background: var(--tinta); color: var(--branco); font-weight: 600; font-size: .9375rem;
  padding: 10px 14px; border-radius: 12px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 24px rgb(28 25 23 / .25);
}
.balao::after {
  content: ''; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px;
  background: var(--tinta); transform: translateY(-50%) rotate(45deg); border-radius: 2px;
}
.balao[hidden] { display: none; }
@media (min-width: 768px) { .balao { right: 96px; bottom: calc(34px + env(safe-area-inset-bottom)); } }
@media (prefers-reduced-motion: no-preference) {
  .balao:not([hidden]) { animation: balao-entra .4s cubic-bezier(.3, 1.4, .5, 1) both; transform-origin: right center; }
}
@keyframes balao-entra { from { opacity: 0; transform: translateX(8px) scale(.9); } }

/* Linha que liga os passos */
.passos { position: relative; }
.passo { z-index: 1; }
.passos::before {
  content: ''; position: absolute; z-index: 0; background: var(--laranja); border-radius: 4px;
  left: 46px; width: 4px; top: 56px; bottom: 56px; transform-origin: top center;
}
@media (min-width: 768px) {
  .passos::before { left: 48px; right: 48px; width: auto; top: 50px; bottom: auto; height: 4px; transform-origin: left center; }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .passos.revelar:not(.visivel) { opacity: 1; transform: none; }
  html.js .passos::before { transition: transform 1.2s cubic-bezier(.6, 0, .2, 1); }
  html.js .passos:not(.visivel)::before { transform: scaleY(0); }
  html.js .passo:nth-child(2) { transition-delay: .4s; }
  html.js .passo:nth-child(3) { transition-delay: .8s; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  html.js .passos:not(.visivel)::before { transform: scaleX(0); }
}

/* Projetos escalonados e profundidade dos cards */
@media (prefers-reduced-motion: no-preference) {
  html.js .projeto-card.revelar, html.js .servico.revelar {
    transition: opacity .5s ease var(--atraso, 0s), transform .5s ease var(--atraso, 0s), translate .25s ease, box-shadow .25s ease;
  }
  .projeto-card:nth-child(2) { --atraso: .12s; }
  .projeto-card:nth-child(3) { --atraso: .24s; }
}
@media (hover: hover) {
  .servico, .projeto-card { transition: translate .25s ease, box-shadow .25s ease; }
  .servico:hover, .projeto-card:hover { box-shadow: 0 16px 40px rgb(249 115 22 / .18); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .servico:hover, .projeto-card:hover { translate: 0 -4px; }
  .projeto img { transition: object-position 4s linear; }
  .projeto:hover img { object-position: bottom; }
}

/* Página 404 */
.nao-encontrada { min-height: 100dvh; display: grid; place-items: center; text-align: center; padding-block: 48px; }
.nao-encontrada .container { display: grid; justify-items: center; gap: 20px; }
.nao-encontrada h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
.nao-encontrada p { color: var(--texto-2); font-size: 1.125rem; }

/* Chamada final: ícone 3D e título duotone */
.contato__icone { display: block; width: 96px; height: 96px; margin: 0 auto 20px; }
.contato h2 { text-shadow: 4px 4px 0 var(--laranja); }
@media (prefers-reduced-motion: no-preference) {
  .contato__icone { animation: flutuar 4s ease-in-out infinite; }
  html.js .contato .revelar.visivel h2 { transition: text-shadow .6s cubic-bezier(.2, .7, .2, 1) .25s; } /* só ao aparecer, não ao carregar */
  html.js .contato .revelar:not(.visivel) h2 { text-shadow: 0 0 0 var(--laranja); }
}

/* Botão laranja com círculo amarelo que cresce de onde o mouse entra */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .botao--laranja { position: relative; overflow: hidden; isolation: isolate; }
  .botao--laranja::before {
    content: ''; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%);
    width: 260%; aspect-ratio: 1; border-radius: 50%; background: var(--amarelo);
    translate: -50% -50%; transform: scale(0); transition: transform .5s cubic-bezier(.2, .7, .2, 1);
  }
  .botao--laranja:hover::before { transform: scale(1); }
}

/* Rodapé: ícones sociais */
.sociais { display: flex; justify-content: center; gap: 12px; margin-bottom: 8px; }
.rodape a.social {
  position: relative; overflow: hidden; display: grid; place-items: center; padding: 0;
  width: 48px; height: 48px; border-radius: 50%; background: var(--tinta); color: var(--creme);
  transition: background-color .25s ease;
}
.social__icone, .social__seta { grid-area: 1 / 1; display: grid; place-items: center; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.social__seta { transform: translateY(150%); font-weight: 800; font-size: 1.25rem; color: var(--tinta); }
.rodape a.social:hover { background: var(--amarelo); text-decoration: none; }
.social:hover .social__icone { transform: translateY(-150%); }
.social:hover .social__seta { transform: none; }

/* Rodapé: nome gigante (decorativo) */
.rodape__marca {
  width: fit-content; margin: 24px auto 0; color: #FED7AA; line-height: .8;
  font-family: var(--fonte-titulo); font-weight: 800; letter-spacing: -.05em;
  font-size: clamp(3rem, calc((100vw - 32px) * .2), 13.5rem); user-select: none; /* "BOOST⚡" ≈ 4,45em: ~90% da largura útil */
}
/* Texto gerado pelo CSS: é decorativo e assim não entra na medição de contraste do Lighthouse */
.rodape__marca::before { content: 'BOOST'; }
.rodape__marca::after { content: '⚡'; font-size: .8em; opacity: .55; }

/* Logo elástico */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .logo:hover { animation: elastico .6s ease; }
  .logo:hover span { display: inline-block; animation: piscar .6s ease; }
}
@keyframes elastico {
  30% { transform: scale(1.18, .82); }
  45% { transform: scale(.88, 1.12); }
  60% { transform: scale(1.06, .94); }
  80% { transform: scale(.98, 1.02); }
}
@keyframes piscar { 20%, 60% { opacity: .2; } 40%, 80% { opacity: 1; } }
