/* Site institucional Reiup Marketing · design system
   PROJETO: Site Reiup Institucional · QUANDO USAR: a build copia para /assets/site.css.
   Paleta aprovada: amarelo #FFD500 · preto #0B0B0B · branco #FFFFFF (profundidade só com tons do amarelo).
   Fontes locais: Bricolage Grotesque (títulos), Fraunces itálico (uma palavra de destaque), Inter (texto). */

/* ---------- fontes locais ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/BricolageGrotesque%5Bopsz,wdth,wght%5D.woff2') format('woff2');
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/Fraunces-Italic%5BSOFT,WONK,opsz,wght%5D.woff2') format('woff2');
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter%5Bopsz,wght%5D.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --amarelo: #FFD500;
  --amarelo-claro: #FFEE70;
  --amarelo-escuro: #E6BC00;
  --preto: #0B0B0B;
  --branco: #FFFFFF;

  --f-titulo: 'Bricolage Grotesque', 'Arial Black', system-ui, sans-serif;
  --f-destaque: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-texto: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --t-corpo: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
  --t-pequeno: 0.875rem;
  --t-rotulo: 0.78rem;

  --respiro: clamp(72px, 10vw, 140px);
  --respiro-meio: clamp(48px, 6vw, 88px);
  --gutter: clamp(20px, 5vw, 48px);
  --largura: 1240px;
  --borda: clamp(8px, 1.2vw, 16px);
  --topo-h: 68px;

  --raio-painel: clamp(26px, 4vw, 52px);
  --raio-cartao: clamp(22px, 2.4vw, 30px);
  --raio-pilula: 999px;

  --sombra-preta: 0 40px 80px -36px rgba(11, 11, 11, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-entra: cubic-bezier(0.7, 0, 0.2, 1);
}

/* ---------- temas (cada bloco define as próprias cores) ---------- */
.tema-branco { --bg: var(--branco); --fg: var(--preto); --fg-2: rgba(11, 11, 11, 0.72); --linha: rgba(11, 11, 11, 0.12); --foco: var(--preto); --realce: var(--preto); background: var(--bg); color: var(--fg); }
.tema-amarelo { --bg: var(--amarelo); --fg: var(--preto); --fg-2: rgba(11, 11, 11, 0.78); --linha: rgba(11, 11, 11, 0.16); --foco: var(--preto); --realce: var(--preto); color: var(--fg); background: linear-gradient(160deg, var(--amarelo-claro) 0%, var(--amarelo) 46%, var(--amarelo-escuro) 100%); }
.tema-preto { --bg: var(--preto); --fg: var(--branco); --fg-2: rgba(255, 255, 255, 0.74); --linha: rgba(255, 255, 255, 0.14); --foco: var(--amarelo); --realce: var(--amarelo); background: var(--bg); color: var(--fg); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 32px); }
body {
  margin: 0; background: var(--branco); color: var(--preto);
  font-family: var(--f-texto); font-size: var(--t-corpo); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-titulo); font-weight: 800; letter-spacing: -0.03em; line-height: 1; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--amarelo); color: var(--preto); }
#conteudo:focus { outline: none; }

:focus-visible { outline: 3px solid var(--foco, var(--preto)); outline-offset: 4px; border-radius: 8px; }
.tema-preto :focus-visible, .topo :focus-visible, .menu-movel :focus-visible, .caso :focus-visible { outline-color: var(--amarelo); }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 20px; background: var(--preto); color: var(--amarelo); border-radius: var(--raio-pilula); font-weight: 700; text-decoration: none; transition: top 0.2s; }
.pular:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--largura) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- tipografia ---------- */
.destaque { font-family: var(--f-destaque); font-style: italic; font-weight: 600; letter-spacing: -0.015em; font-variation-settings: 'SOFT' 60, 'WONK' 0; color: var(--realce, currentColor); }
/* marca-texto amarelo das seções brancas: varre por trás da palavra quando ela entra na tela (classe .grifado via JS) e ganha o brilho do herói */
.tema-branco .destaque {
  background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.8) 50%, transparent 62%), linear-gradient(var(--amarelo), var(--amarelo));
  background-repeat: no-repeat; background-size: 260% 30%, 100% 30%; background-position: 130% 88.6%, 0 88.6%;
  padding-inline: 0.06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.js .tema-branco .destaque { transition: background-size 0.95s var(--ease-entra) 0.15s; }
.js .tema-branco .destaque:not(.grifado) { background-size: 260% 30%, 0% 30%; }
.tema-branco .destaque.grifado { animation: brilho-grifo 6s var(--ease) 1.4s infinite; }
@keyframes brilho-grifo { 0% { background-position: 130% 88.6%, 0 88.6%; } 35%, 100% { background-position: -30% 88.6%, 0 88.6%; } }

.titulo-heroi { font-size: clamp(2.9rem, 8.2vw, 7.4rem); line-height: 0.92; letter-spacing: -0.04em; max-width: 11ch; }
.titulo-1 { font-size: clamp(2.5rem, 6vw, 5.4rem); line-height: 0.96; letter-spacing: -0.038em; max-width: 19ch; }
.titulo-2 { font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.02; max-width: 18ch; }
.titulo-3 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.08; }
.titulo-cta { font-size: clamp(2.5rem, 7vw, 6.4rem); line-height: 0.95; letter-spacing: -0.04em; max-width: 14ch; margin-inline: auto; }
.texto-grande { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; }
.lead { margin-top: clamp(22px, 3vw, 32px); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--fg-2); max-width: 54ch; }

.rotulo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(18px, 2.4vw, 26px); font-family: var(--f-texto); font-weight: 600; font-size: var(--t-rotulo); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg); }
.rotulo-ponto { width: 9px; height: 9px; border-radius: 50%; background: var(--realce, currentColor); box-shadow: 0 0 0 5px color-mix(in srgb, var(--realce, currentColor) 18%, transparent); }
.tema-branco .rotulo-ponto { background: var(--amarelo); box-shadow: 0 0 0 5px rgba(255, 213, 0, 0.3), 0 0 0 1.5px var(--preto) inset; }
.rotulo-amarelo { color: var(--amarelo); }
.rotulo-amarelo .rotulo-ponto { background: var(--amarelo); }

