
/* ── Tokens: ajuste pela identidade visual do cliente ───────────────────── */
:root {
  --fundo: #F5F6F7;          /* Soft White: MESMA cor usada nos prompts das imagens */
  --fundo-2: #ECEDF0;
  --texto: #1D1D1F;          /* Deep Black */
  --texto-suave: #4E4C57;
  --acento: #5513D8;         /* roxo da marca */
  --acento-texto: #FFFFFF;
  --violeta: #0c0a12;        /* tom de violeta profundo */
  --prata: #C9CBCD;          /* Silver Aluminum */
  --cinza: #A6A8AA;          /* Metal Gray */
  --linha: rgb(29 29 31 / 0.10);
  --painel: rgb(245 246 247 / 0.74);
  --mistura: multiply;       /* tema claro */

  --fonte-titulo: "Instrument Serif", Georgia, serif;
  --fonte-texto: "Manrope", system-ui, sans-serif;

  --raio: 18px;
  --gutter: clamp(16px, 4vw, 56px);
  --largura: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
/* Tema claro (marcas de luz, saúde, casamento etc.): troque os tokens assim
:root {
  --fundo: #f4efe7; --fundo-2: #ebe4d8; --texto: #1d1a16; --texto-suave: #5d564c;
  --linha: rgb(29 26 22 / .12); --painel: rgb(244 239 231 / .7); --mistura: multiply;
}
*/

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 clamp(16px, 1.05vw, 18px)/1.65 var(--fonte-texto);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Grão de filme: tira o aspecto "liso de IA".
   Otimizado: textura pronta (grao.webp) em vez de filtro SVG calculado ao vivo
   numa camada 4x maior que a tela. Parado: animado, forçava a tela inteira
   (com os vidros) a ser redesenhada 4x por segundo mesmo sem ninguém mexer. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .035;
  background: url("assets/grao.webp") repeat;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 400; line-height: 1.04; margin: 0 0 .5em; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 100px); }
h2 { font-size: clamp(36px, 4.6vw, 70px); }
h3 { font-size: clamp(24px, 2vw, 30px); }
h1 em, h2 em, .destaque em { font-style: italic; color: var(--acento); }
::selection { background: var(--acento); color: #fff; }
p { margin: 0 0 1em; color: var(--texto-suave); text-wrap: pretty; }

/* ── Topo ──────────────────────────────────────────────────────────────── */
/* Floating Glass Navbar · Island Header: uma ilha de vidro solta do topo */
.topo {
  position: fixed; z-index: 50; top: 16px; left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 24px; border-radius: 999px;
  transition: top .5s var(--ease), padding .5s var(--ease), width .6s var(--ease), box-shadow .5s;
}
.topo.rolou { top: 10px; width: min(900px, calc(100% - 24px)); padding: 7px 7px 7px 20px; }
.marca { text-decoration: none; display: flex; align-items: center; }
.marca-logo { height: 40px; width: auto; transition: height .5s var(--ease), transform .5s var(--ease); }
.marca:hover .marca-logo { transform: scale(1.04) rotate(-1deg); }
.topo.rolou .marca-logo { height: 34px; }
.marca-texto { font-family: var(--fonte-titulo); font-size: 22px; letter-spacing: .02em; }
.menu { display: flex; gap: 6px; align-items: center; font-size: 14px; letter-spacing: .03em; }
.menu a { position: relative; text-decoration: none; padding: 10px 16px; border-radius: 999px; color: var(--texto); opacity: .78; transition: opacity .3s, background .3s, color .3s; }
.menu a:hover { opacity: 1; background: rgb(255 255 255 / .55); }
/* Traço roxo que cresce do centro no hover */
.menu a:not(.menu-cta)::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1.5px; border-radius: 2px;
  background: var(--acento); transform: scaleX(0); transition: transform .45s var(--ease);
}
.menu a:not(.menu-cta):hover::after { transform: scaleX(1); }
.menu a:not(.menu-cta):hover { color: var(--acento); }
.menu-cta { color: var(--acento) !important; font-weight: 600; opacity: 1 !important; margin-left: 4px; }
@media (max-width: 760px) {
  .menu a:not(.menu-cta) { display: none; }
  .topo { top: 12px; width: calc(100% - 24px); padding: 7px 7px 7px 16px; }
  .marca-logo, .topo.rolou .marca-logo { height: 28px; }
}