.numero-gigante { font-family: var(--f-titulo); font-weight: 800; font-stretch: 75%; font-size: clamp(3.8rem, 14vw, 13rem); line-height: 0.84; letter-spacing: -0.035em; white-space: nowrap; color: var(--realce); }
.numero-texto { margin-top: clamp(18px, 2.4vw, 28px); max-width: 34ch; font-family: var(--f-titulo); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--fg-2); }

/* ---------- botões ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--raio-pilula); border: 2px solid transparent;
  font-family: var(--f-titulo); font-weight: 700; font-size: 1rem; letter-spacing: -0.005em; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  translate: var(--mx) var(--my);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.4s var(--ease), transform 0.4s var(--ease), translate 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .ic-seta { transition: transform 0.35s var(--ease); }
.btn:hover .ic-seta { transform: translateX(4px); }
.btn-grande { min-height: 60px; padding: 0 32px; font-size: 1.08rem; }
.btn-preto { background: var(--preto); color: var(--branco); }
.btn-preto .ic { color: var(--amarelo); }
.btn-preto:hover { box-shadow: 0 18px 36px -18px rgba(11, 11, 11, 0.8), 0 0 0 4px rgba(11, 11, 11, 0.08); }
.btn-amarelo { background: var(--amarelo); color: var(--preto); }
.btn-amarelo:hover { background: var(--amarelo-claro); box-shadow: 0 0 0 5px rgba(255, 213, 0, 0.22), 0 18px 40px -16px rgba(255, 213, 0, 0.55); }
.btn-contorno, .btn-contorno-claro { background: transparent; color: var(--fg); border-color: currentColor; }
.btn-contorno:hover, .btn-contorno-claro:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(32px, 4vw, 44px); }

/* ---------- cabeçalho flutuante ---------- */
.topo { position: fixed; z-index: 60; top: calc(var(--borda) + 8px); left: calc(var(--borda) + 8px); right: calc(var(--borda) + 8px); pointer-events: none; }
.topo-barra {
  pointer-events: auto; display: flex; align-items: center; gap: 12px;
  max-width: 1320px; min-height: var(--topo-h); margin-inline: auto; padding: 8px 8px 8px 20px;
  background: rgba(11, 11, 11, 0.9); color: var(--branco); border-radius: var(--raio-pilula);
  
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: box-shadow 0.4s var(--ease), background-color 0.4s var(--ease);
}
.topo.is-scrolled .topo-barra { background: rgba(11, 11, 11, 0.96); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 20px 40px -22px rgba(11, 11, 11, 0.7); }
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--branco); text-decoration: none; flex: none; }
.marca-coroa { width: 36px; height: auto; color: var(--amarelo); transition: transform 0.5s var(--ease); }
.marca:hover .marca-coroa { transform: translateY(-2px) rotate(-4deg); }
.marca-nome { display: flex; flex-direction: column; font-family: var(--f-titulo); font-weight: 800; font-size: 1.12rem; line-height: 0.95; letter-spacing: 0.02em; }
.marca-sub { font-family: var(--f-texto); font-weight: 500; font-size: 0.56rem; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-top: 3px; }
.menu { display: none; margin-inline: auto; }
.menu-lista { display: flex; gap: 2px; }
.menu-lista a { display: block; padding: 10px 14px; border-radius: var(--raio-pilula); font-size: 0.93rem; font-weight: 500; color: rgba(255, 255, 255, 0.82); text-decoration: none; transition: color 0.25s, background-color 0.25s; }
.menu-lista a:hover { color: var(--branco); background: rgba(255, 255, 255, 0.08); }
.menu-lista a.ativo { color: var(--amarelo); background: rgba(255, 213, 0, 0.12); }
.topo-acoes { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-topo { min-height: 48px; padding: 0 20px; font-size: 0.95rem; }
.btn-topo .ic { width: 1.3em; height: 1.3em; }
.menu-botao { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--branco); cursor: pointer; transition: background-color 0.25s; }
.menu-botao:hover { background: rgba(255, 255, 255, 0.18); }
.menu-botao .ic { width: 22px; height: 22px; }
@media (max-width: 379px) {
  .topo-barra { padding-left: 14px; gap: 8px; }
  .btn-topo { width: 48px; padding: 0; }
  .btn-topo-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (min-width: 1100px) {
  .menu { display: block; }
  .topo-acoes { margin-left: 0; }
  .topo-acoes .menu-botao { display: none; }
}

/* menu do celular */
.menu-movel { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; padding: calc(var(--borda) + 8px); background: var(--preto); color: var(--branco); overflow-y: auto; opacity: 0; transform: translateY(-12px); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
.menu-movel[hidden] { display: none; }
.menu-movel.aberto { opacity: 1; transform: none; }
.menu-movel-topo { display: flex; align-items: center; justify-content: space-between; min-height: var(--topo-h); padding: 8px 8px 8px 20px; }
.menu-movel-lista { display: grid; gap: 4px; padding: clamp(28px, 6vh, 56px) 20px; }
.menu-movel-lista a { display: block; padding: 6px 0; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1; letter-spacing: -0.035em; text-decoration: none; color: var(--branco); transition: color 0.25s, transform 0.4s var(--ease); }
.menu-movel-lista a:hover, .menu-movel-lista a.ativo { color: var(--amarelo); }
.menu-movel-lista a:hover { transform: translateX(6px); }
.menu-movel-rodape { margin-top: auto; padding: 20px; }
.menu-movel-rodape .btn { width: 100%; }

/* ---------- painéis e seções ---------- */
.painel { position: relative; isolation: isolate; margin-inline: var(--borda); border-radius: var(--raio-painel); overflow: clip; }
.painel.tema-amarelo::before { /* grão leve */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.2;
  background-image: url('/assets/img/grao.png'); background-size: 160px 160px;
}
.secao { padding-block: var(--respiro); }
.secao-curta { padding-top: 0; padding-bottom: var(--respiro); }
.secao-sem-topo { padding-top: 0; }
.secao-cabeca { max-width: 780px; margin-bottom: var(--respiro-meio); }
.secao-apoio { margin-top: 22px; max-width: 52ch; color: var(--fg-2); font-size: clamp(1.02rem, 1.3vw, 1.18rem); }
.secao-pe { margin-top: clamp(40px, 5vw, 64px); }

/* ---------- herói (home) ---------- */
.heroi-painel { margin-top: var(--borda); padding-top: calc(var(--topo-h) + var(--borda) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(72px, 9vw, 128px); }
.heroi-brilho { --bx: 72%; --by: 42%; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at var(--bx) var(--by), rgba(255, 255, 255, 0.55) 0%, rgba(255, 238, 112, 0.6) 14%, rgba(255, 238, 112, 0) 46%); }
.coroa { height: auto; }
.heroi-coroa { position: absolute; z-index: -1; right: -14%; bottom: -10%; width: min(1100px, 125vw); color: var(--amarelo-escuro); opacity: 0.55; translate: 0 var(--py, 0px); pointer-events: none; }
.heroi-grade { display: grid; gap: clamp(56px, 7vw, 80px); align-items: center; }
.heroi-texto .lead { max-width: 46ch; }

.marcador { position: relative; display: inline-block; padding: 0 0.12em 0.04em; margin-inline: -0.02em; isolation: isolate; }
.marcador .destaque { position: relative; color: var(--amarelo); transition: color 0.45s var(--ease) 0.7s; }
.marcador::before, .marcador::after { content: ''; position: absolute; inset: 0.12em -0.02em 0.02em; z-index: -1; border-radius: 0.2em; transform: rotate(-2deg); transform-origin: left center; }
.marcador::before { background: var(--preto); box-shadow: 0 0.18em 0.4em -0.2em rgba(11, 11, 11, 0.6); transition: transform 0.95s var(--ease-entra) 0.25s; }
.marcador::after { background: linear-gradient(105deg, transparent 38%, rgba(255, 213, 0, 0.38) 50%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 130% 0; animation: brilho 6s var(--ease) 2.4s infinite; }
.js .marcador:not(.ativo)::before { transform: rotate(-2deg) scaleX(0); }
.js .marcador:not(.ativo) .destaque { color: var(--preto); }
@keyframes brilho { 0% { background-position: 130% 0; } 35%, 100% { background-position: -30% 0; } }

.heroi-visual { position: relative; max-width: 620px; width: 100%; margin-inline: auto; translate: 0 var(--pv, 0px); }
/* Marcelo e Letícia: mesma proporção (4:5) e mesmo tamanho, lado a lado; cantos discretos e sombra suave */
.heroi-dupla { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); }
.heroi-foto { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: rgba(11, 11, 11, 0.08); border-radius: clamp(14px, 1.6vw, 20px); box-shadow: 0 22px 44px -26px rgba(11, 11, 11, 0.42); }
.heroi-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.heroi-foto:hover img { transform: scale(1.03); }
.heroi-prova { display: flex; flex-direction: column; gap: 10px; margin-top: clamp(12px, 1.4vw, 18px); padding: 22px 24px; border-radius: 24px; background: var(--preto); color: var(--branco); text-decoration: none; box-shadow: var(--sombra-preta); transition: transform 0.5s var(--ease); }
.heroi-prova:hover { transform: translateY(-4px); }
.heroi-prova-num { font-family: var(--f-titulo); font-weight: 800; font-stretch: 75%; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--amarelo); white-space: nowrap; }
.heroi-prova-txt { font-size: 0.92rem; line-height: 1.45; color: rgba(255, 255, 255, 0.78); }
@media (min-width: 600px) {
  .heroi-prova { flex-direction: row; align-items: center; gap: 20px; }
  .heroi-prova-txt { max-width: 30ch; }
}
@media (min-width: 1000px) {
  .heroi-grade { grid-template-columns: 1.08fr 0.92fr; }
  .heroi-visual { margin-inline: 0 0; }
}

/* faixa que corre (serviços) */
.faixa-envolve { position: relative; z-index: 3; overflow: clip; margin-top: calc(var(--borda) * -1 - 26px); padding-block: 20px; }
.faixa { width: 110%; margin-left: -5%; overflow: clip; background: var(--preto); transform: rotate(-1.4deg); box-shadow: 0 24px 40px -28px rgba(11, 11, 11, 0.6); }
.faixa-trilho { display: flex; width: max-content; color: var(--branco); padding-block: 18px; animation: rolar 48s linear infinite; }
.faixa.pausada .faixa-trilho { animation-play-state: paused; }
.faixa-grupo { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.faixa-grupo span { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(1rem, 1.6vw, 1.35rem); letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.faixa-coroa { width: 34px; color: var(--amarelo); }
@keyframes rolar { to { translate: -50% 0; } }

/* ---------- quem somos ---------- */
.quem-grade { display: grid; gap: clamp(32px, 6vw, 96px); }
.quem-texto { display: grid; gap: 24px; justify-items: start; color: var(--fg-2); }
.quem-texto .texto-grande { color: var(--fg); }
.quem-texto .btn { margin-top: 12px; }
@media (min-width: 960px) { .quem-grade { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- serviços ---------- */
.grade-servicos { display: grid; gap: 14px; }
@media (min-width: 640px) { .grade-servicos { grid-template-columns: repeat(2, 1fr); } .grade-servicos > :first-child { grid-column: span 2; } }
@media (min-width: 1100px) { .grade-servicos { grid-template-columns: repeat(4, 1fr); } }
.cartao-servico {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 260px;
  padding: clamp(26px, 2.6vw, 34px); border-radius: var(--raio-cartao); text-decoration: none;
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.cartao-escuro { background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--branco); }
.cartao-escuro:hover { background: var(--amarelo); border-color: var(--amarelo); color: var(--preto); box-shadow: 0 30px 60px -30px rgba(255, 213, 0, 0.5); }
.cartao-claro { background: var(--branco); border: 1.5px solid rgba(11, 11, 11, 0.12); color: var(--preto); }
.cartao-claro:hover { background: var(--amarelo); border-color: var(--amarelo); box-shadow: 0 30px 60px -32px rgba(11, 11, 11, 0.35); }
.cartao-icone { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 18px; background: var(--amarelo); color: var(--preto); transition: background-color 0.45s var(--ease), color 0.45s var(--ease), transform 0.6s var(--ease); }
.cartao-icone .ic { width: 26px; height: 26px; }
.cartao-servico:hover .cartao-icone { background: var(--preto); color: var(--amarelo); transform: rotate(-6deg) scale(1.05); }
.cartao-nome { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.1; letter-spacing: -0.025em; }
.cartao-texto { font-size: 0.98rem; line-height: 1.55; opacity: 0.78; }
.cartao-mais { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-family: var(--f-titulo); font-weight: 700; font-size: 0.95rem; }
.cartao-escuro .cartao-mais { color: var(--amarelo); }
.cartao-escuro:hover .cartao-mais { color: var(--preto); }
.cartao-mais .ic { transition: transform 0.35s var(--ease); }
.cartao-servico:hover .cartao-mais .ic { transform: translateX(5px); }
@media (min-width: 640px) {
  .grade-servicos > .cartao-servico:first-child { min-height: 320px; }
  .grade-servicos > .cartao-servico:first-child .cartao-nome { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 14ch; }
  .grade-servicos > .cartao-servico:first-child .cartao-texto { max-width: 46ch; font-size: 1.05rem; }
  .grade-servicos > .cartao-servico:first-child .cartao-icone { margin-bottom: auto; }
}

/* ---------- prova e casos ---------- */
.prova-numero { margin-bottom: var(--respiro-meio); }
.grade-casos { display: grid; gap: 16px; max-width: 680px; }
@media (min-width: 1000px) { .grade-casos { grid-template-columns: repeat(3, 1fr); max-width: none; } }
.caso {
  --rx: 0deg; --ry: 0deg;
  --fg: var(--branco); --fg-2: rgba(255, 255, 255, 0.72); --linha: rgba(255, 255, 255, 0.14);
  position: relative; display: flex; flex-direction: column; gap: 22px; overflow: hidden;
  padding: clamp(26px, 2.8vw, 36px); border-radius: var(--raio-cartao); background: var(--preto); color: var(--branco);
  box-shadow: 0 30px 60px -40px rgba(11, 11, 11, 0.7);
}
.caso::before { content: ''; position: absolute; z-index: 0; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 213, 0, 0.32), rgba(255, 213, 0, 0) 68%); pointer-events: none; transition: transform 0.8s var(--ease); }
.caso:hover::before { transform: scale(1.25); }
.caso > * { position: relative; z-index: 1; }
.caso-topo { display: flex; align-items: center; gap: 16px; }
.caso-logo { width: 56px; height: 56px; border-radius: 50%; background: var(--branco); object-fit: cover; flex: none; }
.caso-nome { font-size: 1.35rem; letter-spacing: -0.02em; }
.caso-meta { margin-top: 4px; font-size: var(--t-pequeno); color: var(--fg-2); }
.caso-destaque { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--amarelo); }
.caso-antes-depois { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); }
.caso-antes-depois dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); }
.caso-antes-depois dd { margin-top: 6px; font-family: var(--f-titulo); font-weight: 700; font-size: 1.08rem; line-height: 1.2; letter-spacing: -0.01em; }
.caso-depois dd { color: var(--amarelo); }
.caso-seta { color: var(--amarelo); }
.caso-nota { font-size: 0.97rem; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 419px) {
  .caso-antes-depois { grid-template-columns: 1fr; }
  .caso-seta .ic { transform: rotate(90deg); }
}

/* ---------- bloco para deliverys ---------- */
.delivery {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 28px; align-items: flex-start;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--raio-painel); background: var(--preto); color: var(--branco); text-decoration: none;
}
.delivery-brilho { position: absolute; z-index: -1; width: 620px; height: 620px; right: -200px; bottom: -340px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 213, 0, 0.5), rgba(255, 213, 0, 0) 65%); transition: transform 0.9s var(--ease); }
.delivery:hover .delivery-brilho { transform: scale(1.2) translate(-30px, -20px); }
.delivery-texto { display: grid; gap: 16px; }
.delivery-texto .rotulo { margin-bottom: 4px; }
.delivery-titulo { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 20ch; text-wrap: balance; }
.delivery-titulo .destaque { color: var(--amarelo); background: none; }
.delivery-apoio { max-width: 52ch; color: rgba(255, 255, 255, 0.74); }
.delivery-botao { display: inline-grid; place-items: center; flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--amarelo); color: var(--preto); transition: transform 0.5s var(--ease); }
.delivery-botao .ic { width: 30px; height: 30px; }
.delivery:hover .delivery-botao { transform: rotate(-45deg) scale(1.06); }
.delivery:focus-visible { outline-color: var(--preto); }
@media (min-width: 800px) { .delivery { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- passos (sem números: barra de progresso) ---------- */
.passos { display: grid; gap: 14px; }
@media (min-width: 640px) { .passos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .passos { grid-template-columns: repeat(4, 1fr); } }
.passo { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.4vw, 32px); border-radius: var(--raio-cartao); background: rgba(255, 255, 255, 0.42); box-shadow: 0 0 0 1px rgba(11, 11, 11, 0.08) inset; }
.passos-claros .passo { background: var(--branco); box-shadow: 0 0 0 1.5px rgba(11, 11, 11, 0.12) inset; }
.passo-barra { display: block; height: 8px; margin-bottom: 22px; border-radius: 8px; background: rgba(11, 11, 11, 0.12); overflow: hidden; }
.passo-barra span { display: block; height: 100%; width: calc(var(--p, 1) * 100%); border-radius: 8px; background: var(--preto); transform-origin: left; transition: transform 1.3s var(--ease) 0.35s; }
.passos-claros .passo-barra span { background: var(--amarelo); box-shadow: 0 0 0 1.5px var(--preto) inset; }
.js .passo:not(.is-in) .passo-barra span { transform: scaleX(0); }
.passo-titulo { font-size: clamp(1.35rem, 1.8vw, 1.6rem); letter-spacing: -0.025em; }
.passo p { color: var(--fg-2); font-size: 0.98rem; }

/* ---------- equipe ---------- */
.grade-equipe { display: grid; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .grade-equipe { grid-template-columns: 1fr 1fr; } }
.grade-equipe-escura { max-width: 1040px; }
.grade-equipe-escura .pessoa-foto { aspect-ratio: 4 / 5; border-radius: clamp(16px, 1.8vw, 22px); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.7); }
.grade-equipe-escura .pessoa-foto img { height: 100%; }
.pessoa { display: flex; flex-direction: column; gap: 26px; }
.pessoa-foto { overflow: hidden; border-radius: var(--raio-cartao); background: var(--preto); box-shadow: var(--sombra-preta); }
.pessoa-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 28%; transition: transform 1.1s var(--ease); }
.pessoa:hover .pessoa-foto img { transform: scale(1.04); }
.pessoa-texto { display: grid; gap: 10px; color: var(--fg-2); max-width: 46ch; }
.pessoa-nome { font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--fg); }
.pessoa-papel { font-family: var(--f-titulo); font-weight: 700; color: var(--fg); }
.tema-preto .pessoa-papel { color: var(--amarelo); }
.pessoa-compacta { flex-direction: row; align-items: flex-start; gap: 22px; padding: clamp(24px, 3vw, 36px); border-radius: var(--raio-cartao); box-shadow: 0 0 0 1.5px rgba(11, 11, 11, 0.12) inset; }
.pessoa-compacta .pessoa-foto { flex: none; width: clamp(84px, 10vw, 112px); border-radius: 50%; box-shadow: 0 0 0 4px var(--amarelo); }
.pessoa-compacta .pessoa-foto img { aspect-ratio: 1; object-position: 50% 22%; transform: scale(1.5); transform-origin: 50% 22%; }
.pessoa-compacta:hover .pessoa-foto img { transform: scale(1.58); }
.pessoa-compacta .pessoa-nome { font-size: clamp(1.35rem, 2vw, 1.7rem); }
@media (max-width: 479px) { .pessoa-compacta { flex-direction: column; } }