/* ── Abertura cinematográfica ──────────────────────────────────────────── */
.cine { position: relative; height: var(--altura, 400vh); }
.cine-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-vinheta {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 60%, rgb(12 10 18 / .14) 100%),
    linear-gradient(to bottom, transparent 70%, var(--fundo) 100%);
}
.momento {
  position: absolute; inset: auto var(--gutter) calc(var(--faixa-altura) + 6vh); max-width: 640px;
  opacity: 0; transform: translateY(24px); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
  pointer-events: none;
}
.momento.ativo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.momento--direita { left: auto; right: var(--gutter); }
.momento--centro { left: 50%; right: auto; transform: translate(-50%, 24px); text-align: center; width: min(640px, calc(100% - 2 * var(--gutter))); }
.momento--centro.ativo { transform: translate(-50%, 0); }
/* PC: no fim da abertura a arte fica à esquerda, então o último texto vai para a direita */
@media (min-width: 861px) {
  .momento--fim { left: auto; right: var(--gutter); width: min(400px, 32vw); transform: translateY(24px); }
  .momento--fim.ativo { transform: none; }
}
.titulo-abertura { margin-bottom: .3em; font-size: clamp(30px, 3.5vw, 54px); }
/* Ilhas de texto da abertura compactas, para o vídeo aparecer mais */
.momento { max-width: 420px; }
.momento--centro { width: min(420px, calc(100% - 2 * var(--gutter))); }
.momento .painel { padding: clamp(16px, 1.8vw, 28px); }
.momento .apoio, .momento .painel > p:not(.destaque) { font-size: clamp(14px, 1vw, 16px); }
.momento .destaque { font-size: clamp(20px, 2vw, 30px); }
.apoio { font-size: clamp(16px, 1.3vw, 20px); margin: 0; }
.destaque { font-family: var(--fonte-titulo); font-size: clamp(24px, 2.8vw, 42px); line-height: 1.2; color: var(--texto); margin: 0 0 .6em; }
.destaque:last-child { margin: 0; }

/* ── Faixa de marcas no pé do hero (passa sem parar; pausa no hover) ──── */
:root { --faixa-altura: 92px; }
.marcas {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--faixa-altura); z-index: 2;
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(180deg, rgb(255 255 255 / .42), rgb(245 246 247 / .26));
  border-top: 1px solid rgb(255 255 255 / .6);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 -10px 40px rgb(12 10 18 / .06);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marcas-trilho { display: flex; width: max-content; animation: faixa 38s linear infinite; }
.marcas:hover .marcas-trilho, .cine.fora .marcas-trilho { animation-play-state: paused; }
.marcas-lista { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); margin: 0; padding: 0 clamp(24px, 3vw, 48px); list-style: none; }
.marcas-lista li { flex: none; }
.marcas-lista img {
  height: 38px; width: auto; max-width: none; opacity: .72; filter: saturate(.9);
  transition: opacity .4s, transform .5s var(--ease), filter .4s;
}
.marcas-lista li:hover img { opacity: 1; transform: scale(1.12); filter: saturate(1.2) drop-shadow(0 6px 14px rgb(85 19 216 / .3)); }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ── Painéis (todo texto mora num painel) ──────────────────────────────── */
.painel {
  position: relative;
  background: var(--painel);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: clamp(24px, 3.2vw, 48px);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
.painel--vidro { background: rgb(245 246 247 / .62); box-shadow: 0 20px 60px rgb(12 10 18 / .08); }
.painel > :last-child { margin-bottom: 0; }
.rotulo { display: block; font-size: 12px; letter-spacing: .3em; color: var(--acento); margin-bottom: 18px; }

/* ── Seções ────────────────────────────────────────────────────────────── */
.secao {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; padding: 18vh var(--gutter);
  display: grid; align-content: center; grid-template-columns: minmax(0, 1fr);
}
.secao-grade { width: 100%; max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 560px) 1fr; }
.secao-grade--direita { grid-template-columns: 1fr minmax(0, 560px); }
.secao-grade--direita > .painel { grid-column: 2; }
.secao--larga { gap: 28px; justify-items: center; }
.painel--cabecalho { width: 100%; max-width: var(--largura); }