/* ---------- FAQ ---------- */
.faq-grade { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 960px) { .faq-grade { grid-template-columns: 0.8fr 1.2fr; align-items: start; } .faq-cabeca { position: sticky; top: calc(var(--topo-h) + 48px); } }
.faq-lista { display: grid; gap: 12px; }
.faq-item { border-radius: 22px; background: var(--branco); box-shadow: 0 0 0 1.5px rgba(11, 11, 11, 0.12) inset; transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease); }
.faq-item:hover { box-shadow: 0 0 0 1.5px rgba(11, 11, 11, 0.4) inset; }
.faq-item[open] { background: var(--amarelo); box-shadow: none; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 22px 26px; cursor: pointer; list-style: none; border-radius: 22px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-pergunta { font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.3; letter-spacing: -0.015em; }
.faq-icone { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--amarelo); transition: transform 0.45s var(--ease), background-color 0.35s; }
.faq-item[open] .faq-icone { background: var(--preto); transform: rotate(135deg); }
.faq-icone::before, .faq-icone::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: var(--preto); }
.faq-icone::after { transform: rotate(90deg); }
.faq-item[open] .faq-icone::before, .faq-item[open] .faq-icone::after { background: var(--amarelo); }
.faq-resposta { padding: 0 26px 26px; }
.faq-resposta p { max-width: 62ch; color: rgba(11, 11, 11, 0.8); }
.faq-item[open] .faq-resposta { animation: abre 0.5s var(--ease); }
@keyframes abre { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- chamada final ---------- */
.secao-cta { padding-top: 0; }
.cta-painel { padding-block: clamp(88px, 12vw, 168px); text-align: center; }
.cta-brilho { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(255, 255, 255, 0.5), rgba(255, 238, 112, 0) 70%); pointer-events: none; }
.cta-coroa { position: absolute; z-index: -1; left: 50%; bottom: -34%; width: min(980px, 130vw); color: var(--amarelo-escuro); opacity: 0.6; transform: translateX(-50%); pointer-events: none; }
.cta-miolo { display: flex; flex-direction: column; align-items: center; }
.cta-apoio { margin-top: clamp(22px, 3vw, 32px); max-width: 48ch; color: var(--fg-2); font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
.cta-miolo .acoes { justify-content: center; }

/* ---------- cabeça das páginas internas ---------- */
.cabeca-painel { margin-top: var(--borda); padding-top: calc(var(--topo-h) + var(--borda) + clamp(48px, 7vw, 96px)); padding-bottom: var(--respiro); }
.cabeca-brilho { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.5), rgba(255, 238, 112, 0) 42%); }
.tema-preto .cabeca-brilho { background: radial-gradient(circle at 85% 85%, rgba(255, 213, 0, 0.3), rgba(255, 213, 0, 0) 48%); }
.cabeca-coroa { position: absolute; z-index: -1; right: -12%; bottom: -18%; width: min(760px, 100vw); color: var(--amarelo-escuro); opacity: 0.5; pointer-events: none; translate: 0 var(--py, 0px); }
.tema-preto .cabeca-coroa { color: var(--amarelo); opacity: 0.07; }
.cabeca-miolo { display: grid; gap: clamp(40px, 6vw, 72px); }
.migalhas ol { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: var(--t-pequeno); color: var(--fg-2); }
.migalhas li + li::before { content: '/'; margin-inline: 10px; opacity: 0.6; }
.migalhas a { text-decoration: none; }
.migalhas a:hover { text-decoration: underline; }
.migalhas [aria-current] { color: var(--fg); font-weight: 600; }
.resultado-numero { align-self: end; }
@media (min-width: 1000px) {
  .cabeca-miolo:has(.resultado-numero) { grid-template-columns: 1fr 1fr; align-items: end; }
  .cabeca-miolo:has(.resultado-numero) .migalhas { grid-column: 1 / -1; }
}
.pagina-404 .numero-gigante { margin-bottom: 24px; }

/* ---------- serviço: entregas e para quem ---------- */
.entregas-grade { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 960px) { .entregas-grade { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.entregas { display: grid; gap: 12px; }
.entregas li { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; border-radius: 22px; box-shadow: 0 0 0 1.5px rgba(11, 11, 11, 0.12) inset; font-size: 1.04rem; line-height: 1.5; transition: box-shadow 0.35s var(--ease), transform 0.5s var(--ease); }
.entregas li:hover { box-shadow: 0 0 0 1.5px var(--preto) inset; }
.entrega-check { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; margin-top: -4px; border-radius: 50%; background: var(--amarelo); color: var(--preto); }
.entrega-check .ic { width: 18px; height: 18px; }
.para-quem { display: grid; justify-items: start; gap: 0; }
.para-quem-texto { margin-bottom: clamp(32px, 4vw, 48px); max-width: 28ch; font-family: var(--f-titulo); font-weight: 700; font-size: clamp(1.7rem, 3.8vw, 3.2rem); line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }

/* relacionados */
.relacionados { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.relacionado { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: var(--raio-pilula); box-shadow: 0 0 0 1.5px rgba(11, 11, 11, 0.12) inset; font-family: var(--f-titulo); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.relacionado > span:nth-child(2) { flex: 1; }
.relacionado-icone { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--preto); color: var(--amarelo); }
.relacionado-icone .ic { width: 20px; height: 20px; }
.relacionado .ic-seta { transition: transform 0.35s var(--ease); }
.relacionado:hover { background: var(--amarelo); box-shadow: none; }
.relacionado:hover .ic-seta { transform: translateX(4px); }

/* ---------- resultados ---------- */
.honestidade { display: grid; gap: 16px; max-width: 880px; padding: clamp(28px, 4vw, 48px); border-radius: var(--raio-cartao); box-shadow: 0 0 0 2px var(--preto) inset; }
.honestidade p { color: var(--fg-2); font-size: clamp(1.02rem, 1.3vw, 1.15rem); }

/* ---------- sobre: onde atendemos ---------- */
.grade-onde { display: grid; gap: 14px; }
@media (min-width: 900px) { .grade-onde { grid-template-columns: repeat(3, 1fr); } }
.onde { --rx: 0deg; --ry: 0deg; display: flex; flex-direction: column; gap: 12px; min-height: 240px; padding: clamp(26px, 3vw, 36px); border-radius: var(--raio-cartao); }
.onde p { font-size: 1.02rem; }
.onde-amarelo { background: var(--amarelo); color: var(--preto); }
.onde-preto { background: var(--preto); color: var(--branco); }
.onde-preto p { color: rgba(255, 255, 255, 0.76); }
.onde-claro { box-shadow: 0 0 0 1.5px rgba(11, 11, 11, 0.14) inset; }
.onde-icone { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: auto; border-radius: 50%; background: var(--preto); color: var(--amarelo); }
.onde-preto .onde-icone { background: var(--amarelo); color: var(--preto); }
.onde-icone .ic { width: 24px; height: 24px; }
.onde-titulo { margin-top: 28px; font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -0.03em; }

/* ---------- contato ---------- */
.grade-contato { display: grid; gap: 14px; }
@media (min-width: 900px) { .grade-contato { grid-template-columns: 1.3fr 1fr 1fr; } }
.contato { --rx: 0deg; --ry: 0deg; display: flex; flex-direction: column; gap: 10px; min-height: 280px; padding: clamp(28px, 3vw, 40px); border-radius: var(--raio-cartao); box-shadow: 0 0 0 1.5px rgba(11, 11, 11, 0.14) inset; text-decoration: none; transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
a.contato:hover { background: var(--amarelo); box-shadow: none; }
.contato-principal { background: var(--preto); color: var(--branco); box-shadow: var(--sombra-preta); }
a.contato-principal:hover { background: var(--preto); box-shadow: 0 0 0 4px var(--amarelo), var(--sombra-preta); }
.contato-icone { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: auto; border-radius: 18px; background: var(--amarelo); color: var(--preto); }
.contato-icone .ic { width: 28px; height: 28px; }
.contato-rotulo { margin-top: 28px; font-size: var(--t-rotulo); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.75; }
.contato-valor { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(1.45rem, 2.4vw, 2.1rem); line-height: 1.1; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.contato-principal .contato-valor { color: var(--amarelo); }
.contato-mais { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-family: var(--f-titulo); font-weight: 700; font-size: 0.95rem; }
.contato-mais .ic { transition: transform 0.35s var(--ease); }
a.contato:hover .contato-mais .ic { transform: translateX(5px); }
.contato-base .contato-mais { font-family: var(--f-texto); font-weight: 400; opacity: 0.75; }

/* ---------- rodapé ---------- */
.rodape { margin: var(--borda); border-radius: var(--raio-painel); padding-block: clamp(72px, 9vw, 120px) 32px; }
.rodape-chamada { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-bottom: clamp(56px, 7vw, 88px); }
.rodape-coroa { width: 64px; color: var(--amarelo); }
.rodape-frase { font-family: var(--f-titulo); font-weight: 800; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1; letter-spacing: -0.04em; max-width: 14ch; text-wrap: balance; }
@media (min-width: 900px) { .rodape-chamada { flex-direction: row; align-items: flex-end; justify-content: space-between; } .rodape-coroa { position: absolute; } .rodape-chamada { position: relative; padding-top: 96px; } .rodape-coroa { top: 0; left: 0; } }
.rodape-grade { display: grid; gap: 40px; }
@media (min-width: 720px) { .rodape-grade { grid-template-columns: 1.3fr 0.8fr 1fr; } }
.rodape-titulo { margin-bottom: 18px; font-family: var(--f-texto); font-weight: 600; font-size: var(--t-rotulo); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-2); }
.rodape-lista { display: grid; gap: 10px; }
.rodape-lista a { color: rgba(255, 255, 255, 0.86); text-decoration: none; transition: color 0.25s; }
.rodape-lista a:hover { color: var(--amarelo); }
.rodape-contato a, .rodape-base { display: inline-flex; align-items: center; gap: 12px; }
.rodape-contato .ic { color: var(--amarelo); }
.rodape-base { color: rgba(255, 255, 255, 0.86); }
.rodape-fim { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; padding-right: 84px; border-top: 1px solid var(--linha); font-size: var(--t-pequeno); color: var(--fg-2); }
.rodape-fim a { color: var(--fg-2); }
.rodape-fim a:hover { color: var(--amarelo); }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  --mx: 0px; --my: 0px;
  position: fixed; z-index: 55; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: var(--preto); color: var(--amarelo);
  box-shadow: 0 0 0 5px rgba(255, 213, 0, 0.9), 0 18px 40px -12px rgba(11, 11, 11, 0.6);
  translate: var(--mx) var(--my); transition: transform 0.4s var(--ease), translate 0.25s var(--ease);
}
.whats-flutuante .ic { width: 30px; height: 30px; }
.whats-flutuante::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 213, 0, 0.55); animation: pulso 2.8s var(--ease) infinite; }
.whats-flutuante:hover { transform: scale(1.07); }
.whats-flutuante:focus-visible { outline-color: var(--preto); outline-offset: 8px; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(255, 213, 0, 0.55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(255, 213, 0, 0); } }

/* ---------- home: como trabalhamos com foto ---------- */
.como-topo { display: grid; gap: clamp(32px, 5vw, 64px); align-items: end; margin-bottom: var(--respiro-meio); }
.como-topo .secao-cabeca { margin-bottom: 0; }
.como-foto { width: min(72%, 280px); }
.como-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: clamp(16px, 1.8vw, 22px); box-shadow: 0 26px 50px -30px rgba(11, 11, 11, 0.5); }
.como-foto figcaption { margin-top: 12px; font-size: var(--t-pequeno); font-weight: 600; color: var(--fg-2); }
@media (min-width: 900px) { .como-topo { grid-template-columns: 1fr auto; } .como-foto { width: clamp(240px, 22vw, 310px); } }