/* ── Portfólio: categoria fixa à esquerda, imagens passando à direita ─── */
.trabalhos { position: relative; padding: 16vh var(--gutter) 12vh; display: grid; gap: clamp(40px, 8vh, 90px); justify-items: center; }
.trabalhos-topo { width: 100%; max-width: var(--largura); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 56px; align-items: end; }
.trabalhos-topo h2 { margin: 0; }
.trabalhos-topo p { margin: 0; }
.trabalho {
  width: 100%; max-width: var(--largura);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: start;
}
.trabalho-info { position: sticky; top: 16vh; }
.trabalho-sobre { display: block; font-size: 13px; letter-spacing: .04em; font-weight: 600; color: var(--texto-suave); margin-bottom: 6px; }
.trabalho-categoria { font-size: clamp(44px, 5.4vw, 84px); line-height: .98; margin-bottom: .32em; color: var(--acento); }
.trabalho-painel p { font-size: 15.5px; }
.cliente { display: grid; gap: 6px; margin: 22px 0 26px; }
.cliente-rotulo { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--cinza); font-weight: 600; }
.cliente-nome { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; }
.cliente-nome img {
  height: 36px; width: auto; max-width: 150px; object-fit: contain; padding: 8px 12px; border-radius: 10px;
  background: rgb(255 255 255 / .75); box-shadow: inset 0 0 0 1px rgb(85 19 216 / .12);
}
.trabalho-imagens { display: grid; gap: clamp(20px, 4vh, 40px); }
.peca {
  position: relative; display: block; border-radius: 16px; overflow: hidden; isolation: isolate;
  background: var(--fundo-2); box-shadow: 0 24px 60px rgb(12 10 18 / .12);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.peca img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter .7s; }
.peca::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(12 10 18 / .45), transparent 45%); opacity: 0; transition: opacity .6s; }
.peca-ver {
  position: absolute; z-index: 1; right: 18px; bottom: 18px;
  padding: 11px 18px; border-radius: 999px; font: 600 13px/1 var(--fonte-texto); letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, rgb(255 255 255 / .28), rgb(255 255 255 / .12));
  border: 1px solid rgb(255 255 255 / .45);
  backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 10px 26px rgb(12 10 18 / .25);
  opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .5s, transform .6s var(--ease);
}
.peca:hover, .peca:focus-visible { transform: translateY(-6px); box-shadow: 0 34px 80px rgb(85 19 216 / .22); }
.peca:hover img, .peca:focus-visible img { transform: scale(1.05); filter: saturate(1.08); }
.peca:hover::after, .peca:focus-visible::after { opacity: 1; }
.peca:hover .peca-ver, .peca:focus-visible .peca-ver { opacity: 1; transform: none; }
.trabalhos-fim { display: flex; justify-content: center; }
@media (max-width: 860px) {
  .trabalhos-topo, .trabalho { grid-template-columns: 1fr; }
  .trabalho-info { position: static; }
  .peca-ver { opacity: 1; transform: none; }
}