/* ---------- serviço: exemplos de trabalhos ---------- */
.exemplos { display: grid; gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.exemplos + .exemplos { margin-top: clamp(44px, 5vw, 72px); }
@media (min-width: 760px) {
  .exemplos-sites { grid-template-columns: 1fr 1fr; }
  .exemplos-sites.com-destaque > :first-child, .exemplos-sites.com-destaque > :last-child:nth-child(even), .exemplos-sites > :only-child { grid-column: 1 / -1; }
  .exemplos-sites > :only-child { max-width: 920px; }
}
.exemplos-posts { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .exemplos-posts { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.exemplos-posts:has(> :nth-child(3):last-child) { max-width: 1000px; }
.exemplo figure { display: grid; gap: 16px; }
.exemplo-moldura { overflow: hidden; border-radius: clamp(14px, 1.6vw, 20px); background: var(--preto); box-shadow: 0 0 0 1px rgba(11, 11, 11, 0.1), 0 28px 56px -38px rgba(11, 11, 11, 0.55); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.exemplo-barra { display: flex; align-items: center; gap: 6px; height: 30px; padding-inline: 14px; }
.exemplo-barra i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.exemplo-barra i:first-child { background: var(--amarelo); }
.exemplo-img { overflow: hidden; aspect-ratio: 16 / 10; background: #F2F2F2; }
.exemplo-post .exemplo-img { aspect-ratio: 4 / 5; }
.exemplo-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.2s var(--ease); }
.js .exemplo:not(.is-in) .exemplo-img img { transform: scale(1.08); }
.exemplo:hover .exemplo-moldura { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(11, 11, 11, 0.14), 0 40px 70px -36px rgba(11, 11, 11, 0.6); }
.exemplo.is-in:hover .exemplo-img img { transform: scale(1.03); }
.exemplo-titulo { display: block; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(1.08rem, 1.4vw, 1.28rem); line-height: 1.2; letter-spacing: -0.02em; }
.exemplo-legenda { display: block; margin-top: 4px; font-size: 0.95rem; line-height: 1.45; color: var(--fg-2); max-width: 60ch; }
.com-destaque > :first-child .exemplo-titulo { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }

/* ---------- resultados: lista de casos que cresce e logos de clientes ---------- */
.grade-casos.grade-casos-lista { max-width: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.caso > .caso-num { position: absolute; top: clamp(22px, 2.6vw, 32px); right: clamp(22px, 2.6vw, 32px); font-family: var(--f-titulo); font-weight: 800; font-stretch: 75%; font-size: 1.05rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.42); }
.caso-num + .caso-topo { padding-right: 44px; }
.clientes-faixa { display: flex; overflow: hidden; padding-block: 8px clamp(40px, 6vw, 72px); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clientes { display: flex; flex: none; gap: clamp(18px, 2.4vw, 32px); padding-right: clamp(18px, 2.4vw, 32px); animation: faixa-clientes 42s linear infinite; }
.clientes-faixa:hover .clientes { animation-play-state: paused; }
@keyframes faixa-clientes { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .clientes-faixa { overflow-x: auto; } .clientes { animation: none; } }
.cliente { flex: none; width: clamp(110px, 12vw, 168px); display: grid; gap: 12px; justify-items: center; align-content: start; text-align: center; }
.cliente img { width: 100%; max-width: 168px; aspect-ratio: 1; object-fit: cover; border-radius: clamp(18px, 2vw, 28px); background: var(--branco); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 24px 40px -28px rgba(0, 0, 0, 0.8); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.cliente:hover img { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--amarelo), 0 24px 40px -28px rgba(0, 0, 0, 0.8); }
.cliente-nome { font-size: 0.85rem; line-height: 1.3; color: rgba(255, 255, 255, 0.7); }

/* ---------- efeito cortina entre seções ----------
   Cada bloco [data-camada] sobe por cima do anterior com cantos superiores arredondados; o anterior fica parado
   (sticky alinhado pela BASE: ele rola inteiro antes de parar, então nenhum texto é cortado) e recua/escurece pelo --p do JS.
   .cortina = cantos e sobreposição (também com movimento reduzido) · .cortina-viva = sticky + recuo.
   Para desligar: CORTINA = false em src/templates.mjs (ou classe "sem-cortina" no <body>). */
:root { --raio-cortina: clamp(28px, 4.4vw, 64px); }
.cortina main { background: var(--preto); }
.cortina .camada { position: relative; z-index: 0; }
.cortina .camada-topo, .cortina .camada-branco { background: var(--branco); }
.cortina .camada:not(.camada-topo) { border-radius: var(--raio-cortina) var(--raio-cortina) 0 0; overflow: clip; box-shadow: 0 -30px 60px -34px rgba(11, 11, 11, 0.5); }
.cortina .camada + .camada { margin-top: calc(var(--raio-cortina) * -1); }
.cortina .camada-faixa + .camada { margin-top: 0; }
.cortina .camada-painel > section > .painel { margin-inline: 0; border-radius: 0; }
.cortina-viva .camada { position: sticky; top: calc(100vh - var(--h, 100000px)); }
@supports (top: 1svh) { .cortina-viva .camada { top: calc(100svh - var(--h, 100000px)); } }
.cortina-viva .camada::after { content: ''; position: absolute; inset: 0; z-index: 30; pointer-events: none; background: var(--preto); opacity: calc(var(--p, 0) * 0.5); }
@media (min-width: 900px) {
  .cortina-viva .camada { transform: scale(calc(1 - var(--p, 0) * 0.05)); transform-origin: 50% max(50%, calc(100% - 50vh)); }
}

/* ---------- revelar ao rolar (só com JS; sem JS tudo aparece) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-tilt].is-in { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.js [data-reveal].revelado { transition-delay: 0ms; }
.js [data-tilt].revelado { transition: transform 0.5s var(--ease), background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease); }

/* entrada da primeira dobra: só movimento, nunca esconde o texto */
.entra > * { animation: entra 1s var(--ease) both; }
.entra > :nth-child(2) { animation-delay: 60ms; }
.entra > :nth-child(3) { animation-delay: 120ms; }
.entra > :nth-child(4) { animation-delay: 180ms; }
.entra > :nth-child(5) { animation-delay: 240ms; }
@keyframes entra { from { transform: translateY(22px); } }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .marcador:not(.ativo)::before { transform: rotate(-2deg); }
  .js .marcador:not(.ativo) .destaque { color: var(--amarelo); }
  .js .passo:not(.is-in) .passo-barra span { transform: none; }
  .faixa-trilho { animation: none; }
  .marcador::after, .whats-flutuante::after { display: none; }
}

/* ---------- impressão ---------- */
@media print {
  .topo, .menu-movel, .whats-flutuante, .faixa { display: none !important; }
  .painel { margin: 0; border-radius: 0; }
  .camada { position: static !important; transform: none !important; margin-top: 0 !important; }
  .camada::after { display: none !important; }
}

/* ---------- política de privacidade ---------- */
.legal-upd { margin-top: 18px; font-size: var(--t-pequeno); font-weight: 600; opacity: 0.7; }
.legal-grade { display: grid; gap: clamp(28px, 4vw, 56px); }
.legal-indice { display: grid; gap: 4px; align-content: start; font-size: 0.92rem; }
.legal-indice p { margin-bottom: 8px; font-weight: 800; font-size: var(--t-pequeno); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.legal-indice a { display: flex; gap: 12px; padding: 9px 12px; border-radius: 12px; color: var(--fg-2); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.legal-indice a b { flex: none; width: 1.6em; font-variant-numeric: tabular-nums; color: var(--fg); }
.legal-indice a:hover { background: rgba(11, 11, 11, 0.06); color: var(--fg); }
.legal-texto { display: grid; gap: clamp(36px, 5vw, 64px); max-width: 74ch; }
.legal-sec { position: relative; scroll-margin-top: 110px; }
.legal-num { display: block; margin-bottom: 8px; font-family: var(--f-titulo); font-weight: 800; font-size: var(--t-pequeno); letter-spacing: 0.1em; color: var(--fg-2); }
.legal-sec h2 { margin-bottom: 16px; font-family: var(--f-titulo); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -0.02em; line-height: 1.12; }
.legal-corpo > * + * { margin-top: 14px; }
.legal-corpo p, .legal-corpo li { color: var(--fg-2); line-height: 1.7; }
.legal-corpo ul { padding-left: 1.2em; list-style: disc; display: grid; gap: 8px; }
.legal-corpo a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.legal-corpo strong { color: var(--fg); }
.legal-corpo .note { padding: 16px 20px; border-radius: 16px; background: var(--amarelo); color: var(--preto); }
.legal-corpo .note p { color: inherit; }
@media (min-width: 960px) {
  .legal-grade { grid-template-columns: 280px minmax(0, 1fr); align-items: start; }
  .legal-indice { position: sticky; top: 110px; }
}

/* ---------- transição suave entre páginas (Chrome/Edge/Safari novos; os outros navegam normal) ---------- */
@view-transition { navigation: auto; }
.topo { view-transition-name: topo; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.4s; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* desempenho: o que está abaixo da primeira dobra só é medido e pintado quando chega perto da tela */
.camada + .camada { content-visibility: auto; contain-intrinsic-size: auto 900px; }