/* ── O que eu crio: grupos que abrem e fecham ─────────────────────────── */
.painel--servicos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 56px; align-items: end; }
.painel--servicos h2, .painel--servicos p { margin: 0; }
.acordeao { width: 100%; max-width: var(--largura); padding-top: 8px; padding-bottom: 8px; }
.grupo { border-bottom: 1px solid var(--linha); }
.grupo:last-child { border-bottom: 0; }
.grupo summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 0; font-family: var(--fonte-titulo); font-size: clamp(30px, 3.4vw, 50px); line-height: 1.05;
  transition: color .3s, padding-left .5s var(--ease);
}
.grupo summary::-webkit-details-marker { display: none; }
.grupo summary:hover { color: var(--acento); padding-left: 10px; }
.sinal { position: relative; flex: none; width: 22px; height: 22px; }
.sinal::before, .sinal::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .5s var(--ease); }
.sinal::after { transform: rotate(90deg); }
.grupo[open] .sinal::after { transform: rotate(0); }
.grupo[open] summary { color: var(--acento); }
/* Abre com animação onde o navegador suporta */
:root { interpolate-size: allow-keywords; }
.grupo::details-content { block-size: 0; overflow: clip; transition: block-size .6s var(--ease), content-visibility .6s allow-discrete; }
.grupo[open]::details-content { block-size: auto; }
.itens { list-style: none; margin: 0; padding: 0 0 22px; }
.itens li {
  position: relative; overflow: hidden; display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 16px 14px; margin: 0 -14px; border-radius: 12px; cursor: default;
}
.item-nome { font-weight: 700; font-size: clamp(15px, 1.25vw, 19px); letter-spacing: .04em; text-transform: uppercase; }
.item-desc { font-size: 14.5px; color: var(--texto-suave); text-align: right; }
/* Faixa que corre por cima do item no hover (montada pelo app.js) */
.item-faixa {
  position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; pointer-events: none;
  color: #fff; border-radius: inherit;
  background:
    radial-gradient(120% 160% at 20% 0%, rgb(255 255 255 / .3), transparent 55%),
    linear-gradient(180deg, rgb(112 56 236 / .94), rgb(85 19 216 / .92));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), inset 0 -3px 8px rgb(30 0 90 / .28);
  clip-path: inset(50% 0 50% 0 round 12px); transition: clip-path .5s var(--ease);
}
.item-faixa-trilho { display: flex; align-items: center; width: max-content; animation: faixa 14s linear infinite paused; }
.itens li:hover .item-faixa-trilho { animation-play-state: running; }
.item-faixa span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-weight: 700; font-size: clamp(15px, 1.25vw, 19px); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.item-faixa img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px rgb(255 255 255 / .7); }
.itens li:hover .item-faixa { clip-path: inset(0 0 0 0 round 12px); }
@media (max-width: 640px) {
  .painel--servicos { grid-template-columns: 1fr; }
  .itens li { flex-direction: column; gap: 4px; }
  .item-desc { text-align: left; }
}

/* ── Arte: imagens fundidas ao fundo (nunca retângulo com borda) ───────── */
/* Sem mix-blend-mode: a seção é isolada e sem fundo próprio, então o "multiply"
   não mudava nada na tela, só custava uma camada extra de composição. */
.arte {
  position: absolute; z-index: -1; pointer-events: none;
  object-fit: cover;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.arte--direita, .arte--esquerda { top: 0; bottom: 0; width: 64vw; height: 100%; }
.arte--direita {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to left, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.arte--esquerda {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
          mask-image: linear-gradient(to right, #000 38%, transparent 96%), linear-gradient(to bottom, transparent, #000 18%, #000 80%, transparent);
}
.arte--fundo {
  inset: 0; width: 100%; height: 100%; opacity: .5;
  /* closest-side: a elipse zera exatamente na borda, então nunca sobra linha reta */
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
          mask-image: radial-gradient(closest-side, #000 35%, transparent 100%), linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.arte--suave { opacity: .32; }
/* Parallax leve aplicado pelo app.js */
.arte.parallax { will-change: transform; }

/* ── Contato ───────────────────────────────────────────────────────────── */
.secao--contato { justify-items: center; gap: 28px; }
.chamada { width: 100%; max-width: var(--largura); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; }
.chamada-titulo { margin: 0; font-size: clamp(40px, 5.6vw, 88px); line-height: 1; }
.chamada-titulo > span { color: var(--acento); }
.chamada-titulo > span em { color: var(--texto); }
.chamada-botoes { display: grid; gap: 14px; justify-items: end; }
.painel--form { width: 100%; max-width: 760px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.campo { display: grid; gap: 6px; }
.campo--inteiro { grid-column: 1 / -1; }
.campo label { font-size: 13px; letter-spacing: .04em; color: var(--texto-suave); }
.campo input, .campo textarea {
  width: 100%; font: inherit; color: var(--texto);
  background: rgb(255 255 255 / .7); border: 1px solid rgb(29 29 31 / .16); border-radius: 12px;
  padding: 14px 16px; transition: border-color .3s, background .3s; resize: vertical;
}
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--acento); background: #fff; box-shadow: 0 0 0 3px rgb(85 19 216 / .12); }
.campo textarea::placeholder { color: var(--cinza); }
.campo.erro input { border-color: #c0392b; }
.pote { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; margin: 0; font-size: 14px; }
.form-status.ok { color: var(--acento); }
.form-status.falha { color: #b3261e; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ── Botões ────────────────────────────────────────────────────────────── */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--fonte-texto); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  color: var(--acento-texto); background: var(--acento); border: 0; border-radius: 999px;
  padding: 17px 30px; transition: transform .4s var(--ease), translate .5s var(--ease), filter .3s, box-shadow .4s;
}
.botao:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 12px 30px rgb(85 19 216 / .28); }
.botao[disabled] { opacity: .6; cursor: progress; }
.botao { overflow: hidden; isolation: isolate; }
/* Brilho que atravessa o botão no hover */
.botao::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .5) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.botao:hover::after, .botao:focus-visible::after { transform: translateX(130%); }
.botao:active { transform: scale(.97); }

/* Botão com avatar: só o rosto aparece; no hover o texto entra e o rosto desliza */
.botao--avatar { width: 252px; height: 58px; padding: 0; justify-content: flex-start; }
.botao--largo { width: 300px; }
.botao-ava {
  position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px rgb(255 255 255 / .75), 0 6px 16px rgb(30 0 90 / .35);
  transition: left .7s var(--ease), transform .7s var(--ease);
}
.botao-txt {
  position: absolute; left: 26px; right: 70px; text-align: left; white-space: nowrap;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateX(-14px); transition: opacity .45s, transform .7s var(--ease);
}
.botao--avatar:hover .botao-ava, .botao--avatar:focus-visible .botao-ava { left: calc(100% - 32px); transform: translate(-50%, -50%) rotate(-10deg) scale(1.06); }
.botao--avatar:hover .botao-txt, .botao--avatar:focus-visible .botao-txt { opacity: 1; transform: none; transition-delay: .12s; }
/* Telas de toque não têm hover: mostra texto e rosto juntos */
@media (hover: none), (pointer: coarse), (max-width: 760px) {
  .botao--avatar .botao-ava { left: calc(100% - 32px); }
  .botao--avatar .botao-txt { opacity: 1; transform: none; }
  /* com o texto sempre à mostra, o botão cresce até caber o texto inteiro antes do rosto */
  .botao--avatar { width: auto; min-width: 252px; max-width: 100%; padding: 0 64px 0 22px; }
  .botao--avatar .botao-txt { position: static; letter-spacing: .08em; }
}

/* ── WhatsApp flutuante ────────────────────────────────────────────────── */
.whats {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgb(12 10 18 / .2);
  transform: scale(0); transition: transform .5s var(--ease);
}
.whats.visivel { transform: scale(1); }
.whats:hover { transform: scale(1.07); }
.whats svg { width: 30px; height: 30px; }
/* Pulsa 3 vezes quando o botão aparece (não infinito: animação sem fim obriga a tela a
   ser redesenhada o tempo todo, com o vidro junto — medido: GPU parada de ~3% para ~25%) */
.whats::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; opacity: 0; }
.whats.visivel::after { animation: pulso 2.6s ease-out .6s 3; }
@keyframes pulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }

/* ── Rodapé ────────────────────────────────────────────────────────────── */
.rodape { padding: 0 var(--gutter) 40px; }
.rodape-painel { max-width: var(--largura); margin: 0 auto; display: grid; gap: clamp(28px, 5vw, 56px); font-size: 14px; color: var(--prata); padding: clamp(24px, 3vw, 40px); background: var(--violeta); border-color: var(--violeta); overflow: hidden; }
.rodape-linha { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.rodape-gigante { width: 100%; height: auto; opacity: .92; transition: transform 1.2s var(--ease), opacity .6s, filter .6s; }
.rodape-painel:hover .rodape-gigante { transform: scale(1.015); opacity: 1; filter: drop-shadow(0 0 30px rgb(140 90 255 / .35)); }
.rodape-links { display: flex; flex-wrap: wrap; gap: 22px; }
.rodape-links a { position: relative; color: #fff; text-decoration: none; cursor: pointer; }
.rodape-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.rodape-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.rodape-links a:hover { color: #d9ccff; }

/* ── Revelar ao rolar ──────────────────────────────────────────────────── */
.revelar { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.revelar.visto { opacity: 1; transform: none; }

/* ── Vidro líquido (equivalente web do expo-glass-effect / Liquid Glass) ─
   Só em barras, botões e blocos. Imagens e fundos ficam sem vidro.        */
:root {
  --vidro-desfoque: blur(16px) saturate(1.5); /* era blur(22px) saturate(1.8) brightness(1.04): o custo cresce com o raio */
  --vidro-brilho: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 -1px 0 rgb(255 255 255 / .35), inset 0 0 28px rgb(255 255 255 / .22);
  --vidro-sombra: 0 1px 2px rgb(12 10 18 / .05), 0 18px 50px rgb(12 10 18 / .09);
}
.topo, .painel {
  background:
    radial-gradient(130% 90% at 0% 0%, rgb(255 255 255 / .55), transparent 46%),
    linear-gradient(160deg, rgb(255 255 255 / .46), rgb(245 246 247 / .24) 58%, rgb(255 255 255 / .36));
  border: 1px solid rgb(255 255 255 / .55);
  backdrop-filter: var(--vidro-desfoque);
  -webkit-backdrop-filter: var(--vidro-desfoque);
  box-shadow: var(--vidro-brilho), var(--vidro-sombra);
}
.topo.rolou { box-shadow: var(--vidro-brilho), 0 1px 2px rgb(12 10 18 / .06), 0 14px 40px rgb(12 10 18 / .13); }
/* Blocos da abertura: um pouco mais de leite no vidro para ler sobre o vídeo */
.painel--vidro {
  background:
    radial-gradient(130% 90% at 0% 0%, rgb(255 255 255 / .6), transparent 46%),
    linear-gradient(160deg, rgb(255 255 255 / .58), rgb(245 246 247 / .38) 58%, rgb(255 255 255 / .5));
}
/* Borda de luz: aro que acende nos cantos, como a lâmina de vidro */
.topo::before, .painel::before, .botao::before, .whats::before, .menu-cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgb(255 255 255 / .95), rgb(255 255 255 / .18) 34%, rgb(255 255 255 / 0) 55%, rgb(255 255 255 / .65));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.cartao {
  --vidro-desfoque: blur(26px) saturate(1.35) brightness(1.06);
  background:
    radial-gradient(130% 90% at 0% 0%, rgb(255 255 255 / .6), transparent 46%),
    linear-gradient(160deg, rgb(255 255 255 / .66), rgb(245 246 247 / .5) 58%, rgb(255 255 255 / .6));
}
.cartao:hover { border-color: rgb(85 19 216 / .35); box-shadow: var(--vidro-brilho), 0 24px 60px rgb(85 19 216 / .14); }

/* Botões: vidro tingido de roxo */
.botao {
  position: relative; color: #fff;
  background:
    radial-gradient(120% 140% at 30% 0%, rgb(255 255 255 / .38), transparent 52%),
    linear-gradient(180deg, rgb(112 56 236 / .88), rgb(85 19 216 / .82));
  border: 1px solid rgb(255 255 255 / .35);
  backdrop-filter: blur(12px) saturate(1.6); -webkit-backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 -3px 8px rgb(30 0 90 / .28), 0 10px 26px rgb(85 19 216 / .28);
}
.botao:hover { filter: brightness(1.08) saturate(1.1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), inset 0 -3px 8px rgb(30 0 90 / .28), 0 14px 34px rgb(85 19 216 / .36); }
/* Botão da barra: vidro claro com texto roxo */
.menu-cta {
  position: relative;
  background: linear-gradient(180deg, rgb(255 255 255 / .78), rgb(255 255 255 / .46)) !important;
  border: 1px solid rgb(85 19 216 / .22);
  box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgb(85 19 216 / .12);
  transition: background .3s, color .3s, box-shadow .3s;
}
.menu-cta:hover { color: #fff !important; background: linear-gradient(180deg, rgb(112 56 236 / .92), rgb(85 19 216 / .88)) !important; }
/* WhatsApp: vidro verde */
.whats {
  background:
    radial-gradient(120% 120% at 30% 0%, rgb(255 255 255 / .45), transparent 55%),
    linear-gradient(180deg, rgb(52 222 116 / .88), rgb(30 180 88 / .84));
  backdrop-filter: blur(12px) saturate(1.6); -webkit-backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .65), inset 0 -3px 8px rgb(0 80 30 / .25), 0 12px 30px rgb(12 10 18 / .18);
}
/* Campos do formulário: vidro fosco */
.campo input, .campo textarea {
  background: linear-gradient(180deg, rgb(236 237 242 / .7), rgb(255 255 255 / .55));
  border: 1px solid rgb(29 29 31 / .13);
  backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 2px 4px rgb(12 10 18 / .07), 0 1px 0 rgb(255 255 255 / .9);
}
.campo input:focus, .campo textarea:focus { background: rgb(255 255 255 / .8); border-color: rgb(85 19 216 / .55); }
/* Rodapé: vidro fumê violeta */
.rodape-painel {
  background:
    radial-gradient(120% 120% at 0% 0%, rgb(255 255 255 / .12), transparent 50%),
    linear-gradient(160deg, rgb(12 10 18 / .96), rgb(30 20 56 / .92));
  --vidro-desfoque: blur(22px) saturate(1.4);
  border: 1px solid rgb(255 255 255 / .14);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 20px 50px rgb(12 10 18 / .2);
}
.rodape-painel::before { opacity: .35; }
/* Luz que segue o mouse dentro dos blocos de vidro (posição vem do app.js) */
.painel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .55), rgb(170 140 255 / .10) 40%, transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.painel:hover::after { opacity: 1; }
.rodape-painel::after { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgb(140 90 255 / .22), transparent 70%); }
.painel { transition: box-shadow .6s var(--ease), border-color .6s; }
.painel.revelar { transition: opacity 1s var(--ease), transform 1.2s var(--ease), box-shadow .6s var(--ease); }
.trabalho-painel:hover, .painel--form:hover, .chamada:hover { box-shadow: var(--vidro-brilho), 0 1px 2px rgb(12 10 18 / .05), 0 26px 70px rgb(85 19 216 / .12); }
.whats { transition: transform .5s var(--ease), translate .5s var(--ease), box-shadow .4s; }
.whats.visivel:hover { transform: scale(1.1) rotate(-8deg); box-shadow: inset 0 1px 0 rgb(255 255 255 / .65), 0 16px 36px rgb(30 180 88 / .4); }
/* Sem suporte a backdrop-filter: vidro vira leite sólido, ainda legível */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topo, .painel { background: rgb(245 246 247 / .94); }
}

/* ── Otimização do vidro (30/11/2026) ──────────────────────────────────────
   O desfoque de fundo (backdrop-filter) é recalculado a cada quadro da rolagem
   e era o maior peso do site. Fica só onde há algo atrás para desfocar
   (barra do topo, blocos sobre o vídeo e sobre as artes). Botões, campos,
   WhatsApp e rodapé já são quase opacos: o desfoque não aparecia, só custava.
   O visual de vidro (reflexos, aro de luz, sombras) continua em todos.     */
.botao, .whats, .campo input, .campo textarea, .painel:not(.painel--vidro) {
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.painel:not(.painel--vidro):not(.rodape-painel) { background-color: rgb(245 246 247 / .3); }
/* Serviços e Contato: a arte atrás das caixas já vem desfocada no arquivo
   (servicos-desfoque.webp / contato-desfoque.webp). O desfoque ao vivo era
   refeito a cada quadro enquanto a faixa roxa corria ou o grupo abria. */
.acordeao::after { display: none; } /* luz do mouse: repintava a caixa inteira; a faixa já dá o retorno */
.itens li { contain: paint; } /* a faixa que corre só repinta o próprio item */
/* Celular: GPU mais fraca. Desfoque só na barra do topo, nos blocos do vídeo e na faixa de marcas */
@media (max-width: 860px) {
  .painel:not(.painel--vidro), .peca-ver { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .painel:not(.painel--vidro):not(.rodape-painel) { background-color: rgb(245 246 247 / .6); }
  .peca-ver { background: rgb(12 10 18 / .42); }
  .topo, .painel--vidro { --vidro-desfoque: blur(10px) saturate(1.3); }
  .marcas { backdrop-filter: blur(8px) saturate(1.3); -webkit-backdrop-filter: blur(8px) saturate(1.3); }
}

/* ── Reforço do vidro líquido no topo e no WhatsApp (30/11/2026) ───────────
   Tudo estático (degradês, aro e sombras internas): nenhuma animação e nenhum
   desfoque novo. Só brilho/saturação a mais no desfoque que o topo já tinha. */
.topo {
  --vidro-desfoque: blur(16px) saturate(1.8) brightness(1.05);
  background:
    radial-gradient(90% 140% at 12% -30%, rgb(255 255 255 / .75), transparent 52%),
    linear-gradient(180deg, rgb(255 255 255 / .66) 0%, rgb(255 255 255 / .2) 46%, rgb(255 255 255 / .04) 54%, rgb(255 255 255 / .34) 100%),
    linear-gradient(160deg, rgb(255 255 255 / .34), rgb(245 246 247 / .14) 60%, rgb(232 222 255 / .4));
  border-color: rgb(255 255 255 / .8);
  box-shadow:
    inset 0 2px 0 #fff, inset 0 -1.5px 0 rgb(85 19 216 / .14), inset 0 0 0 1px rgb(255 255 255 / .35),
    inset 0 -12px 20px rgb(255 255 255 / .26), inset 0 0 26px rgb(255 255 255 / .22),
    0 1px 2px rgb(12 10 18 / .05), 0 18px 46px rgb(12 10 18 / .1), 0 6px 22px rgb(85 19 216 / .1);
}
.topo.rolou {
  box-shadow:
    inset 0 2px 0 #fff, inset 0 -1.5px 0 rgb(85 19 216 / .14), inset 0 0 0 1px rgb(255 255 255 / .35),
    inset 0 -12px 20px rgb(255 255 255 / .26), inset 0 0 26px rgb(255 255 255 / .22),
    0 1px 2px rgb(12 10 18 / .06), 0 14px 40px rgb(12 10 18 / .14), 0 6px 22px rgb(85 19 216 / .12);
}
.topo::before, .whats::before {
  padding: 1.5px;
  background: linear-gradient(135deg, #fff, rgb(255 255 255 / .3) 28%, rgb(255 255 255 / 0) 50%, rgb(255 255 255 / .25) 72%, rgb(255 255 255 / .9));
}
.whats {
  background:
    radial-gradient(60% 34% at 50% 12%, rgb(255 255 255 / .7), transparent 100%),
    radial-gradient(70% 40% at 50% 100%, rgb(190 255 215 / .45), transparent 100%),
    linear-gradient(180deg, rgb(60 228 124 / .92), rgb(28 172 84 / .9));
  box-shadow:
    inset 0 1.5px 0 rgb(255 255 255 / .85), inset 0 -4px 10px rgb(255 255 255 / .22), inset 0 -2px 6px rgb(0 80 30 / .22),
    0 12px 30px rgb(12 10 18 / .18), 0 4px 14px rgb(30 180 88 / .25);
}
.whats svg { filter: drop-shadow(0 1px 1px rgb(0 70 25 / .35)); }
@media (max-width: 860px) { .topo { --vidro-desfoque: blur(10px) saturate(1.6) brightness(1.05); } } /* celular continua com o desfoque leve */
.whats.visivel:hover {
  box-shadow:
    inset 0 1.5px 0 rgb(255 255 255 / .9), inset 0 -4px 10px rgb(255 255 255 / .26), inset 0 -2px 6px rgb(0 80 30 / .22),
    0 16px 36px rgb(30 180 88 / .42);
}

/* ── Celular ───────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .secao { padding: 14vh var(--gutter); min-height: auto; }
  .secao-grade, .secao-grade--direita { grid-template-columns: 1fr; }
  .secao-grade--direita > .painel { grid-column: 1; }
  .arte--direita, .arte--esquerda { left: 0; right: 0; width: 100%; height: 70%; opacity: .55;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 55%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 55%, transparent); }
  .momento, .momento--direita { left: var(--gutter); right: var(--gutter); bottom: calc(var(--faixa-altura) + 4vh); }
  .momento--centro { left: 50%; right: auto; }
  :root { --faixa-altura: 68px; }
  .marcas-lista { gap: 44px; }
  .marcas-lista img { height: 26px; }
  .chamada-botoes { justify-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar, .momento--primeiro { opacity: 1; transform: none; filter: none; }
  .cine { height: 100svh; }
  .momento:not(.momento--primeiro) { display: none; }
  .marcas { overflow-x: auto; }
  .botao--avatar .botao-ava { left: calc(100% - 32px); }
  .botao--avatar .botao-txt { opacity: 1; transform: none; position: static; letter-spacing: .08em; }
  .botao--avatar { width: auto; min-width: 252px; max-width: 100%; padding: 0 64px 0 22px; }
  .item-faixa { display: none; }
}
